@import url('https://fonts.googleapis.com/css2?family=Bebas+Neue&family=MuseoModerno:ital,wght@0,100;0,200;0,500;0,700;1,300&family=Roboto&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Heebo&family=Inter:wght@200;400;500;600;700&family=Koulen&family=Staatliches&display=swap');
*{
    padding: 0;
    margin: 0;
    font-family: 'MuseoModerno';
    text-decoration: none;
    box-sizing: border-box;
    list-style: none;
    font-weight: 500;
    -webkit-box-sizing: border-box;
}
body{
    background-color: #F4F4EF;
}
html{
    scroll-behavior: smooth;
}
.nv-1,nav{
    z-index: 4;
    top: 0;
    width: 100%;
    height: 90px;
    color: #060918;
    display: flex;
    justify-content: space-around;
    align-items: center;
    position: sticky;
    text-decoration: none;
    box-shadow: 0 2px 4px 0 rgba(0,0,0,.2);
}
nav a{
    color: #060918;
    border-bottom: 1px solid transparent;
    transition: 0.25s;
    transition: 0.25s;
}
nav a:hover{
    border-bottom: 1px solid #060918;;
}
nav ul{
    display: flex;
    gap: 20px;
    font-size: 30px;
}
nav button{
    font-weight: 300;
    font-style: italic;
    font-size: 30px;
    padding: 7px;
    border: 1px solid #060918;;
    border-radius: 0;
    background-color: transparent;
    color: #060918;
    cursor: pointer;
    transition: 0.25s;
}
nav button:hover{
    background-color: #060918;;
    color:#F4F4EF;
}
nav #logo{
    font-family: 'MuseoModerno';
    font-size: 40px;
    font-weight: 700;
}
nav #menu{
    border: none;
    font-size: 30px;
    font-style:normal;
    font-family: Arial, Helvetica, sans-serif;
    display: none;
}
nav #menu:hover{
    background-color: transparent;
    color: white;
    transform: rotate(180deg);
}
@media (max-width: 1000px){
    nav{
        justify-content: space-between;
        padding-left: 5px;
        padding-right: 5px;
    }
}
@media (max-width: 900px){
    nav ul{
        font-size: 20px;
    }
    nav #logo{
        font-size: 40px;
    }
    nav button{
        font-size: 20px;
    }
}
@media (max-width: 650px){
    nav ul{
        font-size: 18px;
        gap: 10px;
    }
    nav #logo{
        font-size: 30px;
    }
    nav button{
        font-size: 18px;
    }
}
@media (max-width: 550px){
    nav ul{
        flex-direction: column;
        align-items: center;
        justify-content: center;
        font-size: 20px;
    }
    nav ul li a{
        border-bottom: none;
    }
    nav #menu{
        display: block;
    }
    nav ul{
        z-index: -1;
        position: absolute;
        right: 0;
        width: 100%;
        height: 10vh;
        top: 100%;
        background-color: #F4F4EF;
        left: -100%;
        transition: all 0.5s;
    }
    nav ul a{
        color: #060918;
    }
    .nav.active{
        left: 0;
        display: flex;
    }
    nav.active{
        background-color: #060918;
    }
    nav.active a{
        color: #F4F4EF;
    }
    .nav.active a{
        color: #060918;
    }
    nav.active button{
        border-color: #F4F4EF;
        color: #F4F4EF;
    }
    body.active{
        overflow: hidden;
    }
}
@media (max-width: 430px){
    nav #logo{
        font-size: 20px;
    }
    nav button{
        font-size: 15px;
    }
    #menu{
        font-size: 15px;
    }
}
nav{
    background-color: #F4F4EF;
    color: #060918;
    transition: 0.5s;
}
footer{
    width: 100%;
    height: 400px;
    background-color: #F4F4EF;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 50px;
    align-items: center;
}
.top-footer{
    width: 70%;
    display: flex;
    justify-content: center;
    align-items: center;
}
.top-footer a{
    color: #060918;
    font-weight: 700;
    font-size: 30px;
    -webkit-transition: 0.5s;
}
.top-footer a:hover{
    color:#A01D26;
}
.middle-footer{
    display: flex;
    justify-content: center;
    align-items: center;
    width: 70%;
}
.middle-footer ul{
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 25px;
}
.middle-footer ul li a{
    color: #A01D26;
    font-family:'Koulen';
    letter-spacing: 2px;
    font-size: 20px;
    -webkit-transition: 0.5s;
}
.middle-footer ul li a::after{
    content: '';
    display: block;
    transform: scaleX(0);
    border-bottom: 1px solid rgb(0, 0, 0);
    transition:  1s ease;
    transform-origin: bottom;
}
.hr{
    width: 70%;
    height: 1px;
}
hr{
    width: 100%;
    border: 1px solid linear-gradient(to right, red, yellow);
    border-radius: 100%;
}
.bottom-footer{
    width: 70%;
    display: flex;
    justify-content: center;
    gap: 30px;
    align-items: center;
}
.bottom-footer p{ 
    color: #A01D26;
    font-family:'Staatliches';
    letter-spacing: 2px;
    font-size: 20px;
}
.bottom-footer .socials{
    display: flex;
    gap: 10px;
}
.socials i{
    font-size: 25px;
}
.socials a{
    color:#060918;
    -webkit-transition: 0.5s;
}
.socials a:hover{
    color: #A01D26;
}
.middle-footer ul li a:hover{
    color: #060918;
}
.middle-footer ul li a:hover::after{
    transform: scaleX(1);
}
@media (max-width: 530px){
    .top-footer a{
        font-size: 25px;
    }
    .middle-footer ul li a{
        font-size: 15px;
    }
    .bottom-footer .socials a{
        font-size: 20px;
    }
}
@media (max-width: 450px){
    .top-footer{
        width: 100%;
        align-items: center;
        justify-content: center;
    }
    .middle-footer{
        width: 100%;
    }
    .bottom-footer .socials a{
        width: 100%;
    }
}
footer{
    overflow: hidden;
}
.after-nav{
    background-image: url('/Photos/wallpaperflare.com_wallpaper\ \(18\)-fotor-20230624205328.jpg');
    background-position: center;
    background-size: cover;
    height: 900px;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}
