body::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(0, 0, 0, 0.1), rgba(0, 0, 0, 0.5)), url('../images/light-background.jpg') no-repeat center/cover;
    z-index: -1;
}

a:active,
a:visited,
a:hover,
a:link {
    color: #20f4ca;
}

h1 {
    margin-bottom: 0.1em;
}

h2 {
    margin-bottom: -0.5em;
}

h3 {
    margin-bottom: 8%;
}

.container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    height: 100%;
    transform: translateY(-5%);
}

.profile-image {
    width: 180px;
    height: 180px;
    border-radius: 50%;
    margin-bottom: 20px;
    background-color: #d3d0d0e8;
    padding: 0;
    border: 4px solid white;
    position: relative;
    overflow: hidden;
    transition: background-color 0.3s ease;
}

.name {
    color: white;
    font-size: 2.8em;
    font-weight: 505;
    letter-spacing: 0.03em;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.title {
    color: white;
    font-size: 1.5em;
    font-weight: 400;
}

.company {
    color: white;
    font-size: 1.2em;
    font-weight: 400;
}

.links {
    display: flex;
    justify-content: center;
    gap: 18px;
    margin-top: 18px;
}

.links a {
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #20f4ca;
    border-radius: 50%;
    background-size: 24px;
    background-repeat: no-repeat;
    background-position: center;
    transition: background-color 0.3s ease;
    color: #00122a;
}

.links a:hover {
    background-color: #17c3a2;
}

@media (max-width: 600px) {
    .profile-image {
        width: 130px;
        height: 130px;
    }

    .name {
        font-size: 2em;
    }

    .title {
        font-size: 1.2em;
    }

    .links a {
        font-size: 18px;
        width: 38px;
        height: 38px;
    }

    .company {
        font-size: 1.1em;
        font-weight: 500;
    }
}

@media (prefers-color-scheme: dark) {
    body {
        background-color: #121212;
    }

    .links .penn,
    .links .email,
    .links .espnbet,
    .links .x,
    .links .linkedin,
    .links .instagram {
        border: 2px solid #17c3a2;
        border-radius: 50%;
        box-sizing: border-box;
    }

    body::before {
        background: linear-gradient(rgba(0, 0, 0, 0.1), rgba(0, 0, 0, 0.1)), url('../images/dark-background.jpg') no-repeat center/cover;
        z-index: -1;
    }

    .profile-image {
        background-color: #262525;
        border: 4px solid black;
    }

    .name,
    .title,
    .company {
        color: #DCDCDC;
    }

    .links a {
        background-color: #062827;
        color: #fff;
    }

    .links a:hover {
        background-color: #1a4c4a;
    }
}

::selection {
    background: #1a4c4a;
    color: #ffffff;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

.fade-in {
    animation: fadeIn .75s ease-in-out;
}