/* Estilos del emcabezado de la página */
:root {
	--lighht-grey: #d9d9d9;
	--light: #ffff;
	--dark: #000;
  --Golden-Yellow : #f3be10;
  --Purple-Heart: #5D3CA6;
}
a {
	text-decoration: none;
}

li {
	list-style: none;
}

/* Estilos del emcabezado de la página */
header{
  background-color: var(--Purple-Heart);
  height: 80px; 
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  color: var(--light);
  text-align: center;
}

.header__title{
  color: var(--light);
  font-family: 'Roboto', sans-serif;
  font-size: 40px;
}

/* Estilos Generales del nav */
nav {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Roboto', sans-serif;;
  background: var(--lighht-grey);
  display: flex;
  align-items: center; 
  height: 50px;         
  gap: 1rem;    
}

/* Estilos pra el button del nav */
.nav__button {
  background: none;
  border: none;
  margin: 5px;
  cursor: pointer;
  outline: none;
}

/* Estilos para el icono del button */
.nav__button-icon {
  width: 30px;
  height: 30px;
  color: var(--dark); 
}

/* Estilos de titulos */
.nav__title {
  font-size: 1.1rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 100%;
}

.nav__profile {
	position: relative;
  margin-left: auto;
  padding: 15px;
}

.nav__profile-img {
	width: 28px;
	height: 28px;
	border-radius: 50%;
	object-fit: contain;
	cursor: pointer;
}

.nav__profile-link {
  position: absolute;
  right: 0;
  border-radius: 10px;
  box-shadow: 0 0 10px rgba(0,0,0,0.5);
  background-color: rgba(251, 253, 251, 0.3);
  opacity: 0;
  pointer-events: none;
  transition: all 0.3s ease;
  width: 160px;
  z-index: 10;
  list-style: none;
  padding: 0;
  margin: 10px;
  top: auto;
}

.nav__profile-link.show {
  opacity: 1;
  pointer-events: auto;
  align-items: left; 
}

.nav__profile-link a {
  display: flex;              
  align-items: center;         
  gap: 8px;                    
  padding: 10px 12px;         
  color: var(--dark);
  font-size: 14px;
}


.nav__profile-link a:hover {
  background: var(--lighht-grey);
}

/* Estilo de la linea que separa el encabezado y  el nav */
.separador {
    background: var(--Golden-Yellow);
    padding: 0.9rem;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    width: 100%;
    display: flex;
    text-align: center;
    word-spacing: 2rem; 
    height: 15px;         
    gap: 1rem;  
    margin: 0;
    padding: 0;                                                                                                                                                                                                                                                                                                                                                    
}

/* Estilos Generales del nav */
nav {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Roboto', sans-serif;;
  background: var(--lighht-grey);
  display: flex;
  align-items: center; 
  height: 50px;         
  gap: 1rem;    
}

/* Estilos pra el button del vav */
.nav__button {
  background: none;
  border: none;
  margin: 5px;
  cursor: pointer;
  outline: none;
}

/* Estilos para el icono del button */
.nav__button-icon {
  width: 30px;
  height: 30px;
  color: black; 
}

/* Estilos de titulos */
.nav__title {
  font-size: 1.1rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 100%;
}

/* Estilos generaes del contenido de la pagina */
body {
  margin: 0;
  padding: 0;
  font-size: 18px;
  position: relative;
  font-family: 'Roboto', sans-serif;
  font-weight: bold;
  background: var(--light); 
}

/* Estilos para la imagen de fondo de la página */
.background-Image{
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url('./images/Img.2.jpg');
  background-size: cover;
  background-repeat: no-repeat;
  background-attachment: fixed;
  opacity: 0.35;
  z-index: -1;
}

/* Estilos generales del contenedor  */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px;
  box-sizing: border-box;
}

/* Estilos para la sección de la página */
.section {
  margin: 30px auto;
  padding: 20px; 
  max-width: 800px; 
  border-radius: 10px;
  box-sizing: border-box; 
  font-family: 'Roboto', sans-serif;
  background-color: rgba(251, 253, 251, 0.3);
  border-radius: 10px;
  border: 2px solid var(--Purple-Heart);
}

/* Estilos genrales de los items de la sección  */
.section__items {
  display: grid;
  gap: 30px;
  padding: 20px;
  max-width: 800px;
  margin: auto;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));

}

/* Estilos para cada item */
.section__item{
  display: flex;
  width: 240px;
  align-items: center;
  gap: 15px;
  border:10px solid var(--Purple-Heart);
  border-radius: 20px;
  background-color: var(--Purple-Heart);
  cursor: pointer;
  color: var(--light);
  font-size: 20px;
  transition: .5s ease;
    
}

/* Estilo de los iconos de los item */
.section__item-icon {
  width: 40px;
  height: 40px;
  filter: brightness(0) invert(1);
}

/* Movimiento de los item */
.section__item:hover{
  transform: scale(0.9);
}

@media (max-width: 768px) {
  .section__item {
    font-size: 1rem;
    padding: 0.rem;
    gap: 0.75rem;
  }

  .section__items {
    justify-items: center;
  }
  
  .nav__profile {
    padding: 5px;
  }

  .nav__profile-img {
    width: 20px;
    height: 20px;
  }

  .nav__profile-link {
    width: 120px;
    font-size: 12px;
    margin: 5px;
  }

  .nav__profile-link a {
    padding: 8px 10px;
  }
}




