



/* VARIABLES */

:root {
    --darkblue: #040f20;
    --blue: rgb(00,60,80);
    --yellow: #e0a23d ;
    --white: #f0f0f0;
    --seconYellow: #e7bb2c;
    --secondWhite: #ced2e6;
}

@font-face {
    font-family: normalFont;
    src: url(/ASSETS/Play-Bold.ttf);
}
@font-face {
    font-family: secondFont;
    src: url(/ASSETS/RubikWetPaint-Regular.ttf);
}
@font-face {
    font-family: thirdFont;
    src: url(/ASSETS/Pacifico-Regular.ttf);
}
@font-face {
    font-family: altFont;
    src: url(/ASSETS/static/BalooDa2-SemiBold.ttf);
}

/* _________________________________________________________________________ */


/* LOADER */





/* _______________________________________________________________________ */



*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: normalFont;
}
html{
    scroll-behavior: smooth;
}

body{
    overflow-x: hidden;
    transition: opacity 2s ease-in;
    background: var(--darkblue);
}


/* LOADER SECTION */
.loader-section{
    min-height: 100%;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--blue);
    position: fixed;
    z-index: 99;
    top: 0;
    left: 0; 
}

.loader-section.hidden{
    animation: fadeOut 5s ease;
    animation-fill-mode: forwards;
}

@keyframes fadeOut{
    0%{
        opacity: 1;
        display: fixed;
    }
    25%{
        opacity: 1;
        display: fixed;
    }
    50%{
        opacity: 1;
        display: fixed;
    }
    75%{
        opacity: 0;
        display: none;
    }

    100%{
        opacity: 0;
        display: none;
    }
}


.loader{
    height: 50px;
    transform-origin: bottom center;
    animation: rotate 3s linear infinite;
    
}

.circle{
    display: inline-block;
    background: var(--seconYellow);
    height: 40px;
    width: 40px;
    border-radius: 50%;
    transform: scale(0);
    animation: grow 1.5s linear infinite ;
    margin: -10px ;
}
.circle:nth-child(2) {
    background-color: var(--darkblue);
    animation-delay: 0.75s;
}



@keyframes rotate{
    to{
        transform: rotate(360deg);
    }
    
}
@keyframes grow{
    50%{
        transform: scale(1);
    }
    
}

/* NAV SECTION DESKTOP */

nav{
    width: 100%;
    height: 60px;
    display: flex;
    justify-content: space-around;
    align-items: center;
    box-shadow: 0px 3px 3px black;
    position: sticky;
    top: 0;
    z-index: 1;
    backdrop-filter: blur(10px);
    background:rgba(2, 2, 17, 0.8)
    
}
.logo a{
    color: var(--white);
    font-family: secondFont;
    font-size: 1.7rem;
    text-shadow: 0px 3px 3px black;
    cursor: pointer;
    text-decoration: none;
}
.logo span{
    font-family: thirdFont;
}




ul{
    display: flex;
    align-items: center; 
    justify-content: space-evenly;  
}

ul > li {
    list-style: none;
    list-style-type: none; 
    transition: .5s ease;
    padding: 10px;
}

ul > li a{
    text-decoration: none;
    color: var(--white);
    transition: 1s ease;
}
ul > li:not(.contact-btn){
    margin-right: 10px;
}


.contact-btn a{
    background: var(--yellow);
    height: 45px;
    width: 120px;
    text-align: center;
    color: var(--blue);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    font-weight: bolder;
    border-radius: 5px;
    margin-left: 20px;
    box-shadow: 0px 4px 3px black;
   
}

/* HOVER */

ul > li:not(:nth-child(5)):hover{
    border-bottom: 2px solid var(--secondWhite);
}
ul > li a:hover{
    color: var(--secondWhite);
}
.contact-btn a:hover{
    box-shadow: 0 0 3px black;
    background-color: var(--seconYellow);
    color: black;
    border-bottom: 0;
}

/* _____________________________________________ */





 /*NAV MEDIA*/

