@font-face {
    font-family: 'Sacramento';
    src: url('../fonts/Sacramento-Regular.ttf');
}

@font-face {
    font-family: 'MontserratLight';
    font-style: normal;
    font-weight: 300;
    src: url('../fonts/Montserrat-Light.ttf');
}
* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
}

body, html {
    width: 100%;
    height: 8000px;
    font-family: 'Open Sans', sans-serif;
}

.bg_img {
    background-size: cover;
    background-position: center;
    position: fixed;
    height: 100%;
    width: 100%;
    z-index: -1;
}

.bg_img.mobile {
    display: none;
}

span {
    display: block;
    width: 5px;
    height: 5px;
    -ms-transform: rotate(45deg);
    -webkit-transform: rotate(45deg);
    transform: rotate(45deg);
    border-right: 2px solid hsla(0, 0%, 0%, .2);
    border-bottom: 2px solid hsla(0, 0%, 0%, .2);
}

.spotlight{    
    position: fixed;
    z-index: 3;
    opacity: 0.3;
    width: 80%;
    top: 15%;
    left: 10%;
    -webkit-animation: flickerAnimation 0.7s infinite;
     -moz-animation: flickerAnimation 0.7s infinite;
     -o-animation: flickerAnimation 0.7s infinite;
      animation: flickerAnimation 0.7s infinite;
}

@keyframes flickerAnimation {
    0%   { opacity:0.3; }
    50%  { opacity:0; }
    100% { opacity:0.3; }
  }
  @-o-keyframes flickerAnimation{
    0%   { opacity:0.3; }
    50%  { opacity:0; }
    100% { opacity:0.3; }
  }
  @-moz-keyframes flickerAnimation{
    0%   { opacity:0.3; }
    50%  { opacity:0; }
    100% { opacity:0.3; }
  }
  @-webkit-keyframes flickerAnimation{
    0%   { opacity:0.3; }
    50%  { opacity:0; }
    100% { opacity:0.3; }
  }

br.below_991 {
    display: none;
}

.wheel {
    height: 5px;
    width: 2px;
    display: block;
    margin: 5px auto;
    background: hsla(0, 0%, 0%, .2);
    position: relative;
    -webkit-animation: mouse-wheel 1.2s ease infinite;
    -moz-animation: mouse-wheel 1.2s ease infinite;
}

/* PLANET STUFF */

.planet {
    position: fixed;
    left: 50%;
    margin-left: -750px;
    margin-top: 29vh;
    height: 1500px;
    width: 1500px;
    transform: rotate(0deg);
    z-index: 6;
}

.planet.moving {
    -webkit-transition: all 0.5s ease-in-out;
    transition: all 0.5s ease-in-out;
}

.planet.moving.reverse {
    -webkit-transition: none;
    transition: none;
}

.planet-surface {
    position: absolute;
    width: 100%;
    height: 100%;
}

.projector_guy {
    position: fixed;
    bottom: -3.5vh;
    margin-top: -10px;
    left: 50%;
    margin-left: -60px;
    -webkit-transition: all 1s ease-in-out;
    transition: all 1s ease-in-out;
    max-width: 150px;
    z-index: 7;
}

.projector_guy img {
    width: 100%;
}

.rewind, .forward {
    position: fixed;
    top: 88vh;
    left: 32%;
    margin-top: -10px;
    margin-left: 0;
    max-width: 80px;
    cursor: pointer;
    z-index: 1;
    display: none;
}

.rewind {
    transform: rotate(180deg);
    display: none !important;
    z-index: 8;
}

.forward {
    left: auto;
    right: 32%;
    margin-left: 0;
    z-index: 9;
}

.rewind img, .forward img {
    width: 100%;
}

.news_point {
    -webkit-transition: all .3s ease-in-out;
    transition: all .3s ease-in-out;
    max-width: 350px;
    z-index: 1;
    opacity: 0.5;
    -webkit-filter: sepia(50%);
	filter: sepia(50%);
}

