/* page03.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);
}

/* Contenido de la página */

section {
    width: 100%;
    max-width: 1200px;
}

section h1 {
    text-align: left;
    text-transform: capitalize;
    text-decoration: underline;
    font-size: 2.5em;
    font-variant: small-caps;
    margin-top: 3rem;
    color: rgb(55, 0, 78);;
}

form {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    justify-content: left;
    align-items: center;
}

#personal {
    background-color: rgba(233, 216, 247, 0.6);
    border-radius: 30px;
    box-sizing: border-box;
    padding: 2rem;
    margin-top: 3%;
    margin-top: 7rem;
}

#leyenda {
    font-size: 18px;
    font-weight: bold;
    padding: 5%;
}

#nombre,
#email, 
#telf {
	background-image: url('imagenes/icono.png'); 
	background-repeat: no-repeat;
    background-position: right;
    background-size: 2em;
	}

#texto {
    background-image: url('imagenes/icono.png'); 
	background-repeat: no-repeat;
    background-position: bottom right;
    background-size: 2em;
}

.datosp {
    font-size: 1em;
}

.div1 { 
    background-color: rgba(233, 216, 247, 0.6);
    border-radius: 30px;
    border-style: solid;
    border-width: 1px;
    border-color: rgba(166, 72, 238, 0.4);
    box-sizing: border-box;
    padding: 2rem;
    margin-top: 7rem;
}

.datosr {
    font-size: 1em;
}

.datoss {
    font-size: 1em;
}

.datose {
    font-size: 1em;
}

.div2 {
    width: 40%;
    background-color: rgba(233, 216, 247, 0.6);
    border-radius: 30px;
    border-style: solid;
    border-width: 1px;
    border-color: rgba(166, 72, 238, 0.4);
    box-sizing: border-box;
    padding: 2rem;
    margin-top: 7rem;
    display: flex;
    flex-direction: column;
}

.datosc {
    font-size: 1em;
    overflow: auto;
}

.datosd {
    font-size: 1em;
}

#disciplinas {
    width: 100%;
}

.div3 {
    background-color: rgba(233, 216, 247, 0.6);
    border-radius: 30px;
    border-style: solid;
    border-width: 1px;
    border-color: rgba(166, 72, 238, 0.4);
    box-sizing: border-box;
    padding: 2rem;
    margin-top: 6rem;
}

.datoso {
    font-size: 1em;
}

.recuadro {
    border-radius: 10px;
    padding-left: 0.3em;
}

.div4 {
    background-color: rgba(233, 216, 247, 0.6);
    border-radius: 30px;
    border-style: solid;
    border-width: 1px;
    border-color: rgba(166, 72, 238, 0.4);
    box-sizing: border-box;
    padding: 1rem;
    margin-top: 2%;
}

:focus {
    background-color: rgb(230, 254, 255);
}

.botones {
   position: relative;
   left: 0.5%;
}

.boton {
    background-color: rgba(233, 216, 247, 0.6);
    border-radius: 20px;
    border-width: 1px;
    border-color: rgba(166, 72, 238, 0.4);
    padding: 0.5em;
}

/* position: relative;
    top: 10em;
    right: 78em; */

#enviar img {
    width: 50px;
    height: 50px;
}

#borrar img {
    width: 50px;
    height: 50px;
}

/* Footer */

footer {
    text-align: center; 
    font-size: 1.3rem;
}

.enlace2 {
    text-align: center;

}

.enlace2 #historia {
    height: 260px;
}

.enlace2 #sangre {
    height: 250px;
}

.pie {
    background-color: rgb(234, 221, 238, 0.8);
    border-radius: 20px;
    text-align: center; 
    color: darkslateblue;
    padding: 1rem;
    margin-top: 6rem;
}

@media (max-width: 768px) {
    .caballo1 {
        width: 150px;
    }

    #enviar {
        position: absolute;
        top: 260%;
        right: 80%;
    }

    #borrar {
        position: absolute;
        bottom: -180%;
        left: 7%;
    }
}

@media (max-width: 1080px) {
    #enviar {
        position: absolute;
        top: 119%;
        right: 87%;
    }
}

