/* StyleRef for Index/Homepage */
main {
    display: flex;
    flex: 1;
    flex-direction: column;
    align-items: center;
    margin: auto;
    /* background-image: url(../media/other/Backdrop.png); */
    background-size: 200%;
}

body > div{
    width: 55%;
    margin: auto;
}
.backbackdrop{
    width: 60%;
}

header{
    position: relative;
    margin: auto;
    margin-top: 50px;
    width: auto;
    z-index: 4;
}

.box{
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 10px;
    background-color: #2B354F;
    width: 92%;
    transform: translateY(-20px);
    border: 5px solid #415171;
    border-radius: 20px;
}

.main-content{
    display: flex;
    flex-direction: row;
    gap: 0px;
    height: fit-content;
}
.main-content >div:first-child > div:first-child {
        display: none;

    }
.main-content > div:nth-child(1){
    position: relative;
    flex: 1 1;
}

.intro-side-l{
    position: relative; top: -90px; left: -10px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    height: fit-content;
    margin: auto;
    width: 100%;
    min-width: 300px;
    padding: 20px;
    padding-bottom: 60px;
    border-radius: 8px;
    color: #1D2434;
    background-color: #415171;
}
.intro-side-l > *{
    border-radius: 8px;
}
.greetings{
    background-color: #FFB792;
    font-size: 1.2rem;
    font-weight: bold;
    text-transform: uppercase;
    padding: 10px 30px 10px 30px;
}

.textbox{
    position: relative;
    background-color: #fff;
    height: fit-content;
    padding: 30px;
    font-size: 0.7vw;
}

.textbox > img {
    position: absolute; right: 120px; bottom: -20px;
    width: 5vw;
} 

.art-display{
    background-color: #fff;
    margin-top: 25px;
}

.art-display > *{
    display: flex;
    flex-direction: column;
    margin: 20px;
}

.art-display > div> div:first-child{
    display: flex;
    justify-content: center;
    align-items: center;
    width: auto;
    aspect-ratio: 0.95;
    background-color: #64749B;
    object-fit: cover;
    overflow: hidden;

}

#LATEST-PROJECT {
    border-radius: 5px;
    border: 3px solid #1D2434;
}

#LATEST-PROJECT > img {
    object-fit: cover;
    margin: auto;
    width: 100%;
    height: 100%;
}

.art-display > div > div:nth-child(2) > span:first-child{
    font-size: 1.2rem;
    font-weight: 500;
}

.art-display > div > div:nth-child(2){
    position: relative;
    padding: 10px;
    height: 100px;
}

.art-display > div> div:nth-child(2) > a > button{
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    position: absolute; right: 0; bottom: 0;
    padding: 10px 30px;
    background-color: #fff;
    border: 3px solid #1D2434;
    border-radius: 5px;
    font-size: 1.3rem;
    text-transform: uppercase;
    font-weight: bold;
}
.art-display > div> div:nth-child(2) > a > button > img{
    width: 25px;
}

.art-display > div > div:nth-child(2) > span:last-of-type{
    position: absolute; right: -30px; bottom: -35px;
    background-color: #ff8f66;
    padding: 5px 30px;
    border: 2px solid #A7503F;
    border-radius: 5px;
    font-weight: 400;
    font-size: 1.5rem;
    text-transform: uppercase;
}

.side-r{
    flex: 1 1 ;
    margin: 10px;
}

.side-r > div:first-child{
    position: relative;
    height: 26vw;
}

.side-r > div > div:first-child{
    position: absolute;
    background-color: #415171;
    width: 20vw;
    height: 21vw;
    bottom: 50px;
    left: -20px;
    right: 0;
    margin-inline: auto; 
    border-radius: 5px;
}

.img-display img:last-child {
    position: absolute; left: -105px; bottom: 0px;
    width: 34vw;
}

.banner-box{
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin: 10px 5px;
}

.banner-box > div{
    background-color: #64749B;
    border-radius: 5px;
}

.banner-box > span{
    position: absolute; top: -12px; left: 0; right: 0;
    width: 100%;
    background-color: #FF8F66;
    border: 2px solid #A7503F;
    border-radius: 5px;
    padding: 4px 20px;
    color: #2B354F;
    font-size: 1.5rem;
    font-weight:400;
    z-index: 2;
    text-transform: uppercase;
    text-align: center;
}

.banner-box > div:nth-child(2){
    width: 100%;
    padding: 40px 15px 15px 15px;
}

