body {
    margin: 0;
    padding: clamp(20px, 4vw, 60px);
    width: 100%;
    min-height: 100vh;
    min-height: 100dvh;

    display: flex;
    align-items: center;
    justify-content: center;

    box-sizing: border-box;

    font-family: 'Inter', sans-serif;
    position: relative;
    color: #ffffff;

    overflow-x: hidden;
}

body a {
    color: #ffffff;
    text-decoration: underline;
}

body a:hover {
    text-decoration: none;
}

body::before {
    content: '';
    position: fixed;
    inset: 0;
    z-index: -1;

    background-image: url('img/teamwork.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;

    filter: blur(6.7px) brightness(67%);
    transform: scale(1.05);
}

main {
    width: 100%;
    max-width: 760px;

    display: flex;
    flex-direction: column;
    align-items: center;

    text-align: center;

    padding: clamp(20px, 4vw, 50px) 0;
}

.profile-image {
    width: clamp(7rem, 18vw, 12rem);
    height: clamp(7rem, 18vw, 12rem);

    object-fit: cover;
    border-radius: 50%;

    display: block;

    margin-bottom: clamp(18px, 3vw, 30px);
}

h1 {
    margin: 0;

    font-size: clamp(2.4rem, 6vw, 4rem);
    line-height: 1;
    font-weight: 400;
    letter-spacing: -0.04em;
}

h2 {
    margin: clamp(12px, 2vw, 20px) 0 0;

    max-width: 650px;

    font-size: clamp(1rem, 2.4vw, 1.4rem);
    line-height: 1.45;
    font-weight: 300;
}

.about {
    width: 100%;
    max-width: 680px;

    margin-top: clamp(28px, 5vw, 50px);

    font-size: clamp(0.95rem, 1.5vw, 1.1rem);
    line-height: 1.7;
    font-weight: 300;
}

.about p {
    margin: 0 0 clamp(14px, 2vw, 22px);
}

.about p:last-child {
    margin-bottom: 0;
}

.about a {
    font-weight: 400;
}

.buttons {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;

    gap: clamp(10px, 1.5vw, 16px);

    max-width: 100%;

    margin-top: clamp(28px, 5vw, 50px);
}

.button-wrapper {
    position: relative;
}

.button {
    position: relative;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    color: #000000 !important;
    background-color: #ffffff;

    padding: clamp(10px, 1.5vw, 13px) clamp(20px, 3vw, 28px);

    border-radius: 999px;

    text-decoration: none !important;

    font-size: clamp(0.9rem, 1.5vw, 1rem);
    font-weight: 500;

    z-index: 1;

    overflow: hidden;

    transition:
        color 0.2s ease-out,
        transform 0.2s ease-out;
}

.button::before {
    content: '';

    position: absolute;

    top: -50%;
    left: -50%;

    width: 200%;
    height: 200%;

    background-color: #000000;

    border-radius: 40%;

    z-index: -1;

    transform: translate(-100%, 100%) rotate(-20deg);

    transition: transform 0.35s cubic-bezier(0.1, 0.9, 0.2, 1);

    pointer-events: none;
}

.button:hover {
    color: #ffffff !important;
    transform: translateY(-2px);
}

.button:hover::before {
    transform: translate(0, 0) rotate(0deg);
}

.badge {
    position: absolute;

    top: -8px;
    right: -8px;

    width: 22px;
    height: 22px;

    background-color: #ff3b30;
    color: #ffffff;

    font-size: 12px;
    font-weight: 600;

    border-radius: 50%;

    display: flex;
    align-items: center;
    justify-content: center;

    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);

    z-index: 5;

    transform: scale(0);
    opacity: 0;

    animation: popIn 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275) 2s forwards;
}

footer {
    position: fixed;

    bottom: clamp(15px, 2vw, 25px);
    left: clamp(15px, 2vw, 25px);

    font-size: clamp(0.7rem, 1vw, 0.8rem);
    line-height: 1.5;

    color: rgba(255, 255, 255, 0.75);
}

footer strong {
    color: #ffffff;
    font-weight: 500;
}

@keyframes popIn {
    0% {
        transform: scale(0);
        opacity: 0;
    }

    100% {
        transform: scale(1);
        opacity: 1;
    }
}

@media (max-width: 600px) {
    body {
        padding: 20px;
        align-items: flex-start;
    }

    main {
        padding-top: 8vh;
        padding-bottom: 100px;
    }

    .buttons {
        width: 100%;
    }

    .button-wrapper,
    .button {
        max-width: 100%;
    }

    footer {
        position: absolute;
    }
}
