* {
  box-sizing: border-box;
}

:root {
  --blanco: #e5e5fa;
  --oscuro: #0b0b0a;
  --resalto: #CECECE;
  --gris: #2b2b2b;
  --grisclaro: #868686;
  --rosa: #D3C6FE;
  --morado:#8063FC;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  margin: 0;
  padding: 0;
}


body {
  background-color: #1B1437;
}

@font-face {
  font-family: "NyghtSerifDark";
  src: url("./fonts/NyghtSerif-DarkItalic.woff") format("truetype");
}
@font-face {
  font-family: "Bagoss";
  src: url("./fonts/BagossTRIALVF.woff") format("truetype");
}
@font-face {
  font-family: "Bagoss-regular";
  src: url("./fonts/BagossExtendedTRIAL-Regular.woff") format("truetype");
}

a{
  text-decoration: none;
  color: var(--blanco);
}

#h1-index {
  font-family: "NyghtSerifDark";
  font-size: 10vw;
  text-align: center;
  color: var(--blanco);
  font-weight: lighter;
  transition: ease-in-out 0.3s;
}

h1:hover {
  scale: 1.03;
}

#palabra-crearte {
  transition: color 0.3s ease-in-out;
}

#palabra-crearte:hover {
  color: #fd3a71;
}
#atrevete{
  transition: ease-in-out 0.3s;
}
#atrevete:hover{
  color:#ffb5ca;
}


h2{
  font-family: 'Bagoss';
  font-weight: 500;
  color: var(--blanco);
  text-align: center;
  font-size: 1.3rem;
  margin: 2rem;
}

header {
  position: fixed;
  z-index: 200000;
  width: 100%;
  backdrop-filter: blur(10px); /* Aplicar el blur */
  -webkit-backdrop-filter: blur(10px);
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 1) 97%, rgba(0, 0, 0, 0) 100%); /* Reducir área de difuminado */
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 2rem;
}

#logo{
  width: 3rem;
}

.menu {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 3rem;
  margin: 1.7rem;
  height: 2vh;
}


.menu a {
  color: var(--blanco);
  text-decoration: none;
  text-align: center;
  font-family: 'Inter',Arial, Helvetica, sans-serif;
  font-weight: 200;
  transition: ease-in-out 0.2s;
}

.menu a:hover{
  scale: 1.2;
  font-weight: 600;
}


/* MEDIA QUERY MENU */
@media (max-width: 1000px) {
  #logo {
    display: none; /* Asegura que el logo no se muestre */
  }

  header {
    flex-direction: row;
    align-items: center;
    justify-content: center; /* Centra los elementos */
    padding: 1rem;
    gap: 1rem;
    width: 100%;
  }

  .menu {
    flex-direction: row;
    gap: 1.5rem;
    margin: 0;
    width: auto;
    height: auto;
  }

  .menu a {
    font-size: 1rem;
    font-weight: 400;
  }
}



.hero {
  position: relative;
  height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.glassy-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(50px);
  pointer-events: none;
  z-index: 1;
}

.container {
  position: relative;
  z-index: 10000;
  display: flex;
  flex-direction: column;
  align-items: center;
}


.boton-crearte {
  font-family: 'Bagoss', sans-serif;
  font-size: 1rem;
  padding: 1rem 2rem;
  background-color: #8063FC; /* Color base del botón */
  color: var(--blanco); /* Texto blanco */
  border: none;
  border-radius: 50px; /* Bordes redondeados */
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0px 8px 15px rgba(128, 99, 252, 0.3); /* Sombra suave */
}

#boton-curso:hover {
  background-color: #fd3a71; /* Color de fondo al pasar el cursor */
  color: #fff; /* Cambio de color del texto */
  box-shadow: 0px 15px 20px rgba(253, 58, 113, 0.4); /* Sombra más intensa */
  transform: translateY(-3px); /* Efecto de levitación */
}

