*{
    margin: 0;
    padding: 0;
    box-sizing: 0;
    scroll-behavior: smooth;
}

html{
    width: 100%;
}

body{
    margin: 0 auto;
    width: 100%;
    background-color: #3C3C3C;
    font-family: 'Montserrat', sans-serif;
    color: white;
}

ul{
    width: 70%;
    text-decoration: none;
    list-style: none;
    margin: 0px auto 15px auto;
    background-color: #1d1d1d;
    position: fixed;
    top: 0;
    padding:  0px 15%;
    z-index: 5;
}

header ul li{
    display: inline-block;
    margin: 0 0;
    border-bottom: 2px solid rgba(246, 146, 30, 0);

}

#first-li{
    margin-left: 150px;
}

header ul li a{
    text-align: center;
    display: block;
    width: 100px;
    padding: 15px 0;
    color: white;
    text-decoration: none;
    min-width: fit-content;
}

header ul li:hover{
    border-bottom: 2px solid #f6921e;
    background-color: rgb(7, 7, 7);
}

header ul li#image{
    height: 40px;
    margin: 0 30px 0 0;
    position: fixed;
    top: 3px;
}

header ul li#image a{
    padding: 0;
}

header ul li#image:hover{
    border-bottom: none;
    background-color: rgba(246, 146, 30, 0);
}

header ul li#contacts{
    float: right;
}


#small-scr{
    display: none;
}


@keyframes animate-image {
    0%{
        margin-top: 300px;
        opacity: .3;
    }

    100%{
        margin-top: 200px;
        opacity: 1;
    }
}


#team-image{
    width: 100%;
}

#team-image img{
    width: 100%;
    margin: 30px 0 100px 0;
}

h1{
    display: none;
}

#who{
    padding-top: 60px;
}

#who .orange, #why .orange{
    text-align: center;
    font-weight: 400;
    color: rgb(246, 146, 30);
    font-size: 96px;
}
/*  */

#who p, #what p, #why p{
    text-align: center;
    font-size: 24px;
}

.yellow-words{
    font-weight: 700;
    color:rgb(246, 146, 30);
    font-size: 48px;
}

#sub-paragraph{
    text-align: center;
    font-weight: 700;
    margin-bottom: 30px;
}

#container-who{
    display: grid;
    width: 60%;
    margin: 20px 20%; 
    grid-template-columns: 1fr 1fr 1fr;
    row-gap: 90px;
}

#container-who div{
    width: 90%;
    margin: 0 auto;
}


#container-who div img {
    width: 100%;
}

#container-who div p{
    font-size: 20px;
}

#container-who div .orange-name{
    color:rgb(246, 146, 30);
    margin-bottom: 10px;
    font-size: 24px;
}

.orange-dash{
    color:rgb(246, 146, 30);
}

#what{
    margin-top: 60px;
    margin-bottom: 50px;
    padding-top: 60px;

}

#what h2, #where h2{
    text-align: center;
    font-weight: 400;
    font-size: 96px;
}

#where .yellow-words{
    display: block;
    text-align: center;
    padding: 0 20px;
}

#container-what{
    display: grid;
    width: 60%;
    margin: 20px 20%; 
    grid-template-columns: 1fr 1fr 1fr;
    row-gap: 90px;
    margin-bottom: 100px;

}

#container-what div{
    width: 90%;
    margin: 0 auto;
    background-color: #131313;
    border-radius: 20px;
}

#container-what div img{
    display: block;
    margin: 20px auto;
}

#container-what div svg{
    display: block;
    margin: 0 auto;
    height: 2px;
    width: 90%;
}

#container-what div svg rect{
    display: block;
    text-align: center;
    width: 100%;
    height: 2px;
    margin: 0 auto;
}

#container-what div h3{
    margin-top: 30px;
    color: rgb(246, 146, 30);
    text-align: center;
    margin-bottom: 0px;
    font-size: 20px;
    padding: 0 30px;

}


#container-what div p{
    padding: 20px 25px;
    text-align: center;
    font-size: 16px;
    margin-bottom: 40px;
    line-height: 25px;

}

#container-what div p .bold{
    font-weight: 700;
}

#why{
    padding-top: 60px;
}

.gallary{
    padding: 10px;
    width: 70%;
    margin: 30px auto 0 auto;
    display: grid;
    grid-gap: 0px;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    grid-auto-rows: 270px;
    grid-auto-flow: dense;
    margin-bottom: 150px;
}

.v-stretch{
    grid-row: span 2;
}

.h-stretch{
    grid-column: span 2;
}

.big-stretch{
    grid-row: span 2;
    grid-column: span 2;
}

.gallary div img{
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition-duration: .3s;
    position: relative;
}

.gallary div a{
    display: block;
    width: 100%;
    height: 100%;
    position: relative;
}

.image-overlay{
    position: absolute;
    color:white;
    top: 0;
    left: 0;
    width: 90%;
    height: 100%;
    background-color: rgba(0, 0, 0, .7);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 0 5%;
    opacity: 0;
    transition: .3s;
}



.image-overlay-small-scr{
    position: absolute;
    color: white;
    bottom: 0;
    left: 0;
    height: 40px;
    width: 100%;
    background-color: rgba(0, 0, 0, .7);
    display: flex;
    justify-content: center;
    align-content: center;
    display: none;
}

.gallary .image-overlay-small-scr img{
    display: block;
    width: 20px;
    object-fit: contain;
    margin-right: 7px;
}
.gallary .image-overlay-small-scr span{
    font-weight: bold;
    font-size: 12px;
    padding: 13px 0;
}




.image-overlay:hover{
    opacity: 1;
}



.image-overlay > * {
    transform: translateY(20px);
    transition: .3s;
}

