html, body {
    font-family: "Inter";
    height: 100%;
    margin: 0;
    display: flex;
    flex-direction: column;
    background: black;
}

header {
    background: #f1f1f1;
    padding: 20px;
    text-align: center;
}

main {
    display: flex;
    justify-content: center;
    align-items: center;
    flex: 1 0 auto;
    padding: 20px;
}

.name-email {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.name-email h1 {
    font-size: 40px;
    color: white;
}

.name-email a {
    color: black;
    text-decoration: none;
    position: relative; /* Add this line */
}

/* LINK HOVER UNDERLINE */
.indiv-link-out, .name-email a {
    display: flex;
    align-items: center;
    position: relative;
    text-decoration: none;
    color: white;
}

.indiv-link-out::after, .name-email a::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 1px; 
    bottom: -2px;
    left: 0;
    background: linear-gradient(90deg, rgb(0,123,255), rgb(0, 174, 255));
    transform: scaleX(0);
    transform-origin: bottom right;
    transition: transform 0.25s ease-out;
}

.indiv-link-out:hover::after, .name-email a:hover::after {
    transform: scaleX(1);
    transform-origin: bottom left;
}

footer {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-around;
    flex-shrink: 0;
    height: 10%;
    background: linear-gradient(180deg, black, rgb(7, 3, 37) 75%);
}

.footer-links-out {
    display: flex;
    flex-direction: row;
    text-decoration: none;
}

.arrow {
    height: 20px;
    width: 20px;
    padding: 0;
    margin: 0;
    color: white;
}

@media (max-width: 700px) {
    footer {
        height: 25%;
        padding: 20px;
        display: flex;
        flex-direction: column; /* Keep containers in row but wrap */
        background: linear-gradient(180deg, black, rgb(7, 3, 37) 60%);
    }

    .footer-links-out {
        margin-right: auto;
    }
}

.inter-custom {
    font-family: 'Inter', sans-serif;
    font-optical-sizing: auto;
    font-weight: 400; /* Change this to the desired weight */
    font-style: normal;
    font-variation-settings: 'slnt' 0;
}