.news_point:hover, .news_point.clicked {
    cursor: pointer;
    opacity: 1;
    -webkit-filter: sepia(0);
	filter: sepia(0);
}

a.readmore_link {
    color: #F28482;
}

a.readmore_link:hover, .forward:hover {
    opacity: 0.7;
}

/* PICS */

.news_1 {
    position: absolute;
    top: 6%;
    right: 40.7%;
    max-width: 280px;
    transform: rotate(0);
}

.news_2 {
    position: absolute;
    top: 19%;
    right: 12%;
    max-width: 280px;
    transform: rotate(51deg);
}

.news_3 {
    position: absolute;
    bottom: 33.5%;
    right: 6%;
    max-width: 250px;
    transform: rotate(102.5deg);
}

.news_4 {
    position: absolute;
    bottom: 9%;
    right: 24.5%;
    max-width: 300px;
    transform: rotate(154deg);
}

.news_5 {
    position: absolute;
    bottom: 11%;
    left: 24%;
    max-width: 300px;
    transform: rotate(-155deg);
}

.news_6 {
    position: absolute;
    top: 50%;
    left: 4.5%;
    max-width: 300px;
    transform: rotate(-103deg);
}

.news_7 {
    position: absolute;
    top: 20%;
    left: 11.5%;
    max-width: 280px;
    transform: rotate(-51deg);
}

/* MAIN BODY */

.main {
    position: fixed;
    top: 0;
    width: 100%;
    height: 100%;
}

.main h1, .main h2, .main h3 {
    text-align: center;
}
.main h1 {
    font-size: 120px;
    font-family: 'Sacramento', sans-serif;
    color: #F6BD60;
    margin-bottom: 0;
    margin-top: 30px;
    line-height: 1;
}

.main h2 {
    font-size: 35px;
    font-family: 'MontserratLight', sans-serif;
    color: #fff;
    margin-top: -10px;
}

.main h3 {
    font-size: 16px;
    font-family: 'MontserratLight', sans-serif;
    color: #fff;
    max-width: 1100px;
    margin: auto;
    margin-top: 20px; 
}


/** MODAL **/

/* === MODAL (BACKGROUND) === */

.modal {
    display: none;
    /* Hidden by default */
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    align-items: center;
    /* Enable scroll if needed */
    background-color: #000;
    /* Fallback color */
    background-color: rgba(0, 0, 0, 0.4);
    /* Black w/ opacity */
}

/* === MODAL CONTENT + BOX === */

.modalContent {
    background-color: #fff;
    background-image: url('../assets/popup/popup_bg.png');
    background-position: bottom left;
    background-repeat: no-repeat;
    background-size: cover;
    margin: auto;
    padding: 70px 40px;
    width: 100%;
    max-width: 600px;
    letter-spacing: 0.5px;
    line-height: 1.4em;
    text-align: left;
    color: #646464;
    position: relative;
    /* min-height: 70%; */
}

.modalContent:before {
    content: '';
    display: inline-block;
    background-image: url('../assets/film_strip.png');
    background-size: contain;
    background-repeat: repeat;
    background-position: center;
    height: 40px;
    width: 100%;
    position: absolute;
    top: 0;
    left: 0;
}

.modalContent:after {
    content: '';
    display: inline-block;
    background-image: url('../assets/film_strip.png');
    background-size: contain;
    background-repeat: repeat;
    background-position: center;
    height: 40px;
    width: 100%;
    position: absolute;
    bottom: 0;
    left: 0;
}

.modalContent h2 {
    font-family: 'MontserratLight', sans-serif;
    text-transform: uppercase;
    font-size: 32px;
    margin-bottom: 20px;
    color: #591816;
    line-height: 1;
}

.modalContent h2 a {
    color: #F28482;
    text-decoration: underline;
}

.modalContent h2 a:hover {
    text-decoration: none;
}

.modalContent p {
    font-family: 'MontserratLight', sans-serif;
    font-size: 16px;
    color: #646464;
    line-height: 20px;
}

.modalContent .close {
    height: 20px;
    width: 20px;
    position: absolute;
    top: 73px;
    right: 40px;
    opacity: 0.5;
}

