:root{
  --color-primary: #b4355b;
  --color-secondary: #A60C3A;

  --bg-color:#f9f8f4;
  --color-transparent: transparent;

  --color-icon:	#54061D;
  --color-subtitle: #7D092C;
  --color-title:#F21155;
  --color-text: #54595F;

  --color-blur: #60888ac3;
  --colo-blur-bg: #f5576b91;
}

  /*--------------------------------------------------------------
# scrooll bar
--------------------------------------------------------------*/
body::-webkit-scrollbar{
  width: 12px;
}

body::-webkit-scrollbar-track{
  background-color: #ddd;
}

body::-webkit-scrollbar-thumb{
  background: var(--color-primary);
}


/*--------------------------------------------------------------
# General
--------------------------------------------------------------*/
body {
  font-family: "Montserrat", sans-serif;
  color: var(--color-text);
}

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

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

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: "Montserrat", sans-serif;
}

/*--------------------------------------------------------------
# Back to top button
--------------------------------------------------------------*/
.back-to-top {
  position: fixed;
  visibility: hidden;
  opacity: 0;
  right: 15px;
  bottom: 15px;
  z-index: 996;
  background: var(--color-primary);
  width: 40px;
  height: 40px;
  border-radius: 4px;
  transition: all 0.4s;
}

.back-to-top i {
  font-size: 28px;
  color: #fff;
  line-height: 0;
}

.back-to-top:hover {
  background: var(--color-blur);
  color: #fff;
}

.back-to-top.active {
  visibility: visible;
  opacity: 1;
}



/*--------------------------------------------------------------
# Disable aos animation delay on mobile devices
--------------------------------------------------------------*/
@media screen and (max-width: 768px) {
  [data-aos-delay] {
    transition-delay: 0 !important;
  }
}

/*--------------------------------------------------------------
# Header
--------------------------------------------------------------*/
#header {
  color: var(--color-icon);
  transition: all 0.5s;
  z-index: 997;
  padding: 8px 0;
  background: #fff;
}


#header .logo {
  font-size: 30px;
  margin: 0;
  padding: 0;
  font-weight: 600;
  font-family: "Montserrat", sans-serif;
}

#header .logo a {
  color: #111111;
}

#header .logo a span {
  color: var(--color-icon);
}

#header .logo img {
  max-height: 80px;
}

/*--------------------------------------------------------------
# Get Startet Button
--------------------------------------------------------------*/
.get-started-btn {
  margin-left: 30px;
  background: var(--color-secondary);
  color: #fff;
  border-radius: 4px;
  padding: 8px 25px;
  white-space: nowrap;
  transition: 0.3s;
  font-size: 14px;
  font-weight: 600;
  display: inline-block;
}

.get-started-btn:hover {
  background: #111111;
  color: #fff;
}

@media (max-width: 992px) {
  .get-started-btn {
    margin: 0 15px 0 0;
    padding: 6px 18px;
  }
}

/*--------------------------------------------------------------
# Navigation Menu
--------------------------------------------------------------*/

.navbar {
  padding: 0;
}

.navbar ul {
  margin: 0;
  padding: 0;
  display: flex;
  list-style: none;
  align-items: center;
}

.navbar li {
  position: relative;
}

.navbar a,
.navbar a:focus {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 0 10px 30px;
  font-family: "Montserrat", sans-serif;
  font-size: 15px;
  font-weight: 600;
  /* color: var(--bg-color); */
  color: #111111;
  white-space: nowrap;
  transition: 0.3s;
}


.navbar a i,
.navbar a:focus i {
  font-size: 12px;
  line-height: 0;
  margin-left: 5px;
}

.navbar a:hover,
.navbar .active,
.navbar .active:focus,
.navbar li:hover>a {
  color: var(--color-primary);
}

/**
* Mobile Navigation 
*/
.mobile-nav-toggle {
  color: #111111;
  font-size: 28px;
  cursor: pointer;
  display: none;
  line-height: 0;
  transition: 0.5s;
}

.mobile-nav-toggle.bi-x {
  color: #fff;
}

@media (max-width: 991px) {
  .mobile-nav-toggle {
    display: block;
  }

  .navbar ul {
    display: none;
  }
}

.navbar-mobile {
  position: fixed;
  overflow: hidden;
  top: 0;
  right: 0;
  left: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.9);
  transition: 0.3s;
  z-index: 999;
}

.navbar-mobile .mobile-nav-toggle {
  position: absolute;
  top: 15px;
  right: 15px;
}

