/*Fuentes tipograficas*/
@import url('https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,100;0,300;0,400;0,500;0,700;0,900;1,100;1,300;1,400;1,500;1,700;1,900&display=swap');

/*Estilos Generales*/
*{ margin:  0; padding:  0; box-sizing: border-box; transition: all 1.5s;}

body {
    background-color: rgb(250, 198, 160);
    font-family: 'Roboto', sans-serif;
    /*padding-left: 10%;
    padding-right: 10%;*/
}

h1 {color: white; font-family: 'Roboto', sans-serif;}
h2 {color: rgb(0, 0, 0); font-family: 'Roboto', sans-serif; text-align: center; margin: 2rem;}
h3 {color: rgb(0, 0, 0); font-family: 'Roboto', sans-serif; text-align: center; margin: 1rem;}
h4 {color: rgb(0, 0, 0); font-family: 'Roboto', sans-serif; text-align: center; margin: 1rem;}
p {color: #000000; font-family: 'Roboto', sans-serif; margin: 1rem;}

a {
    font-weight: bold;
    color: black;
    margin: 1rem;
    background-color: rgb(253, 159, 146);
    padding: 5px;
    border-radius: 5px;
    text-decoration: none;
}
a:hover {
    background-color: white;
}


/*Estilos header*/
header {
    text-align: center;
    background-color: coral;
    padding-bottom: 1rem;
    margin-bottom: 2rem;
    color: white;
}

.nombre {
    padding-top: 2rem;
    padding-bottom: 1rem;
}

.avatar {
    border-radius: 15rem;
    padding-bottom: 1rem;
}

.DG {
    padding-bottom: 1rem;
    color: white;
}

.menu{
    background-color: rgb(192, 86, 0);
    padding-top: 1rem;
    padding-bottom: 1rem;
}

img .banner {
	max-height: 40%;
    border-radius: none;
}

/*Estilos sección compañeros*/
.compañeros {
    text-align: center;
    background-color: rgb(220, 83, 20);
    padding-top: 1rem;
    padding-bottom: 1rem;
    margin-left: 1rem;
    margin-right: 1rem;
    margin-bottom: 1rem;
    border-radius: 1rem 1rem 0 0;
    box-shadow: 1rem 1rem 1rem rgba(0, 0, 0, 0.4);
    color: white;
}

a.alumno {
    font-weight: bold;
    color: black;
    margin: 1rem;
    background-color: rgb(253, 159, 146);
    padding: 5px;
    border-radius: 5px;
    text-decoration: none;
    display: flex;
    justify-content: center;
}
a.alumno:hover {
    color: white;
}


/*sección materias*/

.materias {
    display: flex;
    justify-content: space-around;
}

.materias-1 {
        background: coral;
        width: 40%;
        margin: 2%;
        padding: 5%;
        min-height: 8rem;
        border-radius: 0rem 2rem 0rem 2rem;
        box-shadow: 1rem 1rem 1rem rgb(0 0 0 / 40%);
        text-align: center;
}
.materias-2 {
    background: coral;
    width: 40%;
    margin: 2%;
    padding: 5%;
    min-height: 8rem;
    border-radius: 2rem 0rem 2rem 0rem;
    box-shadow: 1rem 1rem 1rem rgb(0 0 0 / 40%);
    text-align: center;
}




.datos {
    text-align: center;
    background-color: rgb(220, 83, 20);
    padding-top: 1rem;
    padding-bottom: 1rem;
    margin-left: 1rem;
    margin-right: 1rem;
    margin-bottom: 3rem;
    border-radius: 1rem;
    box-shadow: 1rem 1rem 1rem rgba(0, 0, 0, 0.4);
    color: white;
}
.datos p {
    color: white;
}


/*footer*/

footer {
    background-color: tomato;
    padding: 1rem;
    border-radius: 1rem 1rem 0 0;
    margin-top: 1rem;
    margin-left: 1rem;
    margin-right: 1rem;
    display: flex;
    justify-content: space-around;
}
footer p{
    color: #ffffff; 
    font-size: 0.7rem;
    text-align: center;
}

/*tamaños de pantalla*/
@media (min-width:576px) {
    .avatar {
        border-radius: 5rem;
        padding-bottom: 1rem;
    }
    .materias-1 {
        background: #ff425280;
        width: 40%;
        margin: 2%;
        padding: 5%;
        min-height: 8rem;
        border-radius: 0rem 2rem 0rem 2rem;
        box-shadow: 1rem 1rem 1rem rgb(0 0 0 / 40%);
        text-align: center;
    }
    .materias-2 {
        background: #ff425280;
        width: 40%;
        margin: 2%;
        padding: 5%;
        min-height: 8rem;
        border-radius: 2rem 0rem 2rem 0rem;
        box-shadow: 1rem 1rem 1rem rgb(0 0 0 / 40%);
        text-align: center;
    }
    .datos {
        background: #ff4252d5;
    }
    
}