/*Banner*/

.banner-area{
    position: relative;
    height: 700px;
    overflow: hidden;
}

.banner{
    width: 100%;
    height: 700px;
    overflow: hidden;
    position: absolute;
}

.banner-active{
    animation-name: bannercenter;
    animation-fill-mode: forwards;
    animation-duration: 1.5s;
}

.banner-inactive{
    animation-name: bannerleft;
    animation-fill-mode: forwards;
    animation-duration: 1.5s;
}
@keyframes bannerleft {
    from {transform: translateX(0);}
    to {transform: translateX(-100%);}
    }

@keyframes bannercenter {
    from {transform: translateX(100%);}
    to {transform: translateX(0);}
  }

.banner img{
    position: absolute;
    top: 0;
    height: 100%;
    object-fit: cover;
    z-index: -1;
}

.banner-content{
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(0,0,0,.5);
    padding: 35px 35px 25px 35px;
    border-radius: 10px;
    min-width: 270px;
}

.banner-content h2{
    margin-bottom: 10px;
    font-family: 'Dancing Script', cursive;
    text-transform: capitalize;
    font-size: 36px;
    color: white;
    
}

.banner-content h1{
    margin-bottom: 30px;
    text-transform: uppercase;
    color: white;
}

.banner-content p{
    margin-bottom: 30px;
    color: white;
}

.banner-content .btn-general{
    border: 2px solid white;
    border-radius: 5px;
}


.bannerNav{
    position: absolute;
    bottom: 20px;
    display: flex;
    flex-direction: row;
    gap: 10px;
    align-items: baseline;
    left: 50%;
    transform: translateX(-50%);
}

.bannerNav p{
    cursor: pointer;
    font-size: 16px;
    font-weight: bold;
    background: rgba(0,0,0,.5);
    color: white;
    padding: 5px;
    border-radius: 3px;
}

.bannerNav p:hover{
    color: #7b1c1b;
}

.bannerNav .active{
    font-size: 24px;
    color: #f8dbdb;
}

.promotion{
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
}
.promotion>div{
    width: 50%;
}
.promotion img{
    width: calc(100% - 30px);
    height: 500px;
    margin-left: 30px;
    object-fit: contain;
}
.promotion p{
    line-height: 28px;
}
.promotion .btn-general{
    margin-top: 20px;
}

.intro{
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.intro p{
    max-width: 700px;
}

.intro-boxes{
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    margin-top: 30px;
}

.intro-boxes>div{
    max-width: 350px;
    max-height: 250px;
    overflow: hidden;
    margin: 20px 20px 0 20px;
    position: relative;
}

.intro-boxes div img{
    object-fit: contain;
    cursor: pointer;

}

.intro-boxes div::after{
    content: "";
    position:absolute;
    width: 100%;
    height: 100%;
    left: 0;
}

.intro-boxes div:hover::after{
    background-color: rgba(0, 0, 0, 0.5);
    background-image: url(/assets/img/icon-svg/magnifying-glass.svg);
    background-position: center;
    background-size: 15%;
    background-repeat: no-repeat;
    pointer-events: none;
}

.contact{
    text-align: center;
}

.contact-from{
    margin-top: 60px;
    display: flex;
    flex-direction: row;
    padding: 60px;
    box-shadow: 0 0 20px rgb(0 0 0 / 12%);
}

.contact-from form{
    width: 450px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.contact-from form>*{
 display: inline-block;
 margin: 11px auto;
}

.contact-from form h2{
    margin-top: 0;
    margin-bottom: 30px ;
}

.contact-from form input,
.contact-from form textarea{
    height: 20px;
    width: 100%;
    border-radius: 10px;
    padding: 10px 0;
    text-align: center;
    border-color: rgb(118, 118, 118);
    border-width: 1px;
    border-style: solid;
}

.contact-from form textarea{
    height: 150px;
    text-align: left;
    padding: 10px;
    box-sizing: border-box;
}

.contact-from .contact-image{
    margin-left: 80px;
}

.contact-from .contact-image img{
    height: 100%;
    object-fit: cover;
    max-width: 576px;
}

.contact-from .success,
.contact-from .fail,
.contact-from .empty{
    color:white;
    padding:10px 0;
    margin:auto;
    width:100%;
}

.contact-from .success{
    background-color:green;
}
.contact-from .fail{
    background-color:red;
}
.contact-from .empty{
    background-color:red;
}

.hideAfter5Seconds {
    animation-name: hideAnimation;
    animation-delay: 2s;
    animation-duration: 1s;
    animation-fill-mode:forwards;
}

@keyframes hideAnimation {
    80% {
        visibility: hidden;
        opacity: 0;
    }
    to{
    visibility: hidden;
    height: 0;
    width: 0;
    padding: 0;
    }
}

#captcha{
    display: flex;
    flex-direction: row;
}

#captcha .captcha-input{
    margin-left: 15px;
    width: 50%;
}

#captcha .captcha-reload{
    padding: 0;
    height: 22px;
    width: 91px;
}

#lightbox{
    position: fixed;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: rgba(0, 0, 0, 0.7);
    z-index: 4;
    display: flex;
    justify-content: center;
    align-items: center;
}

#lightbox-image-container{
    width: 800px;
    position: relative;
}

#lightbox-controls{
    position: absolute;
    width: 100%;
    bottom: 50%;
    transform: translateY(50%);
    height: 11%;
    min-height: 72px;
    display: flex;
    justify-content: space-between;
}

.lightbox-ctrl{
    padding: 10px;
    margin: 15px;
    width: 17px;
    background-color: rgb(255 255 255 / 70%);
    border-radius: 10px;
    filter: invert(85%);
}

.lightbox-ctrl:hover,
#lightbox-x:hover{
    filter: invert(100%);
}

#lightbox-x{
    position: absolute;
    width: 18px;
    padding: 12px;
    background-color: rgb(255 255 255 / 70%);
    border-radius: 50%;
    filter: invert(85%);
    top: 10px;
    right: 10px;
    box-shadow: 0px 0px 11px 3px rgb(0 0 0 / 75%);
}

@media (max-width:890px) {

    .intro-boxes>div {
        max-width: 250px;
    }
    .banner-content{
        display: flex;
        flex-direction: column;
    }
    .banner-content a{
        margin: 0 auto;
    }
    .promotion>div{
        width: auto;
    }
    .promotion{
        flex-direction: column;
    }
    .promotion img{
        width: 100%;
        height: auto;
        margin-left: 0;
        margin-top: 20px;
    }
}

@media (max-width:715px) {
    .contact-from{
        flex-direction: column;
        align-items: center;
        padding: 60px 30px;
    }

    .contact-from form input{
        box-sizing: border-box;
        height: 35px;
        border-color: rgb(118, 118, 118);
        border-width: 1px;
        border-style: solid;
    }

    .contact-from form textarea{
        box-sizing: border-box;
        border-color: rgb(118, 118, 118);
        border-width: 1px;
        border-style: solid;
    }

    .contact-from .contact-image{
        margin-left: 0px;
        margin-top: 11px;
    }
    .contact-from form {
        width: auto;
    }
    #lightbox-controls{
        min-height: 100px;
    }
    .lightbox-ctrl{
        width: 12px;
    }
}
