@import url(/assets/tmp/template.css);

/* --------------------------------  section hero -------------------------*/

#hero {
    height: fit-content;
    min-height: 85dvh;
}

.image-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    object-fit: cover;
    object-position: center center;
}

.black-screen {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    background-color: rgba(0,0,0,0.35);
}

.screen-2 {
    display: none;
}

#hero-container {
    display: grid;
    grid-template-columns: 4fr 5fr;
    height: 100%;
    padding-top: 5rem;
    width: 70%;
}

#hero-image {
    height: 85dvh;
    width: 100%;
    overflow: hidden;
    display: flex;
    justify-content: center;

}

#hero-image img {
    height: 100%;
    width: 100%;
    object-fit: contain;
    margin: 4rem auto 0 auto;
}

#hero-texts {
    display: flex;
    flex-direction: column;
    justify-content: center;
    height: 100%;
    color: white;
}

#web-title {
    font-size: 2.5rem;
    text-align: left;
    text-shadow: 2px 2px 4px rgba(255,255,255,0.3)
}

#web-title-span {
    font-size: 4rem;
    display: block;
}

#hero-description {
    font-size: 1.35rem;
    text-shadow: 2px 2px 4px rgba(255,255,255,0.3);
    margin-top: 1rem;
    font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
}

.active-button {
    border: 1px solid red;
    display: block;
    width: fit-content;
    padding: 10px 40px;
    margin-top: 2rem;
    font-size: 1.35rem;
    text-transform: uppercase;
    font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
    background-color: var(--color-main);
    border-radius: 10px;
    -webkit-border-radius: 10px;
    -moz-border-radius: 10px;
    -ms-border-radius: 10px;
    -o-border-radius: 10px;
}

.active-button:hover {
    background-color: var(--color-highlight);
    color: white;
    transition: all 0.2s ease-in-out;
    -webkit-transition: all 0.2s ease-in-out;
    -moz-transition: all 0.2s ease-in-out;
    -ms-transition: all 0.2s ease-in-out;
    -o-transition: all 0.2s ease-in-out;
}

@media (max-width: 1250px){
    #hero-container {
        width: 90%;
    }
}

@media (max-width: 1000px){
    #hero {
        height: fit-content;
        min-height: 0;
        padding-bottom: 5rem;
    }

    .screen-2 {
        display: block;
    }
    
    #hero-container {
        grid-template-columns: 1fr;
        padding-top: 10rem;
    }

    #hero-image {
        margin: 0 auto;
        position: absolute;
        bottom: 0;
        left: 0;
        z-index: -1;
    }

    #hero-image img {
        margin: 0 auto;
        margin-top: 10rem
    }

    #web-title {
        font-size: 2rem;
    }

    #web-title-span {
        font-size: 3rem;
    }

    #hero-texts {
        width: 80%;
        margin: 0 auto;
    }

    #hero-description {
        font-size: 1.25rem;
    }
}

@media (max-width: 768px){
    #hero-texts {
        width: 100%;
    }

    #hero-container {
        padding-top: 7rem;
    }

    #hero-image img {
        margin: 0 auto;
        margin-top: 5rem
    }

    .active-button {
        display: block;
        width: fit-content;
        margin-left: auto;
        margin-right: auto;
    }
}

/* --------------------------------  section product -------------------------*/

#product h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
    text-transform: uppercase;
    font-family: var(--font-bold);
    line-height: 1.5;
}

.tagline {
    font-size: 1.5rem;
    color: rgb(100,100,100);
}

#flavors {
    width: 100%;
    display: grid;
    grid-template-columns: 325fr 187fr;
    gap: 1rem;
    margin: 3rem 0 5rem 0;
}

.flavor {
    width: 100%;
    object-fit: contain;
}

#packagings {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 2rem;
    margin-top: 3rem;
}

.packaging {
    width: 100%;
    height: 100%;
    aspect-ratio: 1/1;
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    align-items: center;
    padding: 1rem;
    border-radius: 20px;
    -webkit-border-radius: 20px;
    -moz-border-radius: 20px;
    -ms-border-radius: 20px;
    -o-border-radius: 20px;
}

.packaging p {
    text-transform: uppercase;
    font-family: var(--font-bold);
    color: white;
    font-size: 1.5rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.packaging-1 {
    background-color: #ffb3c1;
}

.packaging-2 {
    background-color: #f79cc1;
}

.packaging-3 {
    background-color: #ff7f7f;
}

.package {
    width: 70%;
    object-fit: contain;
    object-position: center center;
}

@media (max-width: 768px){
    #product h2 {
        font-size: 1.5rem;
    }

    #flavors {
        grid-template-columns: 1fr;
        margin-bottom: 3rem;
    }

    #packagings {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .packaging {
        width: 80%;
        padding: 1rem;
        margin: 0 auto;
    }

    .tagline {
        font-size: 1.25rem;
    }
}

/* --------------------------------  section feedback -------------------------*/

#feedback {
    background-color: #9B104A;
    padding: 5rem 0;
}


#feedback-container {
    display: grid;
    grid-template-columns: 4fr 5fr;
    gap: 5rem;
}

#feedback-image {
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

#feedback-image img {
    height: 100%;
    width: 100%;
    object-fit: cover;
    object-position: center center;
    border: 15px solid white;
}

#feedback-text .tagline {
    color: white;
    margin-bottom: 2rem;
}

#feedback-text .title {
    color: white;
    font-size: 2rem;
    margin-bottom: 1rem;
    text-transform: uppercase;
    font-family: var(--font-bold);
}

