* {
    margin: 0;
    padding: 0;
    color:rgb(10, 12, 109);
    border-color:rgb(10, 12, 109);
}


body {
    padding: 0 0 0 0;
    margin:  0 0 0 0;
    font-family:Arial, Helvetica, sans-serif;
    cursor: url('/assets/cursor_pointer.png'), default;
    background-color:rgb(248, 253, 254);

}


header {
    border-bottom-style: solid;
    border-top-style: solid;
    border-width: 2px;
    padding-left: 1vw;
    display: flex;
    align-items: stretch;
    justify-content: space-between;
    height: 70px;
    scroll-snap-align: start;
}

header h1{
    transform: translate(0,7px);
}

.header_img {
    width: 100%;
    height: 100%;
    overflow: hidden;
    object-fit: cover;
}

.header_img_logos {
    width: 100%;
    height: 70vh;
    overflow: hidden;
    object-position: top;
    object-fit: cover;
}

@font-face {
  font-family: myFont_header; /* set name */
  src: url(assets/fonts/badger/Badger.otf); /* url of the font */
  font-weight: none;
}

h1 {
    font-family: "Cossette Titre", sans-serif;
    font-weight: 700;
    font-size: 60px;
    transform: translate(0,-4px);
    line-height: 98%;
}

p {
    font-family: "Fragment Mono", monospace;
    font-weight: 400;
    font-style: normal;
    font-size: 13px;
    hyphens: auto;
}

p + p {
    text-indent: 3em;
}

p a{
    cursor: url('/assets/cursor_klick.png'), pointer;
}

u {
    text-decoration: underline;
    text-underline-offset: 4px;
    text-decoration-thickness: 2px;
}

li {
    font-family: "Cossette Titre", sans-serif;
    font-weight: 700;
    font-style: normal;
    font-size: 20px;
}

a {
    text-decoration: none;
}

.pageList {
    display: flex;
    align-items: stretch;
    list-style: none;
    height:100%;
    
}

.pageList a {
    display: flex;
    justify-content: center;
    padding: 0px 20px 0px 20px;
    width: 5vw; max-width: 60px;
    border-left: 2px solid;
    display:flex;
    align-items: center;
    cursor: url('/assets/cursor_klick.png'), pointer;
}

.filtering select{
    cursor: url('/assets/cursor_klick.png'), pointer;
}

.intro{
    display: grid;
    gap: 1.5vw;
    grid-template-columns: 1fr 5fr;
    padding: 2vh 1vw 2vh 1vw;
}

.logo_grid{
    display: grid;
    gap: 1.5vw;
    grid-template-columns: 1fr 1fr 1fr 2fr;
    padding: 2vh 1vw 2vh 1vw;
}

.logo_grid img{
    width: 100%;
}

.fox_logo{
    grid-row: 1 / span 2;
    grid-column-start: 4;
}

.fox_logo2{
    display: flex;
    flex-direction: column;
    justify-content: end;
}

.logo_grid p{
    grid-column: 2 / span 2;
}

.logo_grid pre{
    color:hsl(212, 25%, 32%);
}

.paragraph {
    column-count: 3;
}


/* ARCHIVE page */
.main{
    display: flex;
    flex-direction: column;
    justify-content: center;
    height:100%;
    padding: 1vw;
}

.filtering{
    display: flex;
    flex-direction: row;
    align-items: center;
    padding-bottom: 1vh;
    padding-right: 2vw;
}

.filtering select{
    border-radius: 4px;
    margin-left: 5px;
    font-weight: bold;
    padding: 2px;
    margin-right: 2vw;

}

.main_gallery{
    display: grid;
    justify-content: center;
    height:100%;
    grid-template-columns: 1fr 1fr 1fr 1fr;
    gap: 0px;
}


.card{
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    outline: 1px solid;
    outline-offset: -.5px;
}

.card img{
    width: 90%;
    height: auto;
    display: block;
    object-fit: contain;
}

