@import url("https://fonts.googleapis.com/css2?family=Raleway&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Montserrat&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Libre+Franklin&display=swap");

:root {
  --main-color: #1766ff;
  --secondary-color: #1a62f2;
  --carity-color: #f9f9fa;
  --variant-color: #212745;
  --button-dark: #012d61;
  --card-size: 15rem;
}

*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  -moz-box-sizing: border-box;

  /* font-family: proxima-nova, sans-serif; */
  font-style: normal !important;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
html {
  scroll-behavior: smooth;
}
body {
  height: 100vh;
  overflow-x: hidden;
  overflow-y: auto;
  font-family: proxima-nova, sans-serif;
}

/* width */
::-webkit-scrollbar {
  width: 10px;
}

/* Track */
::-webkit-scrollbar-track {
  background: rgba(241, 241, 241, 0);
}

/* Handle */
::-webkit-scrollbar-thumb {
  background: rgba(136, 136, 136, 0.6);
  border-radius: 7px;
  opacity: 0.6;
}

/* Handle on hover */
::-webkit-scrollbar-thumb:hover {
  background: #555;
}

.circle {
  position: absolute;
  border: solid 1px #ccc;
  background: #4285f4;
  z-index: 5;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  pointer-events: none;
}
#circle2 {
  z-index: 4;
  width: 20px;
  height: 20px;
}
.srv-msg {
  position: absolute;
  right: 20px;
  top: 50px;
  z-index: 10;
}
.load-div {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 5;
  color: white;
  text-align: center;
  display: none;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.5);
}
.load-div {
  margin-top: 3rem;
}

.titulo {
  font-family: "Lato", sans-serif !important;
  font-size: 3.5rem;
  line-height: 3rem;
}
.sec-title {
  font-size: 1.5rem;
  line-height: 1.7rem;
}
.secundario {
  /*font-size: 1.25rem;*/
  line-height: 1.3rem;
}
.titulo span,
.secundario span {
  color: #1766ff;
}
.text-white {
  color: #fff;
}


.todos-flotan {
  height: 50px;
  width: 50px;
  position: sticky;
  float: right;
  bottom: calc(11% - (50px / 2));
  right: 1.5%;
  border-radius: 50%;
  background-color: rgba(3, 55, 117, 1);
  display: flex;
  justify-content: center;
  align-items: center;
  /* transform: translate(10px, 50px); */
  z-index: 999;
  transition: background-color 0.6s ease;
}

.todos-flotan > i {
  font-size: 2rem;
  color: #fff;
}
.todos-flotan:hover {
  background-color: rgba(3, 65, 138, 1);
  box-shadow: 0 0 15px 3px rgba(255, 255, 255, 0.3);
  transition: background-color 0.3s ease, box-shadow 0.3s ease;
}

.unselectable {
  -moz-user-select: none !important;
  -webkit-user-select: none !important;
  -ms-user-select: none !important;
  user-select: none !important;
}

/* Chrome, Safari, Edge, Opera */
section video::-webkit-media-controls {
  display: none;
}

/* Firefox */
input[type="number"] {
  -moz-appearance: textfield;
}

nav {
  z-index: 10;
  position: absolute !important;
  top: 0;
  left: 0;
  right: 0;
  color: white;
}
nav button.navbar-toggler {
  border: 2px solid white !important;
  color: white;
}
nav .container {
  position: relative;
}
nav .container div ul.navbar-nav li.nav-item a.nav-link {
  color: white !important;
  position: relative;
  font-size: 0.8rem;
  transition: font-size 0.2s ease-in;
}
nav .container div ul.navbar-nav li.nav-item a.nav-link:hover {
  font-size: 1rem;
  transition: font-size 0.2s ease-in;
}
nav .container div ul.navbar-nav li.nav-item a.nav-link:after {
  background: none repeat scroll 0 0 transparent;
  bottom: 0;
  content: "";
  display: block;
  height: 0.7px;
  left: 50%;
  position: absolute;
  background: #fff;
  transition: width 0.3s ease 0s, left 0.3s ease 0s;
  width: 0;
}
nav
  .container
  div
  ul.navbar-nav
  li.nav-item:not(:last-child)
  a.nav-link:hover:after {
  width: 100%;
  left: 0;
}
nav .container div ul.navbar-nav li.nav-item:last-child a.nav-link {
  display: inline-block;
}
nav.navbar > div[class*="container"] > a.navbar-brand {
  position: absolute;
  top: 0;
}
nav.navbar > div[class*="container"] > a.navbar-brand > img {
  height: 3rem;
}
nav ul.dropdown-menu.show {
  background: rgba(0, 0, 0, 0.5);
}
#navbarNav > ul > li.nav-item.dropdown > ul > li > a.dropdown-item {
  color: #fff;
}

