
header {
    display: flex;
    flex: wrap;
    flex-wrap: wrap;
    justify-content: center;
    color: white;
    text-align: center;
}

.fondomorado {
    background-image: url(fondo.png);
    background-size: cover;
    background-position: center;
}

* {
    margin: 0;
    padding: 0;
    font-family: "Lexend", serif;
    user-select: none;
}

a {
    color: rgb(0, 180, 255);
}

.textnav {
    color: white;
    background-color: transparent;
    text-decoration: none;
    text-align: center;
    transition: 0.2s;
}

.textnav:hover {
    background-color: rgba(0, 0, 0, 0.3);
    padding: 5px 10px;
    border-radius: 5px;
}

.active .textnav:hover {
    color: rgb(0, 180, 255);
    background-color: rgb(0, 0, 0);
    padding: 0;
}
    
html {
    scroll-behavior: smooth;
    background-color: black;
    color: white;
    text-align: center;
}

.blacksection {
    background-color: black;
    color: white;
    text-align: center;
}

.whitesection {
    background-color: rgb(255, 255, 255);
    color: rgb(0, 0, 0);
    text-align: center;
}

img {
    pointer-events: none;
}

#linksocial {
    pointer-events: all;
}

nav {
    position: fixed;
    display: flex;
    left: 0;
    right: 0;
    transition: 0.3s;
    background-color: transparent;
}

.active {
    background-color: black;
}

@media (min-width: 900px) {
    header h1 {
    text-align:left;
    line-height: 100%;
    }


    nav {
        justify-content: center;
        padding: 20px 0;
    }
    
    .textnav {
        margin: 0 10px;
        font-size: 20px;
    }
    
    h1 {
        font-size: 100px;
    }
    
    h2 {
        font-size: 50px;
        font-weight: 300;
    }
    
    h4 {
        font-size: 30px;
        font-weight: 300;
    }
    
    
    .blacksection, .whitesection {
        padding: 40px 20px;
    }
    
    .videosyt {
        width: 500px;
        height: 280px;
        margin: 10px 10px;
        border-radius: 10px;
    }
    
    header {
        display: flex;
        justify-content: center;
        flex: wrap;
        padding: 100px 0;
        user-select: none;
    }

    #linksocial {
        width: 200px; height: 200px;  margin-top: 25px; margin-bottom: -50px;
    }

    .menumoviles {
        width: 0%;
        margin: 0%;
        padding: 0%;
        height: 0%;
    }
}


@media (max-width: 900px) {
    
    .navmoviles {
        color: white;
        font-size: 50px;
        text-decoration: none;
        margin-bottom: 30px;
        text-align: left;
    }

    .barranavmoviles {
        background-color: black;
        display:grid;
        padding: 100px 30px;
    }
    
    nav {
        font-size: 0%;
        width: 0%;
        height: 0%;
        margin: 0%;
        padding: 0%;
    }
    
    .textnav {
        font-size: 0%;
        width: 0%;
        height: 0%;
        margin: 0%;
        padding: 0%;
    }

    .menumoviles {
        color: white;
        margin: 10px;
        pointer-events: all;
    }

    .blacksection, .whitesection {
        padding: 10px 20px;
    }

    .videosyt {
        min-width: 30px;
        min-height: 30px;
        max-width: 290px;
        max-height: 160px;
        margin: 10px 10px;
        border-radius: 10px;
    }

    h1 {
        font-size: 60px;
    }
    
    h2 {
        font-size: 35px;
        font-weight: 300;
    }
    
    h4 {
        font-size: 20px;
        font-weight: 300;     
    }

    header {
        padding: 80px 0;
        user-select: none;
    }
    
    #linksocial {
        width: 120px; 
        height: 120px;  
        margin-top: 18px;
    }

}