@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@400;700;900&display=swap');
*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Roboto', sans-serif;
}
html{
    scroll-behavior: smooth;
}

li{
    list-style-type: none;
}
a{
    text-decoration: none;
    cursor: pointer;
}
p{
    line-height: 1.5;  
    font-size: 16px;

} 
button{
    cursor: pointer;
}  
input, textarea{
    width: 100%;
    background-color: black;
    color: white;
    outline: none;
    border: 3px solid wheat;
    border-top: none;
    border-left: none;
    border-right: none;
    height: 40px;
    transition: all300ms ease;

}
textarea{
    resize: vertical;
    height: 100px;
    padding: 40px;
    margin-top:8px;
}
label{
    font-size: 14px;
    font-weight: bold;
    margin-bottom: ;
}
input:hover, textarea:hover{
    border-color: blue;
}
input:focus, textarea:focus
{
    border-color: aqua;
}
section{
    background-color: rgb(245,245,245);
}
.model__open .model{
    z-index: 60;
    box-shadow:0 20px 80px 0 wheat; 
    visibility: visible;

}
.model__open{
    z-index: 60;
    box-shadow: 0 20px 80px 0 black;
    visibility: visible;
}
.model__open .model{
    z-index: 60;
    box-shadow: 0 20px 80px 0 black;
    visibility: visible;

}
.container{
padding: 50px 0;
width: 100%;
}
.row{
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 12px;
}
.click{
    transition: all 300ms ease;
    cursor: pointer;
}
.click:hover{
    transform: scale(1.5);

}
.click:active{
    transform: scale(.8);

}
.title{
    font-size: 120px;
    margin-bottom: 12px;
    text-align: left;
    line-height: 1;
}
.title--secondary,.red{
    color: red;
}
.link__hover-effect{
    position: relative;
}

.link__hover-effect:after{
    content: "";
    position: absolute;
    bottom: -3px;
    height: 3px;
    width: 0;
    right: 0;
    background-color: black;
    transition: all 300ms ease;


}
.link__hover-effect:hover:after{
    left: 0;
    width: 100%;


}
.link__hover-effect--black:after{
    background-color: black;
}
.link__hover-effect--white:after{
    background-color: white;
}

/*
 LANDING PAGE
  */
#landing-page{
    min-height: 100vh;

}
.header{
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    max-width: 1000px;
    padding: 0 30px;

}
.header__para{
    font-size: 24px;
    line-height: 2;
    max-width: 450px;

}

.mail__btn{
    width: 70px;    
    height: 70px;
    font-size: 32px;
    border-radius: 50%;
    border: none;
    background-color: #242424;
    color: white;
    position: fixed  ;
    bottom: 32px;
    right: 40px;
    z-index: 100;
    box-shadow: 0 12px 30px 0 rgb(0, 0, 0, 0.28);
    
    

}
.scroll{
    position: absolute; 
    bottom: 20px;
    left: 50%;
    transform: translate(-50%);
}
.scroll__icon::after{
    background-color:black ;
    width: 40px;
    content: "";
    height: 6px;
    border-radius: 2px;
    animation: scroll 1000ms infinite alternate-reverse;
   
}
.scroll__icon{
    width: 20px;
    height: 20px;
    border: 2px solid black;
    border-radius: 24px;
    display: flex;
    align-items: center;
    justify-content: center; 
}

@keyframes scroll{
    0%{
        transform :translateY(3px)
}
100%{
    transform: translateY(-3px);
}}


/*
 NAVIGATION 
*/

nav{
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    height: 100px;
    padding: 0 20px;

}
.nav__link--list{
    display: flex;
}


