
body {
    color: #0D0D0D;
    background-color: #F0F2F0;
    box-sizing: border-box;
}

.page {
    display: flex;
    flex-direction: column;
}

.section {
    font-family: 'Cabin', 'Times New Roman', 'Times', serif;
    font-weight: 300;
    margin: 0;
    display: flex;
    flex-direction: column;
    height: 100vh;
    box-sizing: border-box;
}

/* Section 1 rules */
#title {
    padding: 30px 8vw 30px 8vw;
    justify-content: space-evenly;
}

.section-header {
    font-weight: 300;
    font-size: 2.2rem;
}

.section-para {
    font-size: 2.8rem;
    font-weight: 500;
    max-width: 900px;
}

.section-text3 {
    font-weight: 300;
    font-size: 1.5rem;
    box-sizing: border-box;
    line-height: 1.5;
}

.name {
    color: #2393D9;
    font-weight: bold;   
    transition: all 0.3s ease-in-out;
}
.name:hover {
    text-shadow: 0.05em 0.05em 0 #012340;
}

.emoji-handwave {
    background-image: url(images/wave.png);
    cursor: pointer;
    width: 1em;
    height: 1em;
    margin: 0 10px;
    display: inline-block;
    vertical-align: text-top;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}
.emoji-handwave:hover {
    animation: shake 0.5s ease-in-out;
}
@keyframes shake {
    0% { transform: translateX(0); }
    25% { transform: translateX(-5px) rotate(-5deg); }
    50% { transform: translateX(5px) rotate(5deg); }
    75% { transform: translateX(-5px) rotate(-5deg); }
    100% { transform: translateX(5px) rotate(5deg); }
}

.contact-link {
    color: #0D0D0D;
    text-decoration: none;
    padding: 6px;
    font-weight: 300;
    box-shadow: inset 0 -3px 0 #2393D9;
    transition: all 0.3s ease-in-out;
}
.contact-link:hover {
    color: #F0F2F0;
    background-color: #2393D9;
}

/* Section 2 rules */
#about {
    padding: 8vw 8vw;
    justify-content: start;
}

.university {
    color: #0D0D0D;
    text-decoration: none;
    white-space: nowrap;
    padding: 3px;
    transition: all 0.3s ease-in-out;
    box-shadow: inset 0 -3px 0 #008208;
}
.university:hover {
    color: #F0F2F0;
    background-color: #008208;
}

.about-header {
    /* color: #2393D9; */
    color: #0D0D0D;
    font-weight: 600;
    font-size: 2.5rem;
}

.about-para {
    font-size: 1.5rem;
    font-weight: 400;
    max-width: 70vw;
    line-height: 1.5;
}

/* Mobile-specific adjustments */
@media (max-width: 800px) {
    .section {
        padding: 4vw 4vw;
    }
    .section-para {
        font-size: 2.2rem;
    }

    .about-para {
        max-width: 90vw;
        padding: 4vw 4vw;
    }

    .title {
        font-size: 17vw;
    }
}