body{
    background-color: aliceblue;
    padding: 0px;
    margin: 0px;
    
    text-align: center;
    font-family: 'Lucida Sans', 'Lucida Sans Regular', 'Lucida Grande', 'Lucida Sans Unicode', Geneva, Verdana, sans-serif;

}

html{
    scroll-behavior: smooth;
}


nav{
    position: fixed;
    width: 95%;
    top: 20px;
    left: 2.5%;
    margin: 0 auto;
    z-index: 1000;
    
    
}

nav ul{
    list-style-type: none;
    padding: 0;
    margin: 0;
    overflow: hidden;
    background-color: white;
    border-radius: 10px;
    display: flex;
    justify-content: space-around;
    box-shadow: 0 2px 10px;
    
    
    
}
nav a{
    color: black;
    text-decoration: none;
    float: left;
    padding: 10px;
    
    
    
}

.image img{
    width: 200px;
    border-radius: 50%;
    padding: 10px;

}
.image{
    display: flex;
    justify-content: center;
    
    
}
.hero{
    margin-top: 200px;
}
.hero p{
    width: 85%;
    margin: auto;
    
}

.about-box{
    background-color: white;
    width: 85%;
    height: fit-content;
    margin: 0 auto;
    border-radius: 15px;
    padding: 7px;
    box-sizing: border-box;
    line-height: 25px;
    box-shadow: 0 2px 10px;



}
.about-box p{
    text-align: center;
    margin: 5px;
}
.about-img img{
    width: 75%;
    margin: 0 auto;
    border: 2px solid gray;
    border-radius: 15px;
    
}
.projects{
    display: grid;
    grid-template-columns: auto ;
    gap: 30px;
    width: 90%;
    margin: auto;
    
}
.cards{
    overflow: hidden;
    height: 280px;
    padding: 5px;
    width: 290px;
    margin: auto;
    border-radius: 10px;
    background-color: white;
    box-shadow: 2px 5px 10px;
    transition: transform 0.5s ease;


}
.cards p{
    font-family: monospace;
}
.cards:hover{
    transform: scale(1.05);
}




.btn{
    box-sizing: border-box;
    width: 100px;
    height: 30px;
    background-color: black;
    color: white;
    border: none;
    border-radius: 5px;
    margin-bottom: 10px;
    transition: transform 0.3s ease;

   
}
.btn a{
    color: white;
    text-decoration: none;
}
.btn:active{
    transform: scale(0.8);
}
.btn:hover{
    opacity: 0.8;
}

.cards img{
    width:100%;
    object-fit: cover;
    height: 180px;
    border-radius: 10px;
}

.skill{
    display: inline-block;
    background: white;
    border: 2px solid;
    padding: 5px 30px;
    border-radius: 15px;
    margin-bottom: 10px;
    margin: 10px;
    position: relative;
    
    
}
.skill p{
    display: inline;
    font-size: large;
    line-height: 10px;
}
.skill img{
    height: 20px;
    position: absolute;
    right: 7px;
    box-sizing: border-box;
    
}
    
input{
    width: 70%;
    height: 30px;
    border-radius: 10px;
    margin-bottom: 15px;
    border: none;
    padding: 7px;

}
textarea{
    height: 100px;
    width: 70%;
    border-radius: 10px;
    padding: 10px;
    resize: none;
}
.contact button{
    width: 45%;
    height: 40px;
    background-color: black;
    color: white;
    border: none;
    padding: 5px;
    border-radius: 5px;   
}
.contact button:active{
    transform: scale(0.8);
}
footer p{
    font-size: 15px;
    margin: 5px;

}
.end{
    display: flex;
    justify-content: center;
    gap: 15px;
}
.target{
    display: none;
    padding: 10px;
    font-size: larger;
    color: black;
    margin: 20%;
    
}

@media (max-width :375px){
    .cards{
        width: 250px;
    }
}
@media (min-width :750px){
    .projects{
       
       grid-template-columns: auto auto;
    }
    .about{
        padding: 10px;
    display: flex;
    flex-direction: row;
    align-items: center;
    }
    .about-box{
    width: 400px;
    margin: 0 auto;
    flex: 0 0 55%;
    
}
.about-img{
    flex: 0 0 40%;
    
    
}
.about-h1{
    text-align: left;
    margin-left: 60px;

}
}

@media (min-width:1024px){
    .hero{
    display: grid;
    grid-template-columns: auto auto;
    width: 85%;
    margin: auto;
     margin-top: 150px;
    

}
    .hero-txt{
    margin-top: 10px;

}
    .hero-txt h1{
    font-size: 35px;
}
    .hero-txt h3{
    font-size: 25px;
}
    .hero-txt p{
    font-size: larger;
}
    .image img{
    width: 350px;
    
    
}
    .about{
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 35px;
    width: 85%;
    margin: auto;
     
    
}
    .about-box{
    width: 450px;
   margin: 0 auto;
   flex: 0 0 50%;
}
    .about-img{
    width: 400px;
    margin-top: -7px;
        flex: 0 0 40%;
}
    .end{
    gap: 25px;
}

    .nav{
    width: 60%;
    margin: auto;
    
}

}
.home{
    position: fixed;
    top: 20px;
    left: 20px;
    z-index: 1001;
    width: 70px;
    height: 30px;
    background-color: black;
    color: white;
    border: none;
    border-radius: 5px;
    transition: transform 0.3s ease;
}