/* CSS especial para la seccion de redes sociales en modo desktop */
@keyframes centerToBottom {
  from {
    top: 0;
  }
  to {
    top: calc(50% - (41px / 2));
  }
}
@keyframes rightToBottom {
  from {
    top: 0;
  }
  to {
    top: calc(100% - 41px);
  }
}

@keyframes bottomToCenter {
  from {
    top: calc(50% - (41px / 2));
  }
  to {
    top: 0;
  }
}
@keyframes bottomToRight {
  from {
    top: calc(100% - 41px);
  }
  to {
    top: 0;
  }
}

#navbarNav > ul > li.nav-item.my-row > div[class*="own-"] {
  position: absolute;
}
#navbarNav > ul > li.nav-item.my-row > div.own-left {
  left: 0;
}
#navbarNav > ul > li.nav-item.my-row > div.own-center {
  left: calc(100% / 3);
  transition: left 0.4s ease-out;
}
#navbarNav > ul > li.nav-item.my-row > div.own-right {
  left: calc(100% - 41px);
  transition: left 0.4s ease-out;
}
#navbarNav > ul > li.nav-item.my-row > div > a > img {
  height: 25px !important;
}
#navbarNav > ul > li.nav-item.my-row > div > a > h6 {
  display: none !important;
  opacity: 0;
  display: inline-block;
  color: white;
  text-decoration: none;
  animation: fadeOut 1s ease-in-out forwards;
}
/**** Seccion del row ****/
#navbarNav > ul > li.nav-item.my-row {
  z-index: 2;
  position: relative;
  width: calc(25px * 5);
  height: 42px;
  transition: height 0.4s ease-out;
  -moz-transition: height 0.4s ease-out;
  -webkit-transition: height 0.4s ease-out;
  -ms-transition: height 0.4s ease-out;
}
#navbarNav > ul > li.nav-item.my-row:hover {
  height: calc(41px * 3);
  transition: height 0.4s ease-in;
  -moz-transition: height 0.4s ease-in;
  -webkit-transition: height 0.4s ease-in;
  -ms-transition: height 0.4s ease-in;
}
#navbarNav > ul > li.nav-item.my-row:hover > div[class*="own-"] {
  left: 0;
  transition: left 0.4s ease-in;
  -moz-transition: left 0.4s ease-in;
  -webkit-transition: left 0.4s ease-in;
  -ms-transition: left 0.4s ease-in;
}
#navbarNav > ul > li.nav-item.my-row div.own-center {
  animation: bottomToCenter 0.8s ease-in-out forwards;
}
#navbarNav > ul > li.nav-item.my-row div.own-right {
  animation: bottomToRight 0.8s ease-in-out forwards;
}
#navbarNav > ul > li.nav-item.my-row:hover div.own-center {
  animation: centerToBottom 0.8s ease-in-out forwards;
}
#navbarNav > ul > li.nav-item.my-row:hover div.own-right {
  animation: rightToBottom 0.8s ease-in-out forwards;
}
#navbarNav > ul > li.nav-item.my-row:hover > div > a > h6 {
  display: inline-block !important;
  animation: fadeIn 1s ease-in-out forwards;
}

nav button {
  border-radius: 30px !important;
}
.btn.btn-enalte {
  border-radius: 30px;
  display: inline-block;

  color: white;
  font-size: 1rem !important;
  height: 3.5rem;
  width: auto;
  padding-left: 2rem;
  padding-right: 2rem;
  line-height: 2.5rem;
  /* background-color: rgba(1, 45, 97, 1.0)!important; */
  background-color: #1766ff;
}

[class*="btn"] {
  font-size: 1rem !important;
}
.text-darken {
  color: var(--button-dark) !important;
}
.text-main {
  color: #1766ff;
}
.darken {
  background-color: var(--button-dark) !important;
}

.tooltip {
  position: relative;
  display: inline-block;
  border-bottom: 1px dotted black;
}
.tooltip .tooltiptext {
  visibility: hidden;
  width: 120px;
  background-color: black;
  color: #fff;
  text-align: center;
  border-radius: 6px;
  padding: 5px 0;

  /* Position the tooltip */
  position: absolute;
  z-index: 1;
}
.tooltip:hover .tooltiptext {
  visibility: visible;
}
.tooltip .tooltiptext-right {
  top: -5px;
  left: 105%;
}
.tooltip .tooltiptext-left {
  top: -5px;
  right: 105%;
}