#boton-curso:active {
  transform: translateY(0); /* Sin levitación al hacer clic */
  box-shadow: 0px 8px 15px rgba(253, 58, 113, 0.2); /* Sombra más suave */
}


canvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  opacity: 60%;
}

.bienvenida{
  height: auto;
  background-color: var(--oscuro);
  color: var(--resalto);
  padding: 3vh;
  padding: 2rem 3rem;
}

.introduccion{
display: flex;
flex-direction: row;
gap: 2rem;

}
h3 {
  font-family: 'Bagoss';
  font-size: 3rem;
  font-weight: 400;
}

/* Mantener disposición en row con proporción 1:1 */
.contenedor-titulo {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: left;
  gap: 2rem;
  padding: 2rem 0 1rem;
}



.circulo {
  width: 4vw;
  height: 4vw;
  scale: 1.1;
  background-color: var(--morado);
  border-radius: 50%;
  transition: ease-in-out 0.3s;
  box-shadow: 0px 8px 8px rgba(128, 99, 252, 0.3); /* Sombra suave */
}

.circulo:hover{
  background-color:#fd3a71;
  box-shadow: 0px 10px 10px rgba(253, 58, 113, 0.4); /* Sombra más intensa */
}




/* Ajustes generales para mejorar la legibilidad */
h3 {
  font-family: 'Bagoss';
  font-size: 2rem;
  font-weight: 400;
}

.circulo {
  background-color: #8063FC;
  border-radius: 50%;
  transition: ease-in-out 0.3s;
}

.circulo:hover {
  background-color: #fd3a71;
}

.contenido-seccion {
  margin-bottom: 1rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: auto;
}

p{
  font-family: 'Bagoss';
  font-size: 1.2rem;
  font-weight: lighter;
  line-height: 1.5;
  width: 80%;
}


.sobre-mi{
  height: auto;
  background-color: var(--rosa);
}
.sobre-mi h3{
  text-align: center;
  padding: 3rem 0 1rem;
}

.bio{
  display: grid;
  grid-template-columns: 1fr 2fr;
  height: auto;
  padding: 3vh;
  padding: 2rem 3rem;
  gap: 1rem;
}

#rosanna {
  position: relative;
  width: 100%;
  height: 400px; /* Ajusta el tamaño que desees */
  overflow: hidden;
}

#rosanna::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url(/img/rosanna.jpg);
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  transition: transform 0.3s ease; /* La transición es suave usando transform */
}

#rosanna:hover::before {
  transform: scale(1.1); /* Agranda la imagen al hacer hover */
}



.bienvenida{
  height: auto;
  color: var(--resalto);
  padding: 2rem 3rem;

  background: linear-gradient(-45deg,#2c0439 , #160102, #0b0b0a, #5d00b4);
	background-size: 400% 400%;
	animation: gradient 15s ease infinite;
}

@keyframes gradient {
	0% {
		background-position: 0% 50%;
	}
	50% {
		background-position: 100% 50%;
	}
	100% {
		background-position: 0% 50%;
	}
}


.sobre-mi{
  width: auto;
}
.sobre-mi p{
  font-family: "Bagoss";
  font-size: 1.2rem;
  font-weight: lighter;
  line-height: 1.5;
}


/* Ajustes para móviles manteniendo proporción 1:1 */
@media (max-width: 768px) {
  h3 {
    font-size: 1.5rem; /* Reduce el tamaño del texto en móviles */
  }

  .circulo {
    scale: 1.1;
    max-width: 100px; /* Tamaño máximo para evitar desbordamientos */
    max-height: 100px;
    min-width: 50px; /* Establece un tamaño mínimo */
    min-height: 50px;
  }

  .contenedor-titulo {
    gap: 1rem; /* Ajusta el espacio entre elementos para móviles */
  }

  .bienvenida{
    padding: 2rem 0;
  }

  .bio{
    display: flex;
    flex-direction: column;
  }

  #rosanna{
    width: 100%;
    height: 50vh;
  }

  .contenedor-titulo{
    padding: 0 1rem;
  }
}