.overlay{
    position: absolute;
    top:0;
    bottom:0;
    left:0;
    right:0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: center;
    background-color: rgba(10, 12, 109, 85%);
    border-radius: 5px;
    opacity:0;
    transition: opacity 0.5s;
}

.overlay li{
    list-style: none;
    color:ghostwhite;
    font-weight: bolder;
}

.card:hover .overlay {
    opacity: 1;
}

.overlay_registration {
    position: absolute;
    inset: 0;                
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 1fr 1fr;
    pointer-events: none;  
}

.crop_mark {
    width: 10px;
    height: 10px;
    border-radius: 100px;
}

.top-left {
    justify-self: start;
    align-self: start;
    transform: translate(-50%, -50%);
    background-color: rgb(10, 12, 109); ;
}

.top-right {
    justify-self: end;
    align-self: start;
    transform: translate(50%, -50%);
    background-color: rgb(10, 12, 109); ;
}

.bottom-left {
    justify-self: start;
    align-self: end;
    transform: translate(-50%, 50%);
    background-color: rgb(10, 12, 109); ;
}

.bottom-right {
    justify-self: end;
    align-self: end;
    transform: translate(50%, 50%);
    background-color: rgb(10, 12, 109); ;
}

/* ABOUT page */
.storytelling_grid {
    display: grid;
    gap: 1vw;
    flex: 1;
    grid-template-columns: 1.5fr 3fr 3.4fr;
    padding: 2vh 1vw 2vh 1vw;
}
.storytelling_grid_2 {
    display: grid;
    gap: 1vw;
    grid-template-columns:repeat(6, 1fr);
    padding: 2vh 1vw 2vh 1vw;
}


/*
.storytelling_grid > :nth-child(2) {
    grid-column: 2 / span 2;
}
*/
.img_grid_container{
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-self: start;
    gap: 1vw;
}

.column_height_img{
    max-height: 64%;
    object-fit: contain;
}

.storytelling_grid img {
    width: 100%;
}
.storytelling_grid_2 img {
width: 100%;
}

.picture_slide {
    scroll-snap-align: start;
    padding: 1vh 1vh 2vh 1vh;
    position: relative;
    display: block;
    height: 100vh;
    overflow: hidden;
}

.picture_slide img{
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    object-position: center;
    position: relative;
}

.picture_slide h1{
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    font-size: 20vw;
    letter-spacing: -4%;
}

.slide1 {
    scroll-snap-align: start;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content:space-between;
}

.slide2 {
    scroll-snap-align: start;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.slide3 {
    scroll-snap-align: start;
    height: 100vh;
}
.slide4 {
    scroll-snap-align: start;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content:space-between;
}

.slide4 > .storytelling_grid {
    display: grid;
    gap: 1vw;
    flex: 1;
    grid-template-columns: 1fr 1fr 1fr;
    padding: 2vh 1vw 2vh 1vw;
}


/* Phone versions */
@media (max-width: 1000px) {

    .storytelling_grid {
        grid-template-columns: 1fr 1fr;
    }

    .storytelling_grid > :nth-child(3) {
        grid-column: span 2;
    }

    .storytelling_grid_2 {
        display: grid;
        gap: 1vw;
        grid-template-columns:repeat(3, 1fr);
        padding: 2vh 1vw 2vh 1vw;
    }

    .img_grid_container{
        grid-template-columns: 1fr 1fr 1fr 1fr;
        align-self: flex-end;
    }

    .main_gallery {
        grid-template-columns: 1fr 1fr;
    }


    .logo_grid {
        display: grid;
        grid-template-columns: 1fr 1fr;
    }


    /* Now re-place only what you need */
    .fox_logo {
        grid-column: 2 / -1;
    }

    .logo_grid p {
        grid-column: 1 / -1;
    }

    .slide3{
        height: auto;
    }

    .paragraph{
        column-count: 1;
    }
}