@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@300&display=swap');
/* font-family: 'Roboto', sans-serif; */

body {
    margin: 0;
    padding: 0;
}

/* Apartado de navegador */

#logo{
    width: 70px;
    margin-bottom: -10px;
}

#navegador {
    display: flex;
    width: 100%;
    background: rgb(24, 24, 24);
    padding-top: 0px;
    padding-bottom: 0px;
    text-decoration: none;
    justify-content: center;
}

@media (max-width: 800px) {
    #navegador {
        width: auto;
    }
}

#navegador li {
    display: inline-block;
    padding-left: 10px;
    padding-right: 10px;
    border-radius: 7px;
    transition: 0.6s;
}

#navegador li:hover {
    background: rgb(221, 221, 221);
    transition: 0.6s;
}

#navegador a {
    text-decoration: none;
    font-family: 'Koulen', cursive;
    color: rgb(218, 218, 218);
    font-size: 19px;
    margin-left: auto;
    margin-right: auto;
}

#navegador a:hover {
    color: black;
}

/* Apartado inicio video fondo */

#texto-inicio {
    width: 50%;
    display: flex;
    padding-top: 250px;
    padding-bottom: -5%;
    font-family: 'Kaushan Script', cursive;
    font-size: 35px;
    text-align: center;
    justify-content: center;
    flex-direction: column;
    align-items: center;
    text-decoration: underline 4px;
    /* Permite que el texto quede sobre el video */
    position: relative;
    margin: auto;
    z-index: 2;
    color: rgb(255, 255, 255);
    border-bottom: 4px dotted #efb810;
    -webkit-text-stroke: 0.1px #c99a0d;
}

#cabecera {
    min-height: 100vh;
    position: relative;
}

video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 95vh;
    object-fit: cover;
}



/* Adaptabilidad del texto en dispositivos moviles */

@media (max-width: 800px) {
    #texto-inicio {
        padding-top: 230px;
    }
}


/* Apartado sobre-nosotros */


#linea{
    width: 60%;
    height: 1px;
    border: 1px solid black;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 3%;
}

#sobre-nosotros h2 {
    width: 40%;
    font-size: 35px;
    font-family: 'Koulen', cursive;
    text-align: center;
    margin-left: auto;
    margin-right: auto;
    border-bottom: 4px dashed rgb(136, 136, 136);
    border-top: 4px dashed rgb(136, 136, 136);
}

#fondo-texto{
    background-color: rgb(239, 239, 239);
}

#sobre-nosotros p {
    width: 55%;
    font-size: 19px;
    font-family: 'Roboto', sans-serif;
    text-align: justify;
    margin-left: auto;
    margin-right: auto;
}

#primer-parrafo{
    margin-top: -1%;
    padding-top: 3%;
}

#ultimo-parrafo{
    padding-bottom: 3%;
}

@media (max-width: 800px) {
    #sobre-nosotros h2 {
        width: 80%;
    }
}

@media (max-width: 800px) {
    #sobre-nosotros p {
        width: 80%;
    }
}

/* Apartado productos */

#productos h2 {
    width: 40%;
    font-size: 35px;
    font-family: 'Koulen', cursive;
    text-align: center;
    margin-left: auto;
    margin-right: auto;
    border-bottom: 4px dashed rgb(136, 136, 136);
    border-top: 4px dashed rgb(136, 136, 136);
}

#productos p {
    width: 55%;
    font-size: 19px;
    font-family: 'Roboto', sans-serif;
    margin-left: auto;
    margin-right: auto;
    text-align: justify;
}

@media (max-width: 800px) {
    #productos p {
        width: 80%;
    }
}

/* Apartado contacto */

#contacto{
    margin-top: 5%;
}

#iconos{
    display: grid;
    justify-content: center;
    grid-template-columns: auto auto auto auto auto;
    margin-left: auto;
    margin-right: auto;
    grid-column-gap: 40px;
}

#red-animada img{
    width: 45px;
    transition: 0.5s;
}

#red-animada img:hover{
    transform: scale(1.20);
    transition: 0.5s;
}

#datos-contacto h2 {
    width: 40%;
    font-size: 35px;
    font-family: 'Koulen', cursive;
    text-align: center;
    margin-left: auto;
    margin-right: auto;
    border-bottom: 4px dashed rgb(136, 136, 136);
    border-top: 4px dashed rgb(136, 136, 136);
}

#datos-contacto{
    margin-top: 5%;
}

#datos-contacto svg{
    width: 40px;
}

#datos-contacto p {
    width: 55%;
    font-size: 19px;
    font-family: 'Roboto', sans-serif;
    text-align: center;
    margin-left: auto;
    margin-right: auto;
}

@media (max-width: 800px) {
    #datos-contacto h2 {
        margin-left: 5%;
        margin-right: 5%;
    }
}

@media (max-width: 800px) {
    #datos-contacto p {
        margin-left: 5%;
        margin-right: 5%;
    }
}

@media (max-width: 800px) {
    #datos-contacto h2 {
        width: 80%;
        margin-right: auto;
        margin-left: auto;
    }
}

@media (max-width: 800px) {
    #datos-contacto p {
        width: 80%;
        margin-right: auto;
        margin-left: auto;
    }
}

/* Apartado de galeria */

