@font-face {
    font-family: 'kawederegular';
    src: url('../fonts/kawede-regular-webfont.woff2') format('woff2'),
         url('../fonts/kawede-regular-webfont.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: "Public Sans", "Helvetica Neue", Helvetica, sans-serif;
    scroll-behavior: smooth;
}

body {
    margin: auto;
    color: #1A2023;
}

.dark {
    color: #FCF7F5;
}

/* ––––––––––– TEXT ––––––––––– */

h1 {
    font-family: 'kawederegular';
    font-style: normal;
    font-weight: 700;
    font-size: 2rem;
    line-height: 2.5rem;
}

h1 .dark {
    color: #FCF7F5;
}

h2 {
    font-style: normal;
    font-weight: 600;
    font-size: 2rem;
    line-height: 2.5rem;
    margin-bottom: 1rem;
}


h3 {
    font-style: normal;
    font-weight: 600;
    font-size: 1.5rem;
    line-height: 2rem;
    margin-bottom: 0.5rem;
}

p {
    font-style: normal;
    font-weight: 300;
    font-size: 1.25rem;
    line-height: 1.5rem;
    margin-bottom: 1rem;
    opacity: 0.72;
}

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

i {
    font-style: normal;
    text-transform: capitalize;
    cursor: default;
    pointer-events: none;
    margin-left: 0.5rem;
}

ul {
    font-size: 1.25rem;
    line-height: 1.75rem;
    margin-left: 1.5rem;
    opacity: 0.72;
}

li {
    margin-bottom: 1rem;
}

figcaption {
    font-style: normal;
    font-weight: 400;
    font-size: 1rem;
    line-height: 1.25rem;
    opacity: 0.72;
    margin-top: 0.5rem;
}

.overline {
    font-family: "Public Sans", "Helvetica Neue", Helvetica, sans-serif;
    font-style: normal;
    font-weight: 800;
    font-size: 0.875rem;
    line-height: 1.25rem;
    text-transform: uppercase;
    
    opacity: 0.48;
    mix-blend-mode: multiply;
}

.tagline {
    font-family: "Public Sans", "Helvetica Neue", Helvetica, sans-serif;
    font-style: normal;
    font-weight: 300;
    font-size: 1.25rem;
    line-height: 1.5rem;

    opacity: 0.72;
    margin: 0.5rem 0 0.75rem 0;
    
    mix-blend-mode: multiply;
}

.photocred {
    font-style: normal;
    font-weight: 400;
    font-size: 1rem;
    line-height: 1.25rem;
    opacity: 0.72;
    margin-top: 0.5rem;
    color: #FCF7F5;
}

/* ––––––––––– IMAGES –––––––––––  */

.image {
    width: 100%;
    height: auto;
    border-radius: 1.5rem;
}

.grid-2-column .image {
    width: 100%;
    height: auto;
    border-radius: 1rem;
}

.embed {
    border: none;
    border-radius: 1.5rem;
    width: 100%;
    max-width: 1200px;
    height: 720px;
}

/* ––––––––––– HEADER ––––––––––– */

header {
    width: 100%;
    height: 100vh;
    overflow: hidden;
    position: relative;
    border-radius: 1.5rem;
}

.vh120 {
    height: 120vh;
    margin-top: 4rem;
}

.about-header::before {    
    content: "";
    background-image: url('../images/about-header.jpg');
    background-size: cover;
    background-position: center;
    position: absolute;
    top: 0px;
    right: 0px;
    bottom: 0px;
    left: 0px;
    opacity: 0.72;
}

.header-info {
    width: 25rem;
    display: flex;
    flex-direction: column;
    gap: 0.25rem;

    position: absolute;
    top: 33%;
    right: 8%;
}

.header-info-left {
    width: 25rem;
    display: flex;
    flex-direction: column;
    gap: 0.25rem;

    position: absolute;
    top: 33%;
    left: 12%;
}

.header-info-about {
    width: 25rem;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 0.25rem;

    position: absolute;
    left: 12%;
}

#hero-ma {
    width: 110%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    left: -360px;
    top: 40px;
}

#hero-dis {
    width: 70%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    right: -80px;
}

