* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    overflow-x: hidden;
}

#bg-video {
    position: absolute;
    right: 0;
    bottom: 0;
    min-width: 100%;
    min-height: 100%;
    z-index: -1;
}

.overlay {
    width: 100%;
    height: 100vh;
    background: rgba(5, 1, 55, .7);
    z-index: -1;
}

.arrow-down {
    position: absolute;
    left: 50%;
    bottom: 30px;
    transform: translateX(-50%);
    width: 40px;
    opacity: 0.7;
    animation-name: arrowDown;
    animation-duration: 1.3s;
    animation-iteration-count: 3;
}

.arrow-up {
    width: 100%;
}

/* Navbar */
.navbar {
    position: absolute;
    width: 100%;
    top: 0;
    background: rgba(0, 0, 0, .6);
}

.nav-item {
    padding: 1rem 2rem;
}

.nav-link {
    font-family: lato, sans-serif;
    font-weight: bold;
    color: #fff;
    font-size: 1.5rem;
}

.nav-link:hover {
    color: #fff;
}

.section-title {
    font-size: 5rem;
}

.section-text {
    font-size: 2rem;
    text-align: left;
    color: #fff;
}

/* Main */
#main-content {
    position: initial;
    width: 100%;
    height: 100vh;
}

.content {
    width: 100%;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    color: #fff;
}

.heading {
    font-size: 5rem;
    line-height: 4.5rem;
}

.sub-heading {
    font-size: 2rem;
}

/* About */
#about {
    background: rgba(5, 1, 55, .8);
    color: #fff;
}

.about-text {
    font-size: 1.6rem;
    line-height: 2.5rem;
}

/* Contact */
#contact-form {
    min-width: 50%;
}

/* Footer */
footer {
    width: 100%;
    padding: 1rem;
    background-color: #1c2331;
}

.footer-text {
    color: #fff;
    text-align: center;
    font-weight: 400;
    opacity: .8;
}

/* Medias */
@media screen and (max-width: 800px) {
    .nav-item {
        padding: 0;
    }

    .nav-link {
        font-size: 1rem;
    }

    .sub-heading {
        font-size: 1.6rem;
        padding: 0 10px;
    }

    .heading {
        line-height: 3.5rem;
        font-size: 3.6rem;
        padding: 0 10px;
    }

    .section-text {
        font-size: 1.6rem;
    }

    #contact-form {
        min-width: 75%;
    }
}

/* Keyframes */
@keyframes arrowDown {
    0% {
        transform: translate(-50%, 0);
    }

    50% {
        transform: translate(-50%, 20px);
    }

    100% {
        transform: translate(-50%, 0);
    }
}