/* VARIABLE SETUP FOR GLOBAL USAGE */
:root{
    --background-dark: #1b1b1b;
    --background-med-dark: #282828;
    --primary-content-color: #fff;
    --secondary-content-color: #ff1a14;
    --secondary-color-transparent: #ff1a14B3;
    --tetriary-content-color: #7e7e7e;
    --global-side-padding: 10vw;
    --topnav-link-height: 2.5vw;
    --topnav-font-size: 1.1vw;
    --global-border-radius: 100px;
    --fullscreen-video-width: 90vw;
    --fullscreen-video-height: 85vh;
    --fullscreen-video-shadow-offset: -6vh;
    --title-font-size: 5.5vh;
    --content-font-size: 2.5vh;
    --rhd: "Red Hat Display", sans-serif;
}

/* FLOAT UP ANIMATION */
.float-from-bottom{
    transform: translateY(100px);
    opacity: 0;
    transition: opacity 500ms ease-in-out, transform 500ms ease-in-out;
}
.float-from-bottom.appear{
    transform: translateY(0);
    opacity: 1;
}

/* GENERIC GLOBAL FORMAT TAGS */
html{
    margin: 0;
    padding: 0;
    overflow-x: hidden;
}
body{
    margin: 0;
    padding: 0;
    overflow: hidden;
    font-family: var(--rhd);
    background-color: var(--background-dark);
    color: var(--primary-content-color);
}
.border-top-right{
    border-top-right-radius: var(--global-border-radius);
}
.border-bottom-left{
    border-bottom-left-radius: var(--global-border-radius);
}
.font-500{
    font-weight: 500;
}
.font-600{
    font-weight: 600;
}
.font-700{
    font-weight: 700;
}
.flex-two-col{
    display: flex;
    flex-direction: row;
    justify-content: space-between;
}
.column-50{
    width: 50%;
}
.padded{
    padding-left: var(--global-side-padding);
    padding-right: var(--global-side-padding);
}

/* SECTION FORMATTING AND SCROLLS */
.section-parent{
    width: 100vw;
    height: 100vh;
    overflow-y: auto;
    overflow-x: hidden;
    scroll-snap-type: y;
    -webkit-overflow-scrolling: touch;
    scroll-behavior: smooth;
}
section{
    height: 100vh;
    overflow: visible;
    position: relative;
}

/* HEADER RELATED CLASSES */
.section-header{
    scroll-snap-align: start;
}
.header-background{
    overflow: hidden;
    width: 100vw;
    height: 56.2vw;
    position: relative;
    display: flex;
    justify-content: center;
    background-size: cover;
    background-position: center;
}
.header-background > iframe {
    width: 102%;
    height: 102%;
    position: absolute;
}
.header-text-container{
    position: absolute;
    bottom: 20vh;
    width: 100vw;
    padding: 0 var(--global-side-padding) 125px var(--global-side-padding);
    font-size: 3.5vw;
    line-height: 4vw;
    letter-spacing: 0.2vw;
}
.header-button{
    width: 4.5vh;
    height: 4.5vh;
    padding: 0;
    margin: 0;
    border: 0;
    border-radius: 50px;
    background: url('img/btn_next.png');
    background-size: contain;
    background-repeat: no-repeat;
    box-shadow: 0 0 0 0 rgba(255,26,20,1);
    transform: scale(1);
    position: absolute;
    animation: pulse 1s infinite;
}
.header-button-offset{
    animation: pulse-offset 1s infinite;
}
@keyframes pulse{
    0%{
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(255,26,20,0.7);
    }
    70%{
        transform: scale(1);
        box-shadow: 0 0 0 20px rgba(255,26,20,0);
    }
    100%{
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(255,26,20,0);
    }
}
@keyframes pulse-offset{
    15%{
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(255,26,20,0.7);
    }
    80%{
        transform: scale(1);
        box-shadow: 0 0 0 20px rgba(255,26,20,0);
    }
    100%{
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(255,26,20,0);
    }
}