.hero-about {
    width: 50%;
    height: 80%;
    object-fit: cover;
    object-position: left;
    position: absolute;
    right: -50px;
    top: 10%;border-radius: 1.5rem;
    opacity: 0.72;
}

.keep-reading {
    display: flex;
    flex-direction: row;
    align-items: center;
    padding: 0px 16px;
    gap: 8px;

    width: fit-content;

    font-family: "Public Sans", "Helvetica Neue", Helvetica, sans-serif;
    font-style: normal;
    font-weight: 500;
    font-size: 0.875rem;
    line-height: 2.5rem;
    text-transform: uppercase;
    text-decoration: none;
    
    background-color: transparent;
    color: #1A2023;
    border: 1.4px solid #1A2023;
    border-radius: 12px;
    transition: 300ms;
}

.keep-reading:hover {
    background-color: #1A2023;
    color: #FCF7F5;
}

.dark .keep-reading {
    border: 1.4px solid #FCF7F5;
    color: #FCF7F5;
}

.dark .keep-reading:hover {
    background-color: #FCF7F5;
    color: #1A2023;
}

.keep-reading:focus-visible {    
    box-shadow: 0px 0px 4px 2px #9F63E3;
    outline: 1px solid #9F63E3;
}

/* ––––––––––– CIRCLES ––––––––––– */

.blurcle {
    filter: blur(160px);
    -webkit-filter: blur(60px);
    width: 480px;
    height: 480px;
    mix-blend-mode: screen;
    border-radius: 200px;
}

.yellow {
    background-color: #EDBC5A;
    opacity: 0.24;

}

.orange {
    background-color: #ED8F5A;
    opacity: 0.4;
}

.purple {
    background-color: #9F63E3;
    opacity: 0.4;
}

#circle-top {
    position: absolute;
    left: -149px;
    top: 0px;
}

#circle-bottom {
    position: absolute;
    right: -85px;
    bottom: -122px;
}

#circle-left {
    position: absolute;
    left: -232px;
    bottom: -30px;
}

#circle-right {
    position: absolute;
    right: -23px;
    top: 112px;    
}

/* ––––––––––– MAIN ––––––––––– */

main {
    width: 100%;
    padding: 4rem 8rem 2.5rem;
    overflow-x: hidden;
}

section {
    max-width: 90rem;
    margin: auto;
}

hr {
    margin: 8rem auto;
    width: 50rem;
    opacity: 0.2;
}

.grid-1-column {
    width: 48rem;
    display: block;
    margin: 8rem auto;

}

.grid-2-column {
    width: 100%;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
    margin: 8rem auto;
}

.grid-2-column-text {
    width: 100%;
    display: block;
}

.grid-2-column-short {
    width: 100%;
}

.grid-3-column {
    width: 100%;
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 2.5rem;
    margin: 8rem auto;
}

.column {
    display: flex;
    flex-direction: column;
}

.metric {
    width: 100%;
    height: 12rem;
    border-radius: 1.5rem;
    margin-bottom: 1rem;
    background: linear-gradient(125deg, rgba(237, 90, 196, 0.24) 0%, rgba(237, 188, 90, 0.24) 100%);
    display: flex;
    justify-content: center;
    align-items: center;
}

.metric span {
    font-family: "Public Sans", "Helvetica Neue", Helvetica, sans-serif;
    font-style: normal;
    font-weight: 700;
    font-size: 4rem;
    line-height: 4.8rem;
    color: #1A2023;
    opacity: 0.48;
    mix-blend-mode: overlay;
}

.flexy {
    flex-grow: 2;
}

.wide {
    width: 100%;
}

.vertical {
    align-items: center;
}

