html{
    scroll-behavior: smooth;  /*Esto hace que la pagina se deslice de manera gradual hacia la posicion deseada en lugar de cambiar bruscamente*/
}

body{
    font-family: "Roboto", sans-serif;
}

nav{
    display: block;
    align-items: center;
    background-color: red;
}

ul{
    list-style-type: none;
    margin: 0 15px;
    padding: 14px 0;
    display: flex;
    justify-content: space-between;
}

.nav{
    text-decoration: none;
    color:white;
    padding: 0 50px;
}


.nav:hover{
    text-decoration: underline;
}

main{
    margin: 20px 5%;
}

.principal{
    font-size: 36px;
    color: red;
}

.titulo{
    text-align: center;
    text-decoration: underline;
}

.titulo-formulario{
    text-align: center;
}

.subtitulo{
    font-size: 24px;
    color: gray;
}

.contenedor-productos{
    display:flex;
    width: 100%;
}

.producto{
    display: inline-block;
    width: 285px;
    margin: 20px auto;
    padding: 15px;
    background-color: #eee;
    border-radius: 8px;
}

.imagen-producto{
    margin: auto;
    display: block;
    height: 200px;
}

#video{
    background-color: #eee;
    border-radius: 8px;
    padding: 20px;
}

p{
    font-style: italic;
    font-size: 16px;
}

p > span{
    font-weight: 800;
    text-decoration: underline;
    color: green;
}

form{
    padding: 20px;
    width: 60%;
    margin: auto;
    border: 1px solid #eee;
}

.mayor-edad, .checkbox{
    display: flex;
    flex-direction: row;
    margin: 0;
    padding: 0;
    justify-content: left;
}

.checkbox > input, .mayor-edad > input{
    width: 20px;
}

label{
    display:block;
}

input, select{
    border-radius: 8px;
    display:block;
    width: 100%;
    height: 25px;
    margin-bottom: 10px;
    border-color: red;
}

textarea{
    width: 100%;
    border-color: red;
    margin-bottom: 10px;
    border-radius: 8px;
    height: 100px;
}

footer i{
    font-size: 35px;
    border: 1px solid;
    height: 48px;
    padding: 15px 10px 5px;
    border-radius: 80px;
    margin: 0 15px;
    color: red;
}

footer{
    display: flex;
    justify-content: center;
}

.nosotros-main{
    margin-bottom: 55px;
}

@media (max-width: 460px){
    h1{
        font-size: 20px;
    }

    h2{
        font-size: 14px;
    }

    p{
        font-size: 12px;
    }

    main{
        margin: 10px 2%;
    }

    #video iframe{
        width: 100%;
        height: 300px;
    }
}