*::-webkit-scrollbar {
    display: none;
}

* {
    scrollbar-width: none;
    overflow: -moz-scrollbars-none;
    -ms-overflow-style: none;
}


/* ========================================================== */


/* People desc */

.person {
    margin: 4em 8em;
    width: 70%;
    align-self: center;
    margin-bottom: 0;
    display: flex;
    flex-flow: column;
    gap: 2em;
}


/* header */

.person-header {
    display: flex;
    flex-flow: column;
    align-self: flex-start;
    gap: 1em;
}

.person-header h1 {
    white-space: nowrap;
    font-size: 3.4em;
    font-weight: var(--font-regular);
    margin: 0;
}

.person-header hr {
    margin: 0 0 1em 1.5em;
    width: 18.3em;
    border: 1px solid var(--text-color);
    opacity: 70%;
}


/* desc */

.person-desc {
    width: 100%;
    display: flex;
    align-self: flex-start;
    justify-content: space-between;
    gap: 1em;
}

.person-desc-text {
    display: flex;
    flex-flow: column;
    gap: 2em;
}

.person-desc-text h1 {
    white-space: nowrap;
    font-size: 4.25em;
    font-weight: var(--font-medium);
}

.person-desc-text p {
    font-size: 1.2em;
    font-weight: var(--font-regular);
}

.person-desc-img {
    flex-shrink: 0;
    flex-grow: 0;
    margin-top: 8em;
    width: 20em;
    height: 20em;
    background-image: var(--circle-gradient);
    border-radius: 100%;
    display: flex;
    justify-content: center;
    position: relative;
}

.person-desc-img img {
    position: absolute;
    bottom: 2em;
    width: 80%;
    margin: auto;
    aspect-ratio: 426/586;
}


/* ========================================================== */


/* People buttons */

.people-button-container {
    display: flex;
    justify-content: space-around;
    gap: 3em;
    padding: 0 6em;
    margin: 6em 0 20em 0;
}

.people-button {
    flex-shrink: 0;
    width: 12em;
    height: 12em;
    margin-top: 7em;
    background: var(--circle-gradient);
    border-radius: 100%;
    position: relative;
    color: var(--text-color);
}

.people-button img {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 1em;
    z-index: 1;
    width: 7em;
    aspect-ratio: 426/586;
    margin: auto;
    transition: transform 0.1s linear;
    transform-origin: center bottom;
}

.people-button h1 {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 2;
    display: flex;
    height: 3em;
    align-items: center;
    justify-content: center;
    background: var(--people-name-gradient);
    font-weight: var(--font-semibold);
    font-size: 1.4em;
}

.people-button h1::before {
    position: absolute;
    content: "";
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: -1;
    opacity: 0;
    background-image: var(--button-gradient);
    background-clip: content-box;
    border-radius: 10%/100%;
    transition: opacity 0.15s ease-in;
}

.people-button:hover h1 {
    color: white;
}

.people-button:hover h1::before {
    opacity: 1;
}

.people-button:hover img {
    transform: scale(1.5, 1.5);
}


/* media quieries */

@media (min-width: 799px) and (max-width: 1200px) {
    .people-button-container,
    .person {
        font-size: 0.66em;
        margin: 3em;
    }
    .person {
        margin-bottom: 0em;
    }
    .person-desc-img {
        margin-top: 9em;
    }
}

@media (max-width: 800px) {
    .people-button-container,
    .person {
        font-size: 0.33em;
        margin: 0.5em;
    }
    .person {
        margin-bottom: 0em;
    }
    .person-desc-img {
        margin-top: 10em;
    }
}