@media screen and (max-width: 800px)  {

    /* NAV SECTION MOBILE */
    .logo a{
        margin-left: 10px;
        font-size: 1.35rem;
    }
   
    nav{
        justify-content: space-between;
        
    }
 
    
    .mobile{
        /* background: var(--white); */
        border-radius: 5px;
        height: 55%;
        width: 40px;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        cursor: pointer;
        z-index: 10;
        /* box-shadow: 0px 3px 3px black; */
        margin-right: 15px;
    }
    .line{
        height: 3px;
        width: 30px;
        background: var(--white);
        margin: 2.5px;
        border-radius: 3px;
        transition: all 0.4s ease;
    }

    .one, .three{
        width: 25px;
    }
    .mobile.active .one{
        transform: translateY(8px)rotate(45deg);
    }
    .mobile.active .two{
        opacity: 0;
    }
    .mobile.active .three{
        transform: translateY(-8px)rotate(-45deg);
    }
        

    ul{
        display: flex;
        flex-direction: column;
        justify-content: space-evenly ;
        position: absolute;
        width: 100%;
        height: 50vh;
        background-color: var(--blue);
        color: var(--white);
        top: -1000%;
        z-index: 9;
        position: absolute;
        transition: all 0.5s ease-out;
    }

    .contact-btn a {
        background: var(--yellow);
        height: 50px;
        width: 60vw;
        text-align: center;
        padding: 15px;
        color: var(--blue);
        font-weight: bolder;
        border-radius: 5px; 
        box-shadow: 0px 4px 3px black;
        margin: 0;
      
    }
    ul.activate{
        top: 0;
    }
    /* _____________________________________________ */

   
}

/* FIRST SECTION */
.first-section{
    height: 700px;
    width: 100%;
    margin: 0px auto;
    background: url(/IMAGES/codes.jpg) center/cover;
    
}
.fs-overlay{
    height: 100%;
    width: 100%;
    background: linear-gradient(to top, var(--darkblue) 30% ,  rgba(2, 2, 17, 0.7));
    display: flex;
   
    justify-content: space-between;
    padding: 0 150px;
    /* flex-wrap: wrap-reverse; */
   
    
} 
.fs-left {
    width: 50%;
    color: var(--white);
    line-height: 70px;
    /* margin-right: 120px; */
    align-self: center;
}

.fs-left h1{
    font-size: 4rem;
}

.fs-left h2{
    font-size: 3.5rem;
}
.fs-left h3{
    font-size: 2.5rem;
}
button {
    background: var(--yellow);
    height: 60px;
    width: 150px;
    text-align: center;
    color: var(--blue);
    font-size: 1rem;
    font-weight: bolder;
    border-radius: 5px;
    box-shadow: 0px 4px 3px black;
    border: inset 5px transparent;
    cursor: pointer;
    margin-top: 20px 0;
    transition: 0.2s ease-in;
}

button a{
    text-decoration: none;
    color: inherit;
}
.fs-left button{
    width: 200px;
    height: 70px;
    font-size: 1.5rem;
    margin-top: 80px;
    text-decoration: none;
}
.fs-left .btn1{
    margin-right: 30px;
    
}
.fs-left .btn2{
    background: transparent;
    border: 2px solid var(--seconYellow);
    color: var(--seconYellow);
    
}


 /* FS Hovers */
button:hover{
    background-color: var(--seconYellow);
    color: var(--darkblue);
    box-shadow: none;
}
.fs-left button:last-child:hover{
    background-color: var(--yellow);
    color: var(--darkblue);
}


 /* FIRST SECTION RIGHT */

.fs-right{
    height: 100%;
    width: 40%;           
    display: flex;
    align-items: center;
    justify-content: center;
    
    
}
 .img-back{
    width: 360px;
    height: 435px;
    border-radius: 10px;
    background-color: var(--yellow); 
    animation: imgback 5s linear 1s infinite alternate;
    animation-delay: 3s;
}
@keyframes imgback {
    0%   {background-color: var(--yellow); }
    25%  {background-color: var(--blue); transform: rotate(45deg) scale(1.02); }
    50%  {background-color: var(--darkblue); transform: rotate(0deg) scale(0.5);}
    75%  {background-color: var(--yellow); transform: rotate(180deg) scale(1.02);}
    100% {background-color: var(--seconYellow); transform: rotate(45deg)scale(0);}
}
 .img-front{
    width: 360px;
    height: 435px;
  
    background: url(/IMAGES/my\ first\ pcs\ \(1\).png) center/cover;
    /* border: 3px solid var(--darkblue); */
    border-radius: 10px;
    position: absolute;
    box-shadow: 0 0 3px rgba(0,0,0, 0.5);
   
}




 /* FIRST SECTION MEDIA QUERIES */

