@charset "UTF-8";
.blog-post {
  grid-column: 2/12;
  grid-column-start: 2;
  grid-row-start: 2;
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  align-items: center;
}

.form-libro {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 60px 20px;
}
.form-libro .book {
  display: flex;
  width: 800px;
  min-height: 400px;
  background: #fff;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
  border-radius: 8px;
  overflow: hidden;
}
.form-libro .book .book-left {
  flex: 1;
  background: #f3f3f3;
  padding: 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  border-right: 2px solid #ddd;
}
.form-libro .book .book-left h2 {
  font-size: 28px;
  margin-bottom: 15px;
}
.form-libro .book .book-left p {
  font-size: 16px;
  line-height: 1.5;
}
.form-libro .book .book-right {
  flex: 1;
  padding: 40px;
  background: #fafafa;
}
.form-libro .book .book-right form {
  display: flex;
  flex-direction: column;
  gap: 15px;
}
.form-libro .book .book-right label {
  font-weight: bold;
  font-size: 14px;
}
.form-libro .book .book-right input,
.form-libro .book .book-right textarea {
  width: 100%;
  padding: 10px;
  border: 1px solid #aaa;
  border-radius: 5px;
  font-size: 14px;
}
.form-libro .book .book-right button {
  padding: 12px;
  background: #000;
  color: #fff;
  border: none;
  border-radius: 6px;
  font-size: 16px;
  cursor: pointer;
  transition: 0.3s;
}
.form-libro .book .book-right button:hover {
  background: #444;
}

.evento-grid {
  grid-column: 2/12;
  grid-column-start: 2;
  grid-row-start: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  align-items: center;
}

.valoraciones {
  grid-column: 2/12;
  grid-column-start: 2;
  grid-row-start: 2;
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  align-items: center;
}

.historia2 {
  grid-column: 2/12;
  grid-column-start: 2;
  grid-row-start: 1;
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 24px;
  align-items: center;
  justify-items: center;
}

.historia1 {
  grid-column: 2/12;
  grid-column-start: 2;
  grid-row-start: 2;
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 24px;
  align-items: center;
}

.historia3 {
  grid-column: 2/12;
  grid-column-start: 2;
  grid-row-start: 3;
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 24px;
  align-items: center;
}

.dark-mode {
  background-color: #121212;
  color: #f5f5f5;
  transition: background-color 0.4s ease, color 0.4s ease;
}
.dark-mode nav {
  background-color: #141414;
}
.dark-mode nav .nav-links li::before {
  background-color: #fff;
}
.dark-mode a {
  color: #f5f5f5;
}
.dark-mode footer {
  background-color: #121212;
}
.dark-mode hr {
  background-color: #fff;
}
.dark-mode .logo img {
  filter: invert(1) brightness(2);
}
.dark-mode .footer-2 img,
.dark-mode .footer-logo {
  filter: invert(1) brightness(2);
}
.dark-mode .nav-links li ::before {
  background-color: #fff;
}
.dark-mode .navbar__toggle {
  color: #fff;
}
.dark-mode .loader {
  background: #121212;
}
.dark-mode .loader span {
  display: block;
  left: 0;
  right: 0;
  top: 100%;
  margin-top: 20px;
  text-align: center;
  color: #fff;
}
.dark-mode footer .footer-1 .section-footer li::before {
  background-color: #fff;
}
.dark-mode .form-libro .book {
  background: #1e1e1e;
  color: #f5f5f5;
}
.dark-mode .form-libro .book .book-left {
  background: #2a2a2a;
  border-right: 2px solid #444;
}
.dark-mode .form-libro .book .book-right {
  background: #222;
}
.dark-mode .form-libro .book .book-right input {
  background: #333;
  color: #f5f5f5;
  border: 1px solid #555;
}
.dark-mode .form-libro .book .book-right textarea {
  background: #333;
  color: #f5f5f5;
  border: 1px solid #555;
}
.dark-mode .form-libro .book .book-right button {
  background: #f5f5f5;
  color: #121212;
}

