@font-face {
    font-family: "Oswald";
    font-style: normal;
    font-weight: 400;
    font-display: block;
    src: url("fonts/Oswald-Regular.woff2") format("woff2");
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
    font-family: "Oswald";
    font-style: normal;
    font-weight: 600;
    font-display: block;
    src: url("fonts/Oswald-SemiBold.woff2") format("woff2");
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
html {
    background-color: black;
    color: white;
    font-family: "Oswald", sans-serif;
    font-size: 16px;
}

html, body {
    padding: 0;
    margin: 0;
    width: 100%;
}

body {
    display: flex;
    flex-flow: row wrap;
    justify-content: center;
    align-items: center;
    position: relative;
    z-index: 2;
    min-height: 100vh;
    overflow: hidden;
}

#start {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    cursor: pointer;
}
#start div {
    width: 200px;
    height: 200px;
    background-size: contain;
    background-position: center center;
    background-image: url("img/gta.png");
    background-repeat: no-repeat;
    animation: zoominoutsinglefeatured 5s infinite;
}
#start span {
    display: block;
    text-align: center;
    margin-top: 10px;
    font-weight: 400;
    font-size: 12px;
    text-transform: uppercase;
}

@keyframes zoominoutsinglefeatured {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
    100% {
        transform: scale(1);
    }
}
#player {
    display: none;
    max-width: 400px;
    width: 100%;
}

#display {
    width: 100%;
    display: flex;
    flex-flow: column;
    justify-content: center;
    align-items: center;
}
#display > span {
    display: block;
    text-align: center;
}
#display .imgs {
    position: relative;
    height: 200px;
    width: 200px;
}
@media (max-height: 400px) {
    #display .imgs {
        height: 150px;
        margin-top: 10px;
    }
}
#display .imgs .img, #display .imgs .previous, #display .imgs .next, #display .imgs .before, #display .imgs .after, #display .imgs .first, #display .imgs .last {
    display: block;
    position: absolute;
    background-size: contain;
    background-position: center center;
    background-repeat: no-repeat;
    height: 200px;
    width: 200px;
    top: 0;
    left: 50%;
    transform: translateX(-100px);
    transition: none;
}
@media (max-height: 400px) {
    #display .imgs .img, #display .imgs .previous, #display .imgs .next, #display .imgs .before, #display .imgs .after, #display .imgs .first, #display .imgs .last {
        height: 150px;
    }
}
#display .imgs .previous, #display .imgs .next, #display .imgs .before, #display .imgs .after, #display .imgs .first, #display .imgs .last {
    height: 120px;
    width: 120px;
    top: 40px;
}
@media (max-height: 400px) {
    #display .imgs .previous, #display .imgs .next, #display .imgs .before, #display .imgs .after, #display .imgs .first, #display .imgs .last {
        top: 25px;
        height: 100px;
    }
}
#display .imgs .previous, #display .imgs .next {
    cursor: pointer;
    opacity: 0.5;
    transform: translateX(-270px);
}
#display .imgs .before, #display .imgs .after {
    opacity: 0.3;
}
#display .imgs .first, #display .imgs .last {
    opacity: 0;
}
#display .imgs .next {
    transform: translateX(150px);
}
#display .imgs .after {
    transform: translateX(320px);
}
#display .imgs .before {
    transform: translateX(-440px);
}
#display .imgs .last {
    transform: translateX(490px);
}
#display .imgs .first {
    transform: translateX(-610px);
}
#display .imgs.swipeNext .img, #display .imgs.swipeNext .previous, #display .imgs.swipeNext .next, #display .imgs.swipeNext .before, #display .imgs.swipeNext .after, #display .imgs.swipeNext .first, #display .imgs.swipeNext .last, #display .imgs.swipePrev .img, #display .imgs.swipePrev .previous, #display .imgs.swipePrev .next, #display .imgs.swipePrev .before, #display .imgs.swipePrev .after, #display .imgs.swipePrev .first, #display .imgs.swipePrev .last {
    transition: 0.6s;
}
#display .imgs.swipeNext .before {
    transform: translateX(-610px);
    opacity: 0;
}
#display .imgs.swipeNext .previous {
    transform: translateX(-440px);
    opacity: 0.3;
}
#display .imgs.swipeNext .img {
    transform: translateX(-270px);
    opacity: 0.5;
    top: 40px;
    height: 120px;
    width: 120px;
}
@media (max-height: 400px) {
    #display .imgs.swipeNext .img {
        top: 25px;
        height: 100px;
    }
}
#display .imgs.swipeNext .next {
    transform: translateX(-100px);
    opacity: 1;
    top: 0;
    height: 200px;
    width: 200px;
}
@media (max-height: 400px) {
    #display .imgs.swipeNext .next {
        height: 150px;
    }
}
#display .imgs.swipeNext .after {
    transform: translateX(150px);
    opacity: 0.5;
}
#display .imgs.swipeNext .last {
    transform: translateX(320px);
    opacity: 0.3;
}
#display .imgs.swipePrev .first {
    transform: translateX(-440px);
    opacity: 0.3;
}
#display .imgs.swipePrev .before {
    transform: translateX(-270px);
    opacity: 0.5;
}
#display .imgs.swipePrev .previous {
    transform: translateX(-100px);
    opacity: 1;
    top: 0;
    height: 200px;
    width: 200px;
}
@media (max-height: 400px) {
    #display .imgs.swipePrev .previous {
        height: 150px;
    }
}
#display .imgs.swipePrev .img {
    transform: translateX(150px);
    opacity: 0.5;
    top: 40px;
    height: 120px;
    width: 120px;
}
@media (max-height: 400px) {
    #display .imgs.swipePrev .img {
        top: 25px;
        height: 100px;
    }
}
#display .imgs.swipePrev .next {
    transform: translateX(320px);
    opacity: 0.3;
}
#display .imgs.swipePrev .after {
    transform: translateX(490px);
    opacity: 0;
}
#display .title {
    font-size: 28px;
    margin-bottom: 15px;
}
@media (max-height: 400px) {
    #display .title {
        margin-bottom: 5px;
        margin-top: 10px;
    }
}
@media (min-height: 650px) {
    #display .title {
        margin-bottom: 15px;
        margin-top: 80px;
    }
}
#display .game {
    font-weight: 600;
}

