@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&display=swap');

body {
    display: block;
    font-family: "Montserrat", system-ui;
    font-size: 16px;
    background: radial-gradient(circle, rgb(247, 247, 247) 0%, #e2e2e2 100%);
    margin: 0 4rem 0 4rem;
}

.header {
    margin: 1rem 4rem 1rem;
    height: 60px;
    padding: 7px 5%;
    border-radius: 40px;    
    display: flex;
    background-color: #663bdb;
    justify-content: space-between;
    align-items: center;
}

.header .nav-links {
    list-style: none;
    display: flex;
    gap: 10px;
}

.header .nav-links li {
    display: flex;
    padding: 0 20px;
    width: 90px;
    height: 30px;
    justify-content: center;
    align-items: center;
}

.header .nav-links a {
    color: #ffffff;
    text-decoration: none;
}

.header .nav-links li a:hover {
    color: #d3c3ff;
}

.btn {
    background: #bec2ff;
    border: 2px solid #bec2ff;
    font-weight: 600;
    color: #ffffff;
    padding: 10px 25px;
    border-radius: 20px;
    text-decoration: none;
}

.btn:hover {
    background: #b4a6f3;
    border: 2px solid #6279ff;
    color: #ffffff;
}


#sofia {
    background-color: #9d88f8;
    border: 2px solid #584df0;
    display: flex;
    height: 300px;
    align-items: center;
    justify-content: center;
    gap: 40px;
    border-radius: 20px;
    background-size: cover;
}

#sofia h1 {
    font-size: 2rem;
    color: #ffffff;
    margin: 4rem 4rem 0;
}

#sofia p {
    font-size: 1.5rem;
    color: #d2c8ff;
    margin: 1rem 1rem 1rem 1rem;
}

#sofia .perfil {
    width: 200px;
    border: 6px solid #7066fc;
    border-radius: 100%;
}


#materias {
    margin-top: 2rem;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 10px;
}

#materias .lista {
    background-color: #baacfa;
    width: 200px;
    height: 350px;
    display: flex;
    flex-direction: column;
    align-items: center;
    border-radius: 20px;
    text-align: center;
    padding: 25px;
}

#materias h2 {
    font-size: 1em;
    text-align: center;
    font-weight: 100;
    line-height: 2rem;
    border: #5120da;
    color: #5120da;
}

#materias h3 {
    font-weight: 700;
    font-size: 1.3rem;
    color: #ffffff;
}

#materias p {
    font-weight: 400;
    font-size: 14px;
    color: #ffffff;
}

.integrantes2 {
    display: grid;
    border: 2px solid #584df0;
    grid-template-columns: auto auto auto;
    justify-content: center;
    margin-top: 20px;
    font-family: "Montserrat", system-ui;
    display: flex;
    flex-direction: column column column;
    align-items: center;
    padding: 40px 0;
    border-radius: 20px;
}

.integrantes2 h4 {
    color:#3431eb;
    text-align: center;
    font-family: "Montserrat", system-ui;
    font-size: 1rem;
}

.integrantes2 p {
    margin-top: 2px;
}

.integrantes2 a {
    text-decoration: none;
    color: #ffffff;
    background-color: #a299f5;
    padding: 5px 20px 5px;
    border-radius: 20px;

}

.integrantes2 a:hover {
    background-color:#3431eb;
    color: #ffffff;
}

.personas {
    display: flex;
    flex-direction: column;
    width: 400px;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: center;
    padding-top: 10px;
}


.personas img {
    display: block;
    width: 35%;
    margin: auto;
    border-radius: 100%;
    margin-top: 20px;
}

.perfil {
    width: 60px;
    border-radius: 300px;
}

p { 
font-family: "Montserrat", system-ui;
font-size: 0.7rem;
color: rgb(80, 80, 80);
text-align: center;
margin-top: 50px;
display: block;
margin-block-start: 1em;
margin-block-end: 1em;
margin-inline-start: 0px;
margin-inline-end: 0px;
}



.datosobligatorios {
    background-color: #6a53ce;
    margin: 20px 50px;
    border-radius: 20px;
    padding: 50px;
    color: #fff;
    font-size: 13px;
    display: flex;
    justify-content: space-between;
    }

.datosobligatorios ul{
    list-style: none;
}


#footer {
    margin-top: 20px;
    font-size: 0.8rem;
    text-align: center;
    margin-bottom: 1rem;
    background-color: rgba(255, 255, 255, 0.3);
    padding: 10px 0px;
    border-radius: 20px;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-evenly;
    align-items: flex-start;
}

#footer p {
    padding: 0 5% 0;
    text-align: center;
    color: #0a2031;
    font-size: 14px;
}



@media (max-width: 640px) {
    body {
        margin: 0 0.5rem 0;
        background: rgb(247, 251, 255);
    }

    .header {
        padding: 7px 3%;
    }

    #sofia h1 {
        font-size: 2.5em;
        margin: 0 auto;
        margin-block-start: 0;
        margin-block-end: 0;
    }

    #sofia .perfil {
        width: 40%;
    }

    #materias .lista {
        height: 100%;
        width: 100%;
    }

    #integrantes {
        flex-wrap: wrap;
        row-gap: 25px;
    }

    .personas {
        width: auto;
    }
}

.button {
    display: grid;
    grid-template-columns: auto;
    margin: 20px 0 5px;
}
