@import url('https://fonts.googleapis.com/css?family=IM+Fell+French+Canon+SC|Lato');
@import url('https://fonts.cdnfonts.com/css/apple-garamond');

/* ================== COLORS ================== */
:root {
    --primary-color: #FFD450;
    --secondary-color: #FFC284;
    --accent1-color: #FF6A6A;
    --accent2-color: #FFAE6A;

    --heading-font: "Nirmala UI", "IM Fell French Canon SC";
    --paragraph-font: "Apple Garamond", Lato, Helvetica, sans-serif;

    --headline-color-on-white: #FFC284;
    /* headlines on a white background */
    --headline-color-on-color: white;
    /* headlines on a colored background */
    --paragraph-color-on-white: #FF6A6A;
    /* paragraph text on a white background */
    --paragraph-color-on-color: #FFFFFF;
    /* paragraph text on a colored background */
    --paragraph-background-color: #FF6A6A;
    --nav-link-color: #FF6A6A;
    --nav-background-color: #FFC284;
    --nav-button-background-color: white;
    --nav-hover-link-color: white;
    --nav-hover-background-color: #FFAE6A;
    --nav-border-color: #5c4127;

    --nav-button-font-size: 24px;
}

body,
html {
    margin: 0;
    padding: 0;
    max-width: 100%;
    overflow-x: hidden;
    font-family: var(--heading-font);
}

header {
    max-height: fit-content;
}

/* ================== NAV ================== */
/* Navbar container */
.navbar {
    background-color: var(--nav-background-color);
    overflow: hidden;
    font-family: var(--heading-font);
    display: grid;
    grid-template-columns: 125px 1fr 125px 150px;
    grid-template-rows: 75px;
    justify-content: space-around;
    align-items: center;
    text-align: center;
    border: none;
    padding: 10px;
    max-height: 80px;
}

.navbar img {
    max-width: 40%;
    margin-top: 10px;
    padding: 10px;
}

/* Links inside the navbar */
.navbar.logo {
    font-size: var(--nav-button-font-size);
    font-family: inherit;
    color: var(--nav-link-color);
    text-align: center;
    padding: 14px 16px;
    text-decoration: none;
}

/* The dropdown container */
.dropdown {
    float: left;
    overflow: hidden;
    border: none;
    font-family: var(--heading-font);
}

.dropdown:hover {
    color: var(--nav-hover-link-color);
    border: none;
    border-radius: 5px;
}

.dropdown-button:hover {
    box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.5);
}

/* Dropdown button */
.dropdown .dropdown-button {
    font-size: var(--nav-button-font-size);
    font-family: inherit;
    outline: none;
    padding: 14px 16px;
    color: var(--nav-border-color);
    background-color: var(--nav-button-background-color);
    border: none;
    border-radius: 5px;
    font-family: inherit;
    /* Important for vertical align on mobile phones */
    margin: 0;
    /* Important for vertical align on mobile phones */
}

.dropdown-button:hover {
    color: var(--nav-hover-link-color);
    background-color: var(--nav-hover-background-color);
    border-bottom: none;
}

/* Dropdown content (hidden by default) */
.dropdown-content {
    display: none;
    position: absolute;
    background-color: var(--nav-hover-link-color);
    min-width: 160px;
    z-index: 1;
}

/* Links inside the dropdown */
.dropdown-content a {
    float: none;
    color: var(--nav-border-color);
    border: none;
    padding: 12px 16px;
    text-decoration: none;
    display: block;
    text-align: left;
}

/* Add a grey background color to dropdown links on hover */
.dropdown-content a:hover {
    color: var(--nav-hover-link-color);
    background-color: var(--nav-hover-background-color);
    box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.5);
    border-radius: 5px;
}

/* Show the dropdown menu on hover */
.dropdown:hover .dropdown-content {
    display: block;
    border-radius: 5px;
}

.logo {
    text-align: center;
    width: 170px;
    min-width: 170px;
}

.logo:hover {
    transform: scale(1.03);
    /* box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.5); */
}

.navbar-button {
    color: var(--nav-border-color);
    background-color: var(--nav-button-background-color);
    border: none;
    border-radius: 5px;
    /* box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.5); */
    font-size: var(--nav-button-font-size);
    font-family: inherit;
    float: none;
    padding: 12px 16px;
    text-decoration: none;
    display: block;
    text-align: center;
    margin: 10px auto;
}

.navbar-button:hover {
    color: var(--nav-hover-link-color);
    background-color: var(--nav-hover-background-color);
    border-radius: 5px;
    box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.5);
}

.login-buttons {
    display: inline-block;
    grid-template-columns: 1fr 1fr;
}

/* ================== MODAL ================== */
/* Full-width input fields */
input[type=text],
input[type=password] {
    width: 100%;
    padding: 12px 20px;
    margin: 8px 0;
    display: inline-block;
    border: 1px solid #ccc;
    border-radius: 5px;
    box-sizing: border-box;
}

