/* Video background */
.video-wrapper {
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    position: fixed;
    z-index: -1;
    pointer-events: none;
    overflow: hidden;
    background-color: #1f4d92;
}

.video-wrapper video,
.video-wrapper .video-poster {
    object-fit: cover;
    position: absolute;
    top: 55%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    transform: translate(-50%, -50%);
    filter: blur(5px);
}

.video-wrapper .video-poster {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}









/* Navigation bar */
.nav_out {
    position: fixed;
    top: 0;
    z-index: 10;

    height: max(calc(var(--vh, 1vh) * 6), 50px);
    width: 100%;
    
    background: var(--white);
    box-shadow: 0px -31px 59px 33px rgba(0,0,0,0.75);
    -webkit-box-shadow: 0px -31px 59px 33px rgba(0,0,0,0.75);
    -moz-box-shadow: 0px -31px 59px 33px rgba(0,0,0,0.75);
}

.nav_in {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;

    padding: 0 max(5%, 40px);
    height: 100%;
}

.nav_links {
    display: flex;
    gap: max(2vw, 20px);
}

.nav_links a {
    text-decoration: none;
    color: var(--black);

    transition: 0.4s;
}
.nav_links a:hover {
    color: var(--blue);
    font-weight: var(--weight_l);
}

/* Burger */
.burger {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 25px;
    height: 21px;
    cursor: pointer;
    z-index: 10;
}

.burger span {
    display: block;
    height: 3px;
    background: var(--black);
    border-radius: 2px;
    transition: all 0.3s ease;
}

.nav_switch {
    display: none;
}










/* Intro */
.time, .left, .banner, .more {
    text-align: center;
    color: var(--white);
}



/* Count down */
.time {
    margin-top: max(calc(var(--vh, 1vh) * 31), 235px);
    height: 82px;

    /* border-bottom: white solid 2px; */
}

.time span:nth-child(odd) {
    font-size: var(--font_xxl);
    font-weight: var(--weight_l);
}
.time span:nth-child(even) {
    font-size: var(--font_l);
    font-weight: var(--weight_m);

    margin-right: 20px;
}
.time span:last-child {
    margin-right: 0;
}

.left {
    height: max(calc(var(--vh, 1vh) * 10), 76px);

    /* border: orange solid 2px; */
}

.left h2 {
    font-size: var(--font_xxl);
}










/* Banner why have to update */
.banner {
    margin-top: max(calc(var(--vh, 1vh) * 5), 38px);
    height: max(calc(var(--vh, 1vh) * 41 - 82px), 235px);

    /* border: yellow solid 2px; */
}

.banner p {
    font-size: var(--font_l);
    line-height: 150%;
    letter-spacing: 1px;

    padding: 5% 20% 0;
}









/* To get more information */
.more {
    height: max(calc(var(--vh, 1vh) * 13), 100px);

    align-content: center;

    /* border: black solid 2px; */
}

.more a {
    color: var(--white);
    font-size: var(--font_l);
    letter-spacing: 1px;
    transition: 1s;
}

@keyframes lightning {
    0% { opacity: 1; }
    50% { opacity: 0.4; }
    100% { opacity: 1; }
}
.more a:not(:hover) {
    animation: lightning 3s infinite;
    
}

.more a:hover {
    color: #fff;
    text-shadow: 0 0 5px var(--glow_white), 0 0 10px var(--glow_white), 0 0 15px var(--glow_white), 0 0 20px var(--glow_white), 0 0 30px var(--glow_white), 0 0 40px var(--glow_white), 0 0 55px var(--glow_white), 0 0 75px var(--glow_white);
    cursor: pointer;
}










/* Main body with information */
#information {
    scroll-margin-top: max(calc(var(--vh, 1vh) * 10), 76px);
    opacity: .98;


    background-color: var(--white);
    border-radius: 20px;

    width: 70%;

    margin: 10% auto;
    padding: 1% 10% 5% 6%;

}

#information h3 {
    color: var(--grey_darker);
    font-size: var(--font_l);
    font-weight: var(--weight_l);
    

    margin-bottom: var(--font_m);
    margin-top: 8%;
}

#information p, #information ul {
    font-size: var(--font_m);
    color: var(--grey_lighter);
    line-height: 150%;
    word-spacing: 0.2em;
}

#information p {
    margin-bottom: 1%;
}

#information ul {
    margin-bottom: var(--font_m);
}

#information b {
    color: var(--grey_darker);
}

#information a {
    color: var(--blue);
    transition: .5s;
}
#information a:hover {
    font-weight: var(--weight_l);
}










/* ------------------------------------------- Footer --------------------------------------------- */
.companies {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-around;

    background-color: var(--white);

    width: 100%;

    padding: 2% max(5%, 40px);
}

.branch {
    width: 25%;
    padding: 15px 5%;
}

.branch div {
    margin-bottom: var(--font_s);
}

.branch p {
    font-size: var(--font_s);
}

@media (max-width: 650px) {
    .branch {
        width: max(90%, 300px);
    }
}

@media (min-width: 651px) and (max-width: 1100px) {
    .branch {
        width: max(45%, 200px);
    }
}











/* ---------------------------------------- No script ----------------------------------------------- */
noscript h1 {
    margin-top: -86px;
    font-size: var(--font_xxl);
    font-weight: var(--weight_l);
}

noscript .banner {
    margin-top: max(10vh, 100px);
}