.modalContent .close:hover {
    opacity: 1;
    cursor: pointer;
}

.modalContent .close img {
    width: 100%;
}

.socials {
    margin-top: 20px;
    text-align: center;
}

.s_list {
    margin-top: 10px;
}

.s_list img {
    max-width: 30px;
}

.s_list a {
    text-decoration: none;
    margin: 0 10px;
}

.s_list a:hover img {
    opacity: 0.8;
}

/*AUDIO*/

#audio {
    position: fixed;
    top: 25px;
    right: 25px;
    width: 50px;
    height: 41.8px;
    display: flex;
    align-items: center;
    z-index: 100;
}

#audio:hover {
    cursor: pointer;
}

#audioIcon {
    width: 50px;
}

#audioIcon:hover {
    opacity: 0.8;
}


.main p {
    font-size: 1.4em;
    width: 600px;
    margin: 0 auto;
    margin-top: -0.8em;
    text-align: center;
}

/* TOGGLE KLASE */

.scale {
    z-index: 999;
    transform: scale(1.1);
}

.opacity {
    opacity: .5;
}

.main-read {
    background: white;
}

/**** MEDIA STUFF ****/
@media screen and (max-width: 1200px) {
    .main h1 {
        font-size: 70px;
    }
}

/* iPad Pro (1024x1366) portrait */
@media screen and (max-height: 1366px) and (min-height: 1366px) and (max-width: 1024px) and (min-width: 1024px) {
    body {
        overflow: hidden;
        height: 100%;
    }

    .planet {
        margin-top: 65vh;
    }

    .main h1 {
        font-size: 95px;
        max-width: 900px;
        margin: auto;
        margin-top: 100px;
    }

    .main h3 { 
        font-size: 20px;
        max-width: 850px;
    }

    .rewind, .forward {
        max-width: 150px;
        left: 18%;
        display: block;
    }

    .forward {
        left: auto;
        right: 24%;
    }

    .projector_guy {
        bottom: -3vh;
        left: 33%;
        max-width: 250px;
    }

    .bg_img.desktop {
        display: none;
    }
    .bg_img.mobile {
        display: block;
    }
}

/* iPad (768x1024) portrait */
@media screen and (max-height: 1024px) and (min-height: 1024px) and (max-width: 768px) and (min-width: 600px) {
    body {
        overflow: hidden;
        height: 100%;
    }
    .text_sec {
        max-width: 750px;
        margin: auto;
    }

    .main h1 {
        font-size: 75px;
        max-width: 700px;
        margin: auto;
        margin-top: 50px;
    }

    .main h3 {
        max-width: 700px;
    }

    br.below_991 {
        display: block;
    }

    .planet {
        margin-top: 45vh;
    }

    .rewind, .forward {
        top: 89%;
        left: 18%;
        max-width: 100px;
        display: block;
    }

    .forward {
        left: auto;
        right: 24%;
    }

    .projector_guy {
        top: 77vh;
        left: 33%;
        max-width: 200px;
    }

    .news_point {
        opacity: 1;
    }

    .bg_img.desktop {
        display: none;
    }
    .bg_img.mobile {
        display: block;
    }
}

/* iPad (1024x768) landscape */
@media screen and (max-height: 768px) and (max-width: 1024px) {
    body {
        overflow: hidden;
        height: 100%;
    }

    .rewind, .forward {
        left: 26%;
        display: block;
    }

    .forward {
        left: auto;
        right: 36%;
        margin-left: 0;
    }

    .planet {
        margin-top: 26vh;
    }

    .main h3 {
        max-width: 80%;
    }

    .projector_guy {
        left: 40%;
    }

    .bg_img.desktop {
        display: none;
    }
    .bg_img.mobile {
        display: block;
    }
    
}

@media screen and (max-width: 650px) { 
    .modalContent {
        max-width: 90%;
    }
    .news_point {
        opacity: 1;
    }
    .main h3 {
        max-width: 90%;
    }
}

