*{
    margin:0;
    padding:0;
    box-sizing: border-box;
    font-family: 'Montserrat', sans-serif;
    overflow: hidden hidden;
}

:root{
    --black: #333;
    --white: #ffffff;
    --gray: #ccc;
    --lightblue: lightblue;
    --darkpurple: #9c8bb6;
}

body{
    background-color: var(--white);
}

.loading{
    display: flex;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    color: lightblue;
    z-index: 101;
    background-color: lightblue;
    justify-content: center;
    align-items: center;
}
.loading.done{
    visibility: hidden;
}
.loading span{
    position: relative;
    width: 50px;
    height: 50px;
    background-color: #ffffff;
    margin: 0 10px;
    border-radius: 50%;
    border: 6px solid #fff;
    box-shadow: -8px -8px 15px 0 rgba(255, 255, 255, 1),
    8px 8px 15px rgba(0, 0, 0, 0.2),
    inset 3px 3px 5px rgba(0, 0, 0, 0.2),
    inset -1px -1px 5px rgba(255, 255, 255, 1);
    transition:width 0.5s, height 0.5s,filter 5s;
}
.loading span::before{
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #5c89ff;
    border-radius: 50%;
    box-shadow:
    inset 3px 3px 5px rgba(0, 0, 0, 0.2),
    inset -1px -1px 5px rgba(255, 255, 255, 1);
    transform: scale(0);
    animation: animate 2s linear infinite,
    animateColor 5s linear infinite;
    animation-delay: calc(var(--i)*0.2s);
}
.loading span:hover{
    transition:width 0.5s, height 0.5s,filter 5s;
    width: 80px;
    height: 80px;
}
.loading span:active{
    width: 60px;
    height: 60px;
    transition: width 0s, height 0s;
    filter: drop-shadow(10px 10px 10px rgb(59, 205, 255));
}
@keyframes animate{
    0%{
        transform: scale(0);
    }
    10%{
        transform: scale(1);
    }
}
@keyframes animateColor{
    0%{
        filter: hue-rotate(0deg);
    }
    100%{
        filter: hue-rotate(360deg);
    }
}

.dark{
    --black: #fff;
    --white: #333;
    --lightblue: #9c8bb6;
    --darkpurple: lightblue;
}

header{
    position: absolute;
    display: flex;
    justify-content:space-between;
    align-items: center;
    width: 100%;
    padding: 40px 100px;
    z-index: 100;
}
header .logo{
    position:relative;
    display: inline-flex;
    color: var(--black);
    text-decoration: none;
    font-size: 2em;
    font-weight: 700;
    letter-spacing: 0.05em;
}

.righSide{
    display: flex;
}

.btns{
    position: relative;
    width:40px;
    height: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    margin: 10px;
}
.btns ion-icon{
    font-size: 1.5em;
    color: var(--black);
}
.btns.menuToggle ion-icon{
    font-size: 3em;
}
.btns ion-icon:nth-child(2){
    display: none;
}
.btns.active ion-icon:nth-child(2){
    display: block;
}
.btns.active ion-icon:nth-child(1){
    display: none;
}

.main{
    position: absolute;
    width: 100%;
    min-height: 100vh;
    display: flex;
    padding: 10px;
    align-items: center;
    justify-content: center;
    background: var(--white);
}
.main video{
    z-index: 3;
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.main h2{
    position: relative;
    z-index: 4;
    font-size: 16vw;
    color: #fff;
    text-shadow: -5px 10px 5px rgba(0, 0, 0, 0.3);
    white-space: pre;
    user-select: none;
    transition: text-shadow 0.5s, transform 0.5s;
}
.main h2:focus,
.main h2:hover{
    text-shadow: 5px 10px 10px var(--lightblue);
}
.main h2:active{
    transform: translate(2px,6px);
    transition: text-shadow 0s, transform 0s;
    text-shadow: 1px 5px 5px var(--darkpurple);
}

.mask{
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 4;
    user-select: none;
    mix-blend-mode: screen;
}
.dark .mask{
    filter: invert(1);
    mix-blend-mode: multiply;
}

.navigation{
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    background-color: var(--white);
    z-index: 4;
    transition: 0.5s;
}
.navigation.active{
    left: 0;
}
.navigation li{
   list-style: none;
}
.navigation li a{
    display: inline-flex;
    margin: 5px 0;
    font-size: 1.25em;
    text-decoration: none;
    color: var(--black);
    padding: 5px 20px;
    border-radius: 40px;
}
.navigation li a:hover{
    background-color: var(--black);
    color: var(--white);
}

.copyright{
    position: absolute;
    left: 100px;
    bottom: 40px;
    z-index: 4;
    font-weight: bold;
    font-size: 1.5em;
    color: var(--black);
}

.about{
    position: absolute;
    right: 40px;
    bottom: 30px;
    z-index: 4;
    display: flex;
    flex-direction: column;
}
.about li{
    list-style: none;
}
.about li a{
    text-decoration: none;
    color: var(--black);
    font-size: 1.75em;
}

@media (max-width: 768px) {
    .copyright{
        left: 10px;
        font-size: 1em;
    }
    header{
        padding: 10px;
    }
    .main video{
        height: 110%;
        width: 110%;
    }
}