.navbar-mobile ul {
  display: block;
  position: absolute;
  top: 55px;
  right: 15px;
  bottom: 15px;
  left: 15px;
  padding: 10px 0;
  background-color: #fff;
  overflow-y: auto;
  transition: 0.3s;
}

.navbar-mobile a,
.navbar-mobile a:focus {
  padding: 10px 20px;
  font-size: 15px;
  color: #111111;
}

.navbar-mobile a:hover,
.navbar-mobile .active,
.navbar-mobile li:hover>a {
  color: var(--color-subtitle);
}

.navbar-mobile .getstarted,
.navbar-mobile .getstarted:focus {
  margin: 15px;
}


/*--------------------------------------------------------------
# Hero Section
--------------------------------------------------------------*/
#hero {
  width: 100%;
  height: 60vh;
  background-image: url('../img/fondo.jpg'); 
  background-size: cover;
  background-position: center;
  position: relative;
  padding-top: 82px;
}

#hero:before {
  content: "";
  background: rgba(90, 9, 35, 0.6); 
  position: absolute;
  bottom: 0;
  top: 0;
  left: 0;
  right: 0;
}

#hero h1 {
  margin: 0;
  font-size: 48px;
  font-weight: 700;
  color: var(--bg-color);
  position: relative; 
  z-index: 2;
  text-align:left;
}

#hero span {
  font-weight: bold;
  font-size: 80px;
  color: var(--color-title);
  position: relative;
  z-index: 2; 
}

#hero h2 {
  color: var(--bg-color);
  margin: 10px 0 0 0;
  font-size: 24px;
  position: relative; 
  z-index: 2; 
}

#hero .btn-get-started {
  font-family: "Montserrat", sans-serif;
  font-weight: 500;
  font-size: 16px;
  letter-spacing: 1px;
  display: inline-block;
  padding: 10px 30px;
  border-radius: 4px;
  transition: 0.5s;
  margin-top: 30px;
  color: #fff;
  background: var(--color-primary);
  border: 2px solid var(--color-primary);
  position: relative; 
  z-index: 2; 
}

#hero p {
  font-size: 24px;
  font-weight: 400;
  color: var(--bg-color);
  max-width: 900px;
  margin: 25px auto;
  line-height: 1.6;
  opacity: 0.9;
}

#hero .btn-get-started:hover {
  background: transparent;
  border-color: #fff;
}

@media (max-width: 768px) {
  #hero {
    text-align: center;
    padding-top: 58px;
  }

  #hero h1 {
    margin: 0;
    font-size: 28px;
    font-weight: 500;
    color: #fff;
  }

  #hero h2 {
    font-size: 18px;
    line-height: 24px;
  }
}

@media (max-height: 500px) {
  #hero {
    height: 120vh;
  }
}


/* Estilos para la sección de E-books */
.ebooks {
  padding: 60px 0;
  background-color: var(--color-bg);
}

.ebooks-title {
  font-size: 2.5rem;
  color: var(--color-text);
  text-align: center;
  margin-bottom: 40px;
  font-weight: bold;
}

.ebooks-list {
  display: flex;
  flex-direction: column;
  gap: 40px;
  padding: 0 20px;
}

.ebook-item {
  display: flex;
  align-items: center;
  gap: 20px;
  background-color: white;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  padding: 20px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.ebook-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

.ebook-image {
  width: 200px;
  height: 300px;
  object-fit: cover;
  border-radius: 10px;
}

.ebook-details {
  flex: 1;
}

.ebook-title {
  font-size: 1.8rem;
  color: var(--color-text);
  margin-bottom: 10px;
}

.ebook-description {
  font-size: 1rem;
  color: #666;
  margin-bottom: 20px;
}

.ebook-form {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.ebook-form input {
  width: 100%;
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 5px;
}

.ebook-form button {
  background-color: var(--color-primary);
  color: white;
  border: none;
  padding: 10px 20px;
  border-radius: 5px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.ebook-form button:hover {
  background-color: #700230;
}

/* Responsividad */
@media (max-width: 768px) {
  .ebook-item {
    flex-direction: column;
    text-align: center;
  }

  .ebook-image {
    width: 100%;
    height: auto;
  }
}
































/*--------------------------------------------------------------
# Script
--------------------------------------------------------------*/
#script{
  margin-top: 30px;
  margin-left: 50px;
  margin-right: 50px;
  margin-bottom: 30px;
}

#script h1{
  color: var(--color-secondary);
  font-weight: bolder;
  font-size: 50px;
}

#script h3{
  color: var(--color-primary);
  font-weight: bold;
}

