/* General Body Styling */
body {
    margin: 0;
    padding: 0;
    background-color: #f0f0f0;
    color: #333333;
    /* line-height: 1.6; */
}

section {
    margin-left: auto;
    margin-right: auto;
    border-radius: 8vh;
    font-family: 'Roboto';
    background-color: #f0f0f0;
    position: relative;
    z-index: 1;
    margin-bottom: 5%;
    margin-top: 5%;
}

ul {
    font-size: 1em;
}

li {
    font-size: larger;
}

/* Big screens */
@media (min-width: 768px) {
    section {
        width: 55%;
        padding: 5%;
        box-shadow: 0 1rem 5rem #4682b4;
        font-size: 1.2em;
    }
}

/* Medium screens */
@media (max-width: 768px) {
    section {
        width: 40%;
        padding: 10%;
        box-shadow: 0 1rem 5rem #4682b4;
        font-size: 0.7vw;
    }
}

/* Small screens */
@media (max-width: 480px) {
    section {
        width: 30%;
        padding: 10%;
        box-shadow: 0 1rem 5rem #4682b4;
        font-size: 0.5vw;
    }
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
    
}

h2 {
    font-size: 1.5em;
    margin-bottom: 20px;
    color: #333333;
    margin: 15px;
    display: flex;
    align-items: center;
}

h1 {
    font-size: 3em;
    margin-bottom: 20px;
    color: #333333;
    margin: 15px;
}

p {
    font-size: 1.2em;
    margin-bottom: 20px;
    margin: 15px;
}

.gear-container {
    width: 15%;
    aspect-ratio: 1;
    position: absolute;
    opacity: 0.2;
    top: -6vh;
    left: -4vw;
}


.main {
    margin: 5%;
    margin-top: 10%;
}

.aboutme {
    flex-direction: column; 
    text-align: left;
    align-items: center;
    justify-content: center;
    margin-bottom: 20%;
    margin-top: 15%;
}

.aboutme h2 {
    opacity: 0;
    animation: emerge 2s forwards;
    animation-delay: 2.5s;
}

.aboutme h1 {
    opacity: 0;
    animation: emerge 2s forwards;
    animation-delay: 1s;
}

@keyframes emerge {
    0% {
        opacity: 0;
        transform: translateY(20px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

.education {
    transform: translateX(100px);
    opacity: 0;
    transition: 0.5s;
    z-index: 1;
}

.education.show {
    transform: translateX(0);
    opacity: 1;
}

.education .icon {
    height: 10vh;
    aspect-ratio: 1;
    padding-left: 2%;
}

.school {
    padding: 2%;
    margin: 10px;
}


.projects {
    transform: translateX(100px);
    opacity: 0;
    transition: 0.5s;
    z-index: 1;
    margin-top: 1%;
    margin-bottom: 1%;
}


.projects.show {
    transform: translateX(0);
    opacity: 1;
}

.project {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.github-link {
    margin-left: 2%;
    display:inline-flex;
    align-items: center;
    margin-bottom: 1vh;
    transition: color 0.3s, transform 0.3s;
}

.github-link a {
    text-decoration: none;
    color: #00254d;
    padding: 10px;
}

.github-link:hover {
    color: #004c9d;
    transform: scale(1.1);
}

.clickEncouragement {
    color: #202020; /* Use a color that stands out */
    font-style: italic;
    font-size: 1em;
}

.experiences {
    margin-top: 5%;
} 

.skills {
    transform: translateX(100px);
    opacity: 0;
    transition: 0.5s;
    z-index: 1;
}

.skills ul li:hover {
    background-color: #eaeaea;
    box-shadow: 0rem 0rem 3rem #ffffff73;
}

.skills.show {
    transform: translateX(0);
    opacity: 1;
}

.icon {
    height: 2em;
    aspect-ratio: 1;
    padding-right: 2%;
}

.skills li {
    list-style-type: none;
    display: flex;
    align-items: center;
    margin-bottom: 1vh;
}

.experience {
    transform: translateX(100px);
    opacity: 0;
    transition: 0.5s;
    z-index: 1;
}


.experience.show {
    transform: translateX(0);
    opacity: 1;
}

.contact {
    transform: translateX(100px);
    opacity: 0;
    transition: 0.5s;
    z-index: 1;
}


.contact.show {
    transform: translateX(0);
    opacity: 1;
}

.contact li {
    list-style-type: none;
    display: flex;
    align-items: center;
    margin-bottom: 1vh;
    transition: color 0.3s, transform 0.3s;
}

.contact a {
    text-decoration: none;
    color: #00254d;
    transition: color 0.3s, transform 0.3s;
}

.contact li:hover {
    color: #004c9d;
    transform: scale(1.05);
}