/* page02.css */

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Courier New', Courier, monospace;
    background-color: rgb(215, 245, 250);
    background-image: url(imagenes/arabito.jpg);
    background-repeat: no-repeat;
    background-attachment: fixed;
    background-position: right;
    background-size: contain;
    margin: 0;
}

.container {
    display: flex;
    flex-direction: column;
    gap: 4rem;
    margin: auto;
    max-width: 1500px;
    padding: 2rem;
}

/* Header */

header {
    background-color: rgb(234, 221, 238, 0.8);
    border-radius: 20px;
    padding: 1rem;
    text-align: center; 
    color: darkslateblue;
}

header h1 {
    text-shadow: 0.2rem 0.2rem 0.5rem;
    font-size: 3rem;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
}

.caballo1 {
    width: 300px;
    height: auto;
    filter: drop-shadow(10px 10px 15px black)
}

#indice {
    display: flex;
    justify-content: center;
    gap: 0.2rem;
}

.enlace1 {
    background-color: darkslateblue;
    border-width: 1px;
    border-style: solid;
    border-radius: 10px;
    font-size: 1.1rem;
    font-style: italic;
    padding: 0.3rem;
    text-decoration: none;
}

.enlace1:link {
    color: rgb(246, 172, 248);
}

.enlace1:visited {
    color: rgb(247, 207, 241);
}

.enlace1:hover {
    color: rgb(200, 88, 252);
    background-color: white;
}

.enlace1:active {
    color: rgb(108, 35, 245);
}

/* Tabla */

.tabla {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

table {
    width: 70%;
    border-width: 6px;
    border-style: solid;
    border-color: rgb(55, 0, 78);
    border-collapse: collapse;
    caption-side: top;
    background-color: rgb(243, 235, 248, 0.6);
}

#titulo {
    font-size: 2em;
    color: rgb(149, 97, 197);
    margin-bottom: 10px;
    text-decoration: underline;
}

.fila {
    font-size: 25px;
    text-shadow: 0.5px 0.5px 0.5px;
    background-color: rgb(247, 228, 255);
}

th, td {
    border-width: 4px;
    border-style: solid;
    border-color: rgb(55, 0, 78);
}

td {
    font-size: 20px;
    text-align: center;
}

.nombreraza {
    font-weight: bold;
    font-size: 23px;
    text-shadow: 0.3px 0.3px 0.5px;
}

.fototabla {
    width: 500px;
    margin: 10px;
    border-radius: 25px;
}

.fototabla:hover {
    border-style: solid;
    border-width: 15px;
    border-color: rgb(55, 0, 78);
    border-radius: 20px;
    width: 450px;
}

/* Características */

.texto1 {
    display: flex;
    flex-direction: column;
    padding: 2rem;
}

#inicio {
    font-size: 2em;
    font-style: italic;
    text-decoration: overline;
}

.raza {
    color: rgb(92, 49, 121);
    font-size: 18px;
}

#horizontal {
    width: 50%;
    float: left;
}

#definiciones {
    background-color: rgba(233, 216, 247, 0.6);
    border-radius: 30px;
    padding: 20px;
    width: 70%;
}

.nombre {
    font-size: 26px;
    font-style: italic;
}

dd {
    font-size: 17px;
    line-height: 1.3rem; /* Propiedad buscada en internet para dejar espacio entre líneas */
}

dd ul li {
    font-size: 16px;
    line-height: 1.4rem; /* Propiedad buscada en internet para dejar espacio entre líneas */
}

.volver {
    color: rgb(92, 49, 121);
    font-size: 18px;
    text-transform: uppercase;
}

/* Mapa */

.mapa {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    align-content: center;
}

.titulomapa {
    font-size: 18px;
    font-weight: bold;
    color: rgb(78, 32, 121);
    background-color: rgba(233, 216, 247, 0.8);
    border-radius: 20px;
    width: 75%;
}

/* Video */

.video {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    align-content: center;
}

.video h2 {
    font-size: 2em;
    font-style: italic;
    text-decoration: underline;
    text-transform: uppercase;
    color: rgb(55, 0, 78);
    background-color: rgba(233, 216, 247, 0.8);
    border-radius: 20px;
    width: 120px;
    padding-left: 20px;
}

iframe {
    width: 100em;
    max-width: 600px;
    height: 100em;
    max-height: 400px;
}

/* Footer */

footer {
    background-color: rgb(234, 221, 238, 0.8);
    border-radius: 20px;
    width: 100%;
    height: 7rem;
    text-align: center; 
    font-size: 17px;
    color: darkslateblue;
    padding-top: 2rem;
    padding-bottom: 1rem;
}

@media (max-width: 768px) {
    .caballo1 {
        width: 150px;
    }

    .tabla img {
        width: 350px;
    }

    .mapa img {
        width: 670px;
    }
}