#prsonal-logo{
    width: 50px;
    height: 50px;
    filter: invert(1);
}
.nav__link{
    margin: 0 12px;
    

}
nav{
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
}
.nav__link--list{
    display: flex;
}
.nav__link--anchor{
    text-decoration: none;
    font-size: 16px;
    color: #242424;
    font-weight: 700;
    
}
.fa-adjust {
    font-size: 20px;
}
.social__list{
    margin-top: 16px;
    display: flex;

}
.social__link{
    background-color: red;
    color: white;   
    padding: 6px;
    width: 32px;    
    height: 32px;
    font-size: 14px;    
    margin-right: 12px;
    display: flex;
    justify-content: center;
    align-items: center;    
    border-radius: 50%;
}
nav, .scroll,
.header{
    opacity: 1;
    visibility: visible;
    transition: all 600ms 800ms;
}
.modal__open nav, 
.model__open .scroll,
.modal__open .header{
    opacity: 0;
    visibility: hidden;
    transition: all 400ms ;

}
.dark-theme .title,
.dark-theme .section__title,
.dark-theme .model__sub-title,
.dark-theme .nav__link--anchor,
.dark-theme .fa-adjust,
.dark-theme .header__para{
    color: white;
}
.dark-theme section{
    background-color: black;

}
.dark-theme #personal__logo{
    filter: none;
    color: white;

}
.dark-theme .scroll__icon{
    border-color: white;

}
.dark-theme .scroll__icon:after,
.dark-theme .link__hover-effect--black:after{
    background-color: white;
}
.dark-theme .link__hover-effect--white:after{
background-color: white;
}
.dark-theme .mail__btn{
    background-color: white;
    color:black;
}
.star{
    width: 40px;
    height: 40px;
}
/* MODEL */
.model{
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 90%;
    max-width: 900px;
    height: 500px;
    border-radius: 20px;
    overflow: hidden;
    display: flex;
    visibility: hidden;
    z-index: -1;
    transition: visibilty 1s, z-index 1s, box-shadow 0.5s ease;
}

.model__half{
    width: 50%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
    transition: all 300ms ease-in;
}
.model__about{
    background-color: white;
    padding: 40px 72px;
    transform: translateX(-110%);
   
    
}
.model__open .model__about{
    transform: translateX(0%);
}
.model__open .model__contact{
    transform: translateX(0%);
}
.model__contact{
    background-color: black;
    color: white;
    transform: translateX(110%);
}
.model__langues{
    display: flex;
    flex-wrap: wrap;
}
.model__languse{
    width: 25%;
    padding: 16px;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: all 300ms ease;



}
.model__langues--img{
    width: 100%;
}
.model__title{
    font-size: 24px;

}
.model__sub-title{
    margin: 12px 0 24px 0;

}

.languse__name{
    position: absolute;
    bottom: -10px;
    transform: scale(0);
    transition: ALL 300MS ease;
}
.model__languse:hover .languse__name{
    transform: scale(1);
}
.model__langues:hover{
    filter: brightness(80%);
    transform: scale(.9);
}
.form__item{
    margin-bottom: 20px;

}

.model__sub-title{
    margin-bottom: 12px;
    line-height: 1.75;
}

.model__sub-title--contact{
    margin: 12px 0 24px 0;
    font-size: 14px;
}
.model__contact{
    padding: 24px 72px;
}
.form__submit{
    background-color: red;
    border: 2px solid red;
    color: white;
    font-weight: bold;
    max-width: 100%;
    width: 240px;
    padding: 12px 24px;
    font-size: 20px;
    transition: all 300ms ease;
}
.form__submit:hover{
    border-color: white;
    background-color: transparent;
}
.form__submit:active{
    border-color: blue;
    color: red;
}
.model__overlay{
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: none;
    align-items: center;
    justify-content: center;
}
.model__overlay--loading{
    background-color: black;
    font-size: 80px;
    z-index: -1;
}
.model__overlay--visable{
    z-index: 1;
    display: flex;
}
.fa-spinne{
    animation: spinner 750ms infinite;

    
}
@keyframes spinner{
    0%{
    transform: rotate(0);

    }
    100%{
        transform: rotate(360deg);
        
    }

}
.model__overlay--sucsess{
    background-color: rgb(93, 143, 17);
    font-size: 40px;
    font-weight: 700;
    text-align: center;
    padding: 28px;
    z-index: 1;

}
.model__exit{
    position: absolute;
    top: 30px;
    right: 40px;
    color: white;
    font-size: 36px;
    z-index: 100;

}
.model__open .model__about{
    transform: translateX(0%);
}