@media screen and (max-width: 1300px){
    .fs-overlay{
        justify-content: center;
        padding: 100px;
    }
    .fs-left{
        line-height: 50px;
        margin-right: 120px;
    }
    .fs-left h1{
        font-size: 3rem;
    }
    .fs-left h2{
        font-size: 2.5rem;

    }
    .fs-left h3{
        font-size: 2rem;
    }
    .fs-left button{
        margin: 10px 0;
        width: 150px;
    }

 }
@media screen and (max-width: 920px)  {
    
    .fs-left{
        line-height: 45px;
    }
    .fs-left h1{
    font-size: 3rem;
    }

    .fs-left h2{
        font-size: 2rem;
    }
    .fs-left h3{
        font-size: 2rem;
       
    }

    .fs-left button{
        width: 150px;
        margin: 30px;
    }
    .fs-overlay{
        flex-direction: column-reverse;
        padding: 0;
        
    }
    .fs-left{
        margin: 0;
        text-align: center;
        width: 80%;
    }
    .fs-left .btn1{
        margin-right: 0;
    }
    
    .fs-right{
        width: 100%;
        padding: 50px;
    }
    .fs-right .img-back, .img-front{
        width: 300px;
        height: 350px;
    }
 }

@media screen and (max-width: 495px){
    .first-section{
        height: 700px;
    }
    .fs-right .img-back, .img-front{
        width: 250px;
        height: 300px;
    }
    .fs-overlay{
        padding: 0;
    }
    .fs-left h3{
        font-size: 2rem;
        height: 100px; 
    }
    .fs-left button{
        height: 50px;
        width: 120px;
        margin: 10px;
        font-size: 1rem;
        margin-top: 20px;
    }

}
@media screen and (max-width: 350px){
    .fs-left button{
        width: 100px;
        margin: 3px;
        
    }
}





/* ABOUT SECTION */
.about-section{
    height: 750px;
    width: 100%;
    margin: 0px auto;
    background: url(/IMAGES/phone\ and\ system.jpg) center/cover;
}

.about{
    width: 100%;
    background: var(--darkblue);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    color: var(--white);
    gap: 5px;
    font-size: 1.5rem;
    
}
.about hr{
    width: 60px;
    height: 5px;
    background: var(--white);
}


.abt-cont{
    height: 100%;
    width: 100%;
    background: linear-gradient(to bottom, var(--darkblue) 15% ,  rgba(2, 2, 17, 0.7) 50%, var(--darkblue) 90%);
    display: flex;
    justify-content: space-between;
    padding: 0 150px;
    padding-top: 40px;
} 



/* ABOUT LEFT */
.abt-left{
    height: 90%;
    width: 35%;
    background:  rgba(2, 2, 17, 0.3);
    border-radius: 5px;
}

.abt-left-top{
    width: 100%;
    height: 60%;
    background: url(/IMAGES/my\ pcs.jpg) center/cover;
    border-radius: 10px 10px 0 0;
    border-bottom: 5px solid var(--secondWhite);

}

.abt-left-down{
    padding: 30px;
    line-height: 30px;
    color: var(--white);
    font-size: 1.8rem;
    color: var(--secondWhite);
    
  
}


.abt-left-down span{
    color: var(--secondWhite);
    font-family: altFont;
   
} 

/* ABOUT RIGHT */


.about-right{
    height: max-content;
    width: 50%;
    padding: 20px;
    background:  rgba(2, 2, 17, 0.3);
    padding: 30px;
    color: var(--white);
    border-radius: 5px;
    
}


.about-right h1{
    color: var(--white);
    margin-bottom: 20px;
}

.about-right p {
    font-size: 1.5rem;
    color: var(--secondWhite);
    font-family: altFont;
    text-align: justify;
}

/* ABOUT SECTION MEDIA QUERIES */

@media screen and (max-width: 1550px){
    .abt-left-down{
        padding: 10px;
        font-size: 1.6rem;
    }
}
@media screen and (max-width: 1300px) {

    
    
    .abt-cont{
        padding: 25px;
        justify-content: center;
        gap: 20px;
    }
    .abt-left-down{
        padding: 10px;
        font-size: 1.6rem;
    }
    .abt-left{
        height: 90%;
    }
    button{
        margin-top: 10px;
    }
    .about-right h1 {
      margin-bottom: 5px; 
        
    }
   
    .about h1{
        font-size: 1.6rem;
        
    }
}