#texto-imagenes{
    width: 40%;
    font-size: 28px;
    margin-right: auto;
    margin-left: auto;
    text-align: center;
    border-bottom: 4px dashed rgb(136, 136, 136);
    font-family: 'Koulen', cursive;
}

#grupo-a{
    width: 100%;
    display: grid;
    /* cada auto define la columna (en este caso de 4 columnas y dos filas) */
    grid-template-columns: auto auto;
    margin-left: auto;
    margin-right: auto;
    justify-content: center;
    margin-top: 3%;
    margin-bottom: 2%;
    padding-bottom: 4%;
    padding-top: 4%;
    grid-row-gap: 25px;
    grid-column-gap: 25px;
    background-color: rgb(239, 239, 239);
}


#grupo-b{
    width: 100%;
    display: grid;
    /* cada auto define la columna (en este caso de 4 columnas y dos filas) */
    grid-template-columns: auto auto;
    margin-left: auto;
    margin-right: auto;
    justify-content: center;
    margin-top: 3%;
    margin-bottom: 2%;
    padding-bottom: 4%;
    padding-top: 4%;
    grid-row-gap: 25px;
    grid-column-gap: 25px;
    background-color: rgb(239, 239, 239);
}

#grupo-c{
    width: 100%;
    display: grid;
    /* cada auto define la columna (en este caso de 4 columnas y dos filas) */
    grid-template-columns: auto auto;
    margin-left: auto;
    margin-right: auto;
    justify-content: center;
    margin-top: 3%;
    margin-bottom: 2%;
    padding-bottom: 4%;
    padding-top: 4%;
    grid-row-gap: 25px;
    grid-column-gap: 25px;
    background-color: rgb(239, 239, 239);
}

#grupo-d{
    width: 100%;
    display: grid;
    /* cada auto define la columna (en este caso de 4 columnas y dos filas) */
    grid-template-columns: auto auto;
    margin-left: auto;
    margin-right: auto;
    justify-content: center;
    margin-top: 3%;
    margin-bottom: 2%;
    padding-bottom: 4%;
    padding-top: 4%;
    grid-row-gap: 25px;
    grid-column-gap: 25px;
    background-color: rgb(239, 239, 239);
}

#grupo-a{
    width: 100%;
    position: relative;
    display: flex;

}

#grupo-a img {
    display: flex;
    position: relative;
    width:  400px;
    height: 400px;
    justify-content: center;
    align-items: center;
    border-radius: 8px 8px 8px 8px;
    border-left: 4px dotted #c09617;
    border-right: 4px dotted #c09617;
    transition: 0.6s;
}

#grupo-a img:hover{
    transform:scale(1.10);
    transition: 0.5s;
}

#grupo-b img:hover{
    transform:scale(1.10);
    transition: 0.5s;
}

#grupo-c img:hover{
    transform:scale(1.10);
    transition: 0.5s;
}

#grupo-d img:hover{
    transform:scale(1.10);
    transition: 0.5s;
}

#grupo-b img {
    display: flex;
    width:  400px;
    height: 400px;
    justify-content: center;
    align-items: center;
    border-radius: 8px 8px 8px 8px;
    border-left: 4px dotted #c09617;
    border-right: 4px dotted #c09617;
    transition: 0.6s;
}

#grupo-c img {
    display: flex;
    width:  400px;
    height: 400px;
    justify-content: center;
    align-items: center;
    border-radius: 8px 8px 8px 8px;
    border-left: 4px dotted #c09617;
    border-right: 4px dotted #c09617;
    transition: 0.6s;
}

#grupo-d img {
    display: flex;
    width:  400px;
    height: 400px;
    justify-content: center;
    align-items: center;
    border-radius: 8px 8px 8px 8px;
    border-left: 4px dotted #c09617;
    border-right: 4px dotted #c09617;
    transition: 0.6s;
}

@media (max-width: 1100px) {
    #galeria-imagenes {
        display: grid;
        width: 100vw;
        grid-template-columns: auto auto auto auto;
        justify-content: end;
        margin-left: 2.3%;
        grid-row-gap: 35px;
    }
}

@media (max-width: 800px) {
    #galeria-imagenes {
        display: grid;
        width: 100%;
        grid-template-columns: auto;
        /* justify-content: center; */
        margin-right: auto;
        margin-left: auto;
        
    }
}

@media (max-width: 800px) {
    #grupo-a {
        display: grid;
        justify-content: center;
        grid-template-columns: auto;
    }
}

@media (max-width: 800px) {
    #grupo-b {
        display: grid;
        justify-content: center;
        grid-template-columns: auto;
    }
}

@media (max-width: 800px) {
    #grupo-c {
        display: grid;
        justify-content: center;
        grid-template-columns: auto;
    }
}

@media (max-width: 800px) {
    #grupo-d {
        display: grid;
        justify-content: center;
        grid-template-columns: auto;
    }
}

@media (max-width: 800px) {
    #texto-imagenes {
        width: 80%;
    }
}

/* Apartado footer */

footer{
    text-align: center;
    font-family: 'Koulen', cursive;
    font-size: 19px;
    background: #c9b977;
    margin-bottom: -19px;
}

.mapa{
    margin-top: 25px;
    margin-bottom: 100px;
}