#title {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;

    gap: 5rem;
}

#name-container {
    margin-left: 10vw;
    text-align: left;
}

@media (orientation: portrait) {
    #name-container {
        margin: 0;
        padding: 3rem;
    }
}

#name-animated {
    display: none;

    position: absolute;
    margin: auto;
    text-align: center;

    font-family: "Vesper Libre", serif;
    font-weight: 400;
    font-style: bold;
    font-size: clamp(2rem, 6vw, 6rem);
    text-shadow: 3px 1px 6px #2d2d2d;
}

#name-static {
    display: inline-block;
    /*margin: 0 0 -2rem 0;*/
    margin-bottom: clamp(-2rem, -1.6vw, 3rem);

    font-family: "Vesper Libre", serif;
    font-weight: 400;
    font-style: bold;
    font-size: clamp(2rem, 6vw, 6rem);
    text-shadow: 3px 1px 6px #2d2d2d;
}

.name-letter {
    display: inline-block;
    opacity: 0;
}

.name-letter-fade-in {
    opacity: 0.5;
    transform: translateY(-5px);

    animation-delay: 0.5s;
    animation: SlideIn 0.2s ease-in forwards;
}

#name-subtitle {
    font-family: "Nanum Gothic", sans-serif;
    font-weight: 400;
    /*font-size: clamp(0.7rem, 1.6vw, 1.4rem);*/
    font-size: clamp(0.9rem, 1.6vw, 1.4rem);
    color: var(--text-main);

    margin-bottom: 2rem;
    max-width: clamp(10rem, 40vw, 50vw);
    width: 100%;

    opacity: 0;
    /*transform: translateX(10px);*/
    transform: scale(0.96);
    animation: ScaleIn 0.2s ease-in forwards;
    animation-delay: 2.5s;
}

#profile-pic {
    display: inline-block;
    margin-right: 10vw;

    max-width: 25vw;
    width: 40vh;
    height: auto;

    box-shadow: 0px 0px 20px 5px #0000001a;

    animation: picScaleIn 0.4s ease-in forwards;
    animation-delay: 2.7s;
    opacity: 0;
}


@keyframes picScaleIn {
    0% {
        transform: scale(0.9);
        opacity: 0;
        box-shadow: none;
    }
    60% {
        transform: scale(1.03);
        opacity: 1;
        box-shadow: 0px 0px 30px 10px #0000004f;
    }
    100% {
        transform: scale(1);
        opacity: 1;
        box-shadow: 0px 0px 20px 5px #0000001a;
    }
}

@media (orientation: portrait) {

    #name-static {
        margin: 0;
        font-size: 32px;
        font-weight: 600;
        font-style: bold;

        /*width: 100%;
        text-align: center;*/
    }

    #name-subtitle {
        margin: 0;
        font-size: var(--font-medium);
        max-width: 100%;
        width: 100%;
    }

    #profile-pic {
        display: none;
    }
}

.nav-link {
    color: var(--text-main);
    font-weight: bold;
    text-decoration: underline;
    cursor: pointer;
}

.nav-link:hover {
    color: var(--text-title);
}

#social-button-container {
    display: flex;
    gap: 1rem;
}

.social-button {
    display: inline-flex;
    align-items: center;
    text-decoration: none;

    /*min-width: 2.2rem;
    min-height: 2.2rem;*/

    /*width: 1.8rem;
    height: 1.8rem;*/
    min-width: 1.8rem;
    min-height: 1.8rem;

    border: 3px solid var(--text-main);
    border-radius: 14px;
    background-color: var(--bg-color);

    transition: all 0.6s ease-in-out;

    opacity: 1;
    transform: translateX(4px);
}

.social-button:nth-child(1) {
    opacity: 0;
    animation: SlideIn 0.3s ease-in forwards;
    animation-delay: 3.6s;
}

.social-button:nth-child(2) {
    opacity: 0;
    animation: SlideIn 0.3s ease-in forwards;
    animation-delay: 3.8s;
}

.social-button:nth-child(3) {
    opacity: 0;
    animation: SlideIn 0.3s ease-in forwards;
    animation-delay: 4.0s;
}

@media (orientation: portrait) {

    #social-button-container {
        margin-top: 1.4rem;
    }

    .social-button {
        border-color: var(--text-muted);
        z-index: 1;
    }
}

.social-button svg {
    height: 1.4rem;
    width: auto;
    margin: 0.2rem;

    fill: var(--text-main);
    transition: 
        width 0.6s ease-in-out, 
        height 0.6s ease-in-out, 
        margin 0.2s ease-in-out;
}

.social-button-label {
    color: var(--text-main);
    font-size: var(--font-small);

    overflow: hidden;
    max-width: 0;
    opacity: 0;
    white-space: nowrap;

    margin: 0;

    transition:
        max-width 0.6s ease,
        opacity 0.4s ease,
        margin 0.4s ease;

}

@media (orientation: landscape) {

    .social-button:hover {
        margin-inline: -0.5rem;
        transition: all 0.4s ease-in-out;
    }

    .social-button:hover .social-button-label {
        max-width: 200px;
        opacity: 1;
        margin-inline: 1.4rem;
    }

    .social-button:focus .social-button-label,
    .social-button:focus-visible .social-button-label {
        max-width: 200px;
        opacity: 1;
        margin-inline: 1.4rem;
    }

    .social-button:hover svg {
        opacity: 0;
        width: 0;
        height: 0;
        margin: 0;
    }

    .social-button:focus svg,
    .social-button:focus-visible svg {
        opacity: 0;
        width: 0;
        height: 0;
        margin: 0;
    }
    
}


/*.social-button:hover svg {
    display: none;
}*/

/*.social-button-label:focus, 
.social-button-label:focus-visible{
    max-width: 200px;
    opacity: 1;
}*/

