* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body{
    background-color: whitesmoke;
}

@font-face {
    font-family: palace; /* set name */
    src: url(assets/PalaceRegular.woff); /* url of the font */
}
@font-face {
  font-family: palace-italic; /* set name */
  src: url(assets/PalaceItalic.woff); /* url of the font */
}

p{
    font-family: palace;
    font-weight: 400;
    font-size: 2.5em;
    line-height: 110%;
}

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

h1{
    font-family: palace;
    text-align: center;
    font-size: 18vw;
    font-weight: 400;
    line-height: 75%;
    transform: translate(0,0.07em);
    padding-top: 1vh;
    text-transform: uppercase;

}

h2{
    font-family: palace-italic;
    font-size: 4vw;
    font-style: normal;
    font-weight: 400;
}

h3{
    font-family: palace;
    font-size: 8vw;
    font-style: normal;
    font-weight: 400;
    text-transform: uppercase;
}
h4{
    font-family: palace;
    font-size: 4vw;
    font-style: normal;
    font-weight: 400;
}

h5{
    font-family: palace;
    font-size: 4vw;
    font-style: normal;
    font-weight: 400;
    text-align: center;
}

/*----- HOMEPAGE ----*/

.slide{
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    height: 100dvh;
    width: 100vw;
    padding: 1vh;
    color: #E6E6E6;   
}

.slide h2{
    text-align: center;
}

.button_container{
    width: 50%;
    display: flex;
    flex-direction: row;
    justify-content: space-evenly;
}

.button_container a{
    color: #E6E6E6;
}
.button_container a > h4{
    font-size: 2vw;
}

.header{
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    height: 3vh;
    width: 100%;
}

.header img{
    height:180%;
}

.slide:nth-child(1){
    background-image: url("images/Bocuse-platter-TEASER-tall.jpg");
    background-size: cover;
    background-position: center;
}
.slide:nth-child(2){
    display: grid;
    grid-template-columns: 1fr 1fr;
    column-gap: 1vh;
}

.menu_button{
    display: grid;
    flex-direction: column;
    position: relative;
    height: 100%;
}

.menu_button h1{
    position: absolute;
    justify-self: center;
    text-align: center;
    font-size: 8vw;
    top: 37%;
}

.menu_button:nth-child(2) > img{
    object-fit: cover;
    width: 100%;
    height: 100%;
}
.menu_button > img{
    object-fit:none;
    object-position: 15% 65%;
    width: 100%;
    height: 100%;
}

/* --- Menu page --- */

.menu{
    display: grid;
    height: 100dvh;
    grid-template-columns: 1fr;
    overflow-y: scroll;
    scroll-snap-type: y mandatory;
}

.by_johan{
    padding-top:4vh;
}

.platter_theme{
    background-image: url(images/menu1.jpg);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    color: white;
    text-align: center;
}

.plate_theme{
    background-image: url(images/menu3.jpg);
    background-size: inherit;
    background-position-x: -300px;
    background-position-y: center;
    background-repeat: no-repeat;
    text-align: center;
}

.pdf_download_button{
    text-align: center;
    align-self: center;
    border: .5px solid;
    padding: 2vw;
    margin:auto;
    border-radius: 20px;
    background-color: rgba(0, 0, 0, .3);
}

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

.menu h1{
    font-size: 16vw;
}


.dish img{
    object-fit: cover;
    grid-area: dishImg;
    width: 100%;
    height: 100%;

}
.dish2 img{
    object-fit: cover;
    grid-area: dishImg;
    width: 100%;
    height: 100%;
}

.item2{
    grid-area: dishName;
    padding: 1vw;
    justify-self: top;
}
.item3{
    grid-area: dishInfo;
    padding: 1vw;
    align-self: end;
}

.dish h2{
    text-align: center;
}
.dish h1{
    padding-top: 1vh;
}

.dish{
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr;
    grid-template-areas:    'dishImg dishImg dishName dishName'
                            'dishImg dishImg dishInfo null'
                            'dishImg dishImg dishInfo null'
                            'dishImg dishImg dishInfo null'
                            'dishImg dishImg dishInfo null';
    height: 100dvh;
    scroll-snap-align: start;
    
}

.dish2{
    display: grid;
    grid-template-columns:  1fr 1fr 1fr 1fr;
    grid-template-areas:    'dishName dishName dishImg dishImg'
                            'dishInfo null dishImg dishImg'
                            'dishInfo null dishImg dishImg'
                            'dishInfo null dishImg dishImg'
                            'dishInfo null dishImg dishImg';
    height: 100dvh;
    scroll-snap-align: start;
}

/* special correction slides */
.menu > :first-child{
    display: grid;
    grid-template-columns: 1fr;
    grid-template-areas:    'dishName'  
                            'dishInfo';
    gap: 1vw;
    align-items: top;
    justify-items: center;
    height: 100vh;
    scroll-snap-align: start;
}

.menu > :nth-child(7){
    grid-template-columns:  1fr 1fr 1fr 1fr;
    grid-template-areas:    'dishName dishName dishImg dishImg'
                            'dishInfo dishInfo dishImg dishImg'
                            'dishInfo dishInfo dishImg dishImg'
                            'dishInfo dishInfo dishImg dishImg'
                            'dishInfo dishInfo dishImg dishImg';
}

/* PASSWORD PROTECTION, DONT DELETE */
.overlay {
    position:fixed;
    top:0;
    right:0;
    bottom:0;
    left:0;
    z-index:9999;
    background-color:black;
    color:white;
    padding:10% 0;
    text-align:center;
}


@media (max-width: 1050px) {
    .slide h5{
        font-size: 8vw;
        margin-bottom: auto;
        padding-top: 2vh;
    }

  .dish,.dish2{
    grid-template-columns: 1fr;
    grid-template-areas:    'dishName'
                            'dishInfo'
                            'dishImg'
                            'dishImg';
  }

  .menu > :nth-child(7){
    grid-template-columns: 1fr;
    grid-template-areas:    'dishName'
                            'dishInfo'
                            'dishImg'
                            'dishImg';
}

  h3{
    font-size: 16vw;
  }
  h4{
    font-size: 8vw;
  }

  h1{
    font-size: 25vw;
  }

  h2{
    font-size: 8vw;
  }


  .menu h1{
    font-size:30vw;
    transform: translate(0,0.05em);
  }
  
  p{
    font-size: 1.7em;
  }

  .slide:nth-child(2){
    display: grid;
    grid-template-columns: 1fr;
    grid-template-rows: 30vh 30vh auto;
    gap: 1vh;
  }
  .menu_button > img{
    height: 100%;
    overflow: hidden;
}
.menu_button:nth-child(2) > img{
    height: 100%;
    overflow: hidden;
}

.pdf_download_button{
    text-align: center;
    align-self: center;
    border: .5px solid;
    padding: 5vw;
    margin:auto;
    border-radius: 20px;
    background-color: rgba(0, 0, 0, .3);
}

.button_container{
    width: 100%;
    display: flex;
    flex-direction: row;
    justify-content: space-evenly;
    margin-top: auto;
    padding-bottom: 10vh;
}

.button_container a > h4{
    font-size: 6vw;
}



}
