* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    text-align: center;
}

body {
    background-color: #f1ede2;
}

header {
    background-color: #751039;
    padding: 20px;
}

header div {
    padding: 20px;
}

header img {
    max-width: 150px;
    height: auto;
    border-radius: 6px;
}

nav {
    margin-top: 20px;
    margin-bottom: 20px;
}

nav a {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: center;
    color: #751039;
    text-decoration: none;
    font-family: Arial, sans-serif;
    font-weight: bold;
    padding: 10px 20px;
    margin: 10px 10px;
    background-color: #d0f2f3;
    border-radius: 6px;
}

nav a:hover {
    background-color: #ffea6b; 
    color: #751039;
    transform: scale(1.02)
}

main {
    background-color: #f1ede2;
    padding: 20px;
    margin: 20px;
    border-radius: 6px;
}

h1 {
    font-size: 2.3rem;
    color: #751039;
    font-family: Georgia, serif;
    font-weight: bold;
}

h2 {
    font-size: 1.75rem;
    color: #7b7b35;
    margin-top: 20px;
    margin-bottom: 20px;
    font-family: Georgia, serif;
    font-weight: bold;
}

h3 {
    font-size: 1.4rem;
    color: #ea643b;
    margin-top: 20px;
    margin-bottom: 20px;
    font-family: Georgia, serif;
}

h4 {
    font-size: 1rem;
    color: #751039;
    margin-top: 10px;
    margin-bottom: 20px;
    font-family: Georgia, serif;
}

h5 {
    font-size: 0.7rem;
    color: #222222;
    margin-top: 10px;
    margin-bottom: 10px;
    margin: 10px;
    font-family: Georgia, serif;
    text-align: left;
}

h6 {
    font-size: 1.2rem;
    color: #751039;
    margin-bottom: 20px;
    font-family: Georgia, serif;
}

p {
    font-family: Arial, sans-serif;
    font-size: 0.9rem;
    line-height: 1.3;
    color: #222222;
    padding: 10px;
}

.bienvenida {
    background-color: #f1ede2;
    padding: 10px;
    margin: 10px;
    margin-top: 10px;
    margin-bottom: 10px;
    border-radius: 6px;
}

.galeria {
    background-color: #ffb5ce;
    padding: 20px;
    margin: 10px;
    margin-top: 10px;
    margin-bottom: 10px;
    border-radius: 6px; 
}

.fotos {
    border-radius: 6px;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 5px 5px;
    place-items: center center;
}

.galeria img {
    width: 100%;  
    aspect-ratio: 1/1; 
    object-fit: cover;  
    box-shadow: 5px 5px 5px #fa8cb1;
}

section img {
    max-width: 100%;
    height: auto;
    border-radius: 6px;
}

.trabajo {
    background-color: #fdfdfb;
    padding: 10px;
    margin: 10px;
    border-radius: 6px;
}

.mobile {
    border-radius: 6px;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 5px 5px;
    place-items: center center;
    margin-bottom: 20px;
}

.tablet {
    border-radius: 6px;
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    gap: 10px 10px;
    place-items: center center;
    margin-bottom: 20px;
}

.desktop {
    border-radius: 6px;
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    gap: 10px 10px;
    place-items: center center;
    margin-bottom: 20px;
}

.materias {
    background-color: #fff099; 
    border-radius: 6px;
    display: grid;
    width: auto;
    gap: 5px;
    justify-self: center;
    padding: 20px;
    margin: 10px;
    margin-bottom: 10px;
}

.materias ul li {
    font-family: Arial, sans-serif;
    text-align: left;
    font-size: 1rem;
    margin-left: 10px;
    margin-right: 10px;
    margin-bottom: 10px;
    margin-top: 10px;
    line-height: 1;
    list-style: none;
}

.aprobadas li::before {
  content: "★";
  color: #2d2d2d;
  font-weight: bold;
  margin-right: 8px;
}

.cursando li::before {
  content: "☆";
  color: #2d2d2d;
  font-weight: bold;
  margin-right: 8px;
}

.datosacademicos {
    background-color: #f1ede2;
    padding: 10px;
    margin: 10px;
    border-radius: 6px;
}

.datosacademicos p {
    text-align: left;
    font-size: 0.7rem;
    line-height: 1.2;
    margin: 10px;
}

ul, li {
    font-family: Arial, sans-serif;
    font-size: 0.7rem;
    margin: 10px;
    line-height: 1; 
    text-align: left;
}

footer p {
    background-color: #751039;
    color: #f1ede2;
    padding: 20px;
    text-align: center;
    font-family: Arial, sans-serif;
    font-size: 0.55rem;
}