* {
  margin: 0;
  padding: 0;
  font-family: 'Poppins', sans-serif !important;
}

body {
  font-family: 'Poppins', sans-serif;
  padding: 0 !important;
  margin: 0 !important;
}

header {
  background-image: url('https://centers.biobarica.com/next/images/webp/FAQs.webp');
  background-size: cover;
  background-position: center;
  height: auto;
  width: 100%;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  padding-bottom: 20vh;
}

nav {
  display: flex;
  background: linear-gradient(to bottom, white, transparent);
  width: 95%;
  height: 20vh;
  margin-left: 5vh;
  margin-right: 2vh;
  align-items: center;
  justify-content: center;
  gap: 8vh;
  position: relative;
}

.links {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 1vh !important;
}

nav img {
  height: 25vh;
}

nav a {
  color: rgb(71, 71, 71);
  padding: 1.6vh;
  text-decoration: none;
  font-size: 2.3vh;
}

nav a:hover {
  background-color: rgb(142, 75, 230);
  border-radius: 2vh;
  color: #fff;
  box-shadow:
    0 4px 10px rgba(0, 0, 0, 0.35),
    inset 0 0px 7px rgba(255, 255, 255, 0.2);
  transition: 0.2s;
}

@media (max-width: 768px) {
  nav {
  margin-left: 0;
  margin-right: 0;
}
}


.btn {
  background-color: rgb(142, 75, 230);
  border-radius: 2vh;
  color: #fff;
  box-shadow:
    0 4px 10px rgba(0, 0, 0, 0.35),
    inset 0 0px 7px rgba(255, 255, 255, 0.2);
  font-size: 2.4vh;
  border: none;
  padding: 2vh 5vh;
  margin: 2vh 0;
  display: inline-block;
  text-decoration: none;
  max-width: 90vw;
  text-align: center;
}

.btn:hover {
  background-color: rgb(95, 39, 224);
}

header .info {
  width: 35%;
  margin-left: 20vh;
}

header .info h1 {
  font-size: 55px;
  color: #fff;
  line-height: 1.3;
  margin-top: 10vh;
  margin-bottom: 7vh;
}

header .info .btn {
  margin-left: 0;
  padding-left: 7vh;
  padding-right: 7vh;
  padding-top: 2vh;
  padding-bottom: 2vh;
  font-size: 3.2vh;
}

header .FQA {
  margin-top: 10vh;
  display: flex;
  flex-direction: column;
  justify-content: left;
}

header h2 {
  margin-top: 15vh;
  font-size: 40px;
  color: #932be9;
}

.hamburger {
  display: none;
  font-size: 4vh;
  background: none;
  border: none;
  color: #2054ff;
  cursor: pointer;
}

.Endless {
  height: 50vh;
  background-color: #fff;
  width: 100%;
  display: flex;
  align-items: first baseline;
  justify-content: center;
  gap: 20vh;
}

.Endless .colums {
  display: flex;
  flex-direction: column;
  margin-top: 10vh;
}

.Endless .colums h3 {
  color: #7a7a7a;
  font-weight: 300;
}

.Endless .colums a {
  color: #1a1a1a;
  text-decoration: none;
  margin-top: 3vh;
}

.Endless .colums a:hover {
  color: #932be9;
}

/* Accordion */
.accordion-item {
  background-color: white;
  margin-bottom: 10px;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}

.accordion-header {
  cursor: pointer;
  padding: 15px 20px;
  font-weight: bold;
  background-color: #0070c9;
  color: white;
  transition: background 0.3s ease;
}

.accordion-header:hover {
  background-color: #005ea6;
}

.accordion-content {
  max-height: 0;
  max-width: 160vh;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
  background: #fafafa;
  padding: 0 20px;
  color: #313131;
}

.accordion-content p {
  margin-bottom: 3vh;
}

.accordion-content li {
  margin-top: 3vh;
  margin-bottom: 3vh;
  margin-left: 5vh;
}

.accordion-content.open {
  padding: 5vh;
}

/* Contact Menu */
.contact-menu {
  display: none;
  flex-direction: column;
  background-color: #f6f1ffad;
  border: #932be9 3px solid;
  padding: 2vh;
  border-radius: 1vh;
  margin-top: 1vh;
  position: absolute;
  z-index: 1000;
  color: white;
  width: max-content;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.4);
  font-size: 2.6vh;
  right: 4%;
  gap: 5px;
  max-width: 50vh;
}

.contact-menu img {
  width: 25px;
  height: 25px;
  margin-right: 10px;
}