.main-after{
    width: 70%;
    height: 75%;
}
.top-after{
    height: 60%;
    width: 100%;
}
.bottom-after{
    width: 100%;
    height: 40%;
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    align-items: flex-start;
}
.bottom-after p:nth-child(1){
    font-size: 18px;
    font-family: 'Inter';
    font-weight: 500;
    color: #F4F4EF;
}
.bottom-after p:nth-child(2){
    font-family: 'Staatliches';
    letter-spacing: 2px;
    font-size: 50px;
    color: #F4F4EF;
}
.bottom-after p:nth-child(3){
    font-family: 'inter';
    font-size: 18px;
    color: #F4F4EF;
}
.bottom-after p:nth-child(4){
    font-family: 'inter';
    font-size: 14px;
    color: #cbcbcb;
}
.bottom-after button{
    border-radius: 5px;
    padding: 13px;
    font-size: 18px;
    font-family: 'inter';
    background-color: white;
    border: 1px solid white;
    font-weight: 500;
    transition: 0.5s;
    cursor: pointer;
}
.bottom-after button:hover{
    background-color: transparent;
    color: white;
    letter-spacing: 2px;
}
.top-after p{
    color: white;
    font-size: 18px;
    font-family: 'inter';
    display: inline-block;
    padding-bottom: 20px;
    transition: 0.5s;
    border-bottom: 1px solid transparent;
}
.top-after p:hover{
    border-bottom: 1px solid white;
    padding-bottom: 10px;
}
@media (max-width: 660px){
    .main-after{
        width: 90%;
    }
    .bottom-after p:nth-child(2){
        font-size: 40px;
    }
    .bottom-after p:nth-child(1){
        font-size: 16px;
    }
    .bottom-after p:nth-child(3){
        font-size: 16px;
    }
    .bottom-after button{
        font-size: 16px;
    }
}
@media (max-width: 500px){
    .main-after{
        width: 95%;
    }
    .top-after{
        height: 40%;
    }
    .bottom-after{
        height: 60%;
    }
    .after-nav{
        height: 750px;
    }
}
.info-project{
    width: 100%;
    height: 800px;
    background-color: #F4F4EF;
    transition: 0.5s;
    display: flex;
    justify-content: space-evenly;
    align-items: center;
    flex-direction: column;
}
.info-project:hover{
    background-color: #A01D26;
}
#kk{
    color: #060918;
    font-size: 50px;
    width: 70%;
    font-family: 'Koulen';
    transition: 0.5s;
}
.main-info{
    width: 70%;
    height: 75%;
    display: flex;
    flex-direction: column;

}
.main-info p{
    font-family: 'Inter';
    color: #060918;
    transition: 0.5s;
}
.info-project:hover #kk{
    color: #F4F4EF;
}
.info-project:hover .main-info p{
    color: #F4F4EF;
}
.created-who{
    width: 100%;
    height: 30%;
    display: flex;
    flex-direction: column;
    justify-content: space-evenly;
    font-size: 18px;
    gap: 10px;
}
.short-info{
    width: 100%;
    height: 40%;
    display: flex;
    flex-direction: column;
    justify-content: space-evenly;
}
.short-info p:nth-child(1){
    font-size: 50px;
    font-weight: 400;
    font-family: 'MuseoModerno';
}
.short-info p:nth-child(2){
    font-size: 20px;
}
.socials-info{
    height: 30%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.socials-info > p{
    font-size: 50px;
    font-weight: 400;
    font-family: 'MuseoModerno';
}
.socials-info div{
    display: flex;
    gap: 10px;
    font-size: 30px;
}
.socials-info div a{
    color: white;
    transition: 0.5s;
}
.main-info:hover a:hover{
    color: black;
}
.main-info{
    gap: 30px;
}
@media (max-width: 660px){
    .main-info{
        width: 90%;
    }
    #kk{
        width: 90%;
    }
}
@media (max-width: 1035px){
    #kk{
        font-size: 40px;
    }
    .created-who{
        font-size: 16px;
    }
    .short-info p:nth-child(1){
        font-size: 40px;
    }
    .short-info p:nth-child(2){
        font-size: 16px;
    }
    .socials-info > p{
        font-size: 40px;
    }
    .socials-info div{
        font-size: 20px;
    }
}
@media (max-width: 800px){
    #kk{
        font-size: 30px;
    }
    .created-who{
        font-size: 15px;
    }
    .short-info p:nth-child(1){
        font-size: 30px;
    }
    .short-info p:nth-child(2){
        font-size: 15px;
    }
    .socials-info > p{
        font-size: 30px;
    }
    .socials-info div{
        font-size: 16px;
    }
}
@media (max-width: 500px){
    .main-info{
        width: 95%;
        height: 90%;
    }
    #kk{
        display: flex;
        align-items: center;
        width: 95%;
        height: 10%;
    }
    #kk{
        font-size: 20px;
    }
    .created-who{
        font-size: 14px;
    }
    .short-info p:nth-child(1){
        font-size: 20px;
    }
    .short-info p:nth-child(2){
        font-size: 14px;
    }
    .socials-info > p{
        font-size: 20px;
    }
    .socials-info div{
        font-size: 14px;
    }
    .info-project{
        height: 650px;
    }
}
@media (max-width: 300px){
    .main-info{
        width: 95%;
    }
    #kk{
        width: 95%;
    }
    #kk{
        font-size: 15px;
    }
    .created-who{
        font-size: 12px;
    }
    .short-info p:nth-child(1){
        font-size: 15px;
    }
    .short-info p:nth-child(2){
        font-size: 12px;
    }
    .socials-info > p{
        font-size: 15px;
    }
    .socials-info div i{
        font-size: 12px;
    }
    .info-project{
        height: 650px;
    }
}
.after-nav, #kk, .main-info,.info-project{
    overflow: hidden;
}
.other-projects{
    width: 100%;
    height: 700px;
    background-color: #8b98d5;
    display: flex;
    flex-direction: column;
}
.other-pr-top{
    width: 100%;
    height: 20%;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}
