/* --------- BalsamiqSans -------*/

@font-face {
    font-family: BalsamiqSans;
    src: url("../assets/fonts/Balsamiq_Sans/BalsamiqSans-Regular.ttf");
    font-weight: 400;
}
@font-face {
    font-family: BalsamiqSans;
    src: url("../assets/fonts/Balsamiq_Sans/BalsamiqSans-Bold.ttf");
    font-weight: 600;
}

*::selection {
    background: #2c3241;    
    color: white;
}

:root {
    --spacing: 4rem;
    --gap: 3rem;

    --video-scale: 0.8;

    --swiper-theme-color: #00bef3;
    --swiper-navigation-size: clamp(1rem, 3vw, 2.75rem);
}

/* --------- General ------------ */
html,
body {
    /* font-size: 100%; */
    padding: 0;
    margin: 0;
}

body {
    font-family: BalsamiqSans;
}

.video-bg {
    object-fit: cover;
    min-width: 100vw;
    min-height: 100vh;
}

.video-container {
    width: 100%;
    height: 100vh;
    overflow: hidden;
    line-height: 0;

    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;

    background: black;
}

.video-overlay {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;

    background: rgb(0 0 0 / 0%);
}

.video-contents {
    position: absolute;
    width: 50%;

    display: flex;
    flex-direction: column;
    align-items: center;
}

.doneLoading .video-contents {
    animation: video-contents-animation 1s 1s cubic-bezier(0.39, 0.58, 0.57, 1) both;
}