.cita {
  font-family: "NyghtSerifDark";
  font-size: 1.6rem;
  text-align: center;
  color: var(--gris);
  font-weight: lighter;
  transition: ease-in-out 0.3s;
  padding: 2rem;
}

.cita:hover {
  scale: 1.03;
}


/* CURSOS  */

#back-cursos{
background-color: var(--blanco);
}


.negro a{
  font-weight: 400;
  color: var(--oscuro);
}
.imagen-negra{
  filter:brightness(0);
}

.cursos{
  height: auto;
}
.cabecera-cursos{
  height:auto;
  margin: 3rem 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.p-cursos{
  font-family: "Bagoss-regular" !important;
  width: 80%;
  font-weight: bolder;
}

.circulo-cursos{
  background-color: #63406C;
  box-shadow: none;

}

.circulo-cursos:hover{
  background-color: #272242;
  box-shadow: none;
}
/* Sección Cursos */
.tag-cursos {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-evenly;
  padding: 2rem;
  gap: 2rem;
}

.curso {
  max-width: 18rem;
  width: 100%;
  border: 2px solid var(--oscuro);
  border-radius: 12px;
  padding: 1.5rem;
  background-color: var(--blanco);
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease, background-color 0.3s ease;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.curso:hover {
  background-color: var(--morado);
  transform: translateY(-5px);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2);
}

.curso h3 {
  font-weight: 600;
  color: var(--oscuro);
  transition: color 0.3s ease;
}

.curso:hover h3 {
  color: var(--blanco);
}

.curso a {
  text-decoration: none;
}


@media (max-width: 768px) {
  .tag-cursos {
    flex-direction: column;
    align-items: center;
  }
  
  .curso {
    max-width: 100%;
  }
}


.oferta {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin: 3rem 0;
}

.cta {
  border-radius: 15px;
  padding: 2.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #e47b99, #6e55e0);
  color: var(--blanco);
  width: 60%;
  text-align: center;
  box-shadow: 0 8px 15px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease;
}

.cta:hover {
  transform: translateY(-5px);
}

.cta strong {
  font-size: 1.8rem;
  margin-bottom: 1rem;
}

.cta p {
  margin-bottom: 1.5rem;
  font-size: 1.1rem;
}

.cta .highlight {
  color: #ff9900;
  font-weight: bold;
  font-size: 1.3rem;
}

.cta a.cta-button {
  display: inline-block;
  padding: 1rem 2rem;
  background-color: var(--rosa);
  font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
  color: #333;
  font-weight: bold;
  text-transform: uppercase;
  border-radius: 50px;
  text-decoration: none;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  transition: background-color 0.3s ease, box-shadow 0.3s ease;
}

.cta a.cta-button:hover {
  background-color: #db68b1;
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);
}

.cta-footer {
  margin-top: 1.5rem;
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.8);
}

#header-cursos {
  position:relative;
}

/* CURSOS  */


/* MEDIA QUERY CURSOS */

@media (max-width: 768px) {
  .cabecera-cursos {
    margin: 2rem 0;
    padding: 0 1rem;
    text-align: center;
  }

  .p-cursos {
    width: 100%;
    font-size: 1rem;
  }

  .tag-cursos {
    flex-direction: column;
    align-items: center;
    padding: 1rem;
  }

  .curso {
    max-width: 100%;
    padding: 1rem;
    margin-bottom: 1.5rem;
  }

  .oferta {
    width: 90%;
    padding: 1rem;
  }

  .cta {
    width: 90%;
    padding: 1.5rem;
  }

  .cta strong {
    font-size: 1.5rem;
  }

  .cta p {
    font-size: 1rem;
  }

  .cta .cta-button {
    padding: 0.8rem 1.5rem;
  }
}


/* CURSO EXPRESIÓN PERSONAL */
/* Estilos para el main */

.curso-body {
  background-color: var(--rosa);
}