.contact-menu a {
  font-size: 2.8vh;
  color: #932be9;
  text-decoration: none;
  padding: 0.8vh 1vh;
  display: flex;
}

.contact-menu p {
  color: #000000;
  text-decoration: none;
  padding: 0.8vh 1vh;
}

.contact-menu a:hover {
  text-decoration: underline;
}

/* Responsive */
@media (max-width: 768px) {

  nav {
    flex-direction: column;
    height: auto;
    gap: 2vh;
    padding-top: 3vh;
    align-items: flex-start;
  }

  nav img {
    margin-left: 3vh;
    height: 5vh;
  }

  .hamburger {
    display: block;
    position: absolute;
    top: 3vh;
    right: 4vh;
    z-index: 999;
  }

  nav .links {
    display: none;
    flex-direction: column;
    background-color: rgb(237, 242, 255);
    width: 100%;
    position: absolute;
    top: 100%;
    left: 0;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    padding: 2vh 0;
    z-index: 998;
  }

  nav .links.show {
    display: flex !important;
  }

  nav .links a {
    padding: 2vh 0;
    font-size: 2.2vh;
    margin-left: 5vh;
  }

  nav .links .btn {
    padding-left: 2vh;
    padding-right: 2vh;
  }

  header .info {
    width: 90%;
    margin: 0 auto;
    text-align: left;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    height: 100%;
  }

  header h2 {
    font-size: 9.5vw;
  }

  header .info .btn {
    margin-bottom: 15vh;
    padding: 1.5vh 4vh;
    font-size: 2.5vh;
    max-width: 90vw;
    display: block;
    text-align: center;
    white-space: normal;
    overflow-wrap: break-word;
  }

  .btn {
    font-size: 2.4vh;
    padding: 1.5vh 4vh;
    margin: 2vh auto;
    display: block;
  }

  .Section1,
  .Section2 {
    flex-direction: column;
    height: auto;
    padding: 4vh 2vh;
    text-align: left;
    align-items: flex-start;
    padding-left: 3vh;
  }

  .Section1 img,
  .Section2 img {
    position: static;
    width: 90%;
    height: auto;
    margin-top: 3vh;
  }

  .Section1 .Contenido,
  .Section2 .Contenido {
    width: 100%;
    margin: 0;
    display: flex;
    justify-content: flex-start;
    align-items: flex-start;
    flex-direction: column;
    text-align: left;
  }

  .Section2 .Contenido h1 {
    color: rgb(141, 54, 255);
  }

  .Section3 {
    flex-direction: column;
    padding: 4vh 2vh;
    height: auto;
    text-align: center;
    align-items: center;
    justify-content: center;
  }

  .Section3 .Contenido {
    width: 100%;
    margin: 0;
    text-align: left;
    align-items: center;
  }

  .Section3 img {
    position: relative;
    width: 20vw;
    margin-top: 5vh;
    display: block;
  }

  .Section3 h1 {
    font-size: 6vw;
  }

  .Section4 {
    flex-direction: column;
    padding: 4vh 2vh;
    align-items: flex-start;
    padding-left: 5vh;
  }

  #container {
    width: 80vw;
    height: 80vw;
    margin: 0;
  }

  .Section4 .informacion {
    width: 100%;
    text-align: left;
  }

  .Section4 .informacion .certificados {
    display: flex;
    text-align: left;
    margin: 5vh 0;
    align-items: center;
  }

  .Section4 .informacion .certificados img {
    width: 40px;
    height: auto;
  }

  .Section4 .informacion .certificados p {
    font-size: 4vw;
  }

  .Section4 .informacion h1,
  .Section4 .informacion h2 {
    font-size: 6vw;
    margin: 4vh 0 2vh 0;
    text-align: left;
  }

  .Endless {
    display: flex;
    flex-direction: column;
    height: auto;
    gap: 0vh;
  }

  .Endless .colums {
    margin-left: 5vh;
  }

  /* Ajustes para Contact Menu en móvil */
  .contact-menu {
    right: 2%;
    font-size: 2vh;
    max-width: 90vw;
  }

  .contact-menu a {
    font-size: 2.2vh;
  }

  .contact-menu img {
    width: 20px;
    height: 20px;
  }
}


@media (max-width: 768px) {
  .accordion-item {
    max-width: 100%;
    margin: 0 1rem 1.5rem 1rem;
  }

  .accordion-content p {
    font-size: 0.9rem;
  }

  iframe{
    max-height: 30vh;
  }
}


h6{
  font-size: 20px;
  margin-bottom: 2vh;
}


video {
  max-width: 100%;
  max-height: 100%;
  object-fit: cover; /* llena el espacio sin deformarse */
}