@keyframes rotateLoading {
    from {
        transform: rotate(0deg);
    }
    to { 
        transform: rotate(360deg);
    }
}

 @-webkit-keyframes rotateLoading {
    from {
        -webkit-transform: rotate(0deg);
    }
    to { 
        -webkit-transform: rotate(360deg);
    }
}

.header-loading {
    position: absolute;
    top: 40%;
	width: 4vw;
	height: 4vw;
	border:solid 5px #ff1a14;
	border-radius: 50%;
	border-right-color: transparent;
	border-bottom-color: transparent;
	 -webkit-transition: all 0.5s ease-in;
    -webkit-animation-name:             rotateLoading; 
    -webkit-animation-duration:         1.0s; 
    -webkit-animation-iteration-count:  infinite;
    -webkit-animation-timing-function: linear;
    	
    	 transition: all 0.5s ease-in;
    animation-name:             rotateLoading; 
    animation-duration:         1.0s; 
    animation-iteration-count:  infinite;
    animation-timing-function: linear; 
}

.full-video-loading {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translateY(-50%) translateX(-50%);
	width: 4vw;
	height: 4vw;
	border:solid 5px #ff1a14;
	border-radius: 50%;
	border-right-color: transparent;
	border-bottom-color: transparent;
	 -webkit-transition: all 0.5s ease-in;
    -webkit-animation-name:             rotateLoading; 
    -webkit-animation-duration:         1.0s; 
    -webkit-animation-iteration-count:  infinite;
    -webkit-animation-timing-function: linear;
    	
    	 transition: all 0.5s ease-in;
    animation-name:             rotateLoading; 
    animation-duration:         1.0s; 
    animation-iteration-count:  infinite;
    animation-timing-function: linear; 
}

/* TOPNAV RELATED CLASSES */
.topnav{
    overflow: hidden;
    position: absolute;
    padding: 2vw var(--global-side-padding) 0 var(--global-side-padding);
    width: 100vw;
    z-index: 20;
}
.topnav a{
    color: var(--primary-content-color);
    float: left;
    text-align: center;
    padding: 12px;
    text-decoration: none;
    font-size: var(--topnav-font-size);
    transition: all 0.25s ease-in-out;
    height: var(--topnav-link-height);
}
.topnav a:hover{
    color: var(--secondary-content-color);
}
.topnav-right{
    float: right;
    letter-spacing: 0.1vh;
    margin-right: 6vh;
}
.topnav-menu-button{
    background: url('img/topnav_menu_btn.png');
    background-size: contain;
    background-repeat: no-repeat;
    width: var(--topnav-link-height);
    height: var(--topnav-link-height);
    margin-left: var(--topnav-link-height);
    filter: brightness(70%);
    transition: all 0.25s ease-in-out;
    position: fixed;
}
.topnav-menu-button:hover{
    filter: brightness(100%);
}
a.topnav-logo{
    background: url('img/logo_3digit.png');
    background-size: contain;
    background-repeat: no-repeat;
    width: 16vh;
    height: 3vh;
    font-size: var(--topnav-font-size);
    line-height: var(--topnav-link-height);
    transform: translateY(50%)
}