.curso-detalle {
  padding: 2rem;
  max-width: 80vw;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3rem;
  transition: transform 0.3s ease-in-out;
}

.curso-detalle h3 {
  color: var(--oscuro);
  text-align: center;
  margin-bottom: 2rem;
  font-size: 2rem;
  transition: color 0.3s ease-in-out;
}

.curso-detalle h3:hover {
  color: var(--morado);
}

.info-curso {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  transition: opacity 0.3s ease-in-out;
}

.info-curso:hover {
  opacity: 0.9;
}

@media (min-width: 768px) {
  .info-curso {
    grid-template-columns: 1fr 1fr;
  }
}

.tarjeta-section, .expresion-personal {
  background-color: var(--blanco);
  border: 2px solid var(--oscuro);
  border-radius: 10px;
  padding: 1rem;
  transition: box-shadow 0.3s ease-in-out, transform 0.3s ease-in-out;
  text-align: left;
}

.tarjeta-section:hover, .expresion-personal:hover {
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  transform: scale(1.02);
}

.tarjeta-section h2, .expresion-personal h2 {
  color: var(--oscuro);
  transition: color 0.3s ease-in-out;
}

.tarjeta-section p{
  width: 100%;
}

.expresion-personal p {
  margin-bottom: 1rem;
  line-height: 1.6;
}

ul {
  list-style-type: disc;
  margin: 1rem 0;
  padding-left: 1.5rem;
}

h4 {
  margin-top: 1rem;
  color: var(--oscuro);
  font-size: 1.1rem;
}

ul{
  
    font-family: 'Bagoss';
    font-size: 1.2rem;
    font-weight: lighter;
    line-height: 1.5;
  }

  .expresion-personal p{
    width: 100%;
  }
.curso-detalle button{
  width: 50%;
}


/* Contacto */