@media screen and (max-width: 910px) {
    .about-section{
        height: 1200px;
    }
    .abt-cont{
        flex-direction: column;
        gap: 40px;
    }

    .abt-left{
        width: 100%;
    
        
       
    }
    .abt-left-down{
        padding: 20px;
        font-size: 1.6rem;
    }
    
    
    .about-right{
        width: 100%;
        height: 70%;
        padding: 30px;

    }
    
    .about h1{
        font-size: 1.5rem;
        margin-top: 30px;
    }
    
}

@media screen and (max-width: 550px) {
    .about-section{
        height: max-content;
    }

    .abt-left{
        height: 500px;
    }
   
    .about-right p ,.abt-left p{
        font-size: 1.4rem;
    }

    .abt-cont{
        padding: 20px;
    }
    .about-right{
        padding: 15px;
    }
    
}
@media screen and (max-width:360px) {
   
    .about-section{
        height: max-content;
    }
}



/* SKILLS */

.skill-section{
    height: 800px;
    width: 100%;
    background: url(/IMAGES/Skills.jpg) center/cover;
}
.skills{
    margin-top: 50px;
}

.skill-cont{
    height: 100%;
    width: 100%;
    background: linear-gradient(to bottom, rgba(2, 2, 17, 0.9) 20% ,  rgba(225, 225, 225, 0.5) 50%, var(--darkblue));
    padding: 30px 80px;
    display: grid;
    grid-template-columns: auto auto auto auto;
    grid-gap: 15px;
    justify-content: center;
    align-items: center;
    backdrop-filter: blur(5px);
}



.skill-items{
   height: 350px;
   width: 340px;
   border-radius: 5px;
   background: rgba(225,225,225,0.8);
   box-shadow: 0px 10px 20px black;
   position: relative;
   display: flex;
   flex-direction: column;
   transition: all 0.5s ease;
}

.skill-up{
    width: 100%;
    height: 40%;
    background: rgba(00,60,80,0.8);
    border-radius: 5px 5px 0 0;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}
.skill-up img{
    width: 100px;
}

.skill-down{
    width: 100%;
    padding: 10px;
    display: flex;
    flex-direction: column;
    gap: 5px;
    transition: all 0.3s ease;
    
}
.skill-down h1{
    font-size: 1rem;
    color: var(--darkblue);
    
}
.skill-down p{
    font-size: 1.2rem;
    font-weight:  bold;
    font-family: altFont;
    color: var(--darkblue);
   
    
}
.level-cont{
    width: 100%;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 1.1rem;
}

.level{
    width: 80%;
    height: 100%;
    border-radius: 5px;
    box-shadow: inset 0px 0px 10px;
    background: var(--secondWhite);
    display: flex;
    align-items: center;
   
}
.level span{
    display: block;
    height: 85%;
    border-radius: 8px;
    box-shadow: inset 0px 0px 10px;
    align-self: center;
    background: linear-gradient(to right,var(--darkblue),var(--seconYellow));
} 

.for-html .level span{
    width: 90%;
    /* animation: forHtml 5s ease-in-out .1s infinite; */
}

/* ANIMATIOM TEST KHARIZ */
/* .skill-items:hover span{
    animation: forHtml1 .5s cubic-bezier(0.445, 0.05, 0.55, 0.95) ;
    animation-iteration-count: infinite;
    background: red;
}
@keyframes forHtml1 {
    from{
        background-color: red;
    }
    to{
        background-color: yellow;
    }
}  */
/* FOR HTML ANIMATION */
/* @keyframes forHtml {
    0%  {width: 0; }
    50%{width: 87%;}
    75%{width: 87%;}
    100%{opacity: 0;}
} */



.for-css .level span{
    width: 87%;
}
.for-js .level span{
    width: 70%;
}
.for-php .level span{
    width: 60%;
}
.for-py .level span{
    width: 60%;
}
.for-ui .level span{
    width: 85%;
}
.for-wp .level span{
    width: 85%;
}
.for-ps .level span{
    width: 75%;
}




/* SKILL HOVERS */
.skill-items:hover{
    transform: scale(1.05);
    opacity: 1;
    background: var(--secondWhite);
}
.skill-items:hover .skill-up{
    background: rgb(00,60,80) ;
}





/* SKILL MEDIA */

