/*! HTML5 Boilerplate v5.0 | MIT License | http://h5bp.com/ */

html {
    color: #222;
    font-size: 1em;
    line-height: 1.4;
}

::-moz-selection {
    background: #b3d4fc;
    text-shadow: none;
}

::selection {
    background: #b3d4fc;
    text-shadow: none;
}

hr {
    display: block;
    height: 1px;
    border: 0;
    border-top: 1px solid #ccc;
    margin: 1em 0;
    padding: 0;
}

audio,
canvas,
iframe,
img,
svg,
video {
    vertical-align: middle;
}

fieldset {
    border: 0;
    margin: 0;
    padding: 0;
}

textarea {
    resize: vertical;
}

.browserupgrade {
    margin: 0.2em 0;
    background: #ccc;
    color: #000;
    padding: 0.2em 0;
}


/* ==========================================================================
   Author's custom styles
   ========================================================================== */

body {
    min-height: 100vh;
    margin: 0;
    background: #fcd12a;
    color: #111111;
    font-family: "Fredoka", ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}
.main-content {
    width: min(760px, calc(100% - 40px));
    min-height: 100vh;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    justify-content: center;
    color: #111111;
}
.main-content > h1 {
    font-size: 24px;
}
.intro {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 26px 0 48px;
}
a {
    color: inherit;
}

h1 {
    margin: 0;
    color: #111111;
    font-size: clamp(2.8rem, 8vw, 4.9rem);
    font-weight: 700;
    line-height: 1;
}

.pronunciation {
    margin: 18px 0 30px;
    color: #555555;
    font-size: 1.05rem;
    font-style: italic;
    font-weight: 500;
}

.bio {
    max-width: 680px;
    margin: 0 0 18px;
    color: #222222;
    font-size: clamp(1.08rem, 2vw, 1.22rem);
    font-weight: 500;
    line-height: 1.7;
}

.portrait {
    width: 176px;
    margin: 40px 0 0;
}

.portrait img {
    width: 100%;
    aspect-ratio: 1;
    object-fit: cover;
    border-radius: 50%;
    border: 2px solid #111111;
}

.social-media {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 26px;
}

.social-link {
    display: inline-flex;
    align-items: center;
    min-height: 34px;
    color: #111111;
    font-size: 1rem;
    font-weight: 650;
    text-decoration: none;
}

.social-link:hover,
.social-link:focus {
    background: #111111;
    color: #fcd12a;
    outline: none;
}

.social-link img {
    width: 18px;
    height: 18px;
    margin-right: 10px;
    filter: brightness(0) saturate(100%);
    opacity: 0.88;
}

.social-link:hover img,
.social-link:focus img {
    filter: brightness(0) saturate(100%) invert(86%) sepia(64%) saturate(919%) hue-rotate(340deg) brightness(104%) contrast(98%);
    opacity: 1;
}

.giant-name {
    font-size: 72px;
    display: block;
}

.links {

}









/* ==========================================================================
   Media Queries
   ========================================================================== */

@media only screen and (min-width: 35em) {

}

@media only screen and (max-width: 820px) {
    .main-content {
        width: min(100% - 32px, 620px);
        padding: 36px 0 48px;
    }

    .intro {
        padding: 0;
    }

    .portrait {
        width: 156px;
        margin-top: 0;
    }

    .social-media {
        width: 100%;
    }
}

@media only screen and (max-width: 480px) {
    .main-content {
        width: min(100% - 28px, 620px);
    }

    h1 {
        font-size: 2.75rem;
    }

    .bio {
        font-size: 1.06rem;
        line-height: 1.58;
    }

    .social-link {
        margin-right: 4px;
    }
}

@media print,
       (-o-min-device-pixel-ratio: 5/4),
       (-webkit-min-device-pixel-ratio: 1.25),
       (min-resolution: 120dpi) {

}

/* ==========================================================================
   Helper classes
   ========================================================================== */

.hidden {
    display: none !important;
    visibility: hidden;
}

.visuallyhidden {
    border: 0;
    clip: rect(0 0 0 0);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
}

.visuallyhidden.focusable:active,
.visuallyhidden.focusable:focus {
    clip: auto;
    height: auto;
    margin: 0;
    overflow: visible;
    position: static;
    width: auto;
}

.invisible {
    visibility: hidden;
}

.clearfix:before,
.clearfix:after {
    content: " ";
    display: table;
}

.clearfix:after {
    clear: both;
}

.clearfix {
    *zoom: 1;
}

/* ==========================================================================
   Print styles
   ========================================================================== */

@media print {
    *,
    *:before,
    *:after {
        background: transparent !important;
        color: #000 !important;
        box-shadow: none !important;
        text-shadow: none !important;
    }

    a,
    a:visited {
        text-decoration: underline;
    }

    a[href]:after {
        content: " (" attr(href) ")";
    }

    abbr[title]:after {
        content: " (" attr(title) ")";
    }

    a[href^="#"]:after,
    a[href^="javascript:"]:after {
        content: "";
    }

    pre,
    blockquote {
        border: 1px solid #999;
        page-break-inside: avoid;
    }

    thead {
        display: table-header-group;
    }

    tr,
    img {
        page-break-inside: avoid;
    }

    img {
        max-width: 100% !important;
    }

    p,
    h2,
    h3 {
        orphans: 3;
        widows: 3;
    }

    h2,
    h3 {
        page-break-after: avoid;
    }
}
