html {
    background-color: #bbd3ff;
    background-image: url(./images/map-background.png);
}

body {
    width: 80%;
    margin: auto;
}


h1 {
    font-size: 3rem;
    text-align: center;
    border-style: solid;
    border-radius: 3vw;
    padding-left: 10px;
    padding-top: 50px;
    padding-bottom: 50px;
    border-width: 10px;
    margin: 0;
}

h2 {
    font-size: 2.5rem;
    text-align: center;
    border-color: #130f17;
    border-style: solid;
    border-radius: 2vw;
    padding-left: 10px;
    padding-top: 20px;
    padding-bottom: 20px;
    border-width: 10px;
    margin: 10;
}


/* label, input, textarea{ */

/* padding-left: .5em;
    padding-right: .5em; 
    margin-left: 1em;
    margin-right: 1em; */
/* border-radius: 15px;
    font-size:20px;
    box-sizing:content-box;
    width: 80%; */

/* } */


/* 
input[type="radio"]+label{
    display:block;
} */



embed {
    margin-right: 20px;
}




section {
    margin-top: 20px;
    margin-bottom: 20px;
    border-radius: 15px;
}


.summary {
    padding: 10px;
}

ul {
    font-size: 1.25rem;
}

p {
    font-size: 1.25rem;
}

nav,
nav button {
    /* list-style: none; */
    /* background-color: #B67A8D; */
    font-size: 1.875rem;

}


nav .devName {
    /* font-weight: bold; */
    text-align: center;
    align-content: center;
}


embed {
    width: 1000px;
    height: 100%;
}

.carousel,
.slides {
    display: flex;
    justify-content: center;
}

.carousel {
    flex-wrap: wrap;
}

.slides {
    width: 60%;
}

.carousel a {
    flex-basis: 100%;
    justify-self: center;
    text-align: center;
}

.carousel button {
    width: 5%;
    height: 3em;
    align-self: center;
    margin: 1em;
}

.card {

    margin: 1em;
    flex-direction: column;
    width: 20%;
}

.card img {
    width: 100%;
    height: 80%;
    object-fit: scale-down;

}

.card p,
.card h3 {
    margin: 1em;
}


.highlight {
    background-color: #0166ff;
}

.event-card {
    display: flex;
    flex-direction: column;
    width: 40%;
    background-color: #bbd3ff;
    border-radius: 15px;
    margin: 1em;

}

.product-card {
    display: flex;
    flex-direction: column;
    background-color: #bbd3ff;
    border-radius: 15px;
    margin: .5em;
}



.dropdown_menu {
    display: none;
}

.dropdown_menu li {
    margin: 1em;
}

.dropdown:hover,
.dropdown:focus-within {

    .dropdown_menu {
        display: flex;
        flex-direction: column;
        margin: 0;
        padding-left: 0;
    }

}

.event {
    display: flex;
    flex-direction: column;
    border-radius: 15px;
    margin: 1em;
    align-self: center;
}

.event img {
    width: 30%
}

.event-card img {
    width: 50%;
    padding: 1em;
    align-self: center;
}

.product-card img {
    width: 50%;
    height: 80%;
    align-self: center;
    object-fit: scale-down;
}

.event-card p,
.event-card a,
.event-card a:visited,
.product-card p,
.product-card a,
.product-card a:visited {
    color: #130f17;
    margin: .5em;
}



.event-card p,
.event-card a {
    margin: 1em;
}

.event-collection {

    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    background-color: rgba(19, 15, 23, .8);
}


.product-collection {
    display: grid;
    grid-auto-rows: 20%;
    background-color: rgba(19, 15, 23, .8);
    grid-template-areas: "a a a";
    border-radius: 15px;
    padding: 0;
    margin: 0;
    box-sizing: border-box;
}

/* The rest of the styles are just for adjusting the look of the other elements. Feel free to read, but not explained. */

nav,
section {
    padding: 1em;
}

nav {
    display: flex;
    flex-wrap: wrap;
}


p {
    line-height: 1.5em;
}



form#contactForm {

    padding: 10px;
    margin-top: 5%;

    border: #fbfbef solid 3px;
    border-radius: 15px;
    display: grid;
    justify-items: center;
}

form#contactForm input {
    width: 100%;
    margin: 1%;
}

form#contactForm textarea {
    width: 100%;
    margin: 1%;
    margin-bottom: 2%;

    box-sizing: border-box;
    border-width: thick;
    border-color: #130f17;
    border-style: solid;
    border-radius: 15px;
    height: 80%;
}




table {
    border-collapse: collapse;
}

table td,
table th {
    border: 1px solid #130f17;
}


/*
This demo is not about this, but this is how to modify your design for light mode or in this case, dark mode.
*/
html {
    color: #fbfbef;
}

main {

    background-color: transparent;
    border-radius: 15px;
}

h3 {
    color: #fbfbef;
}

h1,
h2,
.fontSection {
    color: #fbfbef;
    border-color: #ec003c;
    background-color: rgba(19, 15, 23, .8);
    border-radius: 15px;
}


table {
    border-collapse: collapse;
}

table td,
table th {
    border: 1px solid #fbfbef;
}

p {
    color: #fbfbef;
}

a {
    color: #bbd3ff
}

nav a,
a.skip-link,
nav button {
    color: #fbfbef;
    background-color: rgba(19, 15, 23, .8);
    text-align: center;
    border-style: solid;
    border-radius: 10px;
    padding: 5px;
    border-width: 5px;
    margin: 1rem;
    outline: solid #130f17;
    border-color: #fbfbef;
}

[popover] {
    inset: auto;
    position-anchor: auto;
    inset-block-start: anchor(self-end);
    inset-inline-end: calc(anchor(self-end) - 1em);
}

#contactSection,
.carousel,
.flavors {
    background-color: rgba(19, 15, 23, .8);
}

a:visited {
    color: #fbfbef;
}

.card {
    border-color: #ffffff;
}



input {
    /* width: 80%;  */
    padding: 10px;
    /* width: 100%; */
    margin: 10px;
    box-sizing: border-box;
    border-width: thick;
    border-color: #fbfbef;
    border-style: solid;
    border-radius: 15px;

}

img {
    filter: invert(0)
}

svg {
    filter: invert()
}

button svg {
    filter: invert(0);
}

*:focus {
    outline: .5rem white solid;
    outline-offset: .5rem;
    box-shadow: 0 0 0 1rem rgb(0, 0, 0);
}

footer {
    display: flex;
    width: 100%;
}

footer section {
    border-color: #130f17;
    border-style: solid;
    border-radius: 15px;
    background-color: rgba(19, 15, 23, .8);
    margin-right: 1em;
}

footer section#ad {
    display: flex;
    text-align: left
}



footer section img {
    filter: invert(1);
}

/* Responsive Design */

@media (max-width: 1000px) {

    body {
        width: 100%;
    }



    .carousel button {
        width: 15%;
        margin: 0;
    }

    .card {
        width: 40%;
    }


    p,
    h3,
    .carousel button,
    a,
    li,
    label {
        margin: .5em;
        font-size: 2rem;
    }



    section {
        margin: .5em;
        padding: 0;
    }

    embed {
        width: 100%;
        height: 100%;
    }



    nav a {
        font-size: 2.5rem;
    }


    .skip-link {
        text-align: center;
        font-size: 2.5rem;
    }
}