:root {
  --logo: #3b7626;
  --navbar: #bbebce;
  --btn: #1e6b2a;
  --hover: #4e9361;
  --footer: #24623c;
  --font-color: #2e2e2e;
  --bg-color: #f4f4f4;
  --navbar-height: 60px;
}

/* IMPORTAR FUENTE */
@font-face {
  font-family: "Bakerie";
  src: url(../assets/Bakerie_Rough_Bold.otf);
  font-weight: bold;
}

body {
  background-color: var(--bg-color);
  color: var(--font-color);
}

/* Secciones */
section {
  padding: 10px 0;
  margin: 15px 0;
  scroll-margin-top: var(--navbar-height);
}

/* NAVBAR */
.navbar {
  background: var(--navbar);
  font-family: "Bakerie", cursive;
  font-size: 1.5em;
}

.navbar-brand {
  font-size: 1.2em;
  color: var(--logo);
}

.navbar-brand:hover {
  transform: scale(1.05);
  color: var(--hover);
}

.nav-link:hover {
  transform: scale(1.05);
  color: black;
}

/* TITULOS */
h1 {
  font-family: Verdana;
  font-weight: bold;
  font-size: 2.3em;
  color: white;
}
h2 {
  font-family: Verdana;
  font-size: 1.2em;
  color: white;
}

h3 {
  font-family: "Bakerie", cursive;
  font-size: 2.3em;
  text-wrap: nowrap;
}

h5 {
  font-size: 1.5em;
}

.justify {
  text-align: justify;
}

/* FOTO INICIO */
.inicio {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  max-height: 80vh;
  width: auto;
  overflow: hidden;
  background-image: linear-gradient(
    var(--navbar),
    var(--navbar),
    var(--navbar),
    var(--bg-color),
    var(--bg-color)
  );
}

/* Imagen de fondo */
.inicio img {
  max-width: auto;
  height: 100%;
}

/* Texto sobre la imagen */
.inicio-texto {
  width: 70%;
  max-width: 1000px;
  height: auto;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: white;
  text-align: center;
  padding: 20px auto;
  margin: 10px auto 10px;
  /* prettier-ignore */
  background-color: rgba(0, 0, 0, 0.65);
  border-radius: 15px;
}

@media (max-width: 768px) {
  .inicio-texto {
    width: 90%;
  }
}

/* SECCION SOBRE MI */
.sobre-mi img {
  width: 100%;
  max-width: 500px;
  height: auto;
  border-radius: 40px;
  margin: auto;
}

/* PREGUNTAS FRECUENTES */
.accordion {
  --bs-accordion-color: var(--font-color);
  --bs-accordion-active-bg: var(--navbar);
  --bs-accordion-active-color: black;
}

.accordion-button:focus {
  box-shadow: none;
}

/* MODALIDADES */
.img-modalidad {
  max-height: 200px;
  width: auto;
  max-width: 250px;
  border-radius: 15px;
  margin: 0 auto;
}

/* TESTIMONIOS */
.star {
  color: gold;
}

.scrollable-testimonial .card .card-body {
  flex: 0 0 250px;
}

/* SCROLL TESTIMONIOS VERTICAL*/
.scrollable-card-text {
  max-height: 150px;
  overflow-y: auto;
  padding-right: 10px;
}

/* SCROLL TESTIMONIOS VERTICAL PERSONALIZACION */
.scrollable-card-text::-webkit-scrollbar {
  width: 5px;
}
.scrollable-card-text::-webkit-scrollbar-thumb {
  background-color: #6c757d;
  border-radius: 4px;
}
.scrollable-card-text::-webkit-scrollbar-thumb:hover {
  background-color: #495057;
}

/* SCROLL TESTIMONIOS HORIZONTAL*/
.scrollable-testimonial {
  display: flex;
  flex-wrap: nowrap;
  overflow-x: auto;
  padding: 15px 0px;
}

/* SCROLL TESTIMONIOS HORIZONTAL PERSONALIZACION */
.scrollable-testimonial::-webkit-scrollbar {
  height: 5px;
}
.scrollable-testimonial::-webkit-scrollbar-thumb {
  background-color: #6c757d;
  border-radius: 4px;
}
.scrollable-testimonial::-webkit-scrollbar-thumb:hover {
  background-color: #495057;
}

/* BOTONES TESTIMONIOS */
#testimonial button {
  background-color: var(--navbar);
  color: black;
  z-index: 10;
  padding: 0.5em 0.1em;
}
#testimonial button:hover {
  transform: scale(1.1);
  box-shadow: 0px 6px 12px rgba(0, 0, 0, 0.5);
}

/* CONTACTAME */
.contactos i {
  font-size: 1.5em;
  color: white;
  padding: 0.25em;
  border-radius: 50%;
  display: inline-block;
  line-height: 1;
}

.contactos i:hover {
  transform: scale(1.1);
  box-shadow: 0px 6px 12px rgba(0, 0, 0, 0.5);
}

.mail {
  background-color: steelblue;
}
.whatsapp {
  background-color: #2ab540;
}
.geo {
  background-color: #dc3545;
}
a {
  color: var(--font-color);
}

/* BOTONES */
.btn {
  background-color: var(--btn);
  color: white;
  border: 0;
}
.btn:hover {
  background-color: var(--hover);
  color: white;
  border: 0;
  transform: scale(1.1);
}

/* WHATSAPP */
.whatsapp-float {
  position: fixed;
  bottom: 30px;
  left: 30px;
  width: 60px;
  height: 60px;
  z-index: 1000;
}

.whatsapp-float img {
  width: 100%;
  height: auto;
  border-radius: 50%;
  box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.5);
}

.whatsapp-float img:hover {
  transform: scale(1.1);
  box-shadow: 0px 6px 12px rgba(0, 0, 0, 0.7);
}

/* FOOTER */
footer {
  background-color: var(--footer);
  color: white;
}

.footer-logo p {
  font-family: "Bakerie", cursive;
  font-size: 2em;
  color: var(--navbar);
  text-align: center;
}

.footer-logo span {
  top: 1px;
}

footer a:hover {
  text-decoration-line: underline;
}
@media (max-width: 768px) {
  h3 {
    text-align: center;
  }
}

/* Ajustes en Pantallas más pequeñas */
@media (max-width: 576px) {
  .navbar-brand {
    font-size: 1em;
    padding-left: 5px;
  }
  .inicio h1 {
    font-size: 1.3em;
  }
  .inicio h2 {
    font-size: 0.8em;
  }
}
