@import "./style.css";
@import "./forms.css";

#sec1 {
    height: calc(100% - 75px);
    z-index: 0;
    background-image: url("/images/shop.HEIC");
    background-repeat: no-repeat;
    background-position: center;
    background-size: auto 100%;
}
#sec1 .content.centered {
    position: relative;
    top: 0;
    height: 100%;
    justify-content: center;
    text-align: center;
    z-index: -1;
}

#sec1 .flex.row.links {
    top: 50px;
    width: 250px;
    height: 25px;
    justify-content: space-between;
    align-items: center;
}

.textbox {
    height: fit-content;
}

#sec1 .button-wrapper {
    position: relative;
    left: 0px !important;
    height: 50px;
    top: 50px;
}
/*
#sec1 {
    background-image: url("./images/shop.HEIC");
    background-size: auto 100%;
}*/

#sec1 .textbox {
    position: relative;
    height: 300px;
    padding: 5%;
    background-color: rgba(211, 211, 211, 0.9);
    z-index: auto;
}

#sec2 {
    height: 100%;
}
#sec2 .content {
    width: 80%;
    height: 100%;
    flex-flow: column;
    justify-content: space-around;
}
#sec2 .textbox {
    text-align: center;
}
#sec2 #content {
    width: 100%;
    height: 65%;
    flex-flow: column;
    justify-content: space-around;
    text-align: center;
}
#contact-content {
    width: 90%;
    height: 25%;
    margin-top: 50px;
    padding: 5%;
    box-shadow: 2px 2px 20px lightgrey;
    text-align: center;

}
iframe#map {
    position: relative;
    width: 100%;
    height: 250px;
}

#sec1 .textbox .flex.row.links {
    justify-content: space-around;
}
#sec3 { 
    top: 100%;
    height: 250%;
}

#testimonials {
    width: 90%;
    height: 40%;
    justify-content: space-around;
}

#testimonials .text-wrapper {
    width: 100%;
    height: 33%;
    text-align: center;
}
#testimonials h2 {
    font-weight: bold;
}

#sec3 .content {
    width: 100%;
    height: 60%;
    background-color: green;
}

#sec3 {
    top: 50%;
}

#sec3 .content.centered {
    width: 90% !important;
    height: 100%;
    justify-content: space-around;
    text-align: center;

}
#googleMap {
    width: 100%;
    height: 300px;
}

.footer {
    position: relative;
}

@media screen and (max-width: 1000px) and (max-height: 450px) {
    #sec1 {
        top: 0px;
        width: 100%;
        height:calc(100% - 75px);
        background-size: 100%;
    }
    #sec1 .content.centered {
        top: 0px !important;
        height: 100%;
    }
    #sec1 .textbox {
        top: 0px;
        width: 105%;
        height: 100%;
        background-color: rgba(211, 211, 211, 0.635) !important;
        z-index: 1;
    }
    #sec1 .textbox .flex.row {
        margin-top: -25px;
    }
    #sec1 .rect-button {
        top: 0px;
        z-index: 1;
    }

    #sec2 {
        height: 175%;
    }
    #sec2 .content-pair {
        height: 50%;
        flex-flow: row;
    }
    #sec2 .rect-button {
        width: 200px;
    }
}

@media screen and (min-width: 1100px) {
    #sec1 {
        height: calc(100% - 75px);
        background-repeat: no-repeat;
        background-position: center -375px;
        background-size: 120% auto;
    }
    #sec1 .content.centered.flex.col {
        top: 0px;
        width: 90%;
        height: 100%;
        flex-flow: row;
        justify-content: space-between;
    }
    #sec1 .content.centered.flex.col .textbox {
        height: 200px;
        margin-top: 25%;
    }
    #sec1 .flex.row.links {
        justify-content: flex-start !important; 
    }
    #sec1 .flex.row.links a:nth-child(2) {
        margin-left: 25px;
    }
    #sec1 .content.centered.flex.col .textbox h1.title{
        width: fit-content;
        text-align: left;
        margin: 0;
    }
    #sec2 {
        height: 100%;
    }
    #sec2 .content.centered {
        height: 100%;
        justify-content: space-around;
        align-items: center;
    }
    #sec2 #map {
        height: 400px;
    }
    #sec2 .square-image {
        flex-grow: 0;
        width: 70%;
    }
    #sec2 .textbox-wrapper {
        width: 55%;
    }
    #sec2 .textbox.left {
        text-align: right;
    }
    .content-pair.flex.row {
        height: 100%;
    }
    #sec1 .button-wrapper {
        position: relative;
        float: left;
    }
    .content-image {
        width: calc(100% - 15px);
        overflow: hidden;
    }
    .square-image {
        width: 90%;
        height: auto;
        overflow: hidden;
        background-color: rgba(211, 211, 211, 0.58);
    }
    #sec3 {
        top: 0px;
        height: 100% !important;
    }
    #testimonials {
        height: 35%;
        flex-flow: row;
        align-items: center;
    }
    #testimonials .text-wrapper {
        height: fit-content;
    }
    #sec3 .content {
        height: 58%;
    }
    #sec3 {
        top: 0px;
        height: 50%;
    }
    #sec3 .content.centered {
        width: 90%;
        flex-flow: row;
        justify-content: space-between;
    }
    #googleMap {
        width: 400px;
        height: 350px;
    }
    #sec3 .text-wrapper {
        width: 45%;
        text-align: left;
    }
    
    .footer {
        top: 0px;
    }
    .footer-links {
        width: 350px;
        display: block !important;
        flex-flow: column;
    }
    .footer-links .nav-link {
        margin: 0;
    }
}