#controls {
    display: flex;
    flex-flow: row nowrap;
    align-items: center;
    justify-content: space-evenly;
    margin-top: 30px;
    margin-bottom: 10px;
}
@media (min-height: 650px) {
    #controls {
        margin-top: 50px;
        margin-bottom: 60px;
    }
}
#controls button {
    background-color: transparent;
    padding: 0;
    border: 0;
}
#controls button svg {
    width: 32px;
    height: 32px;
    cursor: pointer;
}
#controls button svg path {
    transition: 0.2s;
}
#controls button#play svg {
    width: 56px;
    height: 56px;
}
#controls button#rewind svg, #controls button#fforward svg {
    width: 44px;
    height: 44px;
}
#controls button:active svg path, #controls button.active svg path {
    fill: #ee6004;
}

#canvas {
    position: fixed;
    left: 0;
    height: 100vh;
    width: 100vw;
    opacity: 0.5;
    bottom: 0;
    display: block;
    z-index: -1;
}

#fullScreen, #equalizrMode {
    position: fixed;
    top: 20px;
    right: 20px;
    width: 20px;
    height: 20px;
    cursor: pointer;
}
#fullScreen svg, #equalizrMode svg {
    width: 100%;
    height: 100%;
    transition: 0.2s;
    opacity: 0.2;
}
#fullScreen svg path, #equalizrMode svg path {
    transition: 0.2s;
}
#fullScreen:hover svg, #equalizrMode:hover svg {
    opacity: 1;
}
#fullScreen:active svg path, #equalizrMode:active svg path {
    fill: #ee6004;
}

#equalizrMode {
    right: auto;
    left: 20px;
}