.banner-box > div:nth-child(2) > div{
    display: flex;
    flex-direction: column;
    gap: 5px;
    width: 100%;
    height: 100%;
    border-radius: 5px;
    overflow:scroll;
    overflow-x: hidden;
    max-height: 320px;
    scrollbar-color: #a3bdff #576486;
    scrollbar-width:thin;
}

.banner-box > div:nth-child(2) > div > label{
    display: flex;
    justify-content: center;
}
.banner-box > div:nth-child(4){
    position: relative;
    display: flex;
    align-items: end;
    justify-content: end;
    gap: 20px;
    height: fit-content;
}
.banner-box > div:nth-child(4) > a > button{
    width: fit-content;
    padding: 5px 20px;
    margin: 10px;
    font-size: 1.3rem;
    border: 3px solid #2B354F;
    border-radius: 5px;
    background-color: #fff;
    color: #000;
}
.banner-box > div:nth-child(4) > img {
    position: absolute; left: -20px; bottom: -80px;
    width: 10vw;
    z-index: 2;
}

.showcase-banner{
    display: flex;
    position: relative;
    height: fit-content;
    width: 97%;
    min-height: 130px; max-height: 150px;
    background-color: #fff;
    border-radius: 10px;
    border: 3px solid #1d2434;
    overflow: hidden;
    color: #171D2A;
    padding: 8px;
    font-size: 0.9rem;
}

.showcase-button{
    position: relative;
    height: 35px;
}

.showcase-banner span {
    margin: 2px;
}

.showcase-banner > div > span:nth-child(2){
    font-size: 0.8rem;
}

.showcase-banner > div > span:nth-child(3){
    font-size: 0.7rem;
}

.showcase-button > a > button{
    display: flex;
    align-items: center;
    position: absolute; bottom: 0; right: 0;
    margin: 3px;
    padding: 0 15px;
    background-color: #A3BDFF;
    border: 2px solid #1D2434;
    border-radius: 3px;
}

.showcase-button > a > button  > img {
    width: 25px;
}

.showcase-banner > div {
    display: flex;
    flex: 2;
    flex-direction: column;
    padding-left: 5px;
}

.showcase-banner > img:first-of-type{
    object-fit: cover;
    width: 100%;
    flex: 1;
    border: 2px solid #1D2434;
    border-radius: 5px;
}
.showcase-banner > img:last-of-type{
    position: absolute; right: -2px; top: -2px;
    padding: 3px 5px;
    border-radius: 5px;
    border: 2px solid #1D2434;
    background-color: white;

}

.social-banner{
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    padding: 10px;

    text-align: center;
    font-size: 0.9rem;
    color: #171D2A;
    background-color: #64749B;
}

.social-banner > * {
    flex: 1;
}

.social-banner img:hover {
    background-color: #ff8f66;
}

.social-banner img {
    width: 3.2vw;
    aspect-ratio: 1;
    padding: 6px;
    background-color: #415171;
    border-radius: 5px;
    
}

.social-banner div{
    margin:  2px 10px ;
    z-index: 2;

}

.headline {
    position: relative;
    text-transform: uppercase;
    text-align: center;
    font-size: 4rem;
    width: fit-content;
    font-weight: 600;
    margin-top: -70px;
    background-color: #3a4663;
    padding: 20px 40px;
    border-radius: 30px;
    border: 2px solid #1D2434;
}

.video-backdrop {
    position: relative;
    height: 100%;
    margin: auto;
    overflow: hidden;
    object-fit: cover;
}

.backdrop{
    position: absolute;
    height: 100vw;
    width: 54%;
    margin: auto;
    z-index: -1;
    left: 0;
    right: 0;
    top: 10%;

    border-radius: 10px;
    background-color: #171D2A;
    border: 3px solid #222A3B;
}

.media {
    position: absolute;
    opacity: 0;  
    backface-visibility: hidden;
}

.media.active {
    position: relative;
    opacity: 1;
}

