.hero {
    text-align: center;
    color: var(--clr-white);
    overflow: hidden;
    height: 100svh;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

.hero__title {
    font-size: 4.5rem;
    letter-spacing: 0.5rem;
    font-weight: 600;
    text-transform: uppercase;
    animation: sizeUp 3s;
}

.hero__title::selection {
    background: rgba(255, 255, 255, 0.1);
    color: #27b1bb;
}

.hero__btn {
    position: relative;
    background-color: rgba(255, 255, 255, 0.5);
    color: black;
    top: 8rem;
    padding: 0.75rem 2rem;
    box-shadow: 0 .5rem 1rem rgba(0,0,0,.5);
    letter-spacing: 0.05rem;
}

.hero__btn:hover {
    background-color: white;
}

.video-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: -1;
}

.hero__video {
    position: absolute;
    top: 0;
    left: 0;
    z-index: -1;
    transform: scale(1.6);
}

.video-container2 {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 13%;
    overflow: hidden;
    z-index: -1;
}

.hero__video2 {
    position: absolute;
    top: 0;
    left: 0;
    z-index: -1;
    transform: scale(1.6);
}

@media (min-aspect-ratio: 16/9){
    .hero__video{
        width: 100%;
        height: auto;
    }
}

@media (max-aspect-ratio: 16/9){
    .hero__video{
        width: auto;
        height: 100%;
    }
}

@media (max-width: 1536px) {
    .hero__title {
        font-size: 4rem;
    }
}

@media (max-width: 1280px) {
    .hero__title {
        font-size: 3.5rem;
    }
    .hero__btn {
        padding: 0.7rem 1.75rem;
        font-size: 0.9rem;
    }
}

@media (max-width: 1024px) {
    .hero__title {
        font-size: 3rem;
    }
    .hero__btn {
        padding: 0.5rem 1.5rem;
        font-size: 0.8rem;
    }
}

@media (max-width: 768px) {
    .hero__title {
        font-size: 2.8rem;
        max-width: 90%;
    }
}

@media (max-width: 640px) {
    .hero__title {
        font-size: 2.5rem;
    }
    .hero__btn {
        padding: 0.5rem 1.5rem;
        font-size: 0.8rem;
    }
}

@media (max-width: 475px) {
    .hero__title {
        font-size: 2rem;
    }
}
