@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');

html, body {
    margin: 0;
    padding: 0;
    width: 100%;
    height: 100vh;
    background-color: #000000;
}

.logo {
    transform:translate(20%, 20%);
    width: 190px;
    position: absolute;
    display: block;
    margin: auto;
    margin-top: 50px;
    animation-name: fadein;
    animation-duration: 2s;
    animation-delay: 6s;
    animation-fill-mode: forwards;
    opacity:0
}

@keyframes fadein {
    from{
        opacity:0
    }
    to{
        opacity:1
    }
}

@-webkit-keyframes fadein {
    from{
        opacity:0
    }
    to{
        opacity:1
    }
}

.bgvideo {
    position: fixed;
    min-width: 100%;
    min-height: 100%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    filter: blur(2rem);
    animation-name: fadeinvideo;
    animation-duration: 2s;
    animation-delay: 5s;
    animation-fill-mode: forwards;
    opacity:0
}

@keyframes fadeinvideo {
    from{
        opacity:0
    }
    to{
        opacity:0.15
    }
}

@-webkit-keyframes fadeinvideo {
    from{
        opacity:0
    }
    to{
        opacity:0.15
    }
}

.container {
    width: 100%;
    height: 100vh;
    margin: 0px auto;
    display: flex;
    justify-content: center;
    align-items: center;
    background: #ffffff;
    animation: slide-out-container 4s cubic-bezier(0.97, 0.01, 0.36, 0.99) 2.8s;
    animation-fill-mode: forwards;
}

.text-wrapper {
    color: rgb(32, 32, 32);
    justify-items: center;
}

.text {
    font-family: 'Montserrat';
    font-weight: 700;
    font-size: 54px;
}

.text-1, .text-3, .text-4, .text-8, .text-9, .text-11 {
    color: rgb(0, 0, 0);
}

@keyframes blink {
    0% {
        opacity: 0%;
    }
    1% {
        opacity: 100%;
    }
    99% {
        opacity: 100%;
    }
    100% {
        opacity: 0;
    }
}

.text-1 {
    animation: blink 0.8s linear 0.9s, blink 0.8s linear 2s;
    opacity: 0;
}

.text-2 {
    animation: blink 0.8s linear 0.8s, blink 0.8s linear 2.1s;
    opacity: 0;
}

.text-3 {
    animation: blink 0.8s linear 0.7s, blink 0.8s linear 2.2s;
    opacity: 0;
}

.text-4 {
    animation: blink 0.8s linear 0.6s, blink 0.8s linear 2.3s;
    opacity: 0;
}

.text-5 {
    animation: blink 0.8s linear 0.5s, blink 0.8s linear 2.4s;
    opacity: 0;
}

.text-6 {
    animation: blink 0.8s linear 0.4s, blink 0.8s linear 2.5s, slide-out 1s linear 3.2s;
    opacity: 0;
    font-size: 4.8rem;
}

.text-7 {
    animation: blink 0.8s linear 0.5s, blink 0.8s linear 2.4s;
    opacity: 0;
}

.text-8 {
    animation: blink 0.8s linear 0.6s, blink 0.8s linear 2.3s;
    opacity: 0;
}

.text-9 {
    animation: blink 0.8s linear 0.7s, blink 0.8s linear 2.2s;
    opacity: 0;
}

.text-10 {
    animation: blink 0.8s linear 0.8s, blink 0.8s linear 2.1s;
    opacity: 0;
}

.text-11 {
    animation: blink 0.8s linear 0.9s, blink 0.8s linear 2s;
    opacity: 0;
}

@keyframes slide-out {
    0% {
        opacity: 0%;
    }
    1% {
        opacity: 100%;
    }

    19% {
        opacity: 100%;
    }
    20% {
        opacity: 0%;
    }

    39% {
        opacity: 0%;
    }
    40% {
        opacity: 100%;
    }

    59% {
        opacity: 100%;
    }
    60% {
        opacity: 0%;
    }

    79% {
        opacity: 0%;
    }
    80% {
        opacity: 100%;
    }

    100% {
        opacity: 100%;
    }
}

@keyframes slide-out-container {
    0% {
        height: 100vh;
    }

    40% {
        height: 100vh;
    }

    100% {
        height: 0%;
    }
}

@media (max-width: 990px) {
    .header {
        font-size: 24px;
    }

    .text {
        font-size: 24px;
    }
}

ul {
    position:absolute;
    top:50%;
    left:50%;
    transform:translate(-50%, -50%);
    display:flex;
    margin:0;
    padding:0;
    font-family: 'Montserrat';
    font-weight: 700;
    z-index: 2;
    animation-name: fadein;
    animation-duration: 2s;
    animation-delay: 6s;
    animation-fill-mode: forwards;
    opacity:0
}

ul li {
    list-style:none;
    margin:0 5px;
}

ul li a .fa {
    font-size: 40px;
    color: #262626;
    line-height:80px;
    transition: .5s;
    padding-right: 14px;
}

ul li a span {
    padding:0;
    margin:0;
    position:absolute;
    top: 30px;
    color: #262626;
    letter-spacing: 4px;
    transition: .5s;
}

ul li a {
    text-decoration: none;
    display:absolute;
    display:block;
    width:210px;
    height:80px;
    background: #fff;
    text-align:left;
    padding-left: 20px;
    transform: rotate(-30deg) skew(25deg) translate(0,0);
    transition:.5s;
    box-shadow: -20px 20px 10px rgba(0,0,0,.5);
}

ul li a:before {
    content: '';
    position: absolute;
    top:10px;
    left:-20px;
    height:100%;
    width:20px;
    background: #b1b1b1;
    transform: .5s;
    transform: rotate(0deg) skewY(-45deg);
}

ul li a:after {
    content: '';
    position: absolute;
    bottom:-20px;
    left:-10px;
    height:20px;
    width:100%;
    background: #b1b1b1;
    transform: .5s;
    transform: rotate(0deg) skewX(-45deg);
}

ul li a:hover {
    transform: rotate(-30deg) skew(25deg) translate(20px,-15px);
    box-shadow: -50px 50px 50px rgba(0,0,0,.5);
}

ul li:hover .fa {
    color:#fff;
}

ul li:hover span {
    color:#fff;
}

ul li:hover:nth-child(1) a{
    background: #1ED760;
}

ul li:hover:nth-child(1) a:before{
    background: #1ED760;
}

ul li:hover:nth-child(1) a:after{
    background: #1ED760;
}

ul li:hover:nth-child(2) a{
    background: #e1306c
}

ul li:hover:nth-child(2) a:before{
    background: #e1306c;
}

ul li:hover:nth-child(2) a:after{
    background: #e1306c;
}

ul li:hover:nth-child(4) a{
    background: #dd4b39;
}

ul li:hover:nth-child(4) a:before{
    background: #b33a2b;
}

ul li:hover:nth-child(4) a:after{
    background: #e66a5a;
}

ul li:hover:nth-child(3) a{
    background: #fa586a;
}

ul li:hover:nth-child(3) a:before{
    background: #fa586a;
}

ul li:hover:nth-child(3) a:after{
    background: #fa586a;
}

