:root {
    --blanco: #ffffff;
    --oscuro: #212121;
    --azulmarino: rgb(1, 1, 63);
    --primario: #ffc107;
    --secundario: #0097A7;
    --gris: #757575;
}


/* ------ GLOBALES------ */
html {
    box-sizing: border-box;  /* Hack para Box Model */
}

body {
    background-image: url(../img/fondoweb08.jpg);
    background-size:cover;
    position: relative;
    box-sizing: border-box;  /* Hack para Box Model */
    margin-bottom: 2rem;
}


.encabezado {
    display: flex;
    align-items:center;
    margin-left: 23%;
}

@media (min-width: 768px) {
    .encabezado {
        display: flex;
        align-items:center;
        margin-left: 35%
    }
}

.encabezado img {
    width: 16%;
    filter: drop-shadow(3px 4px 5px);
}

@media (min-width: 768px) {
    .encabezado img {
        width: 12%;
        filter: drop-shadow(3px 4px 5px);
    }
}

h1 {
    font-family:Arial var(--azulmarino);
    font-size: 200%;
    color: var(--azulmarino);
    text-shadow: 5px 5px 4px rgb(77, 70, 70); 
    margin-left: 1rem;
}

@media (min-width: 768px) { 
    h1 {
        font-size:400%;
    }
}


.navegacion-principal {
    display: flex;
    flex-direction: column;
}

@media (min-width: 768px) { 
    .navegacion-principal {
        flex-direction: row;
        align-content: center;
        justify-self: center;
    }
}

.menupral {
    background-color: var(--azulmarino);
    margin-bottom: 2rem;
}

.navegacion-principal a {
    display: block;
    text-align: center;
    color: white;
    text-decoration: none;
    font-size: 1.5rem;
    font-weight: 700;   /* Bold */
    padding: 0.5rem;
}

.navegacion-principal a:hover {
    background-color: var(--primario);
    color: var(--oscuro);
}

.inicio {
    display: flex;
    flex-direction: column;
}

.imagenes img {
    margin-right: 2%;
    margin-left: 20% ;
    margin-bottom: 5%;
    width: 60%;
}


.sombra1 {
    -webkit-box-shadow: 15px 14px 28px 1px rgba(0,0,0,0.75);
    -moz-box-shadow: 15px 14px 28px 1px rgba(0,0,0,0.75);
    box-shadow: 15px 14px 28px 1px rgba(0,0,0,0.75);
}

@media (min-width: 768px) { 
    .inicio {
        flex-direction: row;
        align-content: center;
        justify-self: center;
    }
    .imagenes img {
         margin-right: 2%;
        margin-left: 5% ;
        width: 25%;
    }
}

.subtxt {
    text-align: center;
    font-size: 1.5rem;
    font-weight: bold;
}

.rooms {
    display: flex;
    flex-direction: column;
    align-items: flex-start;

}

@media (min-width: 768px) {
    .rooms {
        display: flex;
        flex-direction: row;
        align-items: flex-start;    }
}

.inicio img {
    margin-left: 9%;
    width: 25%;
}

.rooms img {
    width: 60%;
    margin-left: 20%;
    margin-top: 5%;
    margin-bottom: 1%
}

@media (min-width: 768px) {
    .rooms img {
        width: 70%;
        margin-left: 12%;
        margin-top: 5%;
        margin-bottom: 1%;
    }
}

.rooms p {
    display: block;
    text-align: center;
    font-weight: bold;
    font-size: 1.8rem;
    color: black;
}

.text {
    font-size: 1.8rem;
    font-weight: bold;
    text-align: center;
    text-shadow: 5px 5px 4px  rgb(77, 70, 70); 
}

/* Estilos para el formulario de contacto */
main.contenedor {
    max-width: 800px;
    margin: 0 auto;
    margin-bottom: 2%;
    padding: 2rem;
    background-color: rgba(255, 255, 255, 0.9);
    border-radius: 10px;
    box-shadow: 15px 14px 28px 1px rgba(0,0,0,0.75);
}

main h2 {
    text-align: center;
    color: var(--azulmarino);
    margin-bottom: 2rem;
}

.campo {
    margin-bottom: 1.5rem;
}

.campo label {
    display: block;
    font-weight: bold;
    margin-bottom: 0.5rem;
    color: var(--oscuro);
}

.campo input,
.campo textarea {
    width: 100%;
    padding: 0.5rem;
    border: 1px solid var(--gris);
    border-radius: 5px;
    font-size: 1rem;
}

.campo textarea {
    resize: vertical;
}

button[type="submit"] {
    display: block;
    width: 100%;
    padding: 0.75rem;
    background-color: var(--primario);
    color: var(--oscuro);
    border: none;
    border-radius: 5px;
    font-size: 1.2rem;
    cursor: pointer;
    transition: background-color 0.3s;
}

button[type="submit"]:hover {
    background-color: var(--secundario);
}