body {
    background-color: #F6F3E7;
    font-family: Zen Kaku Gothic New, sans-serif;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    margin: 0;
    position: relative;
}

.background-animation {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    z-index: 1;
    opacity: 0.95;
}


.outline-box {
    position: relative;
    z-index: 2;
}

/* top */
.name {
    color: white;
    text-align: center;
    font-size: 67px;
}

.linethrough {
    background-color: black;
    height: 4px;
    border: none;
}

.degree {
    color: white;
    text-align: center;
    font-size: 32px;
}

.top {
    text-align: center;
    max-width: 600px;
}

/* bottom */
.bottom a {
    text-decoration: none;
}

.about, .cv, .links {
    color: #3B472A;
    font-size: 32px;
    padding: 20px;
    margin: 20px;
    width: 80px;
    display: inline-block;
    cursor: pointer;
}

.bottom {
    text-align: center;
    max-width: 500px;
}

.about:hover, .cv:hover, .links:hover {
    color: white;
    transition: color 0.3s ease;
}

.outline-box {
    background-color: #A3C585;
    border: 4px solid black;
    padding: 67px;
    margin: 10px;
}

/* Make the outline box smaller on narrow screens so the background shows more */
@media (max-width: 480px) {
    .outline-box {
        padding: 20px;
        margin: 12px;
        max-width: calc(100% - 32px);
        width: auto;
        border-width: 3px;
    }

    .name {
        font-size: 32px;
    }
    .degree {
        font-size: 16px;
    }

    .about, .cv, .links {
        font-size: 18px;
        padding: 8px 10px;
        margin: 6px;
        width: auto;
    }

@media (max-width: 360px) {
    .outline-box {
        padding: 16px;
        margin: 10px;
    }
    .name { font-size: 28px; }
    .degree { font-size: 14px; }
}