@import url('https://fonts.googleapis.com/css2?family=Corinthia:wght@700&family=Josefin+Sans&family=Montserrat&family=Rubik&display=swap');

/***************Default setting****************/
*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Montserrat', sans-serif;
}
body{
    overflow-x: hidden;
}

html{
    scroll-behavior: smooth;
    background: transparent;
}

/**************** Navbar *****************/
#nav-bar{
    position: fixed;
    width: 100%;
    z-index: 20;
    background: #130d08;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 30px;
    height: 10vh;
    list-style: none;
}

#nav-links a, li, span{
    text-decoration: none;
    display: inline-block;
    color: #fff;
    font-weight: 700;
    font-size: 16px;
    padding: 0 15px;
    transition: all ease 0.5s;
}
#nav-item:hover{
    transform: translateY(-15%);
    color: rgb(219, 218, 218)
}

span{
    font-size: 22px;
}
.sandwich-bar{
    display: none;
}
.company-name img{
    width: 250px;
}
/***************Gallery******************/

#gallery{
    padding-top: 100px;
    padding-bottom: 50px;
}
input{
    display: none;
}
.container{
    width: 100%;
    text-align: center;
    
}
.gallery-title{
    font-size: 45px;
    text-align: center;
    margin-bottom: 70px;
    margin-top: 0px;
}

.checkBar{
    background-color: #303030;
    width: 90%;
    margin: 0 auto 20px auto;
    height: 60px;
    display: flex;
    align-items: center;
    border-radius: 5px;
    box-shadow: 3px 3px 5px lightgray;
}
.checkbar, h3{
    height: 100%;
    background-color: #000;
    line-height: 60px;
    padding: 0 50px;
    color: #fff;
    border-radius: 10px 0 0 10px;
}

label{
    display: inline-block;
    height: 100%;
    padding: 0 10px;
    margin: 0 10px;
    line-height: 60px;
    font-size: 18px;
    font-weight: 500;
    text-transform: uppercase;
    cursor: pointer;
    color: #fff;
    transition: ease .5s;
    margin: 0 auto;
    
}
label:hover{
    transform: translateY(-5%);
}

.photo-gallery{
    width: 90%;
    margin: auto;
    display: grid;
    grid-template-columns: repeat(4,1fr);
    grid-gap: 15px;
    align-self: center;
    align-items: center;
    
}
.pic{
    position: relative;
    height: 270px;
    width: 270px;
    border-radius: 10px;
    box-shadow: 3px 3px 5px lightgray;
    cursor: pointer;
    margin: 0 auto;
}
.pic img{
    width: 100%;
    height: 100%;
    border-radius: 10px;
    transition: .5s;
    object-fit: cover;
}
.pic-description{
    position: absolute;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    top: 0;
    font-weight: bold;
    color: #fff;
    opacity: 0;
    height: 100%;
    width: 100%;
    transition: ease .5s;
    z-index: 2;
    background: #30303085;
    text-transform: uppercase;
}
.pic-description:hover{
    opacity: 1;
}
.pic-description span{
    position: relative;
    line-height: 35px;
}
.pic-description span:before,
.pic-description span:after{
    content: '';
    position: absolute;
    height: 2px;
    width: 0;
    background: #fff;
    transition: ease .5s;
}
.pic-description span:before{
    top: 0;
    left: 0;
}
.pic-description span:after{
    bottom: 0;
    right: 0;
}
.pic-description:hover span:before,
.pic-description:hover span:after{
    width: 100%;
}

.pic::before{
    
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%);
    color: #fff;
    font-size: 25px;
    font-weight: bold;
    width: 100%;
    margin-top: -100px;
    opacity: 0;
    transition: ease .5s;
    transition-delay: .1s;
    z-index: 1;
}
.pic::after{
    content: "";
    width: 100%;
    position: absolute;
    bottom: 0;
    left: 0;
    border-radius: 10px;
    height: 0;
    background-color: #000;
    opacity: .6;
    transition: ease .5s;
}
.pic:hover::after{
    height: 100%;
}
.pic:hover::before{
    margin-top: 0;
    opacity: 1;
}
#check1:checked ~ .container .photo-gallery .pic{
    opacity: 1;
    transform: scale(1);
    position: relative;
    transition: .5s;
}

