@font-face {
    font-family: league-spartan;
    src: url(./fonts/woffs/LeagueSpartan-VariableFont_wght.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 {
        
        min-height: 100vh;
        max-width: 100vw;
        display: block;
        /* 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: 95vw;
        justify-items: center;
        max-width: 90%;
        /* max-width: 80vw; */
        min-height: 100vh;
        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;
        /* padding: 10px;
        padding-left: 40px; */
        padding-left: 2.5%;
        min-width: 95%;
        padding-right: 2.5%;
        /* position: relative; */
        font-size: 20px;
    }
    
    body div.content-abt {      
        min-height: 0.8em;
        /* padding: 10px;
        padding-left: 40px; */
        padding-left: 10%;
        min-width: 80%;
        padding-right: 0%;
        /* position: relative; */
        font-size: 20px;
    } 

    .pifheaderleft, .pifheaderright {
       

        display: flex;
        flex-flow: row wrap;
        justify-content: space-evenly;
        align-items: center;
        top: 0px;
        padding-left: 2.5%;
        min-width: 95%;
        padding-right: 2.5%;
        font-size: 1rem;
    }

    .pifheaderleft {
        writing-mode: horizontal-tb;
    }

    .pifheaderright {
        writing-mode: horizontal-tb;
    }

}

/* tablets and desktops */
@media screen and (min-width: 1000px){ 
     html {
        
        height: 100vh;
        width: 100vw;
        display: block;
        justify-content: center;
        align-items: center;
        
    }
    body div.content-faq, body div.content-abt {
        min-height: 100vh;
        max-width: 95vw;
        position: relative;
        font-size: 20px;
    }



    body {
        display: grid;
        grid-template-columns: 10vw 80vw 10vw;
        margin: 0;
        padding: 0;
        grid-template-rows: 100vh;
        width: 100vw;
        height: 100vh;
        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%;
}

body div.content-abt {
        display: grid;
        grid-template-columns: 30% 80%;
        grid-template-rows: 100%;
        align-items: center;
        -ms-grid-column-align: center;
        justify-self: center;
        justify-items: center;
        
    }

figure {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-direction: column;
    margin: 0;
}

section.abtl{
    max-width: 100%;
    text-align: justify;
}
   
section.abtr{
    max-width: 70%;
} 

figcaption {
        text-align: center;
}

div.content-abt img {
    max-width: 60%;
    justify-content: center;
    align-items: center;
}
.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;
}