@import "highlights.css";
@font-face {
    font-family: league-spartan;
    src: url(./fonts/woffs/LeagueSpartan-Bold.woff);
}

html {
    margin: 0;
    padding: 0;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
    }

/* phones */
@media screen and (max-width: 1000px){
    html {
        
        height: 100%;
        margin-left: 2.5vw;
        width: 93vw;
        margin-right: 2.5vw;
        display: block;
        justify-self: center;
        /* grid-template-columns: 100vw;
        grid-template-rows: 100vh; */
        justify-content: center;
        align-items: center;
        /* overflow-x: hidden; */
        
    }
    body {
        
        display: grid;
        grid-template-rows: 100px 8fr 100px;
        margin: 0px;
        padding: 0px;
        grid-template-columns: 100%;
        justify-self: center;
        justify-items: center;
        align-items: center;
        max-width: 100%;
        /* max-width: 80vw; */
        min-height: 100%;
        background-color: #dcdcdc;
        font-family: league-spartan; /* find a suitable free alternative to Futura */
        font-size: 1.25rem;

    }
    body div.content-faq {      
        min-height: 0.8em;
        align-self: start;
        /* padding: 10px;
        padding-left: 40px; */
        /* padding-left: 2.5%;
        min-width: 95%;
        padding-right: 2.5%; */
        margin-left: 2.5%;
        min-width: 95%;
        margin-right: 2.5%;
        position: relative;
        font-size: 20px;
    }
    .pifheaderleft, .pifheaderright {
       

        display: flex;
        flex-flow: row wrap;
        justify-content: space-evenly;
        align-items: center;
        top: 0px;
        margin-left: 2.5%;
        min-width: 95%;
        margin-right: 2.5%;
        font-size: 1rem;
        min-height: 100px;
    }

    .pifheaderleft {
        writing-mode: horizontal-tb;
    }

    .pifheaderright {
        writing-mode: horizontal-tb;
    }

}

/* tablets and desktops */
@media screen and (min-width: 1000px){ 
     html {
        
        height: 100%;
        margin-left: 2.5vw;
        width: 95vw;
        margin-right: 2.5vw;
        display: grid;
        justify-self: center;
        /* grid-template-columns: 100vw;
        grid-template-rows: 100vh; */
        /* justify-content: center; */
        align-items: center;
        /* overflow-x: hidden; */
        
    }
    body div.content-faq {
        min-height: 100vh;
        max-width: 90vw;
        position: relative;
        font-size: 20px;
    }
    body {
        display: grid;
        grid-template-columns: 10% 80% 10%;
        justify-self: center;
        margin: 0;
        padding: 0;
        grid-template-rows: 100vh;

        width: 100%;
 
        min-height: 100%;
        background-color: #dcdcdc;
        font-family: league-spartan; /* find a suitable free alternative to Futura */
        
    }

    .pifheaderleft, .pifheaderright {
        writing-mode: vertical-rl;
        display: flex;
        flex-flow: row wrap;
        position: sticky;
        justify-content: space-evenly;
        align-items: center;
        top: 0px;
        height: 100vh;
        font-size: 1.25em;
    }

    .pifheaderleft {
        writing-mode: vertical-rl;
        transform: rotate(180deg);
    }

    .pifheaderright {
        writing-mode: vertical-lr;
        transform: rotate(0deg);
    }
}

/*common*/
body br {
    display: block;
}
body img {
    max-width: 100%;
}


.pifheaderleft a, .pifheaderright a {
    text-decoration: none;
}
.content {
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    flex-direction: column;
}

a:link {
    color: black;
}
a:visited {
    color: black;
}

a:hover{
    text-decoration: underline;
}



pre {
    max-width: 100vw;
    display: block;
    overflow-x: scroll;
    background-color: #282828;
    color: white;
    font-size: 0.9em;
    border-radius: 5px;
    padding-left: 20px;
    padding-top: 10px;
    padding-bottom: 10px;
    padding-right: 10px;
}


code, code span {
    /* max-width: 100%; */
    max-width: 100vw;
    overflow-x: scroll;
    overflow-wrap: break-word;
}