@keyframes page-2 {
  0% {
    transform: rotateY(180deg);
    opacity: 0;
  }
  20% {
    opacity: 1;
  }
  35%, 100% {
    opacity: 0;
  }
  50%, 100% {
    transform: rotateY(0deg);
  }
}
@keyframes page-3 {
  15% {
    transform: rotateY(180deg);
    opacity: 0;
  }
  35% {
    opacity: 1;
  }
  50%, 100% {
    opacity: 0;
  }
  65%, 100% {
    transform: rotateY(0deg);
  }
}
@keyframes page-4 {
  30% {
    transform: rotateY(180deg);
    opacity: 0;
  }
  50% {
    opacity: 1;
  }
  65%, 100% {
    opacity: 0;
  }
  80%, 100% {
    transform: rotateY(0deg);
  }
}
@keyframes page-5 {
  45% {
    transform: rotateY(180deg);
    opacity: 0;
  }
  65% {
    opacity: 1;
  }
  80%, 100% {
    opacity: 0;
  }
  95%, 100% {
    transform: rotateY(0deg);
  }
}
@keyframes slide-in-top {
  0% {
    transform: translateY(-50px);
    opacity: 0;
  }
  100% {
    transform: translateY(0);
    opacity: 1;
  }
}
.readmore-btn {
  width: 230px;
  height: 55px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  background-color: rgb(146, 67, 249);
  border: none;
  border-radius: 10px;
  padding: 0px 15px;
  gap: 8px;
  transition: all 0.4s;
  margin-top: 16px;
}

.book-wrapper {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  position: relative;
  width: 45px;
  height: 100%;
}

.book-wrapper .book-page {
  width: 50%;
  height: auto;
  position: absolute;
}

.readmore-btn:hover .book-page {
  animation: paging 0.4s linear infinite;
  transform-origin: left;
}

.readmore-btn:hover {
  background-color: rgb(254, 33, 247);
}

@keyframes paging {
  0% {
    transform: rotateY(0deg) skewY(0deg);
  }
  50% {
    transform: rotateY(90deg) skewY(-20deg);
  }
  100% {
    transform: rotateY(180deg) skewY(0deg);
  }
}
.text {
  width: 105px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  font-size: 15px;
  color: rgb(255, 255, 255);
}

@media (min-width: 769px) and (max-width: 1024px) {
  body div .grid-container {
    grid-template-columns: 1fr;
    padding: 10px;
  }
  body div .grid-container h1 {
    font-size: 36px;
  }
  body div .grid-container p {
    font-size: 16px;
  }
  body div .grid-container .historia1 {
    grid-template-columns: 1fr 1fr;
    grid-column: 2/12;
    justify-items: center;
  }
  body div .grid-container .historia1 .imagen-proyecto {
    width: 200px;
  }
  body div .grid-container .historia1 .imagen-proyecto img {
    width: 100%;
  }
  body div .grid-container .valoraciones {
    grid-template-columns: 1fr;
    grid-column: 2/12;
    justify-items: center;
  }
  body div .grid-container .historia2 {
    grid-template-columns: 1fr 1fr;
    grid-column: 2/12;
    justify-items: center;
  }
  body div .grid-container .historia2 .imagen-proyecto {
    width: 200px;
  }
  body div .grid-container .historia2 .imagen-proyecto img {
    width: 100%;
  }
  body div .grid-container .historia3 {
    grid-template-columns: 1fr 1fr;
    grid-column: 2/12;
    justify-items: center;
  }
  body div .grid-container .historia3 .imagen-proyecto {
    width: 200px;
  }
  body div .grid-container .historia3 .imagen-proyecto img {
    width: 100%;
  }
  body div .grid-container .evento-grid {
    grid-template-columns: 1fr 1fr;
    grid-column: 2/12;
    justify-items: center;
  }
  body div .grid-container .evento-grid .imagen-proyecto {
    width: 400px;
  }
  body div .grid-container .evento-grid .imagen-proyecto img {
    width: 100%;
  }
  body div .grid-container .blog-post {
    grid-template-columns: 1fr;
    grid-column: 2/12;
    justify-items: center;
  }
  body div .grid-container .inicio-presentacion {
    grid-template-columns: 1fr 1fr;
    grid-column: 2/12;
    justify-items: center;
  }
  body div .grid-container .inicio-presentacion .imagen-proyecto {
    width: 200px;
  }
  body div .grid-container .inicio-presentacion .imagen-proyecto img {
    width: 100%;
  }
  body div .grid-container .section-soy {
    grid-column: 2/12;
    grid-template-columns: 1fr 1fr;
    justify-items: center;
  }
  body div .grid-container .section-soy .buttons {
    display: flex;
    gap: 0px;
    flex-direction: column;
  }
  body div .grid-container .section-soy .imagen-proyecto {
    width: 200px;
  }
  body div .grid-container .section-soy .imagen-proyecto img {
    width: 100%;
  }
}
@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
body.dark-mode .nav-links {
  background-color: #121212;
}

