@font-face {
    font-family: 'avenir_regularregular';
    src: url('avenir_regular-webfont.woff2') format('woff2'),
         url('avenir_regular-webfont.woff') format('woff');
    font-weight: normal;
    font-style: normal;

}

@font-face {
    font-family: 'avenirblack';
    src: url('avenir_black-webfont.woff2') format('woff2'),
         url('avenir_black-webfont.woff') format('woff');
    font-weight: bold;
    font-style: normal;

}

@font-face {
    font-family: 'avenirlight';
    src: url('avenir_light-webfont.woff2') format('woff2'),
         url('avenir_light-webfont.woff') format('woff');
    font-weight: normal;
    font-style: normal;

}

@font-face {
    font-family: 'avenirheavy';
    src: url('avenir_heavy-webfont.woff2') format('woff2'),
         url('avenir_heavy-webfont.woff') format('woff');
    font-weight: bold;
    font-style: normal;

}

@font-face {
    font-family: 'myriad_probold';
    src: url('myriad_pro_bold-webfont.woff2') format('woff2'),
         url('myriad_pro_bold-webfont.woff') format('woff');
    font-weight: bold;
    font-style: normal;

}


html, body {
    background-color: white;
    padding: 0px;
    margin: 0px;
    
}
.container {
    display: grid;
    padding: 50px;
    grid-gap: 50px;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    grid-auto-rows: 300px;
    grid-auto-flow: dense;
}

.containernopadding {
    padding: 0px;
}

.container > .item {
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 2em;
    color: floralwhite;
}

.container > .item > img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.item .longinfo {
    display: none;
}

.container > .item > .exit-button-2 {
    display: none;
}


.horizontal {
    grid-column: span 2;
}

.vertical {
    grid-row: span 2;
}

.big {
    grid-column: span 2;
    grid-row: span 2;
}

.openingscreen {
    z-index: 998;
    position: fixed;
    width: 100%;
    height: 100%;
    background-color: white;
    -webkit-animation: fadeout 2s linear forwards;
    animation: fadeout 2s linear forwards;
}

.stop-scrolling {
  height: 100%;
  overflow: hidden;
}

.openingimage {
    display: block;
    margin: 0px auto;
    top: 34%;
    position: relative;
}

.menu-button-div {
    position: fixed;
    float: right;
    margin: 50px;
    right: 0px;
    z-index: 997;
}

.menu-button {
    -webkit-filter: drop-shadow(2px 2px 2px grey);
    filter: drop-shadow(2px 2px 2px grey);

}

.menu-button:hover {
    /* Start the shake animation and make the animation last for 0.5 seconds */
    animation: shake 0.5s; 

    /* When the animation is finished, start again */
    animation-iteration-count: 1; 
    cursor: pointer
}

.menu {
    width: 100vw;
    height: 100vh;
    background-color: #c5e2f0;
    position: fixed;
    z-index: 999;
    display: none;
}

.menubox {
    position: relative;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    overflow: hidden;
    padding: 0; /* remove old padding */
}

.menu-inner {
    
    max-height: calc(100vh); /* use viewport height */
    overflow-y: auto;
    scrollbar-width: none; /* Firefox */
}

.menu-inner::-webkit-scrollbar {
    display: none; /* Chrome, Safari, Edge */
}

.menu-inner::-webkit-scrollbar {
    display: none; /* Chrome, Safari, Edge */
}

.menu-inner::-webkit-scrollbar {
    display: none; /* Chrome, Safari, Edge */
}

.menu-inner::-webkit-scrollbar {
    display: none; /* Chrome, Safari, Edge */
}
.menu-inner .first-h1 { padding-top: 80px;}
.menu-inner h1 { padding-top: 30px;}
.menu-inner p { max-width: 400px;}
.menu-inner .last-p {padding-bottom: 60px;}

.exit-button {
    position: fixed;
    right: 20%;
    top: 20px; /* keep visible */
    font-size: 24px;
    font-family: avenirheavy;
    color: darkslategray;
}

.exit-button:hover {
    cursor: pointer;
    /* Start the shake animation and make the animation last for 0.5 seconds */
    animation: shake 0.5s; 

    /* When the animation is finished, start again */
    animation-iteration-count: 1; 
}

.menu-inner > h1 {
    text-align: center;
    margin: 0px;
    position: relative;
    font-family: avenir_regularregular;

}