/* INFO SECTION RELATED CLASSES */
.section-info{
    z-index: 5;
    height: 75vh;
    margin-top: -8vh;
    background-color: var(--background-dark);
}
.info-wrapper{
    width: 100%;
    height: 100%;
    padding: 20vh var(--global-side-padding) 20vh var(--global-side-padding);
    overflow: hidden;
}
.info-about{
    color: var(--secondary-content-color);
    font-size: var(--content-font-size);
    letter-spacing: 0.3vh;
}
.info-about-quote{
    font-size: 7.6vh;
    line-height: 8vh;
    margin-top: 5vh;
}
.info-quote-inner{
    color: var(--tetriary-content-color);
}
.info-content{
    font-size: 3.4vh;
    opacity: 0.7;
}
.info-find-out-more{
    width: 29vh;
    height: 7.5vh;
    background-color: #ff1a1433;
    background-image: url('img/right_arrow.png');
    background-repeat: no-repeat;
    background-position: right 3vh center;
    background-size: 3vh 2vh;
    border-radius: 40px;
    border: 2px solid var(--secondary-content-color);
    color: var(--secondary-content-color);
    font-size: var(--content-font-size);
    padding-left: 4vh;
    text-align: left;
    margin-top: 5vh;
}
.info-play-button{
    width: 16vh;
    height: 7.5vh;
    background-color: #ff1a1433;
    background-image: url('img/play_icon.png');
    background-repeat: no-repeat;
    background-position: right;
    background-size: contain;
    border-radius: 40px;
    box-shadow: inset 0px 0px 0px 1px var(--secondary-content-color);
    border: 1px solid var(--secondary-content-color);
    color: var(--secondary-content-color);
    font-size: var(--content-font-size);
    padding-left: 4vh;
    text-align: left;
    margin-top: 1vh;
    padding-top: 0.5vh;
    padding-bottom: 0.5vh;
}

/* RECENTS RELATED CLASSES */
.section-recents{
    background-color: var(--background-med-dark);
    padding: 7vh var(--global-side-padding) 7vh var(--global-side-padding);
    height: 155vh;
}
.recents-title{
    text-align: center;
    width: 100%;
    font-size: var(--title-font-size);
    padding: 0px var(--global-side-padding) 0px var(--global-side-padding);
    margin-bottom: 7vh;
}
.recent-grid{
    width: 100%;
    height: 120vh; 
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 0.4745fr 0.4745fr 0.4745fr;
    grid-gap: 1vh;
    cursor: pointer;
}
.recents-grid-element{
    position: relative;
    border-radius: 25px;
    overflow: hidden;
}
.recents-card-background{
    width: 100%;
    height: 100%;
    position: absolute;
    transform: scale(1);
    transition: all 0.25s ease-in-out;
    background-size: cover;
    background-repeat: no-repeat;
}
.recents-card-background:hover{
    transform: scale(1.1);
}
.recents-card-content{
    position: absolute;
    width: 100%;
    height: 15vh;
    bottom: 0;
    left: 0;
    padding: 2vh;
    border-radius: 0px 0px 25px 25px;
}
.recents-card-title{
    text-align: left;
    font-size: 3.5vh;
}
.recents-card-company{
    float: left;
    font-size: 2.4vh;
    color: var(--secondary-content-color);
    font-weight: 500;
}
.recents-find-out-more{
    display: block;
    width: 29vh;
    height: auto;
    font-size: var(--content-font-size);
    border: none;
    margin: 0 auto;
    margin-top: 5vh;
    color: var(--secondary-content-color);
    background-image: url('img/right_arrow.png');
    background-repeat: no-repeat;
    background-position: right 3vh center;
    background-size: 2.5vh 1.5vh;
    background-color: #0000;
    position: relative;
}
/* PROJECT SPECIFIC RULES IN THE GRID VIEW */
#grid-acro{
    grid-column: 1/1;
    grid-row: 1/3;
    margin: 0px 5px 5px 0px;
}
#acro-background{
    background-image: url('img/grid_acro.jpg');
}
#grid-future{
    grid-column: 2/2;
    grid-row: 1/2;
    margin: 0px 0px 5px 5px;
}
#future-background{
    background-image: url('img/grid_future.jpg');
}
#grid-g700{
    grid-column: 1/1;
    grid-row: 3/4;
    margin: 5px 5px 0px 0px;
}
#g700-background{
    background-image: url('img/grid_g700.jpg');
}
#grid-danubio{
    grid-column: 2/2;
    grid-row: 2/4;
    margin: 5px 0px 0px 5px;
}
#danubio-background{
    background-image: url('img/grid_danubio.jpg');
}

