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

:root {
  /* --primary-color: #FF7891; */
  --primary-color: #e22a4b;
  --primary-color-dark: rgb(226, 42, 75);
  --secondary-color: #2f4858;
  /* #c33076, #92458d, #5d4f8c, #364f77, #2f4858 */
  --text-dark: #262626;
  --text-light: #737373;
  --extra-light: #e5e5e5;
  --white: #f3f0f0;
  --max-width: 1200px;
}

.float_wpp{
	position:fixed;
	width:60px;
	height:60px;
	bottom:40px;
	right:40px;
	background-color:#25d366;
	color:#FFF;
	border-radius:50px;
	text-align:center;
  font-size:30px;
	/* box-shadow: 2px 2px 3px #999; */
  z-index:100;
  padding-top: .4rem;
}

* {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
}

button:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.section__container {
  max-width: var(--max-width);
  margin: auto;
  padding: 5rem 1rem 0 1rem;
}

.section__header {
  max-width: 900px;
  margin-inline: auto;
  margin-bottom: 1rem;
  font-size: 2.5rem;
  line-height: 3rem;
  font-weight: 700;
  color: var(--text-dark);
  text-transform: uppercase;
  text-align: center;
}

.section__header span {
  color: var(--primary-color);
}

.section__description {
  max-width: 600px;
  margin-inline: auto;
  color: var(--text-dark);
  line-height: 1.75rem;
  text-align: center;
}

.btn {
  width: 150px;
  padding: 1rem 2rem;
  outline: none;
  border: none;
  font-size: 1rem;
  color: var(--white);
  background-color: var(--primary-color);
  border-radius: 5px;
  transition: 0.3s;
  cursor: pointer;
}

.logo {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary-color);
}

img {
  display: flex;
  width: 100%;
}

a {
  text-decoration: none;
  transition: 0.3s;
}

ul {
  list-style: none;
}

html,
body {
  scroll-behavior: smooth;
}

body {
  font-family: "Poppins", sans-serif;
}

.banner {
  position: relative;
  background-color: var(--primary-color);
  width: 100%;
  padding: 22px 0;
  text-align: center;
  width: 100%;
  z-index: 9999 !important;
}

.banner span.new {
  font-size: 13px;
  font-weight: 700;
  color: #000;
  background: #fff;
  padding: 3px 7px;
  border-radius: 50px;
  line-height: 18px;
}

.banner span.main-text {
  font-size: 14px;
}

nav {
  position: absolute; /* Empieza debajo del banner */
  left: 0;
  width: 100%;
  max-width: var(--max-width);
  margin-inline: auto;
  z-index: 9;
  transition: top 0.3s ease-in-out;
}

nav.fixed {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background-color: var(--extra-light); 
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  z-index: 10;
}

.nav__header {
  padding: 1rem;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background-color: var(--extra-light);
}

.nav__menu__btn {
  font-size: 1.5rem;
  color: var(--text-dark);
  cursor: pointer;
}

.nav__links {
  position: absolute;
  top: 65px;
  left: 0;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 2rem;
  padding: 2rem;
  background-color: var(--extra-light);
  transition: 0.5s;
  z-index: -1;
  transform: translateY(-100%);
}

.nav__links.open {
  transform: translateY(0);
}

.nav__links a {
  font-weight: 500;
  color: var(--text-dark);
}

.nav__links a:hover {
  color: var(--primary-color);
}

/* BIO HEADER */
.bio__header__container {
  overflow: hidden;
  padding: 8rem 1rem 0 1rem;
  display: flex;
  flex-direction: column-reverse;
  justify-content: center;
  align-items: center;
  background-color: var(--primary-color);
}
.bio__header__container h1 {
  font-size: 30px;
  color: white;
  text-align: center;
  font-weight: 800;
}
.bio__header__container p {
  font-size: 16px;
  text-align: center;
  text-transform: uppercase;
  font-weight: 600;
  line-height: 2rem;
}
.bio__header__img {
  aspect-ratio: auto;
  height: auto;
  width: auto;
  max-width: 250px;
  max-height: 300px;
}

/* Blog */
.blog__post {
  background-color: #f3f0f0;
}
.blog__container {
  padding: 2rem;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.blog__content {
  max-width: 600px;
  text-align: start;
}
.blog__content p {
  font-size: 14px;
  padding: 1rem 1rem 1rem 0;
}
.blog__cta {
  height: 200px;
  width: 100%;
  background-color: var(--secondary-color);
  color: var(--white);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 40px 30px;
}
.blog__cta h3 {
  text-align: center;
  text-transform: uppercase;
  font-size: 1.8rem;
  margin-bottom: 1rem;
}
.blog__cta__btn {
  font-weight: 600;
  font-size: 15px;
  width: 300px;
  padding: 15px 50px;
  border-radius: 50px;
  text-align: center;
}
.blog__cta__btn:hover {
  background-color: var(--white);
  color: var(--primary-color);
}
.blog__related {
  width: 100%;
  height: 150px;
  padding: 1rem;
  margin: 1rem 0;
  background-color: var(--white);
  box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.2);
  display: flex;
  flex-direction: row;
  justify-content: flex-start;
  align-items: center;
  text-align: start;
}
.blog__related__img {
  aspect-ratio: auto;
  height: auto;
  width: auto;
  max-width: 100px;
  margin-right: 5px;
}

/* Footer */
footer {
  background-color: rgb(226, 42, 75);
}
.footer__logo {
  margin-bottom: 2rem;
}
.footer__container {
  display: flex;
  flex-direction: column;
  padding-top: 2rem !important;
  color: var(--white);
  margin-bottom: 0;
}
.footer__links {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.footer__links a {
  color: var(--white);
}
.footer__links a:hover {
  color: var(--text-dark);
}
.footer__links a span {
  font-size: 1.25rem;
}
.footer__bar {
  padding: 1rem;
  font-size: 0.9rem;
  color: var(--white);
  text-align: center;
}

@media (width > 540px) {
  .footer__logo {
    margin-bottom: 0;
  }
  .footer__container {
    flex-direction: row;
    justify-content: space-around;
    align-items: center;
    margin-bottom: 2rem;
  }
  .footer__links {
    flex-direction: row;
    align-items:flex-start;
  }
  .banner span.main-text {
    font-size: 18px;
  }
}

@media (width > 768px) {
  .blog__container {
    padding: 5rem;
    width: 100%;
    flex-direction: row;
    justify-content: space-around;
    align-items: flex-start;
  }

  nav {
    position: static;
    padding: 2rem 1rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
  }
  .nav__header {
    padding: 0;
    background-color: transparent;
  }
  .nav__menu__btn {
    display: none;
  }
  .nav__links {
    position: static;
    padding: 0;
    flex-direction: row;
    justify-content: flex-end;
    background-color: transparent;
    transform: none;
    z-index: 11;
  }

  /* BIO HEADER */
  .bio__header__container {
    padding: 3rem 1rem 0 1rem;
    flex-direction: row;
    justify-content: center;
  }
  .bio__header__container h1 {
    font-size: 48px;
    width: 300px;
    line-height: 3rem;
  }
  .bio__header__container p {
    font-size: 18px;
  }
}
@media (width > 1024px) {
  .blog__content {
    max-width: 900px;
  }
}