.image-overlay:hover > *{
    transform: translateY(0);
}

.image-overlay h4{
    text-align: center;
    width: 100%;
    font-size: 18px;
}

.image-overlay p {
    font-size: 12px;
    margin-top: 8px;
    padding: 0 30px;
    text-align: center;
}


@media (max-width: 500px) {
    .v-stretch{
        grid-row: span 1;
    }
    
    .h-stretch{
        grid-column: span 1;
    }
    
    .big-stretch{
        grid-row: span 1;
        grid-column: span 1;
    }
    
}



.view-project{
    width: 100%;
    margin-top: 50px;
    

}

.view-project img.behance{
    display: block;
    object-fit: contain;
    width: 20px;
    margin: 0 auto;
}
.view-project p {
    font-size: 10px;
    margin-top: 0px;
}

#where h2{
    margin-bottom: 10px;
}

#focus{
    position: relative;
    background-color: rgba(0, 0, 0, 0);
}

#focus li {
    width: 80%;
    margin: 20px auto;
    font-size: 16px;
    text-align: center;
}

#focus li p #bold{
    font-weight: 700;
}

#contact{
    margin: 150px auto 0 auto;
    background-color: #131313;
    padding: 50px 0;
}


#contact-info{
    color: #ffffff;
    text-align: center;
    letter-spacing: 1px;
    margin-bottom: 20px;
    font-size: 14px;
}

#contact-info p {
    margin-top: 2px;
}

#contact-info p a{
    text-decoration: none;
    color: #ffffff;
    font-weight: 700;
}


#contact-info p a:hover{
    color: rgb(246, 146, 30);
}

#social-media{
    width: 100%;
    display: flex;
    justify-content: center;
}

#contact a img {
    width: 40px;
    margin: 0 10px;
    filter: grayscale(100%);
    transition: .25s;
}

#contact a img:hover{
    filter: none;
}


.foot{
    margin-top: 30px;
    text-align: center;
    font-size: 12px;
    margin-bottom: 20px;
    color: #a8a8a8;

}

.foot a{
    text-decoration: none;
    color: #a8a8a8;
    font-weight: 700;
}



@media (max-width:1570px){
  

#container-who div p{
    font-size: 16px;
}
#container-who div .orange-name{
    font-size: 20px;
    margin-bottom: 0px;
}
}



@media (max-width:1400px){
   
    #team-image img{
        margin-bottom: 50px;
    }
    #container-what{
        grid-template-columns: 1fr 1fr;
    }
    #container-who{
        grid-template-columns: 1fr 1fr;
    }
    #container-who div p{
        font-size: 20px;
    }
    #container-who div .orange-name{
        font-size: 24px;
        margin-bottom: 5px;
    }
    
}


    
@media (max-width:1100px){

    #what{
        margin-top: 0;
        padding-top: 0;
    }
    #who .orange, #why .orange{
        font-size: 60px;
    }

    #where .orange, #what .orange{
        font-size: 60px;

    }
    
    #who p, #what p, #why p{
    font-size: 18px;

}

    .yellow-words{
    font-weight: 700;
    color:rgb(246, 146, 30);
    font-size: 24px;
}
}


@media (max-width: 950px){
    header ul li a{
        padding-left: 5px;
        padding-right: 5px;
        width: 80px;
    }

}

@media (max-width: 900px){
    nav ul {
        height: 50px;
        display: flex;
        justify-content: content;
    }

    header nav ul #image{
        display: inline;
        margin: 0px auto;
        width: 70%;
    }
    header nav ul #image a{
        margin: 0px auto;
        width: 100%;
    }
    header ul li  {
        display: none;
    }

    header nav ul #image{
        display: block;
    }

    @keyframes animate-image {
        0%{
            margin-top: 100px;
            opacity: .3;
        }
    
        100%{
            margin-top: 70px;
            opacity: 1;
        }
    }
    #contact-info p a{
        color: rgb(246, 146, 30);
    }

    #container-who, #container-what{
        width: 90%;
        margin: 20px auto;
    }

    #focus li{
        width: 100%;
        margin: 20px 0;
    }
.gallary{
    /* grid-auto-rows: 350px; */

}
    #small-scr{
        display: flex;
        width: 100%;
        margin: 0 auto;
        padding: 2px 0;
        justify-content: center;
        align-content: center;
        background-color: #1d1d1d;
        position: fixed;
        z-index: 50000;
    }

    .image-overlay-small-scr{
        display: flex;
    }

    .image-overlay{
        display: none;
    }
}

@media (max-width: 800px){
    #who .orange, #what .orange, #why .orange{
        width: 80%;
        margin: 0 auto;
    }

    #where .orange{
        width: 80%;
        margin: 0 auto;
    }
    #who p, #what p, #why p{
        width: 80%;
        margin: 0 auto;
    }

    #where #focus li p {
        width: 100%;
    }

}

@media (max-width:600px){
    #container-what{
        grid-template-columns: 1fr;
        grid-gap: 20px;
        
    }

    #container-who div img{
        width: 70%;
        display: block;
        margin: 0 auto;
    }
    #container-who{
        grid-template-columns: 1fr;
        row-gap: 40px;
    }

    #container-what div{
        width: 90%;
    }

    #who .orange, #what .orange, #why .orange{
        font-weight: 700;
        font-size: 40px;
    }

    #where .orange{
        font-weight: 700;
        font-size: 40px;
    }

    #who p, #what p, #why p, #where #focus li p{
        font-size: 14px;
        text-align: center;
    }

    .gallary{
        width: 90%;
    }

    #container-who div .orange-name{
        font-size: 18px;
        margin: 5px auto 0 auto ;
    }

    #container-who div p{
        font-size: 14px;
    }

    #social-media{
        transform: scale(.8);
    }
}