/* RECENTS RELATED CLASSES */
.section-services{
    height: 65vh;
}
.services-title{
    margin-top: 15vh;
    text-align: center;
    width: 100%;
    font-size: var(--title-font-size);
    padding: 0 var(--global-side-padding) 0 var(--global-side-padding);
}
.services-title-inner{
    color: var(--tetriary-content-color);
}
.services-subtitle{
    margin-top: 5vh;
    font-size: 2.8vh;
    width: 100%;
    text-align: center;
}
.services-title-divider{
    width: 50vw;
    position: relative;
    left: 50%;
    transform: translateX(-50%);
    height: 5px;
    background-color: var(--background-med-dark);
}
.services-icons-wrapper{
    width: 100%;
    position: relative;
    display: flex;
    padding: 0 25vw 0 25vw;
    justify-content: space-between;
    margin-top: 2.5vh;
}
.services-icons-element{
    width: 20%;
}
.service-icon{
    position: relative;
    left: 50%;
    transform: translateX(-50%);
    width: 5vh;
    height: 5vh;
    background-repeat: no-repeat;
    background-size: contain;
}
.service-title{
    font-size: 1.9vh;
    margin-top: 1vh;
    text-align: center;
}
.services-info{
    display: block;
    position: relative;
    text-align: center;
    width: 34vw;
    padding: 3vh;
    border-radius: 3vh;
    font-size: 2vh;
    margin: 0 auto;
    margin-top: 10vh;
    background-color: var(--background-med-dark);
}
/* SERVICE SPECIFIC RULES IN THE FLEX VIEW */
#serv-3d{
    background-image: url('img/services_geometry_red.png');
}
#serv-still{
    background-image: url('img/unlimited_renders_red.png');
}
#serv-pano{
    background-image: url('img/services_pano_red.png');
}
#serv-360{
    background-image: url('img/services_360_red2.png');
}

/* FULL SCREEN VIDEO RELATED CLASSES */
.section-full-video{
    scroll-snap-align: center; /* THIS ATTR STAYS HERE */
    padding-top: 2vh;
    margin-top: 10vh;
}
.full-video-wrapper{
    width: 160vh;
    height: 90vh;
    position: relative;
}
.wrapper-left-aligned{
    left: 0;
    float: left;
}
.wrapper-right-aligned{
    right: 0;
    float: right;
}
.full-video{
    position: relative;
    width: 100%;
    height: 100%;
    z-index: 5;
    overflow: hidden;
    background-color: black;
}
.video-left-aligned{
    border-bottom-right-radius: var(--global-border-radius);
    border-top-right-radius: 25px;
}
.video-right-aligned{
    border-bottom-left-radius: var(--global-border-radius);
    border-top-left-radius: 25px;
}
.full-video > video {
    object-fit: cover;
    width: 100%; 
    height: 100%;
    position: relative;
}
.full-video > iframe {
    width: 102%;
    height: 102%;
    position: relative;
}
.full-video-shadow{
    position: absolute;
    background-size: contain;
    background-repeat: no-repeat;
    bottom: var(--fullscreen-video-shadow-offset);
    width: 75vh;
    height: 75vh;
    z-index: 0;
}
.shadow-left{
    background-image: url('img/fsv-shadow-l.png');
    right: var(--fullscreen-video-shadow-offset);
}
.shadow-right{
    background-image: url('img/fsv-shadow-r.png');
    left: var(--fullscreen-video-shadow-offset);
}
.full-video-title{
    font-size: 6vh;
    position: absolute;
    bottom: 5vh;
    line-height: 6.5vh;
}
.title-left-aligned{
    left: var(--global-side-padding);
}
.title-right-aligned{
    right: var(--global-side-padding);
    text-align: right;
}
.video-title-inner{
    color: var(--secondary-content-color);
}

