/* Custom Properties */
:root {
  --first-color: rgb(0, 51, 161);
  --second-color: rgb(179, 25, 131);

  --link-color: rgb(0, 108, 103);

  --bg-color: rgb(175, 195, 202);
}
/* Reset Styles */
html {
  scroll-behavior: smooth;
}

body {
  font-family: "Libre Franklin", sans-serif;
}

a {
  color: var(--bg-color);
  text-decoration: none;
}

a:hover {
  color: var(--link-color);
  transition: all 0.3s ease-out;
}

.telefono-enlace a {
  font-weight: bold;
  color: var(--second-color);
  padding: 0.5rem;
  background-color: rgb(355, 355, 355);
  box-shadow: 0 3px 7px 0 rgba(0, 0, 0, 0.2);
  margin: 1rem;
  border-radius: 7px;
}

.telefono-enlace a:hover {
  color: rgb(355, 355, 355);
  background-color: var(--second-color);
}

/* Boostrap Styles */
.active {
  color: var(--second-color) !important;
  font-weight: bold !important;
}

.btn-success {
  background-color: var(--first-color);
  border: none;
}

.btn-success:hover {
  background-color: var(--second-color);
}

.btn-secondary:hover {
  background-color: var(--first-color) !important;
}

.carousel {
  height: calc(93vh - 2em);
}

.carousel-inner {
  height: 100%;
}

.carousel-caption {
  top: 30%;
  text-shadow: 1px 1px 5px black;
}

.hero-text {
  font-weight: 600;
  font-size: 1rem;
  text-shadow: 1px 1px 4px black;
}

.video-text {
  font-size: 2rem;
  font-weight: 600;
}

.navbar-brand img {
  height: 3rem;
  width: auto;
}

.navbar-dark .navbar-toggler {
  --bs-navbar-toggler-icon-bg: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255, 255, 255, 1%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
  transition: all 0.3s ease-in-out;
}
.navbar-dark .navbar-toggler:hover {
  --bs-navbar-toggler-icon-bg: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%280, 51, 161, 1%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
  opacity: 0.75%;
}

.nav-item {
  transition: all 0.3s ease-in-out;
}

.nav-item:hover {
  background-color: var(--bg-color);
  border-radius: 0.25rem;
}

.nav-link {
  margin-left: 0.5rem;
  color: var(--first-color);
  font-size: 1.15rem;
  font-weight: bold;
}

.nav-link:hover {
  color: var(--second-color);
}

footer img {
  width: 20rem;
}

/* My Styles */
.circle {
  border-radius: 100%;
}

#nosotros {
  background-color: var(--bg-color);
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
}

#nosotros .container {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
}

#nosotros .row {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20%;
  width: 100%;
}

#nosotros .col-md-6 {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

/* legales */
.imglegal {
  max-width: 40%;
}

/* Numbered lists like 1, 1.1, 2.2.1... */
ol li {
  display: block;
} /* hide original list counter */
ol > li:first-child {
  counter-reset: item;
} /* reset counter */
ol > li {
  counter-increment: item;
  position: relative;
} /* increment counter */
ol > li:before {
  content: counters(item, ".") ". ";
  position: absolute;
  margin-right: 100%;
  right: 10px;
} /* print counter */

/* // X-Small devices (portrait phones, less than 576px)
// No media query for `xs` since this is the default in Bootstrap */

/* // Small devices (landscape phones, 576px and up) */
@media (min-width: 576px) {
  .carousel {
    height: calc(90vh - 2em);
  }
}

/* // Medium devices (tablets, 768px and up) */
@media (min-width: 768px) {
  .video-text {
    font-size: 3rem;
  }
  .hero-text {
    font-size: 2rem;
  }
  .carousel {
    height: calc(100vh - 2em);
  }
  .imglegal {
    max-width: 20%;
  }
}

/* // Large devices (desktops, 992px and up) */
@media (min-width: 992px) {
  .nav-item:hover {
    background-color: transparent;
  }
  .video-text {
    font-size: 5rem;
  }
  .hero-text {
    font-size: 3rem;
  }
  #nosotros .row {
    margin-top: 15rem !important;
  }
}

/* // X-Large devices (large desktops, 1200px and up) */
@media (min-width: 1200px) {
}

/* // XX-Large devices (larger desktops, 1400px and up) */
@media (min-width: 1400px) {
}