/* projectssssssss */

.section__title{
    text-align: center;
    font-size: 48px;
    margin-bottom: 60px;
    z-index: 60;

}
.project{
    max-width: 900px;
    padding-bottom: 100px;
    
    
}

.project__img{
    width: 100%;
    transition: all 800ms ease;
    transform: scale(1.02);

}
.project:hover .project__img{
    transform: scale(1.07);
    filter: blur(5px);
}

.project__wrapper{
    position: relative;
    border-radius: 20px;
    box-shadow: 0 20px 80px 0 black;
    overflow: hidden;
    padding: 60px;
}
.project__desreption{
    position: absolute;
    top: 50%;
    left: 90px;
    transform: translateY(100%);
    color: white;
    max-width: 550px;
    opacity: 0;
    transition: opacity 300ms, transform 450ms ease;
}
.project__wrapper--bg{
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: darkred;
    opacity: 0;
    transition: all 450ms ease-in-out;
    visibility: hidden;

}

.project__list {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 40px;
}
.project__desreption--title{
    font-size: 40px;
}
.project__descreption--link{
    color: white;
    font-size: 20px;
    margin-right: 16px;
}
.project__decreption--para{
    margin-top: 16px;
}
.project__descreption--sub-title{
    margin-bottom: 16px;
}
.project__wrapper:hover .project__desreption{
    opacity: 1;
    transform: translateY(-50%);
}
.project__wrapper:hover.project__img{
    transform: scale(1.7);
    filter: blur(5px);
}
.project__wrapper:hover .project__wrapper--bg{
    opacity: 0.7;
    visibility: visible;
}
/* FOOTER */
footer{
    background-color: black;
    display: flex;
    padding: 6% 0;
}
.footer__container{
    margin: 0 auto

}
.footer__row{
    display: flex;
    flex-direction: column;
    align-items: center;
}
.footer__logo--img{
    width: 70px;
    padding-bottom: 16px;
}
.footer__social--link, .footer__copyright{
    color: white;

}
.footer__social--links{
    width: 100%;
    display: flex;
    justify-content: space-around;
    max-width: 500px;
    margin: 20px 0;
}
.m__copyright{
    border-radius: 50%;
}

/* Shapes
 */
 .shape1{
    top: 15vh;
    right: 50vh;}
 
  .shape2{
    top: 50vh;
    left: 50vh;
 }
 .shape3{
    top:50vh;
    right: 5vh;
 }
 .shape4{
    top: 35vh;
    left: 5vh;
 }
 .shape5{
    top: 70vh;
    left: 50vh;
 }
 .shape6{
    top: 70vh;
    right: 80vh;
 }
 .shape7{
    top: 70vh;
    left: 5vh;
 }
 .shape8{
    top: 95vh;
    right: 100vh;
 }



 .shape9{
    top: 95vh;
    left: 100vh;
 } 
.shape{
    position: fixed;
    height: 40px;
    width: 40px;
}
/* small phones, tablets, large smart phones */

@media (max-width: 768px){
    .title{
        font-size: 80px;
    }
    .header__para{
        font-size: 20px;
    }
    .model{
        top: 0;
        left: 0;
        height: auto;
        transform: none;
        width: 100%;
        flex-direction: column-reverse;
        border-radius: 0;
    }
    .model__half{
        width: 100%;

    }
}
/* small phones */

@media(max-width:480px){
    .title{
        font-size: 52px;
    }
    .header__para{
        font-size: 18px;
    }
    .nav__link:first-child{
        display: none;
    }
    .project__decreption--para{
        display: none;
    }
    .project__desreption{
        left: 0;
        padding: 0;
        width: 100%;
        text-align: center;
    }
    .project__descreption--sub-title{
        margin-bottom: 8px;
    }
}.model__half{
    padding: 40px;

}