.other-pr-top p{
    font-family: 'inter';
    color: #F4F4EF;
}
.other-pr-top p:nth-child(1){
    font-size: 20px;
    font-weight: 600;
}
.other-pr-top p:nth-child(2){
    font-size: 50px;
    font-weight: 700;
}
.related-projects{
    height: 80%;
    width: 100%;
    display: flex;
    justify-content: space-around;
}
.project{
    background-color: rgba(0, 0, 0, 0.3);
    -webkit-backdrop-filter: blur(10px);backdrop-filter: blur(10px);
    width: 40%;
    height: 95%;
    padding: 10px;
    display: flex;
    flex-direction: column;
    justify-content: space-evenly;
    align-items: center;
    border-radius: 10px;
    text-align: center;
    transition: 0.5s;
}
.project:hover{
    box-shadow: rgba(50, 50, 93, 0.25) 0px 13px 27px -5px, rgba(0, 0, 0, 0.3) 0px 8px 16px -8px;
    background-color: rgba(0, 0, 0, 0.7);
}
.project .related-image{
    width: 95%;
    height: 50%;
    background-image: url('../Photos/wallpaperflare.com_wallpaper\ \(17\).jpg');
    background-size: cover;
    background-position: center;
    border-radius: 10px;
}
.related-info{
    height: 43%;
    display: flex;
    flex-direction: column;
    justify-content: space-evenly;
    gap: 10px;
}
.related-info p{
    font-family: 'inter';
    color: #F4F4EF;
}
.related-info p:nth-child(1){
    font-size: 15px;
}
.related-info p:nth-child(2){
    font-size: 30px;
    font-weight: 700;
    text-transform: uppercase;
}
.related-info p:nth-child(3){
    font-size: 15px;
}
.related-info p:nth-child(4){
    font-size: 19px;
}
.related-info button{
    padding: 13px;
    font-family: 'inter';
    font-size: 20px;
    border: 1px solid #F4F4EF;
    background-color: transparent;
    color: #F4F4EF;
    transition: 0.5s;
    cursor: pointer;
}
.related-info button:hover{
    background-color: #F4F4EF;
    color: #060918;
    letter-spacing: 2px;
}
@media (max-width: 1200px){
    .project{
        width: 60%;
    }  
}
@media (max-width: 850px){
    .project{
        width: 80%;
    }
}
@media (max-width: 630px){
    .other-pr-top p:nth-child(1){
        font-size: 15px;
    }
    .other-pr-top p:nth-child(2){
        font-size: 35px;
    }
    .project{
        width: 90%;
    }
    .related-info p:nth-child(1){
        font-size: 14px;
    }
    .related-info p:nth-child(2){
        font-size: 25px;
        font-weight: 700;
        text-transform: uppercase;
    }
    .related-info p:nth-child(3){
        font-size: 14px;
    }
    .related-info p:nth-child(4){
        font-size: 16px;
    }
}
@media (max-width: 420px){
    .other-pr-top p:nth-child(1){
        font-size: 14px;
    }
    .other-pr-top p:nth-child(2){
        font-size: 30px;
    }
    .project{
        width: 90%;
    }
    .related-info p:nth-child(1){
        font-size: 14px;
    }
    .related-info p:nth-child(2){
        font-size: 20px;
        font-weight: 700;
        text-transform: uppercase;
    }
    .related-info p:nth-child(3){
        font-size: 14px;
    }
    .related-info p:nth-child(4){
        font-size: 15px;
    }
}