@import url('https://fonts.googleapis.com/css2?family=Shrikhand&family=Ubuntu:ital,wght@0,300;0,400;0,500;0,700;1,300;1,400;1,500;1,700&display=swap');


* {
    box-sizing: border-box;
}

img {
    max-width: 100%;
}

body {
    font-family: 'Ubuntu';

    color: rgb(255, 255, 255);
    margin: 0;
    background: white;
    background-image: radial-gradient(#ea26b322 1px, transparent 0);
    background-size: 30px 30px;
    background-position: -15px -15px;
}

a {
    text-decoration: none;
}

h1{
    font-size: x-large;    
    font-family: 'Shrikhand';
    font-weight: 400;
    font-style: normal;
    text-transform: uppercase;
}
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Shrikhand';
    font-weight: 400;
    font-style: normal;
    text-transform: uppercase;
}

header {
    background-color: #222222;
    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: rgb(21, 213, 149);
    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: rgb(233, 18, 136);
    display: block;
    border-radius: 1rem;
    width: 100%;
    text-decoration: none;
    color: #ffffff;
    font-weight: 800;
    box-shadow: #0002 4px 4px 8px;
    text-shadow: none;
    padding: .5em;
}

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

main {
    margin: 2rem;
    width: min(75rem, calc(100% - 3rem));
    margin-inline: auto;
    display: grid;
    grid-template:
    "info materias datosacademicos"
    "info equipo datosacademicos"
    "propuesta propuesta propuesta";
    gap: 1em;
}

section {
    background-color: rgb(233, 18, 136);
    border-radius: 1em;
    box-shadow: .3em .3em .5em #0004;
    padding: 1em;
}
section img{
    padding: 2em;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    aspect-ratio: 1;
    object-fit: cover;
}

.info {
    grid-area: info;
    text-align: center;
    align-items: center;
}
.info a{
    color: white;
    font-weight: 600;
    text-decoration-line: underline;
}

.materias {
    grid-area: materias;
    justify-content: space-between;
}
.equipo{
    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;
    font-weight: 800;
}

.equipo ul li a:hover {
    color: white;
    background-color: #00000044;
}

.datosacademicos {
    grid-area: datosacademicos;
}

.propuesta {
    grid-area: propuesta;
    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;
}
.propuesta 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;
}

.propuesta 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;
}

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

footer {
    background-color: #222222;
    color: white;
    box-shadow: #0002 4px 4px 8px;
    padding: 2rem;
}

footer p {
    width: min(65rem, calc(100% - 3rem));
    margin-inline: auto;
    text-align: center;
    text-wrap: balance;

}

@media (max-width: 800px) {
    main{
        grid-template:
        "info"
        "materias"
        "equipo"
        "datosacademicos"
        "propuesta";
    }
}