@media screen and (max-width: 1300px) {
    .skill-section{
        min-height: 1200px;
        margin-top: -15px;
     }
    .skill-cont{
        grid-template-columns: auto auto auto;
        
    }
}
@media screen and (max-width: 1050px) {
    .skill-section{
        min-height: 1500px;
        background: url(/IMAGES/Skillsrotate.jpg) center/cover;
     }
    .skill-cont{
        grid-template-columns: auto auto;
    }
}
@media screen and (max-width: 700px) {
    .skill-section{
       min-height: 3000px;
    }
    .skill-cont{
        grid-template-columns: auto;
    }
}

@media screen and (max-width: 350px){
    .skill-items{
        width: 90vw;
    }
}


/* SERVICE SECTION */

.service-section{
    height: 600px;
    width: 100%;
    background: url(/IMAGES/mobiles\ -\ Copy.jpg) center/cover;
}
.service-cont{
    height: 100%;
    width: 100%;
    background: linear-gradient(to bottom, rgba(2, 2, 17, 0.9) 5% ,  rgba(225, 225, 225, 0.5));
    display: flex;
    align-items: center;
    justify-content: space-evenly;
    gap: 40px;


}
.service-items{
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 20px;
}
.service-img{
    height: 250px;
    width: 250px;
    border-radius: 50%;
    background-color: var(--blue);
    border: 15px solid var(--darkblue);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 1s ease-in-out;
}

.service-img img{
    width: 130px;
    transition: 0.5s ease;
}
.service-items h1{
    color: var(--darkblue);
    font-weight: bolder;
    text-align: center;
}

/* SERVICES HOVER */

.service-items:hover img{
    width: 150px;
    
}

/* SERVICE SECTION MEDIA */

@media screen and (max-width: 850px) {
    .service-section{
        height: 900px;
    }
    .service-cont{
        display: grid;
        grid-template-columns: auto auto;
        padding: 10px;
        
    }
    
}
@media screen and (max-width: 650px) {
    .service-img{
        height: 200px;
        width: 200px;     
    }
    .service-img img{
        width: 100px;
    }
    .service-items:hover img{
        width: 120px;
        
    }
    .service-section{
        height: 1200px;
        background: url(/IMAGES/mobiles.jpg) center/cover;
    }
    .service-cont{
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
    }
    
   
    
}


/* PROJECT SECTION */

.project-section{
    height: 1400px;
    width: 100%;
    background: url(/IMAGES/media.jpg) center/cover;
}

.project-overlay{
    height: 100%;
    width: 100%;
    /* background: linear-gradient(to bottom, rgba(2, 2, 17, 0.9) 5% ,  rgba(0, 0, 0, 0.5)); */
    background: linear-gradient(to bottom, rgba(2, 2, 17, 0.9) 5% ,  rgba(225, 225, 225, 0.5));
    display: flex;
    flex-direction: column;
}

.project-cont{
    height: 70%;
    width: 100%;
    display: grid;
    grid-template-columns: auto auto auto;
    align-items: center;
    justify-content: space-evenly;
    padding: 10px 100px;
}
.project-items{
    height: 420px;
    width: 400px;
    background: var(--darkblue);
    border-radius: 2px;
    box-shadow: 0px 10px 20px black;
    display: flex;
    flex-direction: column;   
}
.project-up{
    flex-basis: 70%;
    width: 100%;
    background: white;
    border-radius: 2px 2px 0 0 ;
}


/* PROJECT PICTURES */
.pro-one{
    background: url(/IMAGES/PROJECTS/portfolio.png) center/cover;
}
.pro-two{
    background: url(/IMAGES/PROJECTS/modern\ chat\ ui.png) center/cover;
}
.pro-three{
    background: url(/IMAGES/PROJECTS/mex\ ui.jpg) center/cover;
}
.pro-four{
    background: url(/IMAGES/PROJECTS/pro\ portfolio.jpg) center/cover;
}
.pro-five{
    background: url(/IMAGES/PROJECTS/to\ do.png) center/cover;
}
.pro-six{
    background: url(/IMAGES/ingstransact.com.png) center/cover;
}

/* ___________________________________________________________________ */
.project-down{
    flex-basis: 30%;
    color: var(--secondWhite);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}
.project-down span{
    font-family: altFont;;
    color: var(--white);
}


.status{
    width: 100%;
    height: 30%;
    display: flex;
    align-items: center;
    justify-content: space-evenly;
}
.status-items{
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
}
.status .icon{
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background: var(--darkblue);
    border: 5px solid var(--blue);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 2rem;
    transition: 1s ease;
}
.status h1{
    padding: 10px;
    text-align: center;
}


