body {
    background: #f7931a;
    color: white;
    text-align: center;
    margin: 0 auto;
    font-family: "Trebuchet MS", "Helvetica Neue", Arial, sans-serif;
    line-height: 1.6;
}

caption {
    text-align: center;
}

h1 {
    font-weight: bold;
    margin: 86px 0;
    font-size: 56vh;
    line-height: 0.77;
    text-align: center;
    font-family: sans-serif;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    padding: 0;
    box-sizing: border-box;
    word-spacing: 100vw;
}

@media (max-width: 1100px) {
    h1 {
        font-size: calc(100vw / 1.6);
    }
}

h2 {
    font-weight: 900;
    margin: 0 0 18px;
    font-size: 32px;
    line-height: 1;
    text-transform: uppercase;
    font-family: Impact, Haettenschweiler, "Arial Narrow Bold", "Helvetica Neue Condensed Bold", sans-serif;
}

h3 {
    font-weight: 700;
    color: #333;
    margin: 0;
    font-size: 18px;
    line-height: 1.3;
}

section {
    padding: 24px;
    margin: 24px 0;
}

#team {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
    max-width: 1029px;
    margin: 0 auto;
    justify-content: center;
    padding: 0 12px;
}

.team {
    aspect-ratio: 1 / 1;
    background: white;
    width: 327px;
    border-radius: 50%;
    align-content: center;
    padding: 0 0 12px;
    flex-shrink: 0;
}

.team h2 {
    color: #f7931a;
    margin-bottom: 5px;
    font-size: 24px;
}

.team img {
    width: calc(80% - 50px);
    margin: 25px 0 10px;
    aspect-ratio: 1 / 1;
    object-fit: cover;
}

.team a:visited,
.team a {
    color: #333;
}

p {
    margin-top: 0;
    margin-bottom: 14px;
    font-size: 17px;
    font-family: Georgia, "Times New Roman", serif;
    line-height: 1.7;
}

#team img {
    border-radius: 100%;
}

#memes img {
    width: 25%;
    padding: 21px;
    object-fit: contain;
}

#memes {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
}

ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

i {
    font-size: 0.6em;
}

a,
a:visited {
    color: white;
    font-weight: 700;
    text-decoration-thickness: 2px;
    text-underline-offset: 0.14em;
}

a:hover {
    text-decoration: none;
}

.frame {
    width: 124px;
    height: 248px;
    background: #333;
    margin: 24px auto 0;
    overflow: hidden;
}

iframe {
    border: 20px solid black;
    width: 1200px;
    height: 2442px;
    transform: scale(0.1);
    transform-origin: top left;
}

.ordinals embed,
.ordinals img {
    width: 200px;
    object-fit: contain;
}

.ordinals {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    background: #222;
}

.ordinal {
    padding: 9px;
}

.ordinals > a {
    text-align: center;
}

/* Tablet and below - 1100px */
@media (max-width: 1100px) {
    h1 {
        font-size: 24vh;
    }

    .team {
        width: calc((100vw / 3) - 40px);
        max-width: 327px;
    }

    .team h2 {
        font-size: 22px;
    }
}

/* Tablet - 768px */
@media (max-width: 768px) {
    h1 {
        font-size: 23vh;
    }

    h2 {
        font-size: 26px;
    }

    #team {
        gap: 20px;
        padding: 0 16px;
    }

    .team {
        width: calc((100vw / 2) - 44px);
        min-width: 240px;
        max-width: 300px;
    }

    .team img {
        width: 60%;
    }

    .team h2 {
        font-size: 18px;
    }

    .team h3 {
        font-size: 14px;
    }

    p {
        font-size: 16px;
    }

    section {
        padding: 16px;
        margin: 16px 0;
    }

    #memes img {
        width: 50%;
        padding: 12px;
    }

    .ordinals embed,
    .ordinals img {
        width: 150px;
    }

    .ordinal {
        padding: 6px;
    }
}

/* Mobile - 480px */
@media (max-width: 480px) {
    h1 {
        font-size: 22vh;
        padding: 0;
    }

    h2 {
        font-size: 22px;
    }

    body {
        max-width: 100%;
    }

    #team {
        gap: 20px;
        padding: 0 20px;
    }

    .team {
        width: 100%;
        max-width: 340px;
        min-width: 260px;
    }

    .team img {
        width: 65%;
    }

    .team h2 {
        font-size: 20px;
    }

    .team h3 {
        font-size: 14px;
    }

    p {
        font-size: 15px;
    }

    section {
        padding: 12px;
        margin: 12px 0;
    }

    #memes img {
        width: 100%;
        padding: 8px;
    }

    .ordinals embed,
    .ordinals img {
        width: 120px;
    }

    .ordinal {
        padding: 4px;
    }

    .frame {
        width: 93px;
        height: 186px;
    }

    iframe {
        transform: scale(0.075);
    }
}

/* Small mobile - 375px */
@media (max-width: 375px) {
    h1 {
        font-size: 21vh;
    }

    #team {
        padding: 0 12px;
    }

    .team {
        min-width: 240px;
        max-width: 300px;
    }

    .team img {
        width: 70%;
    }

    .ordinals embed,
    .ordinals img {
        width: 100px;
    }
}