.media video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border: 3px solid #363F55;

}

 .media img {
    margin: auto;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

footer{
    top: -240px;
    z-index: -1;
    width: 55%;
}

/* .media.zoom-effect {
    animation: zoomInOut 15s ease-in forwards;
    will-change: transform;
    transform-origin: center center;
}

@keyframes zoomInOut {
    0% {
        transform: scale(1);
    }
    100% {
        transform: scale(1.5);
    }
} */

/* .gradient-video {
    position: absolute;
    width: 100%;
    height: 100%;
     background: linear-gradient(to top, #181a29 10%, rgba(0,0,0,0) 40%); 
    z-index: 1;

} */

.sub-headline {
    text-transform: uppercase;
    text-align: center;
    font-size: 1.5rem;
    width: fit-content;
    font-weight: 500;
    margin: 30px 0 0px;
}

.image-row {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 20px;
    margin: 50px 0px 200px 0px;
}

.image-row img video {
    height: 300px;
    width: 300px;
    border-radius: 3%;
}

/* .button-container video{
    mix-blend-mode: lighten;
} */

.button-container {
    background: rgb(255, 148, 106);
    position: relative;
    width: 300px;
    height: 300px;
    text-align: center;
    color: #fff;
    border-radius: 3%;
}

.hover-button {
    opacity: 0;
    position:absolute;
    transform: translate(-50%, -50%);
    top: 50%;
    left: 50%;
    width: 100%;
    font-size: 2rem;
    font-weight: bolder;
    text-transform: uppercase;
    cursor: pointer;
    z-index: 1;
    pointer-events: none;
}

.gallery-select{
    z-index: 1;
    position: relative; top: -80px;
    margin-bottom: -80px;
}

/* active state for Js instead of hover */

.active-button, .button-container:hover {
    transform: scale(1.01);
    transition: 0.5s;
    overflow: hidden;
    filter: drop-shadow(1rem 1rem 5px rgb(37, 37, 37));
    background: rgb(184, 107, 77) !important;
}

.active-button video, .button-container:hover video {
    filter: drop-shadow(1rem 1rem 3px rgba(179, 92, 71, 0.7));
    transform: scale(1.01);
    transition: 0.5s;
    mix-blend-mode: lighten;
}

.active-button .hover-button, .button-container:hover .hover-button {
    opacity: 1 !important;
    transition: 0.5s;
    cursor: pointer;
}

.main-content >div:first-child > img:first-child{
    display: none;
}

/* Media Queries */
@media screen and (max-width: 600px) {
    main {
        width: 95%;
        padding: 1px 5px 0px 5px;
        background-size: 700%;
    }

    body > div:nth-child(2){
        width: 95%;
    }

    .backbackdrop{
        display: none;
    }

    .main-content {
        flex-direction: column;
        flex-wrap: wrap;
        padding-bottom: 0px !important;
    }

    .main-content >div:first-child > div:first-child > div:first-child{
        position: absolute;
        background-color: #415171;
        width: 60vw;
        height: 33vw;
        bottom: 15px;
        left: 0;
        right: 0;
        margin-inline: auto; 
        border-radius: 5px;
    }

    .main-content >div:first-child > div:first-child > img{
        display: inline;
        position: absolute; bottom: -10px;
        margin: auto;
        width: 370px;
        z-index: 2;
    }

    .main-content >div:first-child > div:first-child {
        display: flex;
        align-items: center;
        justify-content: center;
        position: relative;
        height: 200px;
        width: 100%;
    }

    .side-r {
        margin-top: -50px;
    }

    .side-r > div:first-child {
        height: auto;
    }

   .side-r > div > div:first-child{
        display: none;
    }   

    .intro-side-l {
        position: relative;
        padding: 15px;
        left: 0; right: 0;
        width: 90%;
        max-width: 500px;
        margin-top: 93px;
    }
    .textbox{
        font-size: 2.8vw;
        padding: 15px;
    }
    .textbox > img {
        right: 15px;
        bottom: -11px;
        width: 15vw;
    }
    .greetings {
        font-size: 0.9rem;
        text-align: center;
        padding: 5px 10px;
    }
    .box {
        width: 100%;
    } 

    .img-display img:last-child {
        display: none;
        width: 440px;
    }

    .art-display{
        margin-top: 10px;
    }
    .art-display > div > div:nth-child(2) > a > button {
        padding: 10px;
        font-size: 1rem;
        color: #000;
    }

    .art-display > div{
        margin: 10px;
    }

    .art-display > div > div:nth-child(2) > span:first-child{
        font-size: 1rem;
    }

    .banner-box {
        gap: 10px;
    }

    .banner-box {
        margin-bottom: 5px; margin-top: 0;
    }

    .banner-box > div:nth-child(2) > div {
        background-color: transparent;
        padding: 0;
    }

    .banner-box > div:nth-child(4) {
        height: 65px;
    }

    .banner-box > div:nth-child(4) > img{
        left: -35px;
        bottom: -7vw;
        width: 35vw;
    }

    .shadow-wrapper {
        width: 320px;
        height: 470px;
    }

    .image-row {
        flex: 1 1 100%;
        flex-direction: column;
        max-width: 100%;
    }
    .headline {
        font-size: 1.4rem;
        padding: 10px 20px;
        margin-top: -40px;
        border-radius: 15px;
        width: 100%;
    }

    .sub-headline {
        font-size: 1.2rem;
    }

    .media video {
        margin: auto;
        width: 100%;
        height: 300px;
        object-fit: cover;
    }
    .video-backdrop {
        position: relative;
        width: 100%;
        height: 300px;
        margin: auto;
        padding-bottom: 10px;
        overflow: hidden;
    }

    .showcase-banner:checked > div{
        display: block;
        position: absolute;
    }

    .showcase-banner > div{
        display: none;
       
    }

    .showcase-button {
        margin-bottom: 0; margin-top: auto;
    }

    .social-banner {
        padding: 10px;
    }

    .social-banner img {
        width: 12vw;
    }

    .social-banner div {
        margin: 0;
    }

    .gallery-select{
        top: 0;
        margin-bottom: auto;
    }
}

@media screen and (max-width: 1350px) and (min-width: 600px) {
    main {
        width: 95%;
        padding: 1px 5px 0px 5px;
        background-size: 700%;
    }
    .backbackdrop{
        width: 85%;
        top: 50px;
        height: 90vh;
    }

    body > div:nth-child(2){
        width: 95%;
    }

    .ui-container{
        min-width: 100%;
    }

    .box{
       width: 98%; 
    }
    .side-r{
        margin: auto;
    }

    .side-r > div:first-child{
        height: 220px;
    }

   .side-r > div > div:first-child{
        width: 35vw;
        height: 30vw;
    }   

    .banner-box > span {
        padding: 4px 8px;
    }

    .intro-side-l {
        position: relative;
        padding: 15px;
        max-width: 500px;
        margin-top: 40px; margin-left: 0; margin-right: 0;
    }
    .img-display img:last-child{
        width: 50vw; left: -50px;
    }
    .main-content {
        flex-wrap: nowrap;
        padding-bottom: 0;
    }

    .art-display{
        margin-top: 10px;
    }
    .art-display > div > div:nth-child(2) > a > button {
        padding: 10px;
        font-size: 1rem;
    }

    .art-display > div{
        margin: 10px;
    }

    .art-display > div > div:nth-child(2) > span:first-child{
        font-size: 1rem;
    }
    .textbox{
        font-size: 1.5vw;
        padding: 15px;
    }
    .textbox > img {
        right: 15px;
        bottom: -11px;
        width: 10vw;
    }
    .greetings {
        font-size: 1.7vw;
        text-align: center;
        padding: 5px 10px;
    }

    .banner-box > div:nth-child(4) > img {
        width: 17vw;
        bottom: -4vw;
    }

    .banner-box > div:nth-child(2){
        padding: 5px;
        padding-top: 40px
    }

    .banner-box > div:nth-child(4) > a > button {
        font-size: 2.5vw;
    }

    .banner-box > div:nth-child(2) > div{
        background-color: transparent;
        padding: 5px;
    }

    .social-banner {
        padding: 5px;
    }

    .social-banner div {
        margin: 0;
        flex-wrap: nowrap;
        display: flex;
        gap: 5px;
    }

    .social-banner img{
        width: 6vw;
    }
}

@media screen and (max-width: 900px){ 
    .showcase-banner > div {
        display: none;
    }

    footer {
        width: 80%;
    }

}

@media screen and (max-width: 900px) {
    [id*="toggle-text"]:checked + .showcase-banner > img:first-of-type{
        display: none;
    }

    [id*="toggle-text"]:checked + .showcase-banner > div{
        display: flex;
    }
}
/* Hover Effect */

/*No Hover */
@media (hover: none) { 
    .button-container {
        background:rgb(255, 148, 106);
        border-radius: 3%;
        overflow: hidden;
    }

    .button-container .hover-button { 
        opacity: 0;    
    }
}

/* On Hover Style */
@media (hover: hover) {

    .button-container:hover .hover-button { 
        opacity: 1;
        transition: 0.5s;
        cursor: pointer;
    } 
    
    .button-container:hover video {
        cursor: pointer;
        filter: drop-shadow(1rem 1rem 3px rgba(179, 92, 71, 0.7));
        transform: scale(1.01);
        transition: 0.5s;
        background: rgb(184, 107, 77);
        mix-blend-mode: lighten;
    }

    .button-container:hover {
        transform: scale(1.01);
        transition: 0.5s;
        overflow: hidden;
        filter: drop-shadow(1rem 1rem 5px rgb(37, 37, 37));
        background: rgb(184, 107, 77);
    }

}