/* media queries */

html {
    font-size: 50%;
}

@media (max-width: 630px) {
    .introducao .container {
        flex-direction: column;
        text-align: center;
    }
    .introducao .container img {
        order: -1;
    }
    .form-group {
        display: block;
    }
    .video-foreground,
    .video-background img {
    width: 100vw;
    height: auto;
    border-radius: 5%;
    }
    
}

@media (max-width: 540px) {
    nav {
        display: none;
    }
    .one,
    .two,
    .three {
        background-color: #fff;
        height: 5px;
        width: 100%;
        margin: 6px auto;
        transition-duration: 0.3s;
    }
    .menu-toggle {
        width: 40px;
        height: 30px;
        margin-right: 20px;
    }
    /* fullscreen */
    .menu-section.on {
        position: absolute;
        top: 0;
        left: 0;
        width: 100vw;
        height: 100vh;
        background-color: #7159c1;
        z-index: 10;
        display: flex;
        justify-content: center;
        align-items: center;
    }
    .menu-section.on nav {
        display: block;
    }
    .menu-section.on .menu-toggle {
        position: absolute;
        right: 25px;
        top: 15px;
    }
    .menu-section.on .menu-toggle .one {
        transform: rotate(45deg) translate(7px, 7px);
    }
    .menu-section.on .menu-toggle .two {
        opacity: 0;
    }
    .menu-section.on .menu-toggle .three {
        transform: rotate(-45deg) translate(8px, -9px);
    }
    .menu-section.on nav ul {
        text-align: center;
        display: block;
    }
    .menu-section.on nav ul a {
        transition-duration: 0.5s;
        font-size: 3rem;
        line-height: 4rem;
        display: block;
    }
    .video-foreground,
    .video-background img {
    width: 100vw;
    height: auto;
    border-radius: 5%;
    }
}

@media (max-width: 320px) {
    #form h3 {
        font-size: 2rem;
    }
}