footer {
  height: auto;
  margin-bottom: -100px;
  padding-top: 50px;
  position: relative;
  z-index: 1;
  background-color: rgba(1, 45, 97, 1);
}
footer img {
  height: 8rem;
  display: block;
  margin-left: auto;
}
footer > div > div > div:nth-child(1) > div > div[class*="col"]:nth-child(1) {
  position: relative;
}
footer > div > div > div:nth-child(2) > p {
  position: absolute;
  bottom: 0;
}
body > footer > div > div > div[class*="col"].text-right {
  position: relative;
}
footer > div > div > div:nth-child(2) > p {
  right: 0;
}
footer > div > div > div:nth-child(1) > div > div[class*="col"] > p > span {
  color: rgba(13, 110, 252, 1);
}
#undecimo {
  position: relative;
}
#undecimo > .srv-msg {
  position: absolute;
  left: 50%;
  right: 50%;
  top: 50%;
  bottom: 50%;
  transform: translate(-50%, -50%);
  z-index: 10;
  height: fit-content;
  max-height: 100%;
  width: fit-content;
  max-width: 80%;
  padding-top: 0.5rem;
  padding-bottom: 0.5rem;
  padding-left: 2rem;
  padding-right: 2rem;
  background: #4285f4;
  color: white;
  text-align: center;
  border: 2px solid black;
  border-radius: 15px;
  display: none;
}

@media screen and (max-width: 991px) {
  .navbar-toggler:focus {
    box-shadow: none;
  }
  .todos-flotan {
    right: calc(6% - (50px / 2));
  }
  .titulo {
    font-size: 3rem;
  }
  nav > div > button {
    margin-left: auto;
    margin-top: 0.5rem;
  }
  #navbarNav > ul > li.nav-item.my-row {
    width: 100%;
  }
  #navbarNav > ul > li.nav-item.my-row .over {
    height: 100%;
    width: 100%;
    position: absolute;
    z-index: 1;
  }

  #navbarNav > ul > li.nav-item.my-row {
    height: calc(41px * 3);
    transition: height 0.4s ease-in;
    -moz-transition: height 0.4s ease-in;
    -webkit-transition: height 0.4s ease-in;
    -ms-transition: height 0.4s ease-in;
  }
  #navbarNav > ul > li.nav-item.my-row > div[class*="own-"] {
    left: 0;
    transition: left 0.4s ease-in;
    -moz-transition: left 0.4s ease-in;
    -webkit-transition: left 0.4s ease-in;
    -ms-transition: left 0.4s ease-in;
  }
  #navbarNav > ul > li.nav-item {
    animation: centerToBottom 0.8s ease-in-out forwards;
  }
  #navbarNav > ul > li.nav-item.my-row div.own-center {
    animation: centerToBottom 0.8s ease-in-out forwards;
  }
  #navbarNav > ul > li.nav-item.my-row div.own-right {
    animation: rightToBottom 0.8s ease-in-out forwards;
  }
  #navbarNav > ul > li.nav-item.my-row > div > a > h6 {
    display: inline-block !important;
    animation: fadeIn 2s ease-in-out forwards;
    animation-delay: 0.2s;
  }
  footer > div > div > div:nth-child(1) > div > div[class*="col"] {
    position: relative;
  }
  div.navbar-collapse.show {
    background-color: rgba(0, 0, 0, 0.5);
    padding-left: 15px;
    padding-right: 15px;
    margin-top: 1.2rem;
    border-radius: 5px;
    transition: padding-left 0.4s ease-in, margin-top 0.2s ease,
      background-color 0.4s ease;
  }
  .dropdown-menu.show {
    display: block;
    transition: display 1s ease-in;
    animation: fadeIn 1s;
  }
}

@media screen and (max-width: 767px) {
  /* start of medium tablet styles */
  .navbar-toggler:focus {
    box-shadow: none;
  }
  .titulo {
    font-size: 2.5rem;
  }
  .todos-flotan {
    right: calc(8% - (50px / 2));
  }
  div.navbar-collapse.show {
    background-color: rgba(0, 0, 0, 0.5);
    padding-left: 15px;
    padding-right: 15px;
    border-radius: 5px;
    margin-top: 1.2rem;
    border-radius: 5px;
    transition: padding-left 0.4s ease-in, margin-top 0.2s ease,
      background-color 0.4s ease;
  }
}

@media screen and (max-width: 479px) {
  .titulo {
    font-size: 2.5rem !important;
    line-height: 2rem;
  }
  br {
    display: none;
  }
  .titulo {
    font-size: 3rem;
  }
  .secundario {
    font-size: 1rem;
  }
  .navbar-toggler:focus {
    box-shadow: none;
  }
  .todos-flotan {
    right: calc(11% - (50px / 2)) !important;
    height: 40px;
    width: 40px;
  }
  div.navbar-collapse.show {
    background-color: rgba(0, 0, 0, 0.5);
    padding-left: 15px;
    padding-right: 15px;
    border-radius: 5px;
    margin-top: 1.2rem;
    border-radius: 5px;
    transition: padding-left 0.4s ease-in, margin-top 0.2s ease,
      background-color 0.4s ease;
  }
  footer {
    padding-top: 15px;
  }
  footer > div[class*="container"] > div.row > div[class*="col"]:nth-child(2) {
    position: relative;
  }
}