#form-grid-form * {
    display: block;
}

#form-grid-form {
    width: 100%;
}

#form-grid-form label {
    text-transform: uppercase;
    margin-bottom: .5rem;
    color: white;
    font-size: 1.25rem;
}

#form-grid-form input {
    font-family: Calibri, sans-serif;
    margin-bottom: 1.5rem;
    padding: .5rem 1rem;
    font-size: 1.5rem;
    width: 100%;
    border-radius: 10px;
    -webkit-border-radius: 10px;
    -moz-border-radius: 10px;
    -ms-border-radius: 10px;
    -o-border-radius: 10px;
}

#form-grid-form textarea {
    font-family: Calibri, sans-serif;
    padding: .5rem 1rem;
    font-size: 1.5rem;
    width: 100%;
    min-width: 100%;
    max-width: 100%;
    min-height: 20rem;
    max-height: 40rem;
    margin-bottom: 2rem;
    border-radius: 10px;
    -webkit-border-radius: 10px;
    -moz-border-radius: 10px;
    -ms-border-radius: 10px;
    -o-border-radius: 10px;
}

#form-submit {
    background-color: var(--color-main);
    color: white;
    cursor: pointer;
}

#form-submit:hover {
    background-color: var(--color-highlight);
}

@media (max-width: 1100px){
    #form-section {
        padding: 5rem 5%;
        font-size: 1.25rem;
    }
    
    #form-section-container {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }

    #form-grid-form, #form-grid-label {
        width: 100%;
    }
}

@media (max-width: 768px){
    #feedback {
        padding: 3rem 0;
    }
    
    #feedback-container {
        display: flex;
        flex-direction: column-reverse;
        gap: 2rem;
    }

    #feedback-image {
        margin-bottom: 2rem;
        width: 80%;
        margin-left: auto;
        margin-right: auto;
    }

    #feedback-text .tagline {
        font-size: 1.25rem;
    }

    #feedback-text .title {
        font-size: 1.5rem;
    }

    #form-grid-form label {
        font-size: 1rem;
    }

    #form-grid-form input, #form-grid-form textarea {
        font-size: 1rem;
    }
}

/* --------------------------------  section facilities -------------------------*/

#facilities {
    padding: 3rem 0;
}

#facilities h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
    line-height: 1.5;
}

#facilities .tagline {
    margin-bottom: 2rem;
}

#facilities h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

#facilities-images {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    gap: 1%;
    margin-bottom: 2rem;
}

#facilities-images img {
    width: 49.5%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
    border-radius: 10px;
    -webkit-border-radius: 10px;
    -moz-border-radius: 10px;
    -ms-border-radius: 10px;
    -o-border-radius: 10px;
}

.logistic-image {
    width: 80%;
    height: 100%;
    margin: 0 auto;
    display: block;
    object-fit: cover;
    object-position: center center;
    border-radius: 10px;
    -webkit-border-radius: 10px;
    -moz-border-radius: 10px;
    -ms-border-radius: 10px;
    -o-border-radius: 10px;
}

@media (max-width: 768px){
    #facilities h2 {
        font-size: 1.5rem;
    }

    #facilities .tagline {
        font-size: 1.25rem;
    }

    #facilities h3 {
        font-size: 1.25rem;
    }

    #facilities-images {
        flex-direction: column;
        gap: 1rem;
    }

    #facilities-images img {
        width: 100%;
        height: 100%;
    }

    .logistic-image {
        width: 100%;
        height: 100%;
    }
}

/* --------------------------------  section faqs -------------------------*/

#faqs {
    padding: 3rem 0;
}

#faqs h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
    line-height: 1.5;
}

#faqs-container {
    display: block;
    width: 100%;
}

.faq-item {
    width: 100%;
    border-bottom: 1px solid rgba(0,0,0,0.25);
}

.faq-question {
    display: block;
    padding: .75rem 1rem;
    font-size: 1.5rem;
    cursor: pointer;
    
}

.faq-question span {
    float: right;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    padding: 0;
}

.faq-checkbox:checked ~ .faq-answer {
    max-height: 1000px;
    padding: .75rem 1rem;
    transition: all 0.2s ease-in-out;
    -webkit-transition: all 0.2s ease-in-out;
    -moz-transition: all 0.2s ease-in-out;
    -ms-transition: all 0.2s ease-in-out;
    -o-transition: all 0.2s ease-in-out;
}

.faq-link {
    color: var(--color-main);
    
}

.faq-link:hover {
    color: var(--color-highlight);
    text-decoration: underline;
}

@media (max-width: 768px){
    #faqs h2 {
        font-size: 1.5rem;
    }

    #faqs-container {
        width: 100%;
    }

    .faq-question {
        font-size: 1.25rem;
        padding: .75rem 0;
    }

    .faq-question span {
        display: none;
    }

    .faq-answer {
        font-size: 1rem;
    }
}

/* --------------------------------  section closing -------------------------*/

#closing {
    padding: 3rem 0;
    text-align: center;
}

#closing h3 {
    font-size: 2rem;
    margin-bottom: 1rem;
    line-height: 1.5;
    color: var(--color-main);
}

#closing .tagline {
    margin-bottom: 2rem;
}

#closing .active-button {
    margin: 0 auto;
    color: white;
    margin-bottom: 2rem;
}

@media (max-width: 768px){
    #closing h3 {
        font-size: 1.25rem;
    }

    #closing .tagline {
        font-size: 1.25rem;
    }
}

