/* Typography */
@font-face {
    font-family: 'Sentient' ;
    src: url('./assets/fonts/Sentient/Sentient-Variable.woff2') format('woff2');
    font-weight: 200 700;
}

@font-face {
    font-family: 'JetBrains Mono' ;
    src: url('./assets/fonts/JetBrains Mono/JetBrainsMono-VariableFont_wght.ttf') format('truetype');
    font-weight: 200 700;
}

h1 {
    font-family: 'Sentient';
    font-style: normal;
    font-weight: 700;
    font-size: 8rem;
    line-height: 13.625rem;
    padding: 0px;
    margin: 0px;
    border: 0px;
    color: #101828;
}

h2 {
    font-family: 'Sentient';
    font-style: normal;
    font-weight: 500;
    font-size: 2rem;
    line-height: 2.75rem;
    padding: 0px;
    margin: 0px;
    border: 0px;
    color: #101828;
}

h3 {
    font-family: 'Sentient';
    font-style: italic;
    font-weight: 500;
    font-size: 1.25rem;
    line-height: 1.688rem;
    padding: 0px;
    margin: 0px;
    border: 0px;
    color: #101828;
}

h4 {
    font-family: 'JetBrains Mono';
    font-style: normal;
    font-weight: 500;
    font-size: 0.875rem;
    line-height: 1.125rem;
    padding: 0px;
    margin: 0px;
    border: 0px;
    color: #98A2B3;
}

p {
    font-family: 'Sentient';
    font-style: normal;
    font-weight: 400;
    font-size: 1rem;
    line-height: 1.375rem;
    padding: 0px;
    margin: 0px;
    border: 0px;
    color: #101828;
}

/* Global */

body {
    margin:0;
    padding:0;
    font-family: sans-serif;
}

a, a:hover, a:visited {
    color: #0071bc;
}

/* Mapbox */

#map {
    top:0;
    height: 100vh;
    width:100vw;
    position: fixed;
}

#header {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100vh;
    position: relative;
    z-index: 5;
}

#header h1 {
    position: absolute;
}

#header img {
    width: 80vw;
    height: auto;
}

@media screen and (max-width: 760px) {
    #header h1 {
        font-size: 3.6rem;
        position: absolute;
    }
}

@media screen and (min-width: 1200px) {
    #header img {
        width: 64vw;
    }
}

#footer {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100vh;
    position: relative;
    z-index: 5;
}

#footer p {
    width: 33%;
}

@media screen and (max-width: 760px) {
    #footer p {
        width: 80%;
    }
}

@media screen and (min-width: 1200px) {
    #footer p {
        width: 33%;
    }
}

#features {
    padding-top: 10vh;
    padding-bottom: 10vh;
}
.hidden {
    visibility: hidden;
}
.centered {
    width: 33vw;
    margin: 0 auto;
}
.lefty {
    width: 33vw;
    margin-left: 5vw;
}
.righty {
    width: 33vw;
    margin-left: 62vw;
}
.fully {
    width: 100%;
    margin: auto;
}
.light {
    color: #444;
    background-color: #FFFFE3;
}
.dark {
    color: #fafafa;
    background-color: #444;
}
.step {
    padding-bottom: 50vh;
    /* margin-bottom: 10vh; */
    opacity: 0.25;
}
.step.active {
    opacity: 0.99;
}

.step div {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 1rem;
    gap: 0.75rem;
    /* Paper */
    background: #FFFFE3;
    /* Paper Border */
    border: 1px solid #E2E2CA;
    /* Shadow */
    box-shadow: 0px 1px 3px rgba(16, 24, 40, 0.12);
    border-radius: 24px;
}

.step img {
    width: 100%;
    height: auto;
    border-radius: 8px;
}

@media (max-width: 750px) {
    .centered, .lefty, .righty, .fully {
        width: 90vw;
        margin: 0 auto;
    }
}

/* Fix issue on mobile browser where scroll breaks  */
.mapboxgl-canvas-container.mapboxgl-touch-zoom-rotate.mapboxgl-touch-drag-pan, 
.mapboxgl-canvas-container.mapboxgl-touch-zoom-rotate.mapboxgl-touch-drag-pan .mapboxgl-canvas {
    touch-action: unset;
}