/* below 600px */
@media screen and (max-width: 600px) {
    .planet {
        margin-top: 19vh;
    }

    .projector_guy {
        left: 42%;
        max-width: 120px;
    }

    .rewind, .forward {
        top: 89%;
        display: block;
    }

    .rewind {
        left: 22%;
    }

    .forward {
        right: 22%;
        display: block;
    }

    .main h1 {
        font-size: 60px;
        margin-top: 40px;
    }

    #audio {
        top: 10px;
        right: 10px;
    }
}

/* below 500px */
@media screen and (max-width: 500px) {
    .main h1 {
        margin-top: 70px;
    }

    .planet {
        margin-top: 15vh;
    }

    .rewind {
        left: 18%;
    }

    .forward {
        right: 18%;
    }
}

/* below 414px */
@media screen and (max-width: 414px) {
    .planet {
        margin-top: 16vh;
    }

    .rewind, .forward {
        max-width: 70px;
    }

    .projector_guy {
        left: 40%;
        max-width: 120px;
    }

    .rewind {
        left: 15%;
    }

    .forward {
        right: 15%;
    }

    .modalContent {
        padding: 70px 30px;
        max-width: 90%;
    }

    .modalContent .close {
        right: 30px;
    }

    .modalContent h2 {
        font-size: 26px;
    }

    .modalContent p {
        font-size: 14px;
    }

    .main h1 {
        margin-top: 50px;
    }
}

/* below 375px */
@media screen and (max-width: 375px) {
    body {
        overflow: hidden;
        height: 100%;
    }

    .planet {
        margin-top: -4vh;
    }

    .main h1 {
        font-size: 45px;
        margin-top: 70px;
    }

    .main h3 {
        font-size: 15px;
    }

    .rewind, .forward {
        max-width: 70px;
    }

    .projector_guy {
        left: 40%;
        max-width: 100px;
        bottom: -2vh;
    }

    .rewind {
        left: 10%;
    }

    .forward {
        right: 21%;
    }

    .modalContent {
        padding: 70px 20px;
    }

    .modalContent .close {
        right: 10px;
        top: 50px;
        max-width: 95%;
    }
}

/* below 320px */
@media screen and (max-width: 320px) {
    .planet {
        margin-top: 5vh;
    }

    .main h1 {
        font-size: 40px;
        margin-top: 70px;
    }

    .main h3 {
        font-size: 16px;
    }

    .rewind, .forward {
        max-width: 60px;
    }

    .projector_guy {
        left: 54%;
        max-width: 100px;
        bottom: -2vh;
    }

    .rewind {
        left: 10%;
    }

    .forward {
        right: 10%;
    }
}

@media screen and (min-width: 2560px) {
    .planet {
        margin-top: 55vh;
    }
}




/* ANIMATIONS */

@-webkit-keyframes mouse-wheel {
    0% {
        opacity: 1;
        -webkit-transform: translateY(0);
        -ms-transform: translateY(0);
        transform: translateY(0);
    }
    100% {
        opacity: 0;
        -webkit-transform: translateY(6px);
        -ms-transform: translateY(6px);
        transform: translateY(6px);
    }
}

@-moz-keyframes mouse-wheel {
    0% {
        top: 1px;
    }
    50% {
        top: 2px;
    }
    100% {
        top: 3px;
    }
}

@-webkit-keyframes mouse-scroll {
    0% {
        opacity: 0;
    }
    50% {
        opacity: .5;
    }
    100% {
        opacity: 1;
    }
}

@-moz-keyframes mouse-scroll {
    0% {
        opacity: 0;
    }
    50% {
        opacity: .5;
    }
    100% {
        opacity: 1;
    }
}

@-o-keyframes mouse-scroll {
    0% {
        opacity: 0;
    }
    50% {
        opacity: .5;
    }
    100% {
        opacity: 1;
    }
}

@keyframes mouse-scroll {
    0% {
        opacity: 0;
    }
    50% {
        opacity: .5;
    }
    100% {
        opacity: 1;
    }
}
