@charset "utf-8";
@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,400;0,500;0,600;0,700;0,800;1,500;1,600;1,700&display=swap');

* { box-sizing: border-box;}

body
{ font-family: "Poppins", sans-serif;
    margin:0 ;
    color: #3f1e42;
    background-color: hsl(0 0% 95%);
    background: linear-gradient(to bottom, #FFFFB3, #437e26); 
}

section { padding-block: 1rem 2rem}


/*Presentación*/
#contenedor-presentacion {
    width: min(50rem, calc(100% - 2rem));
    margin-inline: auto; 
    margin-top: 3rem;
    padding: 2rem;
    background-color: #e3d2e6; 
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2); 
    text-align: left;
}
#relleno{
background-image: url(../imagenes/flores.jpg);
color: #3f1e42;
font-size: 2.5rem;
text-align: left; 
 border-bottom: 1px solid #7a4f7e; 
-webkit-text-fill-color: transparent;
background-clip: text;
background-size: cover;
background-position: center;
}

.carrera {
    font-size: 1rem;
    font-weight: bold;
    color: #7a4f7e; 
    margin-top: 0;
    margin-bottom: 2rem;
    letter-spacing: 1px;
}

/*Sobre mí*/

.contenido-acerca{
    display: flex;
    gap: 2rem; 
    align-items: flex-start; 
}

.foto-perfil {
    width: 250px;
    min-width: 200px;
    height: auto;
    object-fit: cover;
    border: 3px solid #7a4f7e; 
    align-self:flex-start;
  
}

.sobre-mi{
    flex: 1; 
    max-width: 500px;
}
.sobre-mi h2 {
    color: #3f1e42; 
    font-size: 2rem;
    margin-top: 0;
    margin-bottom: 1rem;
    text-align: left; 
}

.sobre-mi p {
    color: #3f1e42; 
    font-size: 1.1rem;
    line-height: 1.6;
}

/* Listas */
ul,
ol { list-style: none;
  padding: 0;
}

li { list-style-type: none; font-family: "Poppins", sans-serif; line-height: 1.5rem; }

/* Párrafos*/
p, li, figcaption {text-wrap: pretty; 
  line-height: 1.5;
  font-weight: 400;
  font-style: normal;
}

/*Títulos*/
h1,h2,h3,h4 { color: #3f1e42;
  line-height: 1.2;
  text-wrap: balance;
  text-align: center;

}

/* Vínculos */
a {
  text-decoration: none;
  color: hsl(110 51% 35%);
  font-weight: bold;
}


