*{
    margin:0;
    padding:0;
    box-sizing: border-box;
}


:root{
    font-size: 62.5%;
}



/* :root{
    font-size: clamp(50%, 37.5% + 0.32vw, 75%);    
} */



.container{
    background-color: #0f172a;
    min-height: 100vh;
}

header{
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    background-color: #0c111e;
    border:0.3rem solid white;
    /* flex-wrap:wrap; */
}


header .logo{
    margin-left: 1rem;
    width: 8rem;
    border: 0.2rem solid black;
}

header .logo img{
    width: 100%;
}


header .nav-links{
    padding-right: 1rem;
    font-size: 1.5rem;
    display:flex;
    align-items: center;
    flex-wrap:wrap;
}

header .nav-links a{
    font-size: 1.6rem;
    margin-left:1.5rem;
    color:#b4cbec;
    text-decoration: none;
    opacity: 0.8;
}


.nav-links a:hover{
    color: #f59e0b;
    opacity: 1;
}


.hero{
    font-size:2rem;
    width:100%;
    min-height:auto;
    color: #f8fafc;
    display: flex;
    justify-content: space-between;
    padding-top: 0.75em;
    flex-wrap: wrap;
    padding-left:0.5em;
}


/*Edited*/
@keyframes float {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-0.6rem);
  }
}

.hero-image{
    width: 15rem;
    margin-right:5rem;
    margin-top: 3rem;
    /* border-radius: 50%; */
    animation: float 3s ease-in-out infinite;
}

.hero-image img{
    width: 100%;
    border: 0.2rem solid white;
    border-radius: 50%;
    /* float: left; */
}


.hero p{
    margin-top: 3rem;
    color:#b4cbec;
    font-size: 0.9em;
    padding-left:1.5rem;
}


.skills{
    height: auto;
    font-size: 2rem;
    color: #f8fafc;
    flex-wrap:wrap;
    /* margin-top:-1rem; */
    padding-left:0.5em;

}

.skills .skill-chip{
    color:white;
    font-size: 0.8em;
    padding: 0.8em 1.8em;
    border: 0.1rem solid white;
    border-radius: 5rem;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    background-color:#1e293b;
    margin: 1em 1em;
    cursor: pointer;
}

.skill-chip:hover{
    background-color: white;
    color: #1e293b;
    z-index: 1;
    font-weight: bold;
    border: 0.3rem solid #f59e0b;
}


.projects{
    color:  white;
    font-size:2rem;
    padding-left: 0.5em;
    margin: 1em 0;
}

.project-list{
    display: flex;
    flex-direction: row;
    justify-content:space-around;
    margin: 1.5em 0;
    flex-wrap:wrap;

}


.project-card{
    max-width: 19rem;
    font-size:1.5rem;
    /* min-width: 10rem; */
    cursor: pointer;
}

/*Edited*/
.project-card:hover{
    transform: scale(1.2);      
    transition: 0.5s;
}

.project-card img{
    width: 100%;
    /* max-width: 100%; */

}


.project-card p{
    font-size: 1em;
}

 



.project-card h3{
    color :#f0a524;
    margin: 0.6em 0;
}


.site-footer{
    /* display: flex;
    flex-direction: row; */
    /* justify-content: space-between; */
    background-color: #0c111e;
    height:8vh;
    border: 0.2rem solid white;
    font-size: 1.5rem;
}

.site-footer .contact-links{
    display: flex;
    flex-direction: row;
    text-decoration: none;
    justify-content: center;
    margin-top: 0.5em;
    flex-wrap: wrap;
}

.site-footer .contact-links a{
    font-size: 1.2em;
    margin-left:2em;
    color:#b4cbec;
    text-decoration: none;
    opacity: 0.8;
}


.site-footer p{
    font-size: 0.9em;
    color: white;
    display: block;
    margin: 0 1em;
    /* margin-top:-1em; */
}

.contact-links a:hover{
    color: #f59e0b;
    opacity: 1;
}




/*Edited*/
.skills h2::after{
    display: block;
    content: "";
    width: 8rem;
    height: 0.3rem;
    background-color: white;
}

/*Edited*/
.projects h2::after{
    display: block;
    content: "";
    width: 11rem;
    height: 0.3rem;
    background-color: white;
}


/*Edited*/
@media (max-width: 600px) {   /*for mobiles*/
    html{
        font-size: 50%;
    }
    /* .skills h2::after{
        width: 20%;
    } */
}

/*Edited*/
@media (max-width: 900px) {   /*for portrait tablets*/
    html{
            font-size: 56.25%;
        }
    /* .skills h2::after{
        width: 11rem;
    } */
}