/* PROJECT HOVERS */
.status-items:hover .icon{
    font-size: 3rem;
}

.project-items:hover{
    transform: scale(1.01);
    background-color: var(--blue);
}

@media screen and (max-width: 1400px) {
    .project-section{
        height: 2200px;
    }
    .project-cont{
        grid-template-columns: auto auto;
    }
    
}
@media screen and (max-width: 1020px) {
    .project-section{
        height: 1800px;
    }
    
    .project-items{
        height: 340px;
        width: 320px;
    }
}
@media screen and (max-width: 860px) {
   
    .project-cont{
        padding: 0;
    }
    .project-section{
        background: url(/IMAGES/media\ -\ Copy.jpg) center/cover;
    }
}
@media screen and (max-width: 655px) {
    .project-section{
        height: 3200px;
    }
   
    .project-cont{
        grid-template-columns: auto;
    }
    .status{
        flex-direction: column;
        flex-basis: 30%;
    }
}
@media screen and (max-width: 350px) {
    .project-section{
        height: 3000px;
    }
    .project-items{
        height: 300px;
        width: 280px;
    }
}


/* REVIEW SECTION */


.review-section{
    width: 100%;
    height: 600px;
    background: url(/IMAGES/rating\ stars.jpg) center/cover;
}

.review-cont{
    height: 100%;
    width: 100%;
    display: flex;
    justify-content: center;
    background: rgba(0,0,0, 0.4);
    
}

.slider{
    width: 800px;
    height: 500px;
    border-radius: 10px;
    margin-top: 30px;
    overflow: hidden;
    backdrop-filter: blur(20px);
}
.slides{
    width: 500%;
    height: 100%;
    display: flex;
}
.slides input{
    display: none;
}
.slide{
    width: 20%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    transition: 2s;
    gap: 15px;
}

.slide .slide-img{
    height: 150px;
    width: 150px;
    border-radius: 10%;
    margin-bottom: 50px;
    
}
.slide .one{
    background: url(/IMAGES/reviews/smart.jpg) center/cover;
}
.slide .two{
    background: url(/IMAGES/reviews/khaleb.jpg)center/cover;
}
.slide .three{
    background: url(/IMAGES/reviews/king.jpg)center/cover;
}
.slide .four{
    background: url(/IMAGES/man\ typing\ portrait.jpg)center/cover;
}

/* MANUAL SLIDE NAV */
.navigation-manual{
    position: absolute;
    width: 800px;
    margin-top: -40px;
    display: flex;
    justify-content: center;
    align-items: center;
   
}

.manual-btn{
    height: 15px;
    width: 50px;
    border: 2px solid var(--darkblue);
    cursor: pointer;  
    transition: 1s;
}
.manual-btn:not(:last-child){
    margin-right: 10px;
} 
.manual-btn:hover{
    background: var(--blue);
}

/* CHECKING */
#radio1:checked ~ .first{
    margin-left: 0;
}  

#radio2:checked ~ .first{
    margin-left: -20%;
}   

#radio3:checked ~ .first{
    margin-left: -40%;
} 

#radio4:checked ~ .first{
    margin-left: -60%;
}         

/* CSS FOR AUTOMATIC NAVIGATION */
.navigation-auto{
    position: absolute;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 800px;
    margin-top: 460px;
}
.navigation-auto div{
    height: 15px;
    width: 50px;
    border: 2px solid var(--secondWhite);
    cursor: pointer; 
    transition: 1s;
}
.navigation-auto div:not(:last-child){
    margin-right: 10px;
} 

#radio1:checked ~ .navigation-auto .auto-btn1{
    background: var(--blue);

}
#radio2:checked ~ .navigation-auto .auto-btn2{
    background: var(--blue);

}
#radio3:checked ~ .navigation-auto .auto-btn3{
    background: var(--blue);

}
#radio4:checked ~ .navigation-auto .auto-btn4{
    background: var(--blue);

}

/* REVIEW MEDIA */
@media screen and (max-width: 800px){
    .slider{
        width: 400px;
        margin-top: 10px;
    }
    .navigation-manual{
        width: 400px;
    }
    .manual-btn:hover{
        background: transparent;
    }
    .navigation-auto{
        width: 400px;
    }
}
@media screen and (max-width: 400px){
    .slider{
        width: 300px;
    }
    .navigation-manual{
        width: 300px;
    }
    .navigation-auto{
        width: 300px;
    }
}