.body-contacto {
    background: linear-gradient(-45deg, #525aee, #863ce7, #523b9e, #7d408e);
    animation: gradient 15s ease infinite;
    height: auto;
  }
  
  @keyframes gradient {
    0% {
      background-position: 0% 50%;
    }
    50% {
      background-position: 100% 50%;
    }
    100% {
      background-position: 0% 50%;
    }
  }

.contacto {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 1rem 2rem;
  background-color: #f4f4f4;
  height: fit-content;
  border-radius:12px ;
}



.contacto-main{
  height: auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.contacto-info {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  margin-bottom: 2rem;
}

.contacto-info h1 {
  font-family: 'Bagoss', sans-serif;
  font-size: 2.5rem;
  color: var(--oscuro);
  transition: ease-in-out 0.2s;
}

.contacto-info p {
  font-family: 'Bagoss', sans-serif;
  font-size: 1.2rem;
  color: var(--oscuro);
  margin-bottom: 1rem;
}

.whatsapp-button {
  display: inline-block;
  padding: 1rem 2rem;
  background-color: #25D366; /* Color de WhatsApp */
  color: var(--oscuro);
  border-radius: 50px;
  text-decoration: none;
  font-family: 'Bagoss', sans-serif;
  font-size: 1rem;
  transition: background-color 0.3s, transform 0.3s;
}

.whatsapp-button:hover {
  background-color: #128C7E;
  transform: scale(1.05);
}

.email {
  font-family: 'Bagoss', sans-serif;
  font-size: 1rem;
  color: var(--morado);
}

.email a{
  color: var(--morado);
}

.contacto-formulario {
  margin-top: 2rem;
  background-color: #8063FC;
  border-radius: 10px;
  padding: 2rem;
  width: 100%;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.contacto-formulario h2 {
  font-family: 'Bagoss', sans-serif;
  color: var(--blanco);
  margin-bottom: 1rem;
}

.contacto-formulario label {
  font-family: 'Bagoss', sans-serif;
  color: var(--resalto);
  display: block;
  margin-bottom: 0.5rem;
}

.contacto-formulario input,
.contacto-formulario textarea {
  width: 100%;
  padding: 0.75rem;
  margin-bottom: 1rem;
  border: none;
  border-radius: 5px;
}

.contacto-formulario input {
  background-color: var(--blanco);
  color: var(--gris);
}

.contacto-formulario textarea {
  background-color: var(--blanco);
  color: var(--gris);
}

.contacto-formulario button {
  padding: 0.75rem 1.5rem;
  background-color: #fd3a71; /* Color del botón */
  color: var(--blanco);
  border: none;
  border-radius: 5px;
  font-family: 'Bagoss', sans-serif;
  font-size: 1rem;
  cursor: pointer;
  transition: background-color 0.3s, transform 0.3s;
}

.contacto-formulario button:hover {
  background-color: #e12d5b;
  transform: scale(1.05);
}

#contact-form{
  text-align: left;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

#contact-form label{
  width: 100%;
}
/* 
Contacto mediaquerys */

/* Estilos específicos para dispositivos móviles */
@media (max-width: 768px) {
  .contacto-formulario form {
      width: 100%;
      padding: 0 1rem;
  }

  .contacto-formulario input, .contacto-formulario textarea, .contacto-formulario button {
      width: 100%;
      max-width: 100%; /* Evitar que se estire más de lo necesario */
      margin-bottom: 1rem;
  }

  .contacto-info {
      padding: 0 1rem;
  }

  /* Botón de WhatsApp */
  .whatsapp-button {
      font-size: 1rem;
      padding: 0.8rem;
      width: 100%;
  }
  .contacto{
    height: fit-content;
  }
}

/* MENU corregido */

#header-contacto {
  position: static;
  z-index: 1;
  width: 100%;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  

}

.menu-contacto {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 3rem;
  margin: 1.7rem;
  height: 2vh;
}


.menu-contacto a {
  color: var(--blanco);
  text-decoration: none;
  text-align: center;
  font-family: 'Inter',Arial, Helvetica, sans-serif;
  font-weight: 200;
  transition: ease-in-out 0.2s;
}

.menu-contacto a:hover{
  scale: 1.2;
  font-weight: 600;
}


/* MEDIA QUERY MENU */
@media (max-width: 1000px) {

  #header-contacto {
    flex-direction: row;
    align-items: center;
    justify-content: center; /* Centra los elementos */
    padding: 1rem;
    gap: 1rem;
    width: 100%;
  }

  .menu-contacto {
    flex-direction: row;
    gap: 1.5rem;
    margin: 0;
    width: auto;
    height: auto;
  }

  .menu-contacto a {
    font-size: 1rem;
    font-weight: 400;
  }
}



/* FORMULARIO */
.contacto-main {
  margin-top: 2rem;
}

.contacto-formulario {
  padding: 2rem;
}

#contact-form input,
#contact-form textarea {
  width: 100%;
  padding: 0.5rem;
  margin: 0.5rem 0;
  border-radius: 5px;
  border: 1px solid var(--gris);
}

#contact-form button {
  background-color: #8063FC;
  color: #fff;
  padding: 0.7rem 2rem;
  border: none;
  border-radius: 25px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

#contact-form button:hover {
  background-color: #fd3a71;
}

.contacto-formulario {
  width: fit-content;
  max-width: 100%; /* Evita que se salga en pantallas pequeñas */
  margin: 0 auto;
  padding: 20px;
  box-sizing: border-box;
}

@media (max-width: 768px) {
  .contacto-formulario {
      width: 100%; /* Asegura que el formulario se ajuste a la pantalla */
  }
}


.contacto {
  display: flex;
  flex-direction: column; /* Cambia a columna en móviles */
  align-items: center; /* Alineación central */
  justify-content: center;
  width: 100%;
  padding: 1rem; /* Asegura espacio adecuado */
  height: fit-content;
}

@media (max-width: 768px) {
  .contacto {
    width: 90%; /* Reduce el ancho en móviles */
    padding: 1rem 0; /* Ajusta el padding */
  }
}