@media only screen and (max-width: 999px) {

    /* ––––––––––– IMAGES ––––––––––– */

    .order-2 {
        order: 2;
    }

    /* ––––––––––– HEADER ––––––––––– */

    header {
        border-radius: 1rem;
    }
    
    .vh120{
        height: max-content;
        display: flex;
        flex-direction: column;
        gap: 2rem;
    }

    .header-info {
        width: 80%;
        top: 15%;
        right: 10%;
        align-items: center;
        text-align: center;
    }
    
    .header-info-left {
        width: 80%;
        top: 15%;
        left: 10%;
        align-items: center;
        text-align: center;
    }

    .header-info-about {
        width: 80%;
        top: 15%;
        left: 10%;
        align-items: center;
        text-align: center;
        justify-content: flex-start;
        position: relative;
        order: 0;
    }
    
    #hero-ma {
        width: 150%;
        height: 100%;
        object-fit: contain;
        position: absolute;
        left: -25%;
        bottom: -15%;
        top: unset;
    }
    
    #hero-dis {
        width: 150%;
        height: 80%;
        object-fit: contain;
        position: absolute;
        left: -25%;
        bottom: -15%;
        top: unset;
    }

    .hero-about {
        width: 100%;
        height: auto;
        object-fit: unset;
        object-position: unset;
        position: relative;
        right: unset;
        bottom: unset;
        top: unset;
        order: 2;
    }
    
    /* ––––––––––– MAIN ––––––––––– */

    main {
        width: 80%;
        padding: 2rem 0 4rem;
        margin: auto;
    }

    hr {
        width: 80%;
        margin: 5rem auto;
    }

    .grid-1-column {
        width: 100%;
        margin: 5rem auto;
    }

    .grid-2-column {
        width: 100%;
        display: flex;
        flex-direction: column;
        gap: 5rem;
        margin: 5rem auto;
    }

    .grid-2-column-short {
        width: 100%;
        min-width: unset;
        gap: 1.5rem;
    }

    .grid-3-column {
        width: 100%;
        display: flex;
        flex-direction: column;
        gap: 5rem;
        margin: 5rem auto;
    }

    footer {
        justify-content: center;
    }

}


@media only screen and (max-width: 600px) {

    /* ––––––––––– TEXT ––––––––––– */    

    h1 {
        font-size: 1.5rem;
        line-height: 2rem;
    }

    h2 {
        font-size: 1.25rem;
        line-height: 1.75rem;
    }

    h3 {
        font-size: 1rem;
        line-height: 1.5rem;
    }

    p {
        font-size: 1rem;
        line-height: 1.5rem;
    }

    ul {
        font-size: 1rem;
        line-height: 1.5rem;
    }

    .overline {
        font-size: 0.75rem;
        line-height: 1rem;
    }

    /* ––––––––––– IMAGES ––––––––––– */    
    
    .image {
        border-radius: 0.325rem;
    }

    #hero-image {
        display: none;
    }

    #hero-image-mobile {
        display: block;
    }

    .embed {
        border-radius: 1rem;
        width: 100%;
        height: 600px;
    }

    /* ––––––––––– HEADER ––––––––––– */

    .header-info {
        width: 100%;
        top: 10%;
        right: 0%;
        padding: 1rem;
        align-items: center;
        text-align: center;
    }
    
    .header-info-left {
        width: 100%;
        top: 10%;
        left: 0%;
        padding: 1rem;
        align-items: center;
        text-align: center;
    }
    
    #hero-ma {
        width: 100%;
        height: 50%;
        object-fit: cover;
        position: absolute;
        left: unset;
        bottom: 0%;
        top: unset;
    }
    
    #hero-dis {
        width: 100%;
        height: 50%;
        object-fit: cover;
        position: absolute;
        left: unset;
        right: unset;
        bottom: 0%;
        top: unset;
    }

    /* ––––––––––– MAIN ––––––––––– */    

    main {
        width: 100%;
        padding: 2rem 1rem 2rem;
    }

    hr {
        margin: 2rem auto;
    }

    .grid-1-column {
        margin: 2rem auto;
    }

    .grid-2-column {
        gap: 2rem;
        margin: 2rem auto;
    }

    .grid-2-column-short {
        gap: 1rem;
    }

    .grid-3-column {
        gap: 2rem;
        margin: 2rem auto;
    }

    hr {
        margin: 2rem auto;
    }
}

/* @media only screen and (max-height: 600px) {
    header {
        height: 60rem;
    }

    .header-info {
        top: 5%;
    }

    .header-info-left {
        top: 5%;
    }

    #hero-ma {
        bottom: -10%;
    }

    #hero-dis {
        bottom: -10%;
    }
} */