@import url('https://fonts.googleapis.com/css2?family=DM+Sans:ital,opsz,wght@0,9..40,100..1000;1,9..40,100..1000&family=DM+Serif+Display:ital@0;1&display=swap');

* {
    box-sizing: border-box;
}

img {
    max-width: 100%;
}

body {
    font-family: 'DM Sans';
    color: #252525;
    margin: 0;
}
a{
    text-decoration: none;
    color: #d42bc9;
    font-weight: 700;
    text-shadow: 2px 2px 2px #0003;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'DM Serif Display';
}

header {
    background: linear-gradient(0.25turn, #FFF7AD, #FFA9F9);
    display:grid;
    grid-template-columns: repeat(auto-fit, minmax(5rem, 1fr));
    align-items: center;
    padding: 1rem;
}


header img{
    height: 3rem;
    width: fit-content;
    background-color: white;
    margin: 1rem;
}

header ul{
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(5rem, 1fr));
    margin-inline-start: auto;
    text-align: center;
    list-style: none;
    margin: 1rem;
    padding: 0;
    text-align: center;
    text-transform: uppercase;
    gap: 1em;
}
header ul li a{
    background-color: white;
    display: block;
    border-radius: 1rem;
    width: 100%;
    text-decoration: none;
    color: #222222;
    font-weight: 800;
    box-shadow: #0002 4px 4px 8px;
    transition: .3s;
    text-shadow: none;
    padding: .5em;
}

header ul li a:hover{
    color: white;
    background-color: #00000022;
    backdrop-filter: blur(10px);
}

.contenedora{
    margin: 2rem 0;
    width: min(75rem, calc(100% - 3rem));
    margin-inline: auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto;
    gap: 2em;
}
.presentacion{
    text-align: center;
    align-items: center;
    grid-area: 1 / 1 / span 2 / 1;
}
.presentacion img{
    border-radius: 1em;
    object-fit: cover;
}

.equipo{
    grid-area: 2/2/2/2;
    text-align: center;
}
.equipo ul {
    list-style: none;
    padding: 0;
    text-align: center;
}

.equipo ul li a {
    background-color: white;
    display: block;
    margin: .5rem 0;
    padding: .5rem 0;
    border-radius: 1rem;
    width: 100%;
    text-decoration: none;
    color: black;
    text-transform: uppercase;
    font-weight: 800;
    transition: .3s;
}

.equipo ul li a:hover {
    color: white;
    background-color: #00000022;
    backdrop-filter: blur(10px);
}

.materias{
    grid-area: 1/2/2/2;
}
.datos-academicos{
    grid-area: 4/1/4/span 2;
}
section{
    background: linear-gradient(0.25turn, #FFF7AD, #FFA9F9);
    box-shadow: #0002 4px 4px 8px;
    padding: 1rem;
    border-radius: 1rem;
}

ul{
    list-style-type: none;
    margin: 0;
    padding: 0;
}

.tareas{
    grid-area: 3/1/3/span 2;
    background: linear-gradient(0.25turn, #FFF7AD, #FFA9F9);
    box-shadow: #0002 4px 4px 8px;
    padding: 1rem;
    border-radius: 1rem;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(5rem, 1fr));
    margin-inline-start: auto;
    text-align: center;
    align-items: center;
    list-style: none;
    margin: 0;
    padding: 0;
    text-transform: uppercase;
    gap: 1em;
}
.tareas ul{
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(5rem, 1fr));
    margin-inline-start: auto;
    text-align: center;
    list-style: none;
    margin: 1rem;
    padding: 0;
    text-align: center;
    text-transform: uppercase;
    gap: 1em;
}

.tareas ul li a{
    background-color: white;
    display: block;
    border-radius: 1rem;
    width: 100%;
    text-decoration: none;
    color: #222222;
    font-weight: 800;
    box-shadow: #0002 4px 4px 8px;
    transition: .3s;
    text-shadow: none;
    padding: .5em;
}

.tareas ul li a:hover{
    color: white;
    background-color: #00000022;
    backdrop-filter: blur(10px);
}


footer{
    background: linear-gradient(0.25turn, #FFF7AD, #FFA9F9);
    padding: 2rem;
}
footer p{    
    width: min(65rem, calc(100% - 3rem));
    margin-inline: auto;
    text-align: center;
    text-wrap: balance;
    
}

@media (max-width: 768px) {
    .contenedora{
        display: flex;
        flex-direction: column;
    }
}