.menu-inner > p {
    text-align: center;
    font-size: 12px;
    font-family: avenir_regularregular;

}


.menu > menu {
    margin: 0px;
}

@keyframes shake {
      0% { transform: translate(1px, 1px) rotate(0deg); }
      10% { transform: translate(-1px, -1px) rotate(-1deg); }
      20% { transform: translate(-1px, 0px) rotate(1deg); }
      30% { transform: translate(2px, 1px) rotate(0deg); }
      40% { transform: translate(1px, -1px) rotate(1deg); }
      50% { transform: translate(-1px, 0px) rotate(-1deg); }
      60% { transform: translate(0px, 1px) rotate(0deg); }
      70% { transform: translate(1px, 1px) rotate(-1deg); }
      80% { transform: translate(-1px, -1px) rotate(1deg); }
      90% { transform: translate(1px, 1px) rotate(0deg); }
      100% { transform: translate(1px, 0px) rotate(-1deg); }
}

.item { position: relative; }

.item:hover {
    cursor: pointer;
}

.shortinfo {
    position: absolute;
    bottom: 0;
    width: 100%;
    display: none;
}

.shortinfo > p { 
    background-color: white; 
    padding: 5px; 
    margin: 0px; 
    width: 100%; 
    color: black; 
    font-size: 12px;
    font-family: avenir_regularregular;
}



.label { 
    float: right; 
    position: relative; 
    text-align: right; 
    padding-right: 8px; 
    color: darkgrey;  
    background-color: white; 
}

.sale {
    font-family: avenirheavy;
}


.fullscreen {  display: grid;
    grid-gap: 0px;
    grid-template-columns: 2fr 1fr; 
    width: 100%;
    height: 100%;
    
    position: fixed;
    z-index: 999;
    background: white;
    place-items: center;
}

.fullscreen > img { 
    max-width:95%; 
    padding: 50px; 
    padding-top: 80px;  
    max-height: 88vh; 
    margin: 0px auto;  
}


.fullscreen > .shortinfo { 
    padding: 50px;    
    position: relative;
    bottom: none;
    width: auto;
    display: inline-block; 
}

.fullscreen > .shortinfo > p { 
    padding: auto; 
    margin: auto; 
    width: auto; 
}

.shortinfo a { 
    
    color:darkgoldenrod; 
    font-size: 12px;
    font-family: avenir_regularregular;
    text-decoration: none;
}

.fullscreen > .shortinfo > p:first-of-type {
    font-weight: bold;
}

.longinfo { 
    
    font-weight: normal;

}

.fullscreen .exit-button-2 {
    position: fixed;
    left: 5%;
    top: 10px;
    float: left;
    width: 200px;
    
    font-size: 18px;
    font-family: avenirheavy;
    color: darkslategray;
}

.fullscreen .longinfo { 
    display:inline-block;
}

.fullscreen .exit-button-2:hover {
    cursor: pointer;
    /* Start the shake animation and make the animation last for 0.5 seconds */
    animation: shake 0.5s; 

    /* When the animation is finished, start again */
    animation-iteration-count: 1; 
}

@media only screen and (max-width: 800px) {
  
   .container { 
        display: grid;
        grid-gap: 40px;
        grid-template-columns: repeat(1, 100%); 
        grid-auto-rows: 450px;
        padding: 25px;
    }
    
    .horizontal {
        grid-column: span 1;
    }

    .vertical {
        grid-row: span 1;
    }

    .big {
        grid-column: span 1;
        grid-row: span 1;
    }
    
    .shortinfo {
        margin-top: 30px;
        display: block;
        bottom: -20px;
         
    }
    
    .menu-inner > p {
        font-size: 11px;
        max-width: 340px;
    }
    
    .menu-button-div {
    position: fixed;
    float: right;
    margin: 25px;
    right: 0px;
    z-index: 997;
    }

}

/* Footer */
.site-footer {
    margin-top: 30px;
    padding: 20px 50px;
    background-color: #f5f5f5;
    text-align: center;
}

.site-footer p {
    font-family: 'avenirlight', sans-serif;
    font-size: 12px;
    color: #999;
    margin: 0;
}

.site-footer a {
    color: #777;
    text-decoration: none;
    border-bottom: 1px solid #ccc;
    padding-bottom: 1px;
}

.site-footer a:hover {
    color: #444;
    border-bottom-color: #999;
}
    