/* CONTACTS SECTION */

.contact-section{
    height: 700px;
    width: 100%;
    background: url(/IMAGES/call\ classic.jpg) center/cover;
}

.contact-cont{
    height: 100%;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-evenly;
    background: linear-gradient(to bottom , rgba(0,0,0, 0.7) 50%, var(--darkblue) 90%);
    padding: 0 100px;
}

.form-cont{
    margin-top: -20px;
    height: max-content;
    padding: 20px 0;
    width: 40%;
    box-shadow: 0px 0px 3px black;
    backdrop-filter: blur(10px);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    overflow: hidden;

}

.form-cont h1{
    align-self: start;
}

form{
    display: flex;
    flex-direction: column;
    width: 24rem;
    gap: 1rem;
    width: 80%;
}

input,
select,
textarea{
    padding: 1.2rem;
    background: var(--secondWhite);
    border: 1px solid var(--darkblue);
    outline: none;
    font-size: 1rem;
    width: 100%;
}
input:focus,
select:focus,
textarea:focus{
    background: var(--white);
}

textarea{
    height: 8rem;
    
}

form button{
    margin-top: 0;
    align-self: start;
    border-radius: 0;
}



/* CONTACTS */

.contacts{
    margin-top: -20px;
    height: 80%;
    flex-basis: 35%;
    box-shadow: 0px 0px 3px black;
    backdrop-filter: blur(10px);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
}

.contact-img{
    flex-basis: 60%;
    justify-self: start;
    width: 100%;
    background: url(/IMAGES/pexel\ bird2.jpg) center/cover;
    border-bottom: 5px solid var(--secondWhite);
}

.contact-info{
    width: 100%;
    flex-basis: 20%;
    padding: 20px 20px 0 ;
    line-height: 40px;
    color: grey;
    font-size: 1.2rem;
    text-shadow: 0 0 5px black;
}

.contact-info p span{
    margin-right: 20px;
    color: var(--darkblue);
    text-shadow: 0 0 5px white;
}




.social-links-cont{
    width: 100%;
    flex-basis: 20%;
    display: flex;
    align-items: center;
    justify-content: space-evenly;
}
.links-head{
    text-align: right;
    color: var(--secondWhite);
    margin-bottom: -10px;
    margin-left: 15px;
    padding: 2px;
    border-bottom: 2px solid var(--white);
    align-self: start;
}
.social-links-cont a i{
    font-size: 2.1rem;
    transition: 0.5s  ease;
    text-shadow: 0 0 5px black;
    font-weight: bold;
    
}

