/* @font-face {
    font-family: 'MD Nichrome Test';
    src: url('MDNichromeTest-Dark.woff2') format('woff2');
}

@font-face {
    font-family: 'Beatrice Trial';
    src: url(https://drive.google.com/file/d/1BC1PORotnN8TKsDAXPihOKfqG2A5gjNP/view?usp=share_link);
} */

@font-face {
    font-family: 'MDNichrome';
    src:
        local('MDNichromeTest-Dark'),
        url('./Fonts/MDNichromeTest-Dark.woff2') format('woff2'),
        url('./Fonts/MDNichromeTest-Dark.otf') format('opentype');
}

@font-face {
    font-family: 'Beatrice';
    src:
        local('BeatriceTRIAL-Regular'),
        url('./Fonts/BeatriceTRIAL-Regular.otf') format('otf');
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0 auto;
    height: 100%;
    color: #FFE8FF;
    overflow-x: hidden;
}

.header {
    margin-top: -10em;
}


h1, h2 {
    font-family: "alverata", 'MD Nichrome Test';
    font-weight: bold;
    font-size: 3.5em;
    line-height: 90%;
}

h1 {
    line-height: 90%;
    letter-spacing: -0.02em;
}

h2 {
    margin: 2em auto;
}

p {
    font-family: 'Work Sans', 'Beatrice', sans-serif;
    line-height: 180%;
    font-size: 1.5em;
}

#index-body {
    background: radial-gradient(circle at bottom, #1677e5, #62ABFF);
    max-width: 320px;
}

.index-wrap {
    display: flex;
}

.flex-wrap {
    display:flex;
    flex-direction: column;
    position: fixed;
}

.col {
    height: 50vh;
    overflow: scroll;
}

.half-col {
    width: 100%;
}

button {
    width: 250px;
    max-width: 250px;
    height: 250px;
    max-height: 250px;
    border-radius: 50%;
    border: solid 4px;
    font-family: 'SF Pro';
    font-size: 3em;
    background-color: transparent;
    margin: 2em auto;
    cursor: pointer;
    color: #FFE8FF;
    text-align: center;
    margin-bottom: 1em;
    z-index: 0;
}

button:hover {
    color: black;
    border: none;
    background-color: #FFE8FF;
    transition: 750ms cubic-bezier(0.19, 1, 0.22, 1);
}

.flanime {
    animation: flanime ease 6s;
    animation-iteration-count: 1;
    animation-fill-mode: forwards;
    mix-blend-mode: screen;
    display: flex;
    flex-direction: column;
    height: auto;
    width: 30em;
    margin-top: -10em;
    transform-origin: center right 50px 50px;
    align-items: center;
    justify-content: center;
    margin-left: 12em;
    position: relative;
}

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

.large-gap-div {
    height: 30em;
    z-index: 3;
}

.medium-gap-div {
    height: 20em;
    z-index: 3;
}

.small-gap-div {
    height: 10em;
    z-index: 3;
}

@media (min-width: 960px) {
    .half-col, .header {
        margin: auto 4em;
    }
    
    .header {
        margin-top: -60em;
    }
    
    #index-body {
        background: radial-gradient(circle at bottom, #1677e5, #62ABFF);
        margin: 0 1em;
    }
    
    .index-wrap {
        display: flex;
        align-items: center;
        justify-items: center;
    }
    
    .flex-wrap {
        display:flex;
        flex-direction: row;
        position: fixed;
    }
    
    .col {
        width: 50%;
        overflow: scroll;
        height: 100vh;
        overflow-x: hidden;
    }
    
    .half-col {
        width: 100%;
        padding: 6% 12%;
    }
    
    h1, h2 {
        font-family: "alverata", 'MD Nichrome Test';
        font-weight: bold;
        font-size: 12em;
        line-height: 90%;
        margin-top: 1.5em;
    }
    
    h1 {
        line-height: 90%;
        letter-spacing: -0.02em;
    }
    
    h2 {
        margin-top: 2em;
    }
    
    p {
        font-family: 'Work Sans', sans-serif;
        line-height: 180%;
        letter-spacing: -0.03em;
        font-size: 1.2em;
    }
    
    button {
        width: 250px;
        max-width: 250px;
        height: 250px;
        max-height: 250px;
        border-radius: 50%;
        border: solid 4px;
        font-family: 'SF Pro';
        font-size: 3em;
        background-color: transparent;
        margin: 2em auto;
        cursor: pointer;
        color: #FFE8FF;
        text-align: center;
        margin-bottom: 1em;
        z-index: 0;
    }
    
    button:hover {
        color: black;
        border: none;
        background-color: #FFE8FF;
        transition: 750ms cubic-bezier(0.19, 1, 0.22, 1);
    }
    
    ::-webkit-scrollbar {
    display: none;
    }
    
    .large-gap-div {
        height: 30em;
        z-index: 3;
    }
    
    .medium-gap-div {
        height: 20em;
        z-index: 3;
    }
    
    .small-gap-div {
        height: 10em;
        z-index: 3;
    }

    .flanime {
        animation: flanime ease 6s;
        animation-iteration-count: 1;
        animation-fill-mode: forwards;
        mix-blend-mode: screen;
        display: flex;
        flex-direction: column;
        height: auto;
        width: 30em;
        margin-top: -10em;
        transform-origin: center right 50px 50px;
        align-items: center;
        justify-content: center;
        margin-left: 12em;
        position: relative;
    }

    @keyframes flanime {
        0% {
            transform: rotate(15deg);
        }
        100% {
            transform: rotate(-20deg);
        }
    }
}