/* Set a style for all buttons */
.modal button {
    background-color: var(--primary-color);
    font-family: var(--heading-font);
    font-weight: bold;
    color: white;
    padding: 14px 20px;
    margin: 8px 0;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    width: 100%;
}

.modal button:hover {
    opacity: 0.8;
    box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.5);
}

/* Extra styles for the cancel button */
.modal .cancelbtn {
    width: auto;
    padding: 10px 18px;
    background-color: #f44336;
    border: none;
    border-radius: 5px;
}

/* Center the image and position the close button */
.imgcontainer {
    text-align: center;
    margin: 24px 0 12px 0;
    position: relative;
}

.container {
    padding: 16px;
}

span.psw {
    float: right;
    padding-top: 16px;
}

/* The Modal (background) */
.modal {
    display: none;
    /* Hidden by default */
    position: fixed;
    /* Stay in place */
    z-index: 1;
    /* Sit on top */
    left: 0;
    top: 0;
    width: 100%;
    /* Full width */
    height: 100%;
    /* Full height */
    overflow: auto;
    /* Enable scroll if needed */
    background-color: rgb(0, 0, 0);
    /* Fallback color */
    background-color: rgba(0, 0, 0, 0.4);
    /* Black w/ opacity */
    padding-top: 60px;
}

/* Modal Content/Box */
.modal-content {
    background-color: #fefefe;
    margin: 5% auto 15% auto;
    /* 5% from the top, 15% from the bottom and centered */
    border: 1px solid #888;
    border-radius: 5px;
    width: 80%;
    /* Could be more or less, depending on screen size */
}

/* The Close Button (x) */
.close {
    position: absolute;
    right: 25px;
    top: 0;
    color: #000;
    font-size: 35px;
    font-weight: bold;
}

.close:hover,
.close:focus {
    color: red;
    cursor: pointer;
}

/* Add Zoom Animation */
.animate {
    -webkit-animation: animatezoom 0.6s;
    animation: animatezoom 0.6s
}

@-webkit-keyframes animatezoom {
    from {
        -webkit-transform: scale(0)
    }

    to {
        -webkit-transform: scale(1)
    }
}

@keyframes animatezoom {
    from {
        transform: scale(0)
    }

    to {
        transform: scale(1)
    }
}

/* Change styles for span and cancel button on extra small screens */
@media screen and (max-width: 300px) {
    span.psw {
        display: block;
        float: none;
    }

    .cancelbtn {
        width: 100%;
    }
}

/* ================== HERO ================== */
.hero {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    background-color: var(--paragraph-background-color);
    color: var(--headline-color-on-color);
}

.hero img {
    object-fit: cover;
    height: 100%;
    width: 100%;
    clip-path: polygon(0 0, 100% 0, 75% 100%, 0% 100%);
    object-position: center center;
}

.hero-text {
    display: grid;
    grid-template-rows: 50% 40%;
    grid-template-columns: 30% 1fr;
    margin: 1% 0% 10% 5%;
    width: 100%;
}

.title-text-1 {
    grid-column: 1/2;
    font-size: 2vw;
    text-align: right;
}

.title-text-2 {
    grid-column: 2/3;
    margin: 0;
    font-size: 7vw;
    text-align: left;
    text-shadow: 4px 4px 8px rgb(53, 53, 53);
}

.hero-form {
    grid-column: 1/3;
    grid-row: 2/3;
    font-size: 2vw;
    font-family: var(--paragraph-font);
    text-align: left;
    line-height: 0%;
}

.hero-form input {
    font-size: 1.5vw;
    font-family: var(--paragraph-font);
    padding: 10px;
    border-radius: 5px;
    border: none;
    width: 50%;
    outline: none;
}

.hero-button {
    font-size: 1.2vw;
    font-family: var(--heading-font);
    color: var(--nav-border-color);
    background-color: var(--nav-button-background-color);
    border-radius: 5px;
    border: none;
    padding: 12px 16px;
    margin: 0 auto;
    display: inline-block;
    text-align: center;
}

.hero-button:hover {
    color: var(--nav-hover-link-color);
    background-color: var(--nav-hover-background-color);
    border-radius: 5px;
}

/* ================== MAIN ================== */

.main-content-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 1fr;
    padding: 10px;
}

.main-content-grid-item-1 {
    grid-column: 1/2;
    grid-row: 1/2;
    padding: 0 5%;
}

.content-title {
    font-size: 3.5vw;
}

.main-content-grid p {
    font-size: 2vw;
    font-family: var(--paragraph-font);
}

.content-button {
    font-size: 1.5vw;
    font-family: var(--heading-font);
    color: var(--nav-border-color);
    background-color: var(--nav-button-background-color);
    border-radius: 5px;
    border: none;
    padding: 12px 16px;
    margin: 0 auto;
    display: inline-block;
    text-align: center;
    box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.5);
}

