@font-face {
    font-family: 'moskultra';
    src: url('mosk_ultra-bold_900-webfont.woff2') format('woff2'),
         url('mosk_ultra-bold_900-webfont.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}
@font-face {
    font-family: 'moskbold';
    src: url('mosk_bold_700-webfont.woff2') format('woff2'),
         url('mosk_bold_700-webfont.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}
@font-face {
    font-family: 'mosklight';
    src: url('mosk_light_300-webfont.woff2') format('woff2'),
         url('mosk_light_300-webfont.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}
html,body{
    margin:0;
    padding:0;
}
*{
    box-sizing: border-box;
}
body{
    display:flex;
    width:100%;
    height:100vh;
    border: 20px solid white;
    position:relative;
    justify-content:space-between;
    color: #3e4d54;
    letter-spacing: 2px;
    font-family: 'mosklight';
    text-rendering: geometricPrecision;
    -webkit-font-smoothing: antialiased;
    line-height:1.56em;
    overflow:  hidden;
}
.leftarea{
    width: 40%;
    margin:auto 0;
    display: -webkit-flex;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding-left: 4vw;
    border-left: 4px solid #f15a24;
    margin: auto 0;
    position: relative;
}
.leftarea::before{
    content:"";
    border:4px solid;
    border-width: 0 4px 4px 0;
    position: absolute;
    left:-34px;
    top:0;
    background-color:white;
    z-index:9;
    width:30px;
    height: 30px;
}
h1{
    font-family:'moskultra';
    text-transform:uppercase;
    font-size: 2.5em;
    margin-bottom: 1.5em;
    margin-top: 0;
}
h1 span, h2 span{
    color: #f15a24;
    font-family:'mosklight';
}
ul{
    list-style-type: square;
    padding-left: 2em;
}
h2{
    font-family:'moskbold';
    letter-spacing: 1.8px;
    text-transform:uppercase;
    margin: 1.5em 0;
}
.content h2:last-of-type{
    margin-bottom: 0.83em;
}
p{
    letter-spacing: 1px;
}
p a{
    color:#f15a24;
}
a{
    text-decoration: none;
    color: inherit;
    transition: color 0.2s ease;
}
a:hover{
    color: #f15a24;
}
p#last{
    margin-bottom:0;
}
.rightarea{
    width: 60%;
    perspective: 100vh;
    transform-style: flat;
    padding-left: 6%;
}
.rightarea .content{
    transform: rotateX(10deg) skewX(-10deg);
    display: flex;
    flex-wrap: wrap;
    transform-origin: top;
}
.image{
    filter: drop-shadow(1px 2px 4px #1f1f1f);
    -webkit-filter: drop-shadow(1px 2px 4px #1f1f1f);
    position: relative;
    margin: 6px;
    height: 28vh;
    width: calc(25% - 12px);
    cursor: pointer;
    overflow: hidden;
}
.image:hover .overlay{
    opacity:0;
}
.image:hover img{
    filter:grayscale(0%);
    -webkit-filter: grayscale(0%);
}
.image img{
    height:100%;
    width:100%;
    object-fit:contain;
    background:white;
    filter:grayscale(100%);
    -webkit-filter: grayscale(100%);
    transition: all 0.3s ease;
}
.image.nogray img{
    filter:grayscale(0%);
    -webkit-filter: grayscale(0%);
}
.jumper-button{
    position: absolute;
    top: 0;
    z-index: 3;
    right: 0;
    background-color: #960000;
    width: 228px;
    text-align: center;
    padding: 6px 25px;
    color: white;
    transform: rotate(45deg) translateY(72px) translateX(100px);
    transform-origin: center right;
    font-family: 'moskultra';
    letter-spacing: 0.7px;
    box-shadow: 1px 1px 3px #444;
    border: 2px dotted white;
    text-transform: uppercase;
    font-size:0.9em;
}
.jumper-button:hover{
    color:white;
}
.image .overlay{
    position: absolute;
    z-index: 3;
    height: 100%;
    width: 100%;
    background: linear-gradient(45deg, #f15a24, #222 75%, #f15a24);
    opacity: 0.69;
    transition: all 0.3s ease;
}
.popup{
    position: fixed;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    overflow: hidden;
    background-color: rgba(255,255,255,0.9);
    text-align: center;
    z-index: 900;
    padding:20px;
}
.popup img{
    height:100%;
    object-fit: contain;
    width: 100%;
}
.close{
    position: absolute;
    top: 20px;
    right: 20px;
    z-index: 9;
    font-size: 2.1em;
    cursor: pointer;
    transition: all 0.2s ease;
    font-family:'moskultra';
}
.close:hover{
    color:#f15a24;
}
@media only screen and (max-width: 1350px){
    .image{
        width: calc(33% - 12px);
        height:21vh;
    }
    .rightarea .content{
        transform: rotateX(8deg) skewX(-5deg);
    }
}
@media only screen and (max-width: 1100px){
    body{
        font-size:0.9em;
    }
    .leftarea{
        width:50%;
        padding-left:22px;
        border-left-width: 3px;
    }
    .leftarea::before{
        border-width: 0 3px 3px 0;
        left:-33px;
    }
}
@media only screen and (max-width: 840px){
    h1{
        font-size:2.359em;
        margin-bottom:1.4em;
    }
    body{
        font-size:0.88em;
        height:auto;
        overflow:visible;
        flex-wrap:wrap;
    }
    .leftarea{
        width: 100%;
        padding-top: 40px;
    }
    .rightarea{
        width: 100%;
        padding-left:0;
        padding-top:40px;
    }
    .rightarea .content{
        transform: unset;
    }
      .image{
        width: calc(50% - 12px);
        height:22vh;
    }
}
@media (pointer: coarse){
    .image .overlay{
        display:none;
    }
    .image img{
        filter: none;
        -webkit-filter:none;
    }
}
