/* @import url('https://fonts.googleapis.com/css2?family=Montserrat&display=swap'); */

/* montserrat-regular - latin */
@font-face {
    font-family: 'Montserrat';
    font-style: normal;
    font-weight: 400;
    src: local(''),
         url('/src/fonts/montserrat-v25-latin-regular.woff2') format('woff2'), /* Chrome 26+, Opera 23+, Firefox 39+ */
         url('/src/fonts/montserrat-v25-latin-regular.woff') format('woff'); /* Chrome 6+, Firefox 3.6+, IE 9+, Safari 5.1+ */
}
  
  /* montserrat-600 - latin */
  @font-face {
    font-family: 'Montserrat';
    font-style: normal;
    font-weight: 600;
    src: local(''),
         url('/src/fonts/montserrat-v25-latin-600.woff2') format('woff2'), /* Chrome 26+, Opera 23+, Firefox 39+ */
         url('/src/fonts/montserrat-v25-latin-600.woff') format('woff'); /* Chrome 6+, Firefox 3.6+, IE 9+, Safari 5.1+ */
}
  
  

/*

Z-INDEX:

header: 1000


*/

:root {
    --main: #080808;
    --bright: #f0fff0;
    --option1: #56B259;
    --option2: #184D47;
    --option3: #133A1B;
    --option4: #023020;
    --option5: #11251a;
}

body {
    font-family: 'Montserrat', sans-serif;
}

h1, h2 {
    font-weight: 400;
}

.main-wrapper {
    width: 100vh;
    height: 100vw;
    transform: rotate(-90deg) translateX(-100%);
    transform-origin: top left;
    overflow-y: scroll;
    overflow-x: hidden;
    position: absolute;

    scrollbar-width: none;
    -ms-overflow-style: none;

    user-select: none;
}

.stopScroll {
    overflow-y: hidden;
}

::-webkit-scrollbar {
    display:none;
}

.horizontal-wrapper {
    display: flex;
    flex-direction: row;
    width: fit-content;
    transform: rotate(90deg) translateY(-100vh);
    transform-origin: top left;
    background-color: var(--bright);
}

.page {
    position: relative;
    width: 100vw;
    height: 100vh;
    color: var(--option1);
}

.inner-wrapper {
    width: 100vw;
    height: 100%;
}

.flex-center {
    display: flex;
    align-items: center;
    justify-content: center;
}

.removeCenter {
    justify-content: flex-start;
}

.absolute-center {
    position: absolute;
    top: 50%;
    left: 50vw;
    transform: translate(-50%, -50%);
}


/* HEADER */

header {
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    overflow: hidden;
    border-bottom: 2px solid var(--option1);
    color: var(--option1);
    z-index: 1000;
    transition: width 3s;
    /* background-color: var(--main); */
}

.headerContent {
    padding: 3px 41px;
    width: 100%;
    height: 100%;
    position: relative;
    user-select: none;
}

.full {
    width: 100%;
}

.headerTitle {
    position: relative;
    width: fit-content;
    font-size: 1.8rem;
    cursor: pointer;
}

/* PAGES */
.firstPage, .thirdPage, .fifthPage {
    background-color: var(--main);
}

.firstPage {
    width: 120vw;
    border-top-right-radius: 130px;
    border-bottom-right-radius: 130px;
}

/* OBJECTS */

.mainTitleContainer {
    position: absolute;
    display: none;
    padding-top: 3px;
    width: fit-content;
    animation: toHeader 7s forwards;
    -webkit-animation: toHeader 7s forwards;
    /* sešteti vrednosti sekund sta animationDuration v intro.js */
}

.displayBlock {
    display: block!important;
}

.mainTitle {
    width: 183px;
    font-size: 1.8rem;
    text-transform: uppercase;
    animation: typing 1s steps(9) forwards, blink 500ms step-end infinite alternate;
    -webkit-animation: typing 1s steps(9) forwards, blink 500ms step-end infinite alternate;
    border-right: 5px solid var(--option1);
    white-space: nowrap;
    overflow: hidden;
}

.submainTitle {
    visibility: hidden;
    width: 183px;
    left: 0;
    font-size: 0.6rem;
    animation: typingS 1s 1s steps(13) forwards, blink 500ms step-end infinite alternate;
    -webkit-animation: typingS 1s 1s steps(13) forwards, blink 500ms step-end infinite alternate;
    border-right: 3px solid var(--option1);
    white-space: nowrap;
    overflow: hidden;
}

.flyingObject {
    position: absolute;
    z-index: 0;
}

.firstObject {
    height: 30px;
    width: 50px;
    background-color: var(--option1);
}

.secondObject {
    height: 70px;
    width: 40px;
    background-color: var(--option1);
}

.thirdObject {
    height: 60px;
    width: 60px;
    background-color: var(--option1);
}

/* MAIN BOXES */

.mainBoxesContainer {
    width: 0;
    overflow: hidden;
    opacity: 0;
    transition: opacity 8s;
    margin-top: 41px;
    /* display: flex; */
}

.mainBoxesContainer.show {
    width: unset;
    opacity: 1;
}

.mainBox {
    position: relative;
    width: 300px;
    height: 300px;
    /* border: solid 1px var(--option1); */
    margin: 20px 50px;
}

.bubble {
    cursor: pointer;
    background: rgba(255, 255, 255, 0.1);
    width: 100%;
    height: 100%;
    border-radius: 50%;
    position: absolute;
    animation: play 7s infinite ease-in;
    box-shadow: 0 0 8% var(--main) inset;
}

.bubble:hover {
    /* transform: scale(1.1); */
    -webkit-animation: bubble-anim 2s ease-out infinite;
    animation: bubble-anim 2s ease-out infinite;
}

.bubble:before {
    background: rgba(255, 255, 255, 0.2);
    content: "";
    width: 40%;
    height: 19%;
    position: absolute;
    margin: 7% 0 0 17%;
    border-radius: 50%;
    transform: rotate(-20deg);
}

.mainBoxContent, .bubbleContent {
    position: absolute;
    padding: 17%;
    height: 100%;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.mainBoxTitle, .bubbleTitle {
    text-align: center;
    text-transform: uppercase;
    font-weight: 400;
}
