@font-face {
    font-family: 'Whyte';
    font-style: normal;
    font-weight: normal;
    src: url('/assets/fonts/ABCWhyteEdu-Medium.woff2') format('woff2'),
         url('/assets/fonts/ABCWhyteEdu-Medium.woff') format('woff');
}
@font-face {
    font-family: 'Whyte';
    font-style: italic;
    font-weight: normal;
    src: url('/assets/fonts/ABCWhyteEdu-MediumItalic.woff2') format('woff2'),
         url('/assets/fonts/ABCWhyteEdu-MediumItalic.woff') format('woff'),
  }

body {
    width: 100vw;
    height: 100vh;
    margin: 0;
    background: #fff;    
    font-family: 'Whyte';
    font-size: 1em;
    font-style: normal;
    font-weight: 480;
    line-height: 100%;
    overflow-x: hidden;
}

p,a{
    color: #000;
    text-decoration: none;
    margin: 0;
}

p {
    padding-top: 5px;
    padding-bottom: 5px;
}

li, ul {
    list-style: none;
    padding-left: 0;
    padding: 0;
    margin: 0;
}






header {
    top: 0;
    left: 0;
    width: 100vw;
    background-color:#fff;
    display: grid;
    grid-template-columns: repeat(6,1fr);
    grid-template-areas: "about about about about . contact";
    position: fixed;

}

.about {
    grid-area: about;
    padding-top: 5px;
    padding-bottom: 5px;
    padding-left: 10px;
}
.contact {
    grid-area: contact;
    padding-top: 5px;
    padding-right: 10px;
}

.contact a:link:hover {
    font-style: italic;
}





.header-notsticky {
    top: 0;
    left: 0;
    width: 100vw;
    display: grid;
    grid-template-columns: repeat(6,1fr);
    grid-template-areas: "about about about about space contact";
    position: static;
    z-index: 1;
}





.main-index {
    margin-top: 30vh;
}

.index-container {
    top: 0;
    left: 0;
    width: 100vw;
    display: grid;
    margin: 0;
    padding-top: 5px;
    padding-bottom: 5px;
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    grid-template-areas:"index-date index-title index-category index-messurements index-credits index-others";
}

.index-container:hover {
    background-color: rgb(255, 255, 122);
}

.index-date, .index-title, .index-category, .index-messurements, .index-credits {
    padding-right: 5px;
}

.index-date {
    grid-area: index-date;
    padding-left: 10px;
}

.index-title {
    grid-area: index-title;
}

.index-category {
    grid-area: index-category;
}

.index-messurements {
    grid-area: index-messurements;
}

.index-credits {
    grid-area: index-credits;
}

.index-others {
    grid-area: index-others;
    padding-right: 10px;
}







footer {
    bottom: 0;
    left: 0;
    width: 100vw;
    background-color: #fff;
    display: grid;
    grid-template-columns: repeat(6,1fr);
    grid-template-areas: "update space space space space imprint";
    position: static; 
}

footer p {
    padding-bottom: 10px;
    padding-top: 10px;
}

.update {
    grid-area: update;
    padding-left: 10px;
}
.imprint {
    grid-area: imprint;
    padding-right: 10px;
}

.imprint a:link:hover {
    font-style: italic;
}






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

    header {
        grid-template-columns: repeat(3, 1fr);
        grid-template-areas: 
            "about about about"
            "contact contact contact";
    }

    .about, .contact {
        padding-left: 10px;
        padding-right: 10px;
    }

    .about {
        padding-bottom: 0;
    }




    .header-notsticky {
        grid-template-columns: repeat(3, 1fr);
        grid-template-areas: 
            "about about about"
            "contact contact contact";
        position: relative;
    }

    .about, .contact {
        padding-left: 10px;
        padding-right: 10px;
    }

    .about {
        padding-bottom: none;
        height: auto;
    }

    .contact {
        padding-top: 0;
    }






    .index-container {
        grid-template-columns: repeat(3, 1fr);
        grid-template-areas:
        "index-date index-title index-category" 
        "index-date index-title index-messurements" 
        "index-date index-title index-credits" 
        "index-date index-title index-others";
    }

    .index-date, .index-title {
        padding-right: 5px;
    }
    
    .index-category, .index-messurements, .index-credits .index-others {
        padding-right: 10px;
    }







    
    footer {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        grid-template-areas: "update update imprint";
    }
}







@media only screen and (max-width: 600px) {
    .index-container {
        grid-template-columns: repeat(2, 1fr);
        grid-template-areas:
        "index-date index-title" 
        "index-date index-category"
        "index-date index-messurements" 
        "index-date index-credits" 
        "index-date index-others";
    }

    .index-title {
        padding-right: 10px;
    }

    .index-title, .index-category, .index-messurements, .index-credits {
        padding-left: none;
    }
    



    
    footer {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        grid-template-areas: "update  imprint";
    }
}