@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@200;400;600;700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display&family=Spectral:ital,wght@100;200;400;600;700&display=swap');


.video-main {
    opacity: 100%;
    transition: opacity 400ms;
}
.video-gone {
    opacity: 0%;
}
.playfair-font {
    font-family: Playfair Display, serif;
}
.center {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%);
}
.glow {
    position: absolute;
    top: calc(52% - 50px);
    left: calc(8% - 50px);
    border-radius: 80%;
    -webkit-animation: glow 3s linear 0s infinite alternate;
}
.glow2 {
    position: absolute;
    top: calc(26% - -40px);
    left: calc(8% - 10px);
    border-radius: 90%;
    -webkit-animation: glow 3s linear 0s infinite alternate;
}
.particles {
    position: absolute;
    top: calc(32% - 50px);
    left: calc(8% - 50px);
    width: 100px;
    height: 100px;
}
.rotate {
    position: absolute;
    top: calc(50% - 5px);
    left: calc(50% - 5px);
    width: 10px;
    height: 10px;
}
.angle {
    position: absolute;
    top: 0;
    left: 0;
}
.size {
    position: absolute;
    top: 0;
    left: 0;
}
.position {
    position: absolute;
    top: 0;
    left: 0;
}
.pulse {
    position: absolute;
    top: 0;
    left: 0;
}
.particle {
    position: absolute;
    top: calc(50% - 5px);
    left: calc(50% - 5px);
    width: 10px;
    height: 10px;
    border-radius: 50%;
}
.rotate {
    -webkit-animation: rotate 20s linear 0s infinite alternate;
}
.pulse {
    -webkit-animation: pulse 1.5s linear 0s infinite alternate;
}
@-webkit-keyframes glow {
    0% {
        transform: rotate(0deg);
        box-shadow: 0 0 60px 30px #ffffff, 25px 15px 50px 10px #fff, -5px -25px 30px 5px #fff;
        z-index:20;
    }
    100% {
        transform: rotate(10deg);
        box-shadow: 0 10px 50px 20px #56bcf9, 100px 40px 60px 20px #fff, -30px -30px 40px 5px #fff;
    }
}
@-webkit-keyframes rotate {
    0% {
        -webkit-transform: rotate(0deg);
    }
    100% {
        -webkit-transform: rotate(360deg);
    }
}
@-webkit-keyframes angle {
    0% {
        -webkit-transform: rotate(0deg);
    }
    100% {
        -webkit-transform: rotate(360deg);
    }
}
@-webkit-keyframes size {
    0% {
        -webkit-transform: scale(0.2);
    }
    100% {
        -webkit-transform: scale(0.6);
    }
}
@-webkit-keyframes pulse {
    0% {
        -webkit-transform: scale(1);
    }
    100% {
        -webkit-transform: scale(0.5);
    }
}
@-webkit-keyframes particle {
    0% {
        box-shadow: inset 0 0 20px 20px #BEBDBE, 0 0 50px 10px #0079e8, inset 0 0 80px 80px #269aff;
    }
    33.33% {
        box-shadow: inset 0 0 20px 20px #BEBDBE, 0 0 130px 10px #0079e8, inset 0 0 50px 50px #269aff;
    }
    33.34% {
        box-shadow: inset 0 0 20px 20px #d1d1d1, 0 0 50px 10px #2693ff, inset 0 0 80px 80px #52abff;
    }
    66.66% {
        box-shadow: inset 0 0 20px 20px #BEBDBE, 0 0 130px 10px #2693ff, inset 0 0 50px 50px #52abff;
    }
    66.67% {
        box-shadow: inset 0 0 20px 20px #d1d1d1, 0 0 50px 10px #485fe8, inset 0 0 80px 80px #7d71e8;
    }
    100% {
        box-shadow: inset 0 0 20px 20px #BEBDBE, 0 0 130px 10px #485fe8, inset 0 0 50px 50px #7d71e8;
    }
}
.rotate .angle:nth-child(1) {
    /* change the angle every 2 seconds */
    -webkit-animation: angle 10s steps(5) 0s infinite;
}
.rotate .angle:nth-child(1) .size {
    /* change the size of the particle every 2 seconds */
    -webkit-animation: size 10s steps(5) 0s infinite;
}
.rotate .angle:nth-child(1) .particle {
    /* animate the glow and change the color every 2 seconds */
    -webkit-animation: particle 6s linear infinite alternate;
}
.rotate .angle:nth-child(1) .position {
    /* animate the fly out of the particle and its fade out at the end */
    -webkit-animation: position 2s linear 0s infinite;
}
.rotate .angle:nth-child(2) {
    /* change the angle every 2 seconds */
    -webkit-animation: angle 4.95s steps(3) -1.65s infinite;
}
.rotate .angle:nth-child(2) .size {
    /* change the size of the particle every 2 seconds */
    -webkit-animation: size 4.95s steps(3) -1.65s infinite alternate;
}
.rotate .angle:nth-child(2) .particle {
    /* animate the glow and change the color every 2 seconds */
    -webkit-animation: particle 4.95s linear -3.3s infinite alternate;
}
.rotate .angle:nth-child(2) .position {
    /* animate the fly out of the particle and its fade out at the end */
    -webkit-animation: position 1.65s linear 0s infinite;
}
.rotate .angle:nth-child(3) {
    /* change the angle every 2 seconds */
    -webkit-animation: angle 13.76s steps(8) -6.88s infinite;
}
.rotate .angle:nth-child(3) .size {
    /* change the size of the particle every 2 seconds */
    -webkit-animation: size 6.88s steps(4) -5.16s infinite alternate;
}
.rotate .angle:nth-child(3) .particle {
    /* animate the glow and change the color every 2 seconds */
    -webkit-animation: particle 5.16s linear -1.72 infinite alternate;
}
.rotate .angle:nth-child(3) .position {
    /* animate the fly out of the particle and its fade out at the end */
    -webkit-animation: position 1.72s linear 0s infinite;
}
.rotate .angle:nth-child(5) .position {
    /* animate the fly out of the particle and its fade out at the end */
    -webkit-animation: position 2.45s linear 0s infinite;
}