@keyframes video-contents-animation {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

.axs-section {
    opacity: 0;

    padding: 6rem 0 !important;
}

.logo-axs {
    max-width: 18rem;
    margin-bottom: 2rem;

    left: 50%;
    position: relative;
    transform: translateX(-50%);
}


.video-title {
    width: 100%;
    pointer-events: none;
}

.download {
    display: flex;
    flex-direction: row;
    justify-content: space-evenly;
    margin-top: 10%;
    width: 100%;
}

.download-item {
    width: 40%;
    height: 100%;
    cursor: pointer;
    transition: 0.2s ease-in-out;
}

.download-item:hover {
    opacity: 0.6;
    transform: scale(1.06);
}

.download-item img {
    width: 100%;
    height: 100%;
}

.body {
    color: #144056;

    display: flex;
    flex-direction: column;
}

.contents {
    width: 100%;
    max-width: 900px;
    box-sizing: border-box;    

    align-self: center;
}

.contents-swiper {
    padding: 0 !important;
}

.contents-expand {
    width: 100%;

    padding: 3rem 0 10rem 0;
}

.story {
    background: url(../assets/img/screenshots/web_story.png);
    background-size: cover;

    min-height: 100vh;
}

.story .contents {
    margin-top: 23vh;
}

.contents-container {
    position: relative;
    display: flex;
    flex-direction: column;
}

.contents-container-gray {
    background: #f5f5f5;
    padding: 40px 0;
}

.contents-container-cyan {
    background: #90dbe2;
    padding: 60px 0;
}

.contents-container-footer {
    background: #2c3241;
    color: white;
    padding: 2rem 0;
}

.footer-logo {
    width: 10rem;
    margin-top: 1rem;
    margin-bottom: 3rem;
}

.footer-top {

}

.footer-bottom {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;

    border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.work-img {
    width: 100%;
    transition: 0.15s;
}

.work-img:hover {
    filter: brightness(0.5);
}

.work {
    width: 100%;
    margin-top: 3rem;
    
    cursor: pointer;
    position: relative;
}

.work-label {
    position: absolute;
    color: white;
    bottom: 1rem;
    left: 1rem;
}

.play {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 10% !important;
    border-radius: 0 !important;

    pointer-events: none;
}

.col-2 {
    display: flex;
    flex-direction: row;
    justify-content: space-between;

    opacity: 0;

    /* opacity: 0;
    transition: 0.75s ease-out;
    transform: translate3d(-60px, 0, 0); */
}

.fadeIn {
    animation: fadein-animation 0.75s ease-out both;
}

@keyframes fadein-animation {
    0% {
        opacity: 0;
        transform: translate3d(-60px, 0, 0);
    }
    100% {
        opacity: 1;
        transform: translate3d(0, 0, 0);    
    }
}

.popIn {
    animation: popin-animation 1s;
    transform-origin: center center;
}

.featured {
    width: 100%;
}

@keyframes popin-animation {
    0% {
        
    }

    100% {

    }
}

.col {
    width: calc(50% - var(--gap));
}

.col-full {
    width: 100%;
}

.poster {
    width: 100%;
    transition: 0.2s;
    cursor: pointer;
}

.poster:hover {
    transform: scale(1.06);
    box-shadow: 6px 7px 0px 0px #0000005c;
    border-radius: 50px;
}

.screenshot {
    width: 100%;
}


.watch {

    font-family: BalsamiqSans;
    padding: clamp(2rem, 4.25vw, 6rem);
    background: #f4f2f3;
    color: #144056;
    border-radius: clamp(1.25rem, 3vw, 3rem);
    font-weight: 600;
    margin-top: 8%;
    font-size: clamp(1rem, 2vw, 1.75rem);
    box-shadow: 4px 4px 0 0px #d8d4d1;
    cursor: pointer;
    transition: 0.2s;
}

.watch:hover {
     box-shadow: 4px 4px 0 0px #848484;
     transform: scale(1.06);  
     opacity: 0.8;
}

.text {
    line-height: 2;
    font-size: clamp(1rem, 2.5vh, 2rem);
}

.social {
    display: inline-block;
    justify-content: end;
}

.social-icon {
    height: 1.75rem;
    transition: 0.2s;

    margin-right: 2rem;
}

.social-icon.last {
    margin-right: unset;
}

.social-icon:hover {
    transform: scale(1.06);
}

.copyright {
    display: inline-block;

    margin: 2rem 0 0rem 0;

    line-height: 1.5;
}

a {
    text-decoration: none;
    color: #00bef3;
    /* font-weight: 600; */

    /* color: unset; */
}

a:hover {
    text-decoration: underline;
    /* color: #144056; */
}

.loading-container {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: white;

    transition: 1s opacity, 1s visibility;
    opacity: 1;
    visibility: visible;
}

.doneLoading .loading-container {
    opacity: 0;
    visibility: hidden;
}

.modal.show .trailer-container {
    animation: scale-up-video-animation 0.5s both;
}

@keyframes scale-up-video-animation {
    0% {
        /* opacity: 0; */
        transform: scale(0.6);
    }
    100% {
        /* opacity: 1; */
        transform: scale(var(--video-scale));
    }
}

.trailer-container {
    height: 0;
    padding-top: 56.25%;
    position: relative;

    transform: scale(0.8);
    background: black;
}

.trailer {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
}

.showreel-container {    
    height: 0;
    padding-top: 56.25%;
    position: relative;        
}

.showreel {
    margin-top: 2rem;
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
}


.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;

    z-index: 1;

    opacity: 0;
    visibility: hidden;

    transition: 0.5s opacity, 0.5s visibility;

    display: flex;
    flex-direction: column;
    justify-content: center;
}

.modal-overlay {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;

    background: rgba(0, 0, 0, 0.8);
}
.modal.show {
    opacity: 1;
    visibility: visible;
}

.signoff {
    opacity: 0;

    width: 100%;
    margin: 4rem 0;
}

.swiper-container {
    opacity: 0;

    width: 100%;  
 }

.swiper-pagination {
    left: 50%;
    transform: translateX(-50%);
    margin-top: 20px;
    position: relative;
}

.swiper-pagination-progressbar {
    background: rgba(255,255,255,0.5);
}

.swiper-pagination-progressbar .swiper-pagination-progressbar-fill {
    background: #144056;
}

.swiper-pagination-bullet {
    width: clamp(0.5rem, 1vw, 1rem);
    height: clamp(0.5rem, 1vw, 1rem);
    background: #dadada;
    opacity: 1;
    margin: 0 4px;
}

.swiper-pagination-bullet-active {
    background: var(--swiper-pagination-color,var(--swiper-theme-color));
    opacity: 1;
}

.swiper-button-next:after, .swiper-button-prev:after {
    font-family: 'BalsamiqSans';
    font-size: 1.75rem;
    color: #2c3241;
}

.swiper-button-next, .swiper-button-prev {
    background: #ffffff;
    color: #398499;
    padding: 10px;
    border-radius: 100%;
    width: 35px;
    height: 35px;
    box-shadow: 2px 2px 0px 0px #aaaaaa;
}

.swiper-button-next:after {
    content: url(../assets/img/AXS038_UI_dialogueBox_arrow.png);
    transform: rotateZ(270deg) scale(0.6) translateY(5px);
}

.swiper-button-prev:after {
    content: url(../assets/img/AXS038_UI_dialogueBox_arrow.png);
    transform: rotateZ(90deg) scale(0.6) translateY(5px);
}

.image-container {
    position: absolute;
    z-index: 1;
    height: 100%;
    width: auto;

    align-self: center;
    display: flex;

    pointer-events: none;
}


.image-lightbox {
    align-self: center;
    max-height: 80%;
    max-width: 100%;
    pointer-events: all;
}

.modal.show .image-lightbox {
    animation: scale-up-animation 0.5s;
}

.vesalius {
    margin: 5rem 0;
}

.logo-team {
    width: 100%;
    transition: 0.2s;
}

.logo-team:hover {
    transform: scale(1.06);
}

.logo-vesalius {
    margin-top: 2rem;

    width: 100%;   
}

.money {
    color: #7ab0b1;
    display: inline-block;    
}

.paragraph {
    /* margin-bottom: 0.5rem; */
}

@keyframes scale-up-animation {
    0% {
        opacity: 0;
        transform: scale(0.7);
    }
    100% {
        opacity: 1;
        transform: scale(1);
    }
}

.close {
    position: absolute;
    top: 1rem;
    right: 2rem;
    width: 2rem;
    cursor: pointer;

    /* transition: filter 0.1s; */
}

.close:hover {
    filter: brightness(0.5);
}

.rudy {
    display: none;
}

/* Privacy Policy */

.privacy {

    display: flex;
    flex-direction: column;
}

.privacy .container {
    align-self: center;

    max-width: 650px;
    line-height: 2;

    margin-top: 4rem;
    margin-bottom: 4rem;

    padding: 0 2rem;    
}

.vimeo-player {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);

    min-height: 100vh;
    min-width: 177.77vh;

    width: 100vw;
    height: 56.25vw;
}

@media screen and (max-width: 1024px) {
    .contents {
        padding: 0 1.25rem;
    }
}

/* Mobile */
@media screen and (max-width: 768px) {
    .rudy {
        display: block;
    }
    
    :root {   
        --video-scale: 1.0;
    }    

    .download-item {
        width: 45%;
    }   

    .video-container {
        width: unset;
        height: 100vh;        
    }

    .video-contents {
        width: 90%;
    }

    .trailer-container {        
        transform: scale(1.0);
    }    
    
    .col {
        width: 100%;
        margin-bottom: 3rem;
    }

    .col-2 {
        flex-direction: column;
    }

    .image-lightbox {
        max-height: 80%;
    }

    .social {
        margin-top: 2rem;
    }
    
    .footer-bottom {
        flex-direction: column;
        align-items: start;
    }
    .story .contents {
        margin-top: 10vh;
    }    
}