@font-face {
    font-family: 'Avara-Bold';
    src: url('/fonts/Avara-Bold.eot');
    src: url('/fonts/Avara-Bold.woff2') format('woff2'),
         url('/fonts/Avara-Bold.woff') format('woff'),
         url('/fonts/Avara-Bold.ttf') format('ttf');
    font-display: swap;
}

@font-face {
    font-family: 'Avara-Bold Italic';
    src: url('/fonts/Avara-BoldItalic.eot');
    src: url('/fonts/Avara-BoldItalic.woff2') format('woff2'),
         url('/fonts/Avara-BoldItalic.woff') format('woff'),
         url('/fonts/Avara-BoldItalic.ttf') format('ttf');
    font-display: swap;
}

body {
    background: white;
    color: black;
    text-align: center;
    font-family:'Avara-Bold', Times, serif;
    font-size: 32pt;
}

body.black {
    background: black;
    color: white;
    text-align: center;
}

body.scroll {
    height: 100vh;
    overflow-y: auto;
    white-space: pre-wrap; /* So newlines show up */
}

a:hover {
    /*
    font-family: 'Avara-Bold Italic', 'Avara-Bold', Times, serif;
    font-style: italic;
    */
}

.post-it {
    position: absolute;
    /* Currently not showing because not sure anymore if I like them or not. */
    display: none;
    top: 10%;
    right: 10%;
    width: 33%;
    height: 33%;
    background-color: #ffd100;
    z-index: 10;
}

.post-it-header {
    height: 25px;
    text-align: left;
}

.post-it-close {
    padding-top: 2px;
    padding-left: 16px;
    width: 20px;
    height: 20px;
}

.post-it-text {
    display: flex;
    align-items: center;
    justify-content: center;
    color: black;
    height: 50%;
    font-size: 24pt;
    padding: 0 10%;
}

.pop-up {
    position: fixed;
    background-color: #dddddd;
    color: black;
    z-index: 10;
    box-shadow: 10px 5px 5px #666666;
}

.pop-up-large {
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 50%;
    height: 50%;
}

.pop-up-one {
    transform: translate(-60%, -60%);
    z-index: 40;
}

.pop-up-two {
    transform: translate(-55%, -55%);
    z-index: 30;
}

@media only screen and (max-width: 768px) {
    .post-it-close {
        width: 40px;
        height: 40px;
        padding-top: 12px;
    }
    .post-it-text {
        font-size: 0.625em;
        height: 70%;
    }
    .pop-up-large {
        width: 80%;
        height: 50%;
    }
}

.pop-up-scroll {
    top: 20%;
    right: 50px;
    width: 25%;
    height: 300px;
    z-index: 1000;
}

.pop-up-scroll-text {
    display: flex;
    align-items: center;
    justify-content: center;
    color: black;
    height: 100%;
}

.small-text {
    font-size: 16pt;
}

.about-me {
    margin-bottom: 0;
}

.instruction {
    font-size: 16pt;
    text-align: center;
    margin: 0;
}

.basic-button {
    position: relative;
    top: -5px;
    padding: 4px 8px 0px 8px;
    background-color: black;
    border: 2px solid white;
    color: white;
    border-radius: 5px;
    height: 32px;
    text-transform: uppercase;
    font-weight: bold;
    font-family:'Avara-Bold', 'Avara';
    cursor: pointer;
}

.basic-button-outline {
    position: relative;
    top: -5px;
    padding: 24px 24px 0px 24px;
    background-color: black;
    border: 2px solid white;
    color: white;
    border-radius: 5px;
    height: 32px;
    text-transform: uppercase;
    font-weight: bold;
}

@media only screen and (max-width: 768px) {
    .basic-button {
        font-size: 0.5em;
        height: 2em;
        padding: 0.5em 0.5em 0.25em 0.5em;
        margin-bottom: 0.5em;
    }
    .basic-button-outline {
        font-size: 1em;
        height: 2em;
        padding: 0.5em 1em 0.25em 1em;
    }
}

.text-body {
    top: 0;
    width: 50%;
    margin: auto;
    font-size: 24pt;
    text-align: left;
}

.text-body a {
    color: white;
}

.text-body a:hover {
    color: rgb(187, 232, 249);
}   

.text-body h2 {
    text-align: center;
}

@media only screen and (max-width: 768px) {
    .text-body {
        font-size: 0.625em;
        width: 80%;
    }
}

.flex {
    display: flex;
}

.flex-row {
    flex-direction: row;
}

.drawing-title {
    font-family:'Avara-Bold', 'Avara';
    font-weight:700;
    margin-bottom: 0;
}

.image-container {
    position: relative;
    display: inline-block;
}

.drawing {
    height: 80vh;
    width: auto;
    display: block;
}

.process {
    margin-right: 10%;
}

.legend-container {
    position: absolute;
    bottom: 0;
    right: -6vh;
    display: flex;
    flex-direction: column;
    gap: 0.125em;
    font-size: 0.5em;
    cursor: pointer;
    min-width: 0;
}

.legend-item {
    display: flex;
    align-items: center;
    color: black;
    gap: 0.5em;  
}

.legend-item > div {
    min-width: 0;
    flex-shrink: 1;
}

.legend-item a:hover > div {
    color: #040484;
}

.legend-image {
    height: 4vh;
    width: auto;
    text-align: left;
}

.legend-text a {
    color: black;
}

.margin-left-24 {
    margin-left: 24px;
}

.selfie {
    position: absolute;
    width: 80%;
    left: 10%;
}

.scroll-indicator {
    position: fixed;
    top: 32px;
    left: 0;
    transform: rotate(-90deg);
    font-size: 120pt;
    font-family: 'Avara-Bold', 'Avara';
    font-weight: 700;
    color: black;
    z-index: 10;
    transform-origin: left center;
}

.scroller {
    scroll-behavior: smooth;
}

.event-title {
    font-family: 'Avara-Bold', 'Avara';
    font-weight: 700;
    font-size: 100pt;
    -webkit-text-stroke: 4px #f3f3f3;
    color: transparent;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 80vh;
    width: 100%;
}

.wormhole {
    position: absolute;
    width: 10%;
    height: 10%;
    cursor: none;
}

@media only screen and (max-width: 768px) {
    .phone-container {
        width: 100%;
        height: 100vh;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
    }

    .phone-container .drawing {
        width: 80vw;
        height: auto;
    }

    .phone-container h1 {
        font-size: 1.25em;
    }

    .phone-container .legend-container {
        font-size: 0.375em;
        top: 90%;
        right: -4vh;
    }

    .phone-container .legend-image {
        height: 3vh;
        width: auto;
    }

    .phone-container .margin-left-24 {
        margin-left: 12px;
    }

    .phone-container .detecting-container {
        bottom: -15%;
    }

    .phone-selfie {
        width: 600vw;
        height: auto;
    }

    .phone-selfie-scroll {
        height: 200vh;
        width: auto;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
    }

    .phone-selfie-scroll img {
        height: 200vh;
        width: auto;
    }

    .pop-up-scroll {
        display: none;
    }
}
