img{
    width: 75%;
    height: auto;
    object-fit: cover;
}
*{
    box-sizing: border-box;
}
:root{
    font-size: 2vmax;
    font-family: Helvetica, serif!important;
    --mustard: #d79e0b;
    --light-mustard: #F6C544;
    --background-mustard: rgba(243, 174, 60, 0.5);
    --background-black: rgba(0, 0, 0, 0.5);
    --bone: #FFF6E3;
    --gray: #4A494A;
    --text-gray: #727271;
    --light-gray: #D9D9D9;
    --stripe-h: 0rem;
    --stripe-f: 2rem;
    --nav-h: 12vh;
    --full-nav-h: calc(var(--stripe-h) + var(--nav-h));
    text-align: justify;
}

.carousel-control-prev-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23727271'%3e%3cpath d='M11.354 1.646a.5.5 0 0 1 0 .708L5.707 8l5.647 5.646a.5.5 0 0 1-.708.708l-6-6a.5.5 0 0 1 0-.708l6-6a.5.5 0 0 1 .708 0z'/%3e%3c/svg%3e") !important;
}

.carousel-control-next-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23727271'%3e%3cpath d='M4.646 1.646a.5.5 0 0 1 .708 0l6 6a.5.5 0 0 1 0 .708l-6 6a.5.5 0 0 1-.708-.708L10.293 8 4.646 2.354a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e") !important;
}

body{
    font-family: inherit;
    font-size: 0.9rem;
}
@font-face {
    font-family: Krungthep;
    src: url("../fonts/Krungthep.ttf");
}

.black-button{
    background: rgba(30, 30, 30, 1);
    min-width: 60%;
    padding: 4vw;
    color: white;
    text-decoration: none;
    text-align: center;
    border-radius: 10px;
}
.black-button:hover{
    text-decoration: none;
    color: white;
}

.heading-font{
    font-family: "Krungthep", serif;
}
.svg-cont{
    display: flex;
    justify-content: center;
    align-items: center;
}
.svg-cont object, .svg-cont img{
    height: 100%;
    width: auto;
    object-fit: cover;
}
.img-cont div{
    background-size: cover;
    width: 100%;
    height: 100%;
}
.title{
    color: var(--gray);
    text-shadow: 0px 4px 4px #00000040;
}
.title-cont, .title-cont div{
    margin: 2vmin 0;
}
.title-cont::before{
    content: "";
    width: 1.5vmin;
    background-color: black;
    display: inline-block;
    margin-right: 2.5vmin;
}

.navbar{
    padding: 0;
}
.navbar-collapse{
    background-color: white;
    margin-top: var(--bs-navbar-padding-y)
}
.navbar-toggler, .navbar-toggler:focus, .navbar-toggler:focus-visible{
    border: none;
    box-shadow: none;
}
.navbar-nav li{
    border: var(--light-gray) solid 1px;
    font-size: 1rem;
    padding: 0.7vh 0;
}
.nav-link{
    padding: 2vmin 4vmin;
}

.top-stripe{
    height: var(--stripe-h);
    background-color: black;
    padding: 0 5vw!important;
    display: none;
    z-index: 2;
}
.top-stripe .svg-cont{
    margin-right: 1vmin;
    width: 2.5vh;
    height: 2.5vh;
}
.stripe{
    color: white;
    text-align: center;
    align-content: center;
    font-size: 0.9rem;
}
.top-stripe a{
    text-decoration: none;
    color: white;
}
.logo{
    height: 10vh;
    width: 10vh;
    margin-left: 10vw;
}
.top-nav{
    background-color: white;
    height: var(--nav-h);
    padding: var(--bs-navbar-padding-y) var(--bs-navbar-padding-x);
}


.main{
    position: relative;
    top: var(--full-nav-h)
}
.video-cont{
    position: absolute;
    width: 100vw;
    overflow: hidden;
    padding: 0;
    display: flex;
    justify-content: center;
    align-items: center;
}

.video-cont{
    height: 100vh;
}
.video-cont img{
    height: 100vh;
    width: 100vw;
}
.main-text video{
    height: calc(100vh - var(--full-nav-h));
}
.main-text{
    height: calc(100vh - var(--full-nav-h));
}
.main-text h1{
    background-color: rgba(0,0,0,0.5);
    color: white;
    text-align: center;
    z-index: 9;
    padding: 7vmin;
}
.section{
    scroll-margin-top: var(--full-nav-h);
    padding: 4vh 6vw ;
    margin-top: 4vh;
    margin-bottom: 4vh;
}

.about-us{
    min-height: 60vh;
    background-color: white;
}
.about-us .h2{
    padding: 0;
}
.about-us div{
    margin: 2vmin 0;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}
.about-us .img-cont{
    display: flex;
    justify-content: center;
    align-items: center;
    height: 30vh;
    position: relative;
}
.about-img{
    background-image: url("/resources/images/about-us.png");
    background-size: cover;
    height: 100%;
    z-index: 2;
}
.about-back{
    position: absolute;
    left: 10%;
    height: 100%;
    width: 30%!important;
    background-color: var(--mustard);
}


.services{
    min-height: 70vh;
}
.service{
    background-color: white;
    border-radius: 5vh;
    padding: 2vh 5vmin;
    margin: 3vh 0;
    min-height: 36vh;
    display: flex;
    flex-flow: column;
    justify-content: space-evenly;
    box-shadow: 0vmin 0vmin 3vmin rgba(0,0,0,0.1);
}
.service .svg-cont{
    height: 8vmax;
    text-align: center;
}
.service p{
    text-align: center;
    margin: 0;
}
.service p,.service div{
    margin: 1vh 0;
}
.service p:nth-child(2){
    color: var(--mustard);
}