/* CLIENTS SECTION RELATED CLASSES */
.section-clients{
    height: 75vh;
    margin-top: 10vh;
}
.clients-title{
    width: 100%;
    text-align: center;
    font-size: var(--title-font-size);
}
.clients-title-inner{
    color: var(--tetriary-content-color);
}
.clients-subtitle{
    color: var(--secondary-content-color);
    font-size: 1.5vh;
    width: 100%;
    text-align: center;
    letter-spacing: 0.2vh;
    margin-top: 2vh;
}
.clients-icons-wrapper{
    width: 100%;
    padding: 0 30vh 0 30vh;
    display: flex;
    flex-direction: column;
    position: relative;
    margin-top: 7vh;
}
.client-row{
    height: 12vh;
    width: 100%;
    position: relative;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
}
.client-logo{
    width: 25%;
}
.client-logo > img{
    width: 20vh;
    height: auto;
    background-size: contain;
    position: relative;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
}

/* FOOTER SECTION RELATED CLASSES */
.section-footer{
    scroll-snap-align: end;
    height: 80vh;
    padding: 10vh var(--global-side-padding) 0 var(--global-side-padding);
    border-top-right-radius: var(--global-border-radius);
    background-color:var(--background-med-dark);
}
.footer-grid{
    display: grid;
    grid-template-columns: 1fr 1fr;
    /*grid-template-rows: 1fr 1fr 1fr;*/
    grid-template-rows: 1fr 1fr;
}
.footer-title{
    grid-column: 1/1;
    grid-row: 1/1;
    font-size: var(--title-font-size);
}
.footer-social-row{
    grid-column: 2/2;
    grid-row: 1/1;
}
.footer-subtitle{
    grid-column: 1/1;
    grid-row: 2/2;
    color: var(--secondary-content-color);
    letter-spacing: 0.15vh;
    margin-top: 1vh;
}
.social-button{
    width: 5.5vh;
    height: 5.5vh;
    margin-right: 1vh;
    float: right;
    border: none;
    background-size: contain;
    background-color: #0000;
    position: relative;
    top: 50%;
    transform: translateY(-50%);
}
.footer-contact-wrapper{
    width: 100%;
    margin-top: 7.5vh;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    padding-right: 5vh;
    margin-bottom: 15vh;
}
.footer-contact-panel{
    width: 33%;
    padding-right: 15vh;
}
.footer-contact-name-wrapper{
    width: 100%;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
}
.footer-contact-country{
    width: 4.5vh;
    height: 4.5vh;
    background-color: #ff1a1444;
    border-radius: 1vh;
}
.footer-contact-country > p{
    position: relative;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    color: var(--secondary-content-color);
    text-align: center;
}
.footer-contact-name{
    font-size: 3.1vh;
}
.footer-contact-position{
    font-size: 1.9vh;
    color: #ffffff77;
    background-color: #3c3c3c;
    width: max-content;
    border-radius: 1vh;
    margin: 2vh 0 2vh 0;
    padding: 1vh;
}
.footer-contact-divider{
    background-color: #3c3c3c;
    height: 0.5vh;
    margin-bottom: 3vh;
}
.footer-contact-info{
    font-size: 1.9vh;
    color: #ffffff77;
}
.footer-copyright-wrapper{
    display: flex;
    flex-direction: row;
    justify-content: space-between;
}
.footer-logo > img{
    filter: grayscale(100%);
    height: 34px;
    width: auto;
}
.footer-copyright-notice{
    font-size: 1.9vh;
    color: #ffffff77;
}
#last-contact{
    display: block;
    visibility: hidden;
}
/* FOOTER SOCIAL ICON RULES IN THE FLEX VIEW */
#face{
    background-image: url('img/social_facebook.png');
}
#insta{
    background-image: url('img/social_insta.png');
}
#linkedin{
    background-image: url('img/social_linkedin.png');
}
#youtube{
    background-image: url('img/social_youtube.png');
}