body.dark-mode .nav-links a {
  color: #fff;
}

@media (max-width: 768px) {
  .navbar {
    position: relative;
  }
  .navbar__toggle {
    display: block !important;
    background: none;
    border: none;
    color: #000;
    font-size: 2rem;
    cursor: pointer;
    z-index: 50;
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    transition: transform 0.3s ease, color 0.3s ease;
  }
  body.dark-mode .navbar__toggle {
    color: #fff;
  }
  .nav-links {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: center;
    background-color: #fff;
    text-align: center;
    overflow: hidden;
    max-height: 0;
    opacity: 0;
    transition: max-height 0.4s ease, opacity 0.4s ease;
  }
  .nav-links.active {
    max-height: 500px;
    /* suficiente para mostrar todos los links */
    opacity: 1;
  }
  body.dark-mode .nav-links {
    background-color: #121212;
  }
  .nav-links li {
    margin: 10px 0;
  }
  .navbar__toggle span {
    display: block;
    width: 25px;
    height: 3px;
    background-color: currentColor;
    margin: 5px auto;
    border-radius: 2px;
    transition: all 0.3s ease;
  }
  .navbar__toggle.active span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
  }
  .navbar__toggle.active span:nth-child(2) {
    opacity: 0;
  }
  .navbar__toggle.active span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
  }
  body .grid-container {
    grid-template-columns: 1fr;
    padding: 10px;
  }
  body .grid-container h1 {
    font-size: 36px;
  }
  body .grid-container p {
    font-size: 24px;
  }
  body .grid-container .valoraciones {
    grid-column: 2/12;
    grid-template-columns: 1fr;
  }
  body .grid-container .historia1 {
    grid-column: 2/12;
    grid-template-columns: 1fr;
  }
  body .grid-container .historia1 .imagen-proyecto {
    width: 500px;
  }
  body .grid-container .historia1 .imagen-proyecto img {
    width: 100%;
  }
  body .grid-container .historia2 {
    grid-column: 2/12;
    grid-template-columns: 1fr;
  }
  body .grid-container .historia2 .imagen-proyecto {
    width: 500px;
  }
  body .grid-container .historia2 .imagen-proyecto img {
    width: 100%;
  }
  body .grid-container .historia3 {
    grid-column: 2/12;
    grid-template-columns: 1fr;
  }
  body .grid-container .historia3 .imagen-proyecto {
    width: 500px;
  }
  body .grid-container .historia3 .imagen-proyecto img {
    width: 100%;
  }
  body .grid-container .evento-grid {
    grid-column: 2/12;
    grid-template-columns: 1fr;
  }
  body .grid-container .evento-grid .imagen-proyecto {
    width: 500px;
  }
  body .grid-container .evento-grid .imagen-proyecto img {
    width: 100%;
  }
  body .grid-container .inicio-presentacion {
    grid-column: 2/12;
    grid-template-columns: 1fr;
  }
  body .grid-container .inicio-presentacion .imagen-proyecto {
    width: 500px;
  }
  body .grid-container .inicio-presentacion .imagen-proyecto img {
    width: 100%;
  }
  body .grid-container .section-soy {
    grid-column: 2/12;
    grid-template-columns: 1fr;
  }
  body .grid-container .section-soy .imagen-proyecto {
    width: 500px;
  }
  body .grid-container .section-soy .imagen-proyecto img {
    width: 100%;
  }
}
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Montserrat";
}
body h1 {
  font-size: 68px;
}
body p {
  font-family: "Montserrat";
  font-size: 24px;
}
body li {
  list-style: none;
}
body a {
  text-decoration: none;
  color: #000;
}
body .grid-container {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  grid-auto-rows: auto;
  padding-top: 40px;
  margin-bottom: 56px;
  gap: 24px;
}
body .section-soy {
  grid-column: 2/12;
  grid-column-start: 2;
  grid-row-start: 1;
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 24px;
  align-items: center;
}
body .text-intermed {
  grid-column: 2/12;
  grid-column-start: 2;
  grid-row-start: 2;
  display: grid;
  grid-template-columns: 1fr;
}
body .inicio-presentacion {
  display: grid;
  grid-column: 2/12;
  grid-column-start: 2;
  grid-row-start: 3;
  grid-template-columns: 1fr 2fr;
  align-items: center;
  gap: 24px;
}
body .libro {
  display: flex;
  margin: 0px 208px;
  flex-direction: column;
}
body .libro .titulo-del-libro {
  margin: 24px 0px;
}
body .libro .imagen-libro-text {
  display: flex;
  flex-direction: row;
  gap: 24px;
  align-items: center;
}
body .libro .imagen-libro-text img {
  width: 500px;
}
body .imagen-proyecto {
  width: 700px;
}
body .imagen-proyecto img {
  width: 100%;
}
body .blog-post {
  display: flex;
  flex-direction: column;
}
body .buttons {
  display: flex;
  gap: 24px;
}
body nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px;
}
body nav .navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 2rem;
  position: relative;
  z-index: 10;
}
body nav .navbar__toggle {
  display: none;
  background: none;
  border: none;
  font-size: 2rem;
  cursor: pointer;
  color: #000;
  transition: color 0.3s ease;
}
body nav .navbar__toggle:hover {
  opacity: 0.7;
}
body nav .nav-links {
  display: flex;
  align-items: center;
  gap: 30px;
  transition: all 0.3s ease;
}
body nav .toggle-switch {
  position: relative;
  width: 90px;
  height: 40px;
}
body nav .toggle-switch .switch-label {
  position: absolute;
  width: 100%;
  height: 40px;
  background-color: #28292c;
  border-radius: 25px;
  cursor: pointer;
  border: 3px solid #28292c;
}
body nav .toggle-switch .switch-label .checkbox {
  position: absolute;
  display: none;
}
body nav .toggle-switch .switch-label :checked ~ .slider {
  background-color: #d8dbe0;
}
body nav .toggle-switch .switch-label :checked ~ .slider::before {
  -webkit-transform: translateX(50px);
  -ms-transform: translateX(50px);
  transform: translateX(50px);
  background-color: #28292c;
  -webkit-box-shadow: none;
  box-shadow: none;
}
body nav .toggle-switch .switch-label .slider {
  position: absolute;
  width: 100%;
  height: 100%;
  border-radius: 25px;
  -webkit-transition: 0.3s;
  transition: 0.3s;
}
body nav .toggle-switch .switch-label .slider::before {
  content: "";
  position: absolute;
  top: 8px;
  left: 10px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  -webkit-box-shadow: inset 12px -4px 0px 0px #d8dbe0;
  box-shadow: inset 12px -4px 0px 0px #d8dbe0;
  background-color: #28292c;
  -webkit-transition: 0.3s;
  transition: 0.3s;
}
body nav .logo img {
  width: 140px;
  height: auto;
  object-fit: contain;
  transition: all 0.3s ease;
}
body nav .nav-links {
  display: flex;
  align-items: center;
  gap: 30px;
  margin: 0px;
  padding: 0;
  font-family: "Montserrat";
  color: #000;
  line-height: 2;
  position: relative;
}
body nav .nav-links .close-btn {
  display: none;
}
body nav .nav-links li {
  position: relative;
}
body nav .nav-links li::before {
  content: "";
  position: absolute;
  left: 0;
  bottom: -0.25rem;
  height: 2px;
  width: 0;
  border-radius: 2px;
  background-color: #000;
  transition: width 0.3s ease;
}
body nav .nav-links li:hover::before {
  width: 100%;
}
body footer {
  display: flex;
  margin: 24px 208px;
  justify-content: space-between;
  flex-direction: column;
}
body footer hr {
  border: none;
  height: 2px;
  background-color: #000;
  margin: 0px 0px 24px 0px;
}
body footer .footer-baja {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
}
body footer .footer-1 {
  display: flex;
  justify-content: space-between;
  flex-direction: row;
  align-items: center;
  align-content: center;
}
body footer .footer-1 .section-footer {
  display: flex;
  gap: 16px;
  flex-direction: column;
  align-items: flex-start;
}
body footer .footer-1 .section-footer li {
  position: relative;
}
body footer .footer-1 .section-footer li::before {
  content: "";
  position: absolute;
  left: 0;
  bottom: -0.25rem;
  height: 2px;
  width: 0;
  border-radius: 2px;
  background-color: #000;
  transition: width 0.3s ease;
}
body footer .footer-1 .section-footer li:hover::before {
  width: 100%;
}
body footer .footer-1 .footer-2 {
  display: flex;
  flex-direction: column;
  align-items: center;
  align-content: center;
  justify-content: center;
}
body footer .footer-1 .footer-2 img {
  width: 200px;
}
body footer .footer-1 .footer-2 .card {
  width: fit-content;
  height: fit-content;
  background-color: transparent;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 25px 25px;
  gap: 20px;
  /* instagram*/
  /* twitter*/
  /* linkdin*/
  /* Whatsapp*/
}
body footer .footer-1 .footer-2 .card .socialContainer {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background-color: rgb(44, 44, 44);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  transition-duration: 1s;
}
body footer .footer-1 .footer-2 .card .socialContainer .socialSvg {
  width: 17px;
}
body footer .footer-1 .footer-2 .card .socialContainer .socialSvg path {
  fill: #fff;
}
body footer .footer-1 .footer-2 .card .socialContainer:hover .socialSvg {
  animation: slide-in-top 0.3s both;
}
body footer .footer-1 .footer-2 .card .containerOne:hover {
  background-color: #d62976;
  transition-duration: 0.3s;
}
body footer .footer-1 .footer-2 .card .containerTwo:hover {
  background-color: #00acee;
  transition-duration: 0.3s;
}
body footer .footer-1 .footer-2 .card .containerThree:hover {
  background-color: #0072b1;
  transition-duration: 0.3s;
}
body footer .footer-1 .footer-2 .card .containerFour:hover {
  background-color: #128c7e;
  transition-duration: 0.3s;
}
body footer .footer-1 .footer-2 .card .socialContainer:active {
  transform: scale(0.9);
  transition-duration: 0.3s;
}
body .loader {
  width: 200px;
  height: 180px;
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 9999;
  background: #fff;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
}
body .loader div {
  width: 100%;
  height: 100%;
  border-radius: 13px;
  position: relative;
  z-index: 1;
  perspective: 600px;
  box-shadow: 0 4px 6px rgba(39, 94, 254, 0.28);
  background-image: linear-gradient(135deg, #f823e6, #ff59f7);
}
body .loader div ul {
  margin: 0;
  padding: 0;
  list-style: none;
  position: relative;
}
body .loader div ul li {
  --r: 180deg;
  --o: 0;
  position: absolute;
  top: 10px;
  left: 10px;
  transform-origin: 100% 50%;
  color: rgba(255, 255, 255, 0.36);
  opacity: rgba(255, 255, 255, 0.36);
  transform: rotateY(var(--r));
  -webkit-animation: 3s ease infinite;
  animation: 3s ease infinite;
}
body .loader div ul li:nth-child(2) {
  -c: rgba(255, 255, 255, 0.52);
  -webkit-animation-name: page-2;
  animation-name: page-2;
}
body .loader div ul li:nth-child(3) {
  --c: $loader-page-fold;
  -webkit-animation-name: page-3;
  animation-name: page-3;
}
body .loader div ul li:nth-child(4) {
  --c: $loader-page-fold;
  -webkit-animation-name: page-4;
  animation-name: page-4;
}
body .loader div ul li:nth-child(5) {
  --c: $loader-page-fold;
  -webkit-animation-name: page-5;
  animation-name: page-5;
}
body .loader div ul li svg {
  width: 90px;
  height: 120px;
  display: block;
}
body .loader div ul li:first-child {
  --r: 0deg;
  --o: 1;
}
body .loader div ul li:last-child {
  --o: 1;
}
body .loader span {
  display: block;
  left: 0;
  right: 0;
  top: 100%;
  margin-top: 20px;
  text-align: center;
  color: #000000;
}

/* === FIX FINAL BOTÓN HAMBURGUESA === */
.navbar {
  position: relative;
}

.navbar__toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  color: #000;
  font-size: 2rem;
  position: absolute;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 50; /* por encima del logo y menú */
  transition: color 0.3s ease;
}

body.dark-mode .navbar__toggle {
  color: #fff;
}

/*# sourceMappingURL=styles.css.map */