.catalogue{
    min-height: 60vh;
    background-color: var(--mustard);
}
.catalogue .title{
    color: white;
}
.catalogue div{
    margin: 2vmin 0;
}
.cat-item{
    text-align: center;
}
.cat-item .img-cont{
    height: 30vh;
}
.cat-item .img-cont div{
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}
.cat-1{
    background-image: url("/resources/images/cat-1.png");
}
.cat-2{
    background-image: url("/resources/images/cat-2.png");
}
.cat-3{
    background-image: url("/resources/images/cat-3.webp");
}
.cat-4{
    background-image: url("/resources/images/cat-4.png");
}



.section.contact{
    min-height: 40vh;
    background-color: black;
    color: white;
    margin-top: 0;
    margin-bottom: 0;
}
.contact div{
    margin-bottom: 7vmin;
}
.contact-logo .svg-cont{
    height: 15vh;
    width: 15vh;
}
.cont-item{
    margin-bottom: 3vmin;
}
.cont-item .svg-cont{
    height: 7vmin;
    width: 7vmin;
    margin-right: 3vmin;
    margin-bottom: 0;
}
.contact a{
    text-decoration: none;
    color: white;
}

.testimonio a{
    margin-top: 5vmin;
}


.wa-logo{
    z-index: 10;
    position: fixed;
    bottom: 3vmax;
    right: 3vmax;
    padding: 1.5vmax;
    height: 9vmax;
    width: 9vmax;
    background-color: mediumseagreen;
    border-radius: 10vmax;
    display: flex;
    justify-content: center;
    align-items: center;
}
.wa-logo a{
    position: absolute;
    height: 100%;
    width: 100%;
}
.wa-logo .svg-cont{
    height: 100%;
}

.clients{
    padding: 0 6vw;
}
.clients img{
    object-fit: contain;
    margin: 2vw
}

.clients .carousel .carousel-item{
    height: 20vh;
    justify-content: center;
}
.clients .carousel .carousel-item.active{
    display: flex;
}
.clients .carousel .carousel-item.carousel-item-next{
    display: flex;
}

.social{
    margin-bottom: 0!important;
    padding-bottom: 0!important;
}
.social h2{
    margin-bottom: 5vh;
}

.footer{
    position: relative;
    top: var(--full-nav-h);

    background-color: var(--mustard);
}
.bottom-stripe{
    min-height: calc(var(--stripe-h) * 1);
    margin-top: 0;
    margin-bottom: 0;
}

@media screen and (min-aspect-ratio: 1/1) {
    :root{
        font-size: 1.2vmax;
        --stripe-h: 2rem;
        --stripe-f: var(--stripe-h);
    }
    .navbar-nav li{
        font-size: 0.8rem;
        border: none;
        padding: initial;
    }
    .h2{
        padding-left: 8vw;
    }
    .service .h2{
        padding-left: 0;
    }
    .section{
        scroll-margin-top: calc(var(--full-nav-h));
        padding: 2vmin 3vmin ;
        margin-top: 7vh;
        margin-bottom: 7vh;
    }
    .black-button{
        padding: 1vw 3vw;
        min-width: auto;
    }

    .logo{
        margin: 0
    }

    .about-img{
        width: 80%!important;
    }

    .navbar-nav{
        display: flex;
        justify-content: space-around;
        width: 100%;
        height: var(--nav-h);
    }
    .navbar-nav li{
        display: flex;
        align-items: center;
    }
    .nav-item {
        width: 10vw;
        text-align: center;
        display: flex;
        justify-content: center;
        align-items: center;
    }

    .circle {
        background-color: var(--bs-white);
        border-radius: 50%;
        position: absolute;
    }
    .nav-center-logo{
        position: relative;
        width: calc(var(--nav-h)*1.4);
    }
    .center-logo{
        position: absolute;
        width: calc(var(--nav-h)*1.4);
        height: calc(var(--nav-h)*1.4);
        display: flex;
        justify-content: center;
        align-items: center;
        align-self: normal;
    }


    .about-us .img-cont{
        height: 50vh;
    }

    .video-cont{
        height: calc(100vh - var(--full-nav-h));
    }
    .main-text h1{
        padding: 3vmin;
    }

    .main-text video{
        height: auto;
        width: 100vw;
    }


    .wa-logo{
        bottom: 3vmax;
        right: 3vmax;
        height: 5vmax;
        width: 5vmax;
        padding: 1vmax;
    }

    .services>div{
        margin: 0 1.2vw;
    }
    .service{
        min-height: 45vh;
    }
    .service .svg-cont {
        height: 5vmax;
    }

    .cont-item .svg-cont{
        height: 3vmin;
        width: 3vmin;
        margin-right: 1vmin;
    }

    .contact div{
        margin: 2vmin 0;
    }
    .contact-logo .svg-cont{
        height: 20vh;
        width: 20vh;
    }
    .cont-item{
        margin-bottom: 0;
    }
    .cont-item .svg-cont{
        margin-bottom: 2vmin;
    }


    .testimonio a{
        margin-top: 2vmin;
    }
    .testimonio .testimonio-cont{
        margin: 0 2vh;
    }
}