/* ============ TEXT STYLES ============ */

@font-face {
    font-family: 'bocca';
    src: url(Bocca.otf);
}

@font-face {
    font-family: 'officeCodePro';
    src: url(../assets/OfficeCodePro-Regular.otf);
}

h1 {
    font-family: 'bocca';
    font-weight: normal;

    color: bisque;

    margin-top: 0;
    margin-bottom: 0px;
}

h2 {
    font-family: 'bocca';
    font-weight: normal;
    font-size: 10em;

    color: bisque;

    line-height: 120px;
}

h3 {
    /* for grid letters */
    font-family: 'bocca';
    font-weight: normal;
    font-size: 150px;

    color: bisque;

    padding: 0%;
    margin: 0%;

    letter-spacing: 0.16em;
    line-height: 0.84em;
}

.accent {
    line-height: 1em;
}

.p1 {
    font-family: 'officeCodePro';
    font-size: 25px; 
    
    color: bisque;
}

.p2 {
    font-family: 'officeCodePro';
    font-size: 1.2em; 

    color: bisque;
}

a {
    text-decoration: none;
    color: inherit;
}

a :hover {
    color:rgb(235, 210, 30) ;
    cursor: pointer;
}

.fit {
    white-space: nowarp;
    display: inline;
}

/* ============ Layout ============ */

.html, body {
    margin: 0px;
    background-color: rgb(17, 16, 16);
}

canvas {
    position: absolute;
    left: 0%;
}

.full_screen {
    position: relative;
    left: 0px;
    width: 100%;
    height: 100vh;
}

.main_display {
    display: flex;
    flex-direction: column;
    width: 90%;
    margin: auto;
}

.content_row {
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    align-content: flex-start;
}

.grid_letters {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;

    justify-content: space-between;
    align-content: flex-start;
}

/* ============ MISC ============ */

#font_info {
    width: 50%; 
    margin-right: 30px;
}

#animation {
    float: right; 
    max-width: 100%; 
    margin-top: 17px;
}

.cell {
    -webkit-box-flex: 1;
    -moz-box-flex: 1;
    box-flex: 1;
    -webkit-flex: 1 1 auto;
    flex: 1 1 auto; 
}

#short_quote {
    text-align: center; 
    font-size: 12vw; 
    margin-top: 20%;
    margin-left: 10%;
}

#numbers {
    flex: 0 0 auto; 
    width: 245px;
}

#extra_accents_1 {
    flex-direction: column;
}

#extra_accents_2 {
    flex-direction: column;
}

#type_tester {
    text-align: center;
}

#text_Graphic {
        height: 110vh;
        display: flex; 
        flex-direction: column; 
        align-items: center; 
        justify-content: space-evenly; 
    }

/* ============ Media Queries ============ */

@media screen and (min-width: 1250px) {

    #short_quote {
        line-height: 0.75em;
        margin-top: 5%;
    }

}

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

    /* row_2 stuff */

    #row_2 {
        flex-direction: column;
    }

    #font_info {
        width: 100%;
        margin-right: 0px;
    }

    #animation {
        float: none;
    }

    .cell {
        display: flex;
        justify-content: space-around;
    }

    /* row_3 stuff */

    #short_quote {
        font-size: 10vw;
        line-height: 16vw;
        margin-left: 12vw;
        margin-top: 2%;
        width: 60%;
    }

    .number {
        font-size: 22vw;
    }

    #numbers {
        width: 40%;
    }

    #row_5 {
        font-size: 17vw;
        line-height: 1em;
    }

    #type_tester {
        font-size: 20vw;
        line-height: 1em;
    }

}

@media screen and (max-width: 970px) {
    #row_7 {
        flex-direction: column;
    }

    #extra_accents_1 {
        flex-direction: row;
    }

    #extra_accents_2 {
        flex-direction: row;
    }
}

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

    #text_Graphic {
        height: 140vw;
    }
    
}