/* SIDE MENU RELATED CLASSES */
.side-menu{
    width: 35vw;
    height: 69vh;
    background-color: var(--secondary-content-color);
    position: fixed;
    right: -35vw;
    top: 0;
    z-index:200;
    border-bottom-left-radius: var(--global-border-radius);
    transition: all 0.25s ease-in-out;
}
.side-menu-background{
    z-index: 199;
    background-color: #00000066;
    position: fixed;
    width: 100vw;
    height: 100vh;
    left: 0;
    top: 0;
    opacity: 0;
    visibility: hidden;
    transition: all 0.25s ease-in-out;
}
.side-menu-content-wrapper{
    width: 25vw;
    height: 80%;
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    display: flex;
    flex-direction: column;
}
.side-menu-close{
    width: 3vh;
    height: 3vh;
    border: none;
    background:url('img/sm-close.png');
    background-size: contain;
    background-repeat: no-repeat;
    margin-bottom: 5vh;
}
.side-menu-divider{
    width: 25vw;
    height: 0.25vh;
    background-color: #c62520;
    margin-bottom: 5vh;
}
.side-menu-entry-wrapper{
    display:flex;
    flex-direction:row;
    justify-content: space-between;

}
.side-menu-entry-column{
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}
.side-menu-col-small{
    justify-content: initial !important;
}
.side-menu-entry-column > a {
    text-decoration: none;
    margin-bottom: 2vh;
    font-size: 3.25vh;
    border: none;
    font-weight: 700;
    background-color: #00000000;
    color: var(--main-f-color);
    text-align: left;
}
.side-menu-small{
    font-size: 2.25vh !important;
    font-weight: 600 !important;
}
.side-menu-social-title > p{
    position: relative;
    top: 50%;
    transform: translateY(-50%);
}
.side-menu-social-wrapper{
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    width: 25vw;
}
.side-menu-social-button{
    width: 5.5vh;
    height: 5.5vh;
    margin-right: 1vh;
    border: none;
    background-size: contain;
    background-repeat: no-repeat;
    background-color: transparent;
}

/* GENERIC MODAL RELATED CLASSES */
.full-screen-modal{
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
}
.modal-wrapper{
    position: fixed;
    z-index: 250;
    padding: 10vh 31vh 10vh 31vh;
    visibility: hidden;
    opacity: 0;
    transition: all 0.25s ease-in-out;
}
.modal-background{
    position: absolute;
    z-index: 249;
    background-color: #000d;
}
.modal-content{
    background-color: #282828;
    border-radius: 25px;
    width: 100%;
    height: 100%;
    z-index: 251;
    position: relative;
}
.modal-close-button{
    position: fixed;
    z-index: 251;
    top: 5vh;
    right: 5vh;
    width: 3vh;
    height: 3vh;
    background: url('img/vp-close.png');
    color: #ff1a14;
    background-size: contain;
    background-repeat: no-repeat;
    border: none;
}

/* GALLERY MODAL RELATED CLASSES */
.gallery-modal-content{
    padding: 5vh 0 5vh 0;
}
.gallery-modal-inner{
    width: 100%;
    height: 100%;
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    text-align: center;
    padding: 0 7vh 0 7vh;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
}
.gallery-nav-button{
    width: 50px;
    height: 50px;
    position: absolute;
    top: 50%;
    background: url('img/btn_next.png');
    background-size: contain;
    background-repeat: no-repeat;
    border: 0;
    transform: translateY(-50%) rotate(90deg);
    z-index: 255;
}
.gallery-nav-button-left{
    margin-left: 1vh;
}
.gallery-nav-button-right{
    right: 0;
    margin-right: 1vh;
    transform: translateY(-50%) rotate(-90deg);
}
#gallery-modal-image{
    max-width: 100%;
    height: 100%;
    border-radius: 15px;
    object-position: center;
    object-fit: cover;
}
.gallery-title-wrapper{
    position: absolute;
    bottom: 0;
    width: 100%;
    display: flex;
    flex-direction: row;
    justify-content: start;
    padding: 0 7vh 0 7vh;
}
.gallery-title-wrapper > p{
    font-size: 2vh;
    height: 2.5vh;
    margin-right: 3vh;
}
#gallery-company-title {
    color: var(--secondary-content-color);
}

/* VIDEO PLAYER MODAL RELATED CLASSES */
.video-player-modal-inner{
    width: 100%;
    height: 100%;
    overflow: hidden;
    padding: 5vh;
    border-radius: 15px;
}
#modal-video-player{
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 15px;;
}