/*Header*/
header {
    background-color: #FFFFB3;
    background-image:
        radial-gradient(#e9691f 2px, transparent 1px),
        radial-gradient(#e9691f 2px, transparent 1px);
    background-size: 30px 30px;
    background-position: 0 0, 15px 15px;
    
    border-radius: 10px;
    gap: 1rem;
    width: 100%;
    position: sticky;
    top: 0;
    
    /* Icono de hamburguesa */
    display: flex; 
    justify-content: flex-start; 
    align-items: center;
    padding: 10px;
    box-sizing: border-box; 
    min-height: 60px; 
    z-index: 1000; 
}

/*Menú Hamburguesa*/

.menu-toggle-checkbox {
    display: none;
}

.menu-toggle {
    cursor: pointer;
    padding: 10px;
    z-index: 1002;
    display: flex;
    flex-direction: column;
    gap: 5px;
    position: relative; 
}

.hamburguesa {
    display: block;
    width: 25px;
    height: 3px;
    background-color: #e9691f; 
    transition: all 0.3s ease;
    border-radius: 1px;
}

/*Contenedor menú nav*/
.menu {
    position: fixed; 
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh; 
    background-color: rgba(255, 255, 179, 0.8);
    background-image: 
        radial-gradient(#e9691f 2px, transparent 1px),
        radial-gradient(#e9691f 2px, transparent 1px);
    background-size: 30px 30px;
    background-position: 0 0, 15px 15px;
    
    display: flex; 
    flex-direction: column;
    justify-content: center;
    align-items: center;

    opacity: 0; 
    visibility: hidden; 
    pointer-events: none; 
    transition: opacity 0.3s ease, visibility 0.3s ease; 
    z-index: 1001; 
}

.menu ul {
    list-style: none;
    padding: 0;
    margin: 0;
    width: 80%; 
    max-width: 300px; 
    text-align: center;
}

.menu li {
    margin-bottom: 15px; 
}

.menu li a {
    display: block;
    padding: 15px 20px;
    text-decoration: none;
    color: #e9691f; 
    font-size: 1.5em;
    font-weight: bold;
    border-bottom: none; 
    text-transform: uppercase; 
    letter-spacing: 1px;
}

.menu li a:hover {
    background-color: rgba(233, 105, 31, 0.1);
    border-radius: 5px;
}

/*Mostrar y ocultar el menú */

.menu-toggle-checkbox:checked ~ .menu {
    opacity: 1; 
    visibility: visible; 
    pointer-events: auto; 
}
.menu-toggle-checkbox:checked + .menu-toggle .hamburger:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
    background-color: #e9691f;
}

.menu-toggle-checkbox:checked + .menu-toggle .hamburger:nth-child(2) {
    opacity: 0; 
}

.menu-toggle-checkbox:checked + .menu-toggle .hamburger:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
    background-color: #e9691f; 
}

/*Materias*/

.contenedor-materias {
    width: min(65rem, calc(100% - 3rem));
    margin-inline: auto;
    display: flex;
    gap: 1rem;
    flex-wrap: wrap; 
}

.materias {
    flex: 1 1 200px; 
    flex-direction: column; 
    padding: 1rem;
    border: 2px solid #d6489b;
    box-shadow: .3rem .3rem #c52d86;
    background-color: rgba(255, 192, 203, 0.973);
}

.materias-cursando {
    flex: 1 1 200px; 
    text-align: center;
    flex-direction: column; 
    padding: 1rem;
    border: 2px solid #d6489b;
    box-shadow: .3rem .3rem #c52d86;
    background-color: rgba(255, 192, 203, 0.973);
}

/*Equipo*/
.integrante {
    background-color: #e3d2e6; 
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    color:  #3f1e42; 
    text-align: left;
    padding: 1.5rem 2rem;
    display: flex;
    gap: 1.5rem; 
    align-items: center; 
    width: min(30rem, 90%);
    margin-inline: auto; 
}

.info-integrante {
    display: flex;
    flex-direction: column; 
    justify-content: center; 
}

.carrera-equipo {
    font-size: 0.8rem;
    font-weight: bold;
    color: #7a4f7e; 
    margin-bottom: 0.25rem;
    padding: 0;
}

.integrante h3 {
    font-size: 1.3rem;
    margin: 0;
    line-height: 1.1;
    color:  #3f1e42; 
    text-align: left;
}

/*Prototipos*/
.prototipo {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    width: 100%;
    max-width: 600px;
    margin: 20px auto;
    
}

.prototipo img {
    width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

/*Ver Perfil de Equipo*/
.boton-integrantes {
    font-size: 1rem;
    color: #7a4f7e; 
    font-weight: bold;
    text-decoration: underline; 
    text-align: left;
    margin-top: 0.25rem;
}

.boton-integrantes:hover {
    color: #3f1e42; 
}


/*Datos accadémicos*/
.contenedor-datos {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  flex-wrap: nowrap;
  gap: 2em;
  padding: 1em; 
  
}

.dato {
    width: 300px;
    text-align: left;
    display: flex;
    flex-direction: column;
}

.logo-datos {
  display: flex;
  align-items: flex-start;
  margin: 20px 0px;
  height: 60px;
}

.logo-datos:hover {
    transform: scale(1.05);
}

.contenedor-datos h3 {
  color: #3f1e42;
  margin-bottom: 10px;
  font-size: 1.2rem;
}

.dato p { 
    color: #3f1e42;
    margin: 2px 0;
    font-size: 1em;
    line-height: 1.4
}

.texto-datos {
  color: white;
  font-weight: 600;
  display: inline;
  margin-right: 5px;
}

/*Footer*/

footer { padding: 2rem;
    background-color: #34611d;
    font-weight: 100;
    text-align: left;
    color: white;
    text-wrap: pretty ;
    font-size: 14px;
}

@media (max-width: 768px) 
{
    .contenido-acerca {
        flex-direction: column; 
        gap: 1.5rem;
    }
    
    .foto-perfil {
        width: 200px; 
        margin: 0 auto; 
        min-width: 150px; 
    }

    .sobre-mi h2,
    .nombre-principal {
        text-align: center; 
    }

    .contenedor-datos {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  flex-wrap: wrap;
  gap: 2em;
  padding: 1em; 
  
}
}
@media (min-width: 769px) {
    .menu li a {
        font-size: 2.5em; 
        padding: 20px 25px; 
    }
}