#script p{
  font-size: 17px;
}

#script ul{
  list-style: none;
  font-size: 17px;
}

/*--------------------------------------------------------------
# Footer
--------------------------------------------------------------*/
#footer {
  color: #fff;
  font-size: 14px;
  background: var(--color-primary);
}

#footer .footer-top {
  padding: 60px 0 30px 0;
  background: var(--colo-blur-bg);
}

#footer a{
  color: var(--color-subtitle);
}

#footer .footer-top .footer-contact {
  margin-bottom: 30px;
}

#footer .footer-top .footer-contact h3 {
  font-size: 26px;
  line-height: 1;
  font-weight: 700;
}

#footer .footer-top .footer-contact h3 span {
  color: var(--color-title);
}

#footer .footer-top .footer-contact p {
  font-size: 14px;
  line-height: 24px;
  margin-bottom: 0;
  font-family: "Montserrat", sans-serif;
}

#footer .footer-top h4 {
  font-size: 16px;
  font-weight: bold;
  position: relative;
  padding-bottom: 12px;
}

#footer .footer-top h4::after {
  content: "";
  position: absolute;
  display: block;
  width: 20px;
  height: 2px;
  background: var(--color-title);
  bottom: 0;
  left: 0;
}

#footer .footer-top .footer-links {
  margin-bottom: 30px;
}

#footer .footer-top .footer-links ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

#footer .footer-top .footer-links ul i {
  padding-right: 2px;
  color: white;
  font-size: 18px;
  line-height: 1;
}

#footer .footer-top .footer-links ul li {
  padding: 10px 0;
  display: flex;
  align-items: center;
}

#footer .footer-top .footer-links ul li:first-child {
  padding-top: 0;
}

#footer .footer-top .footer-links ul a {
  color: #aaaaaa;
  transition: 0.3s;
  display: inline-block;
  line-height: 1;
}

#footer .footer-top .footer-links ul a:hover {
  text-decoration: none;
  color: #fff;
}

#footer .footer-newsletter {
  font-size: 15px;
}

#footer .footer-newsletter h4 {
  font-size: 16px;
  font-weight: bold;
  position: relative;
  padding-bottom: 12px;
}

#footer .footer-newsletter form {
  margin-top: 30px;
  background: #fff;
  padding: 5px 10px;
  position: relative;
  border-radius: 4px;
  text-align: left;
}

#footer .footer-newsletter img{
  width: 250px;
}

#footer .credits {
  padding-top: 5px;
  font-size: 13px;
}

#footer .social-links a {
  font-size: 18px;
  display: inline-block;
  background: var(--colo-blur-bg);
  color: #fff;
  line-height: 1;
  padding: 8px 0;
  margin-right: 4px;
  border-radius: 4px;
  text-align: center;
  width: 36px;
  height: 36px;
  transition: 0.3s;
}

#footer .social-links a:hover {
  background: var(--color-primary);
  color: #fff;
  text-decoration: none;
}

/*--------------------------------------------------------------
# Whatsapp
--------------------------------------------------------------*/
#whatsapp {
  position: fixed;
  bottom: 20px;
  left: 10px;
  z-index: 9999;
}

svg {
  width: 80px;
  filter: drop-shadow(0 1px 4px rgba(0, 0, 0, .4));
  width: 42px;
  height: 42px;
  margin-top: 12px;
  margin-left: 14.5px;
}

path {
  fill: #25d366;
}

.message {
  display: none;
  font-size: 20px;
  color: #fff;
  background-color: #25d366;
  padding: 15px;
  border-radius: 25px;
  position: absolute;
  bottom: 0px;
  left: 70px;
  white-space: nowrap;
  transition: left 0.5s ease;
  -webkit-border-radius: 25px;
  -moz-border-radius: 25px;
  -ms-border-radius: 25px;
  -o-border-radius: 25px;
}

#whatsapp:hover .message {
  left: 0; /* Muestra el mensaje moviéndolo a la posición izquierda */
}

@media (max-width: 767px){
  .message {
    font-size: 15px;
    color: #fff;
    background-color: var(--color-primary);
    padding: 10px;
  }
}

@media (max-width: 450px){
  .message {
    font-size: 15px;
    color: #fff;
    background-color: var(--color-primary);
    padding: 10px;
  }
}
