
li a:hover{
    color: aqua;
}




/* variables */

:root{
    --firstcolor: black;
    --secondcolor: white;
    --thirdcolor:hotpink; 
    --fourthcolor:whitesmoke;
    --fifthcolor: gray;


}

/* reset  */

body,p,a,ul,li{
    margin: 0;
    padding: 0;
    text-decoration: none;
    font-family:'Taviraj', serif;
}

li{
    list-style-type:none;
}

/* base styles  */

body{
    background: var(--firstcolor);
    overflow-x: hidden;
}

.button{
    background: none;
    border:2px solid aqua;
    color: aqua;
    padding: 6px 12px;
    border-radius: 20px;
    text-transform: uppercase;
    box-shadow: 1px 2px 3px rgba(0,0,0,0.6);
    display: inline-block;
}

.button:hover{
    color:var(--secondcolor);
    background: var(--firstcolor);
}

.button:active{
    transform: translateY(5px);
}

input,textarea{
    background: rgba(255,255,255,0.05);
    padding: 10px 16px;
    border-radius: 20px;
    border: 2px solid var(--thirdcolor);
    /* color:red; */



}

/* fonts  */

@font-face {
    font-family:'Taviraj', serif; 
    src: url();
}

h1,h2,h3,h4{
    color: aqua;
    font-weight: normal;
}


p,a,li{
    color:var(--thirdcolor);
}

h1,h3{
    font-size: 1.2em;
}

h2{
    font-size: 1.6em;
}

h4{
    font-size: 1.1em;
}

.leading{
    font-size: 1.1em;
    color: var(--secondcolor);
}

.lead_ing{
    color: var(--thirdcolor);
}

/* mobile style */

.grid{
    display: grid;
    grid-template-columns: repeat(8,1fr);
    gap: 10px;
}

.site-nav{
    margin: 0 20px;
}

.site-nav ul{
    display: none;
}

.site-nav h1{
    grid-column:1/4 ;
    grid-row: 1;
    padding-bottom: 10px;
    border-bottom: 3px solid var(--thirdcolor);
}

#welcome{
    padding: 0 20px 20px 20px;
}

.welcome-text{
    grid-column: 1/6;
}

.welcome-img{
    grid-column: 6/8;
    /* grid-column: 6/9; */
}


.welcome-img img{
    width: 200%;
}

.welcome-text a{
    margin: 20px 0;
}

#portfolio{
    background: url();/*find or make image. video #9 0.52*/
    background-size: cover;
    background-repeat: no-repeat;
    background-position: bottom;
    padding: 30px 20px;
}

#portfolio h3{
    margin-bottom: 0;
    text-align: center;
}


.projects a{
    grid-column: 1/9;
    margin: 20px 0;
    display: flex;
}

.show-off{
    transition:.5s;
}
.show-off:hover{
    transform: scale(1.25);
}


.projects a *{
    margin: 0 20px;
    max-width: 40%;
    align-self:center;
}

/* .projects h4{
    color:blue; 
} */

#skils{
    padding: 30px 20px;
    background: pink;
}

#skills h3{
    text-align: center;
}

#skills ul{
    margin: 40px 0 ;
}

#skills li{
    padding: 10px;
    background: rgba(255,255,255,0.2);
    grid-column: span 4;
    text-align: center;
}

#skills img{
    /* height: 80px; */
    height: 100px;
    margin: 10px auto;
}



.img-wrapper:hover > .change{
    display: none;
   

} 

.img-wrapper img:first-child {
    display: none;  
   
  }
.img-wrapper:hover img:first-child {
    display: block;  
   
  }
.img-wrapper:hover img:last-child {
    display: none;  
   
}

#contact{
    padding:30px 20px;
    /* background-color: rgb(208, 128, 182); */
    /* background: var(--thirdcolor); */
    background-color:#333333;
}

#contact h3,#contact p{
    text-align: center;
    margin: 0;
}

#git{
    color:aqua;
}

#contact form{
    width: 80%;
    max-width: 400px;
    margin: 20px auto;
    text-align: center;
}

#contact input, #contact textarea{
    width: 100%;
    margin: 10px 0;
}

#contact .send_message{
    margin-top: 10px;
    padding: 6px 12px;
    border-radius: 20px;
    text-transform: uppercase;
    box-shadow: 1px 2px 3px rgba(0,0,0,0.6);
    display: inline-block;
    border:2px solid var(--firstcolor);
    background: none;
    color: var(--secondcolor);
}

