@import url('https://fonts.googleapis.com/css2?family=Nunito:wght@200;300;400;600;700&display=swap');

:root {
    --blue: rgb(17, 40, 80);
}


* {
    margin: 0;
    padding: 0;
    text-decoration: none;
    transition: .4s;
    color: white;
    font-family: 'Nunito', sans-serif;
}

html {
    font-size: 62.5%;
    background:rgb(47, 47, 47);
}

a {
    color: #fff;
}

section {
    min-height: 100vh;
}

.btn {
    background: #fff;
    color:#3f0ccb;
    padding: 1rem 3rem;
    font-size: 2rem;
    text-align: center;
    border-radius: 10px;
}

.btn:hover {
    color: #fff;
    background:transparent;
    border: 2px solid white;
}

/* Header styles */

header {
    position: fixed;
    font-size: 2.5rem;
    display: flex;
    width: 90%;
    left: 50%;
    transform: translateX(-50%);
    padding: 2rem 5rem;
    z-index: 1000;
}

header .navbar {
    position: absolute;
    top: 0;
    left: -110%;
    width: 100%;
    min-height: 100vh;
    display: flex;
    z-index: 1002;
}

header .navbar.active {
    left: 0;
}

header .navbar.active .shadow {
    width: 50%;
    height: 100vh;
    background:rgba(54, 54, 54, 0.5);
}

header .navbar .collapse {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    padding: 8rem 0;
    width: 60%;
	background: linear-gradient(-45deg,#5271ee, #bb2887, #19299f, #3f0ccb);
	background-size: 400% 400%;
    animation: gradient 5s ease infinite;
	height: 100vh;
}

header .navbar .collapse a {
    text-transform: uppercase;
    font-size: 1.7rem;
}

header .logo {
    font-size: 2.7rem;
    font-weight: bold;
}

@keyframes gradient {
	0% {
		background-position: 0% 50%;
	}
	50% {
		background-position: 100% 50%;
	}
	100% {
		background-position: 0% 50%;
	}
}


header .toggle {
    color: #fff;
    cursor: pointer;
    margin-left: auto;
    z-index: 1002;
}

/* videos */
.video-container {
    position: absolute;
    height: 100vh;
    width: 100%;
}

.video-container video {
    object-fit: cover;
    width: 100%;
    height: 100%;
    animation: vid .5s alternate;
}

@keyframes vid {
    0% {
        transform: scale(3.5) skew(-45deg) rotate(45deg);
    }
}

.home {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 100vh;
}

.home .text-content {
    z-index: 999;
    display: flex;
    flex-direction: column;
}

.home .text-content .btn {
    margin-top: 30px;
}
.home .text-content h3 {
    font-size: 5rem;
}

.home .text-content h4 {
    font-size: 2rem;
}

.home .text-content .selector {
    margin-top: 30px;
    display: flex;
    justify-content: center;
    gap: 1rem;
}

.home .text-content .selector .dot.active {
    background: #fff;
}

.home .text-content .selector .dot {
    width: 50px;
    height: 20px;
    border-radius: 20px;
    background:rgb(135, 135, 135);
    cursor: pointer;
}


/* Media queries */

@media (min-width: 991px) {
    header {
        top:0;
        flex-direction:row;
        align-items: center;
        padding: 2rem 0;
    }
    header .navbar {
        position: relative;
        top:0;
        left: 0;
        min-height: 100%;
        
    }
    header .navbar .collapse {
        position: relative;
        width: 100%;
        height: 100%;
        flex-direction: row;
        padding: 0;
        align-items: start;
        justify-content: end;
        background: transparent;
    }
    
    header .shadow {
        display: none;
    }

    header .toggle {
        display: none;
    }
}