.content-button:hover {
    color: var(--nav-hover-link-color);
    background-color: var(--nav-hover-background-color);
    border-radius: 5px;
}

.content-image {
    width: 40vw;
    max-width: 500px;
    margin: 0 auto;
}

/* ================== FOOTER ================== */
footer {
    color: var(--accent1-color);
    background-color: var(--primary-color);
    padding: 25px 50px;
    margin-top: 200px;
    display: flex;
    justify-content: space-around;
    align-items: center;
}

.footer-links {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    grid-template-rows: 1fr;
    padding: 10px;
    text-align: center;
}

footer a {
    text-decoration: none;
    color: var(--accent1-color);
}

footer a:hover {
    color: var(--accent2-color);
}

footer p {
    font-size: 1.2em;
    font-family: var(--paragraph-font);
}

footer p a:hover {
    text-decoration: none;
}

footer .social img {
    padding-top: 15px;
}

/* ================== FLAVOR ================== */ 
.flavors-content .hero {
    border: 2vw solid var(--paragraph-color-on-color);
}

.flavors-content .hero-text {
    grid-template-rows: 12vw 1fr;
    padding: 10px;
}

.flavors-subtitle {
    grid-column: 1/3;
    width: 90%;
    font-size: 2.3vw;
    font-family: var(--paragraph-font);
    color: var(--paragraph-color-on-color);
    font-weight: bold;
    padding: 10px 10px 0 10px;
    text-align: left;
}

.flavors-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    grid-template-rows: 1fr 1fr;
    padding: 10px;
    text-align: center;
}

.flavors-grid-item h2 {
    font-size: 2vw;
    font-family: var(--heading-font);
    color: var(--nav-border-color);
    background-color: var(--nav-button-background-color);
    border-radius: 5px;
    border: none;
    padding: 12px 16px;
    margin: 0 auto;
    display: inline-block;
    text-align: center;

}

.flavors-grid-item li {
    font-size: 2vw;
    font-family: var(--paragraph-font);
    list-style-type: none;
    padding: 10px;
    border-radius: 5px;
    border: none;
    width: 50%;
    outline: none;
    margin: 0 auto;
    display: inline-block;
    text-align: center;
    box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.5);
}

.flavors-grid-item li:hover {
    color: var(--nav-hover-link-color);
    background-color: var(--nav-hover-background-color);
    border-radius: 5px;
    transform: scale(1.1);
}

.flavors-grid-item {
    margin: 10px;
}

.flavors-grid-item img {
    width: 100%;
    height: 50%;
    margin: 10px;
    object-fit: cover;
    object-position: center center;
    border-radius: 5px;
}


@media screen and (max-width: 900px) {
    .logo {
        width: 14vw;
        min-width: 150px;
    }
}

/* ================== ABOUT US ================== */
.about-us-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 1fr;
    padding: 10px;
}

.about-us-top-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 1fr;
    padding: 10px;
    place-items: center;
}

.about-us-top-grid img {
    width: 100vw;
    height: 85%;
    max-width: 40%;
    margin: 0 auto;
    object-fit: cover;
    object-position: center center;
    border: 10px solid var(--primary-color);
    border-radius: 5px ;

    box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.5);
}

.about-us-top-grid p {
    font-size: 2.3vw;
    font-family: var(--paragraph-font);
    color: var(--paragraph-color-on-white);
    text-align: left;
    margin: 0 auto;
    padding: 10px;
}

.about-us-title-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 1fr;
    place-items: center;
    margin: 1vw;
    background-color: var(--accent1-color);
}

.about-us-title-grid img {
    grid-column: 2/3;
    grid-row: 1/2;
    width: 100%;
    height: 100%;
}

.about-us-title-grid h1 {
    grid-column: 1/2;
    grid-row: 1/2;
    font-size: 5vw;
    font-family: var(--heading-font);
    color: var(--paragraph-color-on-color);
    text-align: center;
}

.about-us-main-grid {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px;
    margin: 0 auto;
}

.content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.2s ease-out;
}

.about-us-main-grid button {
    font-size: 2vw;
    font-family: var(--paragraph-font);
    background-color: var(--paragraph-color-on-color);
    list-style-type: none;
    padding: 10px;
    border: none;
    border-radius: 5px;
    width: 100%;
    outline: none;
    margin: 0 auto;
    display: inline-block;
    text-align: center;
    box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.5);
}

.about-us-main-grid button:hover {
    background-color: var(--nav-hover-background-color);
    color: var(--nav-hover-link-color)
}

.about-us-main-grid li {
    font-size: 2vw;
    font-family: var(--paragraph-font);
    padding: 10px;
    border-radius: 5px;
    border: none;
    width: 90%;
    outline: none;
    margin: 0 auto;
    display: inline-block;
    text-align: center;
    /* box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.5); */
}

.about-us-main-grid ul {
    display: grid;
    align-items: center;
}