#contact .send_message:hover{
    background: var(--firstcolor);
}

#contact .send_message:active {
    transform: translateY(5px);
  }


footer{
    /* padding: 50px 20px;  */
    padding-block: 50px;
    background-image:url(nerd_cat.png); 
    background-size: 10%;
    background-size: 40%;
    background-repeat: no-repeat;
    background-position: center;
}

  /* footer .whatever{
    grid-column: 1/3;
    font-size: 0.8em;
}  */

footer .social{
    grid-column: 5;
    display: flex;
    justify-content: center;
}

footer li{
    margin: 0 6px;
    font-size: 25px;
}

.fa {
    padding: 10px;
    font-size: 40px;
    width: 45px;
    text-align: center;
    text-decoration: none;
    margin: 5px;
    border-radius: 5px;
    color: white;
  }

  .fa:hover {
    opacity: 0.7;
} 


/* small tablet style */



@media screen and (min-width:620px){
    .welcome-text{
        grid-column: 1/5;
    }

    .welcome-img{
        grid-column: 5/9;
        /* grid-column: 6/9; */
    }

    .welcome-img img{
        width: 100%;
    }

    .projects{
        margin-top: 40px;
    }

    .projects a{
        grid-column: span 4;
        display: block;
        margin: 20px 0;
    }

    .projects a:last-child{
        grid-column: 3/7;
    }

    .projects a *{
        max-width: 60%;
        margin: 10px 20%
    }

    .projects h4{
        text-align: center;
    }

    #skills{
        padding: 30px 100px;
    }

    footer{
        background-size: 20%;
        background-position: top center;
    }
 

    footer .social{
        grid-column: 7/9;
        display: flex;
        justify-content: flex-end;
    }
    
    footer li{
        margin: 0 6px;
        font-size: 40px;
    }
    

}

/* For welcome section only part one 4/11/25 */
@media screen and (max-width:745px){
    #welcome{
        display: flex;
        flex-direction: column;
    }

    .welcome-text{
        order:2;
    }

    .welcome-img img{
        width:50%;
    }

}

/* For welcome section only part two 4/11/25 */


@media screen and (max-width:400px){

    .welcome-img img{
        display: none;
    }

    footer .grid{
        display: flex;
        justify-content: center;
    }


}



/* large tablet and laptop style */

@media screen and (min-width:960px){
    body{
        font-size: 18px;
    }

    .grid{
        width: 100%;
        max-width:1060px;
        margin: 0 auto;
        box-sizing: border-box;
    }

    .leading{
        margin: 20px 0;
    }

    .site-nav{
        padding: 0 20px;
    }

    .site-nav h1{
        grid-column:1/3 ;    
    }

    .site-nav ul{
        display: flex;
        grid-column: 6/9;
        justify-content: flex-end;
        align-self: center;
    }

    .site-nav li{
        margin-left: 20px;
    }

    .welcome-text{
        align-self: center;
    }

    #welcome{
        padding-bottom: 40px;
    }

    .projects a:nth-child(1){
        grid-column: 2/4;
    }

    .projects a:nth-child(2){
        grid-column: 4/6;
        padding-top: 140px;
    }

    .projects a:nth-child(3){
        grid-column: 6/8;
    }

    .projects a *{
        max-width: 80%;
        margin: 10px 10%
    }

    #skills{
        padding: 30px 20px;
    }

    #skills ul{
        margin: 40px auto;
    }

    #skills li{
        grid-column: span 2;
    }

    footer{
        padding: 40px 20px;
        background-size: 25%;
        background-position: top center;
    }


    footer .social{
        grid-column: 7/9;
        display: flex;
        justify-content: flex-end;
    }
    
    footer li{
        margin: 0 6px;
        font-size: 40px;
    }
    
}

/* desktop style */

@media screen and (min-width:1200px){

    body{
        font-size: 20px;
    }

    #welcome, #portofolio, #skills, #contact{
        padding: 90px 0;
    }

    .projects a:nth-child(1){
        grid-column: 1/3;
    }

    .projects a:nth-child(3){
        grid-column: 7/9;
    }

    .projects a *{
        max-width: 100%;
        margin: 30px 0;
    }

    footer{
        padding: 80px 0;
        background-size: 30%;
        background-position: top center;
    }
 
    footer .social{
        grid-column: 7/9;
        display: flex;
        justify-content: flex-end;
    } 
    
    footer li{
        margin: 0 6px;
        font-size: 40px;
    }

    
}



































