
/*google font*/
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;700&family=Lato:wght@300;400&display=swap');

/*Global Styles*/
body, html {
    height: 100%;
    margin: 0;
    font-family: 'Lato', sans-serif;
    overflow: hidden;
}

body.fade-out {
    opacity: 0;
    transition: opacity 0.5s ease-out;
}

/*Base Styles*/
h1 {
  font-family: 'Poppins', sans-serif;
  font-weight: 550;
}

p {
  font-family: 'Lato', sans-serif;
  font-weight: 400;
}

/*Background*/
#myVideo {
    position: fixed;
    right: 0;
    bottom: 0;
    min-width: 100%;
    min-height: 100%;
    z-index: -1;
}

/*Content*/
.content {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    background: rgba(0, 0, 0, 0.6);
    color: #fff;
}

.hero-text {
    animation: fadeInUp 1.5s ease-out;
}

.hero-text h1 {
    font-size: 4em; 
    margin-bottom: 0.2em;
} 

.hero-text p {
    font-size: 1.5em;
    margin-bottom: 2em;
} 

.explore-button {
    display: inline-block;
    padding: 1rem 1.8rem;
    font-size: 1.5rem;
    color: white;
    background-color: transparent;
    border: 0.125rem solid white;
    border-radius: 3.125rem;
    text-decoration: none;
    transition: background-color 0.3s ease, color 0.3s ease;
    font-family: 'Poppins', sans-serif;
    font-weight: 400;
}

.explore-button:hover {
    background-color: rgba(163, 137, 228, 0.826);
    color: #ffffff;
    border-color: rgb(255, 255, 255);
}

/*Animations*/
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(1.25rem);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}


/* Mobile Devices */
@media (max-width: 48rem) {
    .hero-text h1 {
        font-size: 2.5em;
    }

    .hero-text p {
        font-size: 1.2em;
    }

    .explore-button {
        padding: 0.8rem 1.5rem;
        font-size: 1.2rem;
    }
}

/* Tablet Devices */
@media (min-width: 48.0625rem) and (max-width: 64rem) {
    .hero-text h1 {
        font-size: 3.5em;
    }

    .hero-text p {
        font-size: 1.4em;
    }

    .explore-button {
        padding: 1rem 1.8rem;
        font-size: 1.4rem;
    }
}

/* Desktop Devices */
@media (min-width: 64.0625rem) {
    .hero-text h1 {
        font-size: 4em;
    }

    .hero-text p {
        font-size: 1.5em;
    }

    .explore-button {
        padding: 1rem 1.8rem;
        font-size: 1.5rem;
    }
}
 