:root {
    --black: #0d1216;
    --text: #EDE9DD;
    --gray: #949494;
}

@font-face {
    font-family: Play;
    src: url(./assets/fonts/PlayfairDisplay-Regular.ttf);
}

@font-face {
    font-family: DM;
    src: url(./assets/fonts/DMSans-Regular.ttf);
}

body, main, section, h1, h2, p, a, span, div, button {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

img {
    -webkit-user-select: none;
       -moz-user-select: none;
        -ms-user-select: none;
            user-select: none;
    -webkit-user-drag: none;
}

body {
    margin: 0;
    padding: 0;
    min-height: 100vh;
    font-family: Play;
    position: relative;
    background: var(--black);
}

a {
    outline: none;
    color: #CECCC2;
    font-size: 1em;
    padding: 0.7em 2em;
    cursor: pointer;
    font-family: DM;
    border-radius: 100px;
    text-decoration: none;
    border: solid 2px #888C86;
    background: linear-gradient(0deg,#1a1f24 0%, #273232 100%);
}

main {
    height: 100%;
    overflow: hidden;
    display: flex;
    align-items: center;
    position: relative;
    background-blend-mode: soft-light;
}

body::before {
    content: '';
    width: 100%;
    height: 100%;
    position: absolute;
    background: 
    url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="100" height="100"><filter id="n" x="0" y="0"><feTurbulence type="fractalNoise" baseFrequency="0.8" numOctaves="4" /></filter><rect width="100%" height="100%" filter="url(%23n)" /></svg>') repeat;
    opacity: 0.1;
    z-index: -111;
}

.overlay {
    top: 0;
    width: 50%;
    height: 100vh;
    position: relative;
}

.overlay .image-view {
    top: 0;
    width: 100%;
    height: 100vh;
    overflow: hidden;
    position: relative;
    -webkit-mask-image: linear-gradient(to left, rgb(255 255 255 / 0%) 1%, rgb(255 255 255) 3%);
            mask-image: linear-gradient(to left, rgb(255 255 255 / 0%) 1%, rgb(255 255 255) 3%);
}

header {
    top: 1em;
    left: 50%;
    width: 100%;
    height: 4em;
    z-index: 111;
    position: absolute;
    -webkit-transform: translateX(-50%);
            transform: translateX(-50%);
}

header img {
    width: 100%;
    opacity: .8;
    height: 100%;
    -o-object-fit: contain;
       object-fit: contain;
}

.overlay .image-view img {
    width: 100%;
    height: 100%;
    -o-object-fit: cover;
       object-fit: cover;
}

.activity {
    color: var(--text);
    padding-left: 8em;
}

.activity h1 {
    font-size: 3em;
    font-weight: 100;
    line-height: 0.8em;
    margin-bottom: 0.5em;
}

.activity p {
    font-family: DM;
    font-size: 1.1em;
    color: #A19F9A;
    margin-bottom: 1.5em;
}

footer {
    left: 50%;
    width: 90%;
    bottom: 1em;
    color: var(--text);
    position: absolute;
    -webkit-transform: translateX(-50%);
            transform: translateX(-50%);
}

footer h2 {
    width: 100%;
    font-size: 3em;
    color: var(--text);
    text-align: center;
    margin-bottom: 0.5em;
    font-weight: 200;
}

footer section {
    display: flex;
    font-family: dm;
    color: var(--gray);
    justify-content: space-between;
}

footer .left {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

footer .icon {
    width: 20px;
    height: 20px;
    margin: 0 1em;
}

.icon img {
    width: 100%;
    height: 100%;
    -o-object-fit: contain;
       object-fit: contain;
}

.small-device-image {
    display: none;
}

@media only screen and (max-width: 1200px) {
    .overlay {
        width: 80%;
    }

    .activity {
        padding-left: 0;
    }

    main {
        gap: 3em;
    }
}

@media only screen and (max-width: 910px){
    main {
        height: -webkit-max-content;
        height: -moz-max-content;
        height: max-content;
        flex-direction: column;
        overflow: visible;
    }

    .small-device-image {
        display: inline-block;
    }

    .large-device-image {
        display: none;
    }

    .overlay {
        width: 100%;
        height: 60vh;
    }

    .image-view {
        width: 100%;
        overflow: hidden;
        -o-object-fit: contain;
           object-fit: contain;
        height: 100% !important;
        -webkit-mask-image: linear-gradient(to top, rgb(255 255 255 / 0%) 0%, rgb(255 255 255) 8%) !important;
                mask-image: linear-gradient(to top, rgb(255 255 255 / 0%) 0%, rgb(255 255 255) 8%) !important;
    }

    footer {
        top: 0;
        left: 50%;
        pointer-events: none;
        width: calc(100% - 2em);
    }

    footer > h2 {
        margin-top: 1em;
        font-size: 1.5em;
        text-align: left;
        pointer-events: all;
        margin-left: calc(1em - 1em);
    }

    footer section {
        left: 0;
        right: 0;
        padding: 0;
        bottom: 1em;
        font-size: 1em;
        margin: 0 auto;
        position: fixed;
        color: var(--text);
        pointer-events: all;
        width: calc(100% - 2em);
    }

    header {
        display: none;
    }

    .activity {
        height: 100%;
        padding-bottom: 3em;
        margin: 0 2em;
    }

}

@media only screen and (max-width: 425px) {
    footer section {
        flex-direction: column;
        gap: 0.5em;
    }
}