.s-links:nth-child(1){
    color: #4267B2;
}
.s-links:nth-child(2){
    color: #075e54;
}
.s-links:nth-child(3){
    background: linear-gradient(45deg, #405de6, #5851db, #833ab4, #c13584, #e1306c, #fd1d1d);
    background-size: 100%;
    -webkit-background-clip: text;
    -moz-background-clip: text;
    -webkit-text-fill-color: transparent;
    -moz-text-fill-color: transparent;
  
}
.s-links:nth-child(4){
    color: #171515;
}
.s-links:nth-child(5){
    color: #00acee;
}


/* CONTACT HOVERS */
.social-links-cont a i:hover{
    transform: scale(1.2);
    text-shadow: 0 0 3px white;
}


@media screen  and (max-width: 1200px){
    .contact-cont{
        padding: 0;
        
    }
    .contacts{
        flex-basis: 40%;
    }
    .form-cont{
        flex-basis: 50%;
    }
}

@media screen  and (max-width: 700px){
    .contact-section{
        height: 1100px;
        background: url(/IMAGES/call\ classic\ -\ Copy.jpg) center/cover;
    }
    .contact-cont{
       flex-direction: column-reverse;
        
    }
    .form-cont{
        width: 90%;
    }
   
    .contacts{
        width: 85%;
    }
    .contact-info{
        padding: 10px 10px 0 ;
    }
    
    .contact-info p span{
        margin-right: 10px;
    }

    .social-links-cont{
        font-size: 1rem;
    }
    .social-links-cont a i{
        font-size: 2.1rem;
        /* color: var(--darkblue); */
        text-shadow: 0 0 5px black;
       
    }
   
}



/* FOOTER */

.footer-section{
    height: 300px;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}
.footer-cont{
    height: 100%;
    width: 60%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin-top: 20px;
}

.footer-list{
    display: grid;
    grid-template-columns: auto auto auto auto;
    align-items: center; 
    justify-content: space-evenly;
    list-style: none;
    gap: 50px;    
}

.footer-list li{
    transition: .5s ease;
    padding: 5px;
}
.footer-list li a{
    text-decoration: none;
    color: var(--white);
}

/* SOCIAL LINKS FOOTER */

.social-links-fcont{
    display: flex;
    gap: 20px;
}

.social{
    height: 50px;
    width: 50px;
    border-radius: 50%;
    background: black;
    display: flex;
    align-items: center;
    justify-content: center;
   
}

.social a{
    color: var(--secondWhite);
    font-size: 1.3rem;
    transition: .5s ease;
}

.footer-hr{
    width: 100%;
   
}

.footer-cont h3{
    color: var(--secondWhite);
    font-size: 1.5rem;
    font-family: altFont;
}





/* FOOTER HOVERS */
.footer-list li:hover{
    border-bottom: 2px solid var(--secondWhite);
}
.footer-list li a:hover{
    color: var(--secondWhite);
}

.social:hover  a{
    font-size: 1.8rem;

}

@media screen and (max-width: 500px) {
    .footer-list{
        margin-top: 50px;
        gap: 15px;
        column-gap: 60px;
        grid-template-columns: auto auto;
    }
    .footer-list li{
        padding: 0;
        text-align: center;
    }
    

    .social-links-fcont{
        gap: 10px;
    }
}



/* HERO FOR DIFFERENT PAGES */

.hero-section{
    height: 50vh;
    width: 100%;
    border-bottom: 5px solid var(--darkblue);
}

.hero-cont{
    height: 100%;
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 20px;
    align-items: center;
    justify-content: center;
    background: linear-gradient(to bottom , rgba(0,0,0, 0.5) 10%,#040f20 90%);

}

.hero-cont h1{
    color: var(--secondWhite);
}

.about-hero{
    background: url(/IMAGES/beautiful\ portrait\ bg1.jpg) center/cover;
}

.service-hero{
    background: url(/IMAGES/Skills.jpg) center/cover;
}
.project-hero{
    background: url(/IMAGES/codes.jpg) center/cover;
}
.contact-hero{
    background: url(/IMAGES/call\ classic.jpg) center/cover;
}




/* SCROLL UP ICON */

.totop{
    height: 50px;
    width: 50px;
    position: sticky;
    bottom: 20%;
    left: 93%;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: 1s ease;
}
.totop i{
    font-size: 3rem;
    font-weight: bold;
    color: var(--secondWhite);
   
    
}


.totop.hide{
    opacity: 1;
    cursor: pointer;
    
}



/* SCROLL DOWN */

.todown{
    height: 50px;
    width: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: 1s ease;
    background: rgba(0,0,0,0.5);
    border-radius: 30%;
    transform: translateY(-10px);
    animation: scrollDown .5s ease infinite alternate;
}

.todown  i{
    font-size: 2rem;
    font-weight: bold;
    color: var(--secondWhite);  
}

@keyframes scrollDown {
    100%{
        transform: translateY(0);
    }
    
}


/* SCROLL HOVER */
.totop:hover  i{
    color: var(--yellow);
}
.todown:hover{
    background: black;
}
.todown:hover  i{
    color: var(--yellow);
}



/* SCROLL MEDIA */
@media screen and (max-width: 800px) {
    .totop{
        height: 40px;
    width: 40px;
    }
    .totop i{
        font-size: 2rem;
    }
}




/* ANIMATE SCROLLING */


/* FOR SKILLS */
.skill-items{
    position: relative;
    transform: translateY(100px);
    opacity: 0;
    transition: all 1s ease;
    
}

.skill-items.skillactive{
    transform: translateY(0px);
    opacity: 1;
}

/* FOR SERVICES */
.service-items{
    position: relative;
    transform: scale(0);
    transition: all 1s ease;
    
}

.service-items.serviceactive{
    transform: scale(1);
}

/* FOR PROJECTS */
.project-items{
    position: relative;
    transform: translateX(-200px);
    transition: all 1s ease;
    opacity: 0;
    
}


.project-items.projectactive{
    transform: translateX(0px);
    transition: all 1s ease;
    opacity: 1; 
}


.pro{
    position: relative;
    transform: translateY(200px);
    opacity: 0;
    
}