#check2:checked ~ .container .photo-gallery .type1{
    opacity: 1;
    transform: scale(1);
    position: relative;
    transition: .5s;
}
#check2:checked ~ .container .photo-gallery .type2,
#check2:checked ~ .container .photo-gallery .type3{
    opacity: 0;
    transform: scale(0);
    position: absolute;
    
}
#check3:checked ~ .container .photo-gallery .type2{
    opacity: 1;
    transform: scale(1);
    position: relative;
    transition: .5s;
}
#check3:checked ~ .container .photo-gallery .type1,
#check3:checked ~ .container .photo-gallery .type3{
    opacity: 0;
    transform: scale(0);
    position: absolute;
    
}

#check4:checked ~ .container .photo-gallery .type3{
    opacity: 1;
    transform: scale(1);
    position: relative;
    transition: .5s;
}
#check4:checked ~ .container .photo-gallery .type1,
#check4:checked ~ .container .photo-gallery .type2{
    opacity: 0;
    transform: scale(0);
    position: absolute;
    
}

/***************** Footer ***************************/
#footer{
    height: 40vh;
    min-height: 20vh;
    max-height: 100vh;
    background: #000;
    width: 100vw;
    padding-top: 35px;
    color: #fff;
}
.footer-wrap{
    flex-wrap: wrap;
}
.footer-content{
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    text-align: center;
}
.footer-content p{
    max-width: 500px;
    margin: 10px auto;
    line-height: 28px;
    font-style: 14px;
}
.socials{
    list-style: none;
    display: flex;
    align-items: center;
    justify-content: center;
}
.socials li{
    margin: 0 10px;
}

.socials a{
    text-decoration: none;
    color: #fff;
}

.footer-bottom{
    background: #000;
    width: 100vw;
    padding: 20px 0;
    text-align: center;
}

.footer-bottom p{
    font-size: 14px;
    word-spacing: 2px;
    text-transform: capitalize;
}
.footer-bottom span{
    opacity: .4;
    font-weight: 200;
    font-size: 25px;
}
.footer-bottom span a{
    text-decoration: none;
    color: inherit;
}


/***************** Media Queries **************************/
@media (max-width: 1300px) {
    .slider-text{
        top: 65%;
        height: 50vh;
        width: 100vw;
    }
   
    .photo-gallery{
        grid-template-columns: repeat(3,1fr);
    }
}
@media (max-width: 970px) {
    .photo-gallery{
        grid-template-columns: repeat(2,1fr);
    }
    .checkBar h3{
        display: none;
    }
    label{
        margin: auto;
    }
}
@media (max-width: 650px) {
    .photo-gallery{
        grid-template-columns: repeat(1,1fr);
    }
}
@media (max-width: 880px) {
    .checkBar, label{
        font-size: 15px;
    }
    .card-presentation{
        flex-direction: column-reverse;
        min-width: 300px;
        max-width: 860px;
        min-height: 600px;
        margin: 150px 20px 80px 20px;
        
    }
    .presentation-img{
        transform: translateX(0);
        transform: translateY(-6rem);
    }
    .slider-text h2{
        font-size: 18px;
    }
    .slider-text p{
        font-size: 15px;
    }

    #nav-links{
        position: fixed;
        width: 100%;
        height: 95vh;
        background: #343434;
        top: 60px;
        left: 100%;
        text-align: center;
        transition: 0.8s ease;
        z-index: 1;
        
    }
    #nav-item{
        width: 100%;
        display: block;
        margin: 30px auto;
        line-height: 10px;
    }

    .sandwich-bar{
        display: block;
    }
    .sandwich-bar a{
        color: #fff;
        cursor: pointer;
    }
    .sandwich-bar img{
        height: 50px;
        border-radius: 50%;
        cursor: pointer;
    }
    
}
@media (max-width: 490px) {
    .company-name img{
        width: 150px;
    }
    .contact-message-title{
        font-size: 20px;
    }
    .checkBar{
        height: auto;
        width: 270px;
        flex-direction: column;
    }
    .checkBar label{
        width: 100%;
        border-radius: 10px;
    }
    .checkBar :nth-child(3),
    .checkBar :nth-child(5){
        background: #130d08;
    }

}
@media (max-height:500px) {
    
    #footer{
        height: 100vh;
    }
}