.link {   
    display: inline-flex;
    align-items: center;
    padding: 5px;
    text-decoration: none;
    transform: rotate(-90deg) translate3d(-300px, 0, 0);
}
.link__arrow {
    display: inline-flex;
}
.link__arrow span {
    width: 14px;
    height: 2px;
    border-radius: 2px;
    overflow: hidden;
    background: #BEBDBE;
    z-index: 2;
}
.link__arrow span:nth-child(1) {
    transform-origin: left bottom;
    transform: rotate(45deg) translate3d(8px, -10px, 0);
}
.link__arrow span:nth-child(2) {
    transform-origin: left bottom;
    transform: rotate(-45deg);
}
.link__arrow span:after {
    content: '';
    display: block;
    position: absolute;
    left: 0;
    width: 0;
    height: 2px;
    background: bisque;
}
.link__line {
    position: relative;
    margin-right: 30px;
    width: 200px;
    height: 2px;
    background: #BEBDBE;
    overflow: hidden;
    z-index: 1;
}
.link__line:after {
    content: '';
    display: block;
    position: absolute;
    left: 80px;
    width: 70px;
    height: 2px;
    background: bisque;
}
.link__text {
    color: whitesmoke;
    font-family: 'Playfair Display', sans-serif;
    font-size: 18px;
    text-transform: uppercase;
}
.link:hover .link__line:after {
    animation: animation-line 1.5s forwards;
}
.link:hover .link__arrow span:after {
    animation: animation-arrow 1.5s forwards;
    animation-delay: 1s;
}
@keyframes animation-line {
    0% {
        left: 80px;
    }
    100% {
        left: 0;
    }
}
@keyframes animation-arrow {
    0% {
        width: 0;
    }
    100% {
        width: 100%;
    }
}

.arrow span {
    display: block;
    width: 20px;
    height: 20px;
    border-bottom: 4px solid white;
    border-right: 4px solid white;
    animation: animate 2s infinite;
}

.arrow span:nth-child(2) {
    animation-delay: -0.2s;
}

.arrow span:nth-child(3) {
    animation-delay: -0.4s;
}

@keyframes animate {
    0% {
        opacity: 0;
        transform: rotate(45deg) translate(-20px, -20px);
    }
    50% {
        opacity: 1;
    }
    100% {
        opacity: 0;
        transform: rotate(45deg) translate(20px, 20px);
    }
}

.hover {
    transition: transform 200ms;
    
    &:hover {
        transform: scale(103%);
    }
}

.content1-img {
    opacity: 100%;
    transition: opacity 150ms;
}
.fade-out {
    opacity: 0;
}


