@import url('https://fonts.googleapis.com/css2?family=Dancing+Script:wght@400..700&family=Montserrat:ital,wght@0,100..900;1,100..900&display=swap');

@font-face {
  font-family: "Nunito_ExtraB";
  src: url(../font/Nunito-Black.ttf);
}
@font-face {
  font-family: "Nunito_SemiB";
  src: url(../font/Nunito-SemiBold.ttf);
}
/* colores web */
:root {
  --color1: #02adec;
  --color2: #f38222;
  --color3: #e8048d;
  --color4: #ffff;
  --color5: black;
  --color6: #eeedeb;
  --color7: #ffef00;
  --color8: #a4c843;
}
body {
  font-family: "Nunito_SemiB";
  font-size: 15px;
  color: #4d4949;
}
a:hover {
  text-decoration: none;
}
p.s1 {
  font-size: 19px;
  text-align: justify;
}
h1,
h2,
h3,
h4 {
  font-family: "Nunito_ExtraB";
  color: var(--color1);
}
h5.prim,
h6.prim {
  color: #036890;
}
h3.secu,
h4.secu,
h5.secu,
h6.secu {
  color: #ffa300;
}
button.btn,
a.btn {
  font-family: "Nunito_ExtraB";
  background-color: var(--color2);
  color: #fff;
  border-radius: 84px 84px 84px 84px;
  -moz-border-radius: 84px 84px 84px 84px;
  -webkit-border-radius: 84px 84px 84px 84px;
  padding-left: 30px;
  padding-right: 30px;
}
button.btn:hover,
a.btn:hover {
  font-family: "Nunito_ExtraB";
  background-color: var(--color3);
  color: #fff;
}
h1.linea,
h2.linea {
  position: relative;
  z-index: 1;
}
h1.linea:before,
h2.linea:before {
  border-top: 2px solid #e7e7e7;
  content: "";
  margin: 0 auto;
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  bottom: 0;
  width: 98%;
  z-index: -1;
}
h1.linea span,
h2.linea span {
  background: #fff;
  padding: 0 25px;
}
/* estilos header */
header {
  -moz-box-shadow: 0 3px 3px rgba(94, 94, 94, 0.75);
  -webkit-box-shadow: 0 3px 3px rgba(94, 94, 94, 0.75);
  box-shadow: 0 3px 3px rgba(94, 94, 94, 0.75);
  position: relative;
  z-index: 99;
}

header .bar-sup {
  display: flex;
  flex-direction: row;
  align-items: center;
  padding: 4px 7.5%;
  background-color: var(--color1);
}

header .bar-sup :hover {
  color: var(--color3);
}
header .bar-sup a {
  color: white;
  font-size: 1.2rem;
  text-decoration: none;
}

header nav.navbar {
  background-color: var(--color4);
  /*  padding-left: 4%;
    padding-right: 4%; */
}

header a.nav-link {
  display: flex;
  flex-direction: row;
  align-items: center;
  font-size: 1rem;
}

header a.nav-link i {
  font-size: 1.3em;
}

header .dropdown-menu {
  background-color: #f6f6f8;
  box-shadow: 0 0 3px rgb(197, 197, 197);
}

header .dropdown-item {
  font-size: 0.8em;
  padding: 8px 1.5em;
  font-weight: bold;
}
header .dropdown-menu > a:hover {
  background-color: var(--color1);
}
header #submenu:hover {
  background-color: var(--color1);
}

header #logo-web {
  /*  width: 80%; */
  width: 15rem;
}
header .nav-item {
  font-family: "Montserrat", sans-serif;
}

button > span {
  color: black;
}

#text-logo {
  font-weight: bold;
  font-family: "Montserrat", sans-serif;
  padding-left: 5rem;
}
.navbar-light .navbar-nav .nav-link {
  color: var(--color1);
}

.text-justify {
  text-align: justify;
}
.back {
  font-size: 15px;
}

/* estilos footer */
#portada {
  margin-top: 134px;
}
#panel-us {
  padding-top: 130px;
}
#panel-proed {
  margin-top: 100px;
}
.hub-slider {
  position: relative;
}
.hub-slider ul {
  list-style: none;
}
.hub-slider ul li {
  width: 100%;
  height: 360px;
  background: var(--color2);
  color: #fff;
  line-height: 360px;
  text-align: center;
  position: absolute;
  border-radius: 8px;
  left: 0;
  top: 0;
  padding: 4px 2%;
}
.hub-slider ul li > img.crop {
  width: 100%;
  height: 320px;
  object-fit: cover;
  border-radius: 8px;
}
.hub-slider-controls {
  position: absolute;
  right: 0;
  top: 0;
  z-index: 1000;
}
.hub-slider-arrow {
  width: 40px;
  height: 40px;
  border: none;
  background: #2ebd75;
  color: #fff;
  font-weight: 700;
}
.card-zoom {
  height: auto;
  overflow: hidden;
}
.card-zoom img {
  transition: transform 2s ease;
}
.card-zoom img:hover {
  transform: scale(2);
}
footer {
  margin-top: 80px;
  background: linear-gradient(
      to bottom,
      rgba(0,0, 0, .9),
      rgba(0, 0,0, .9)
    ),
    url(../img/fondo-contacto.jpg);
  background-repeat: repeat-x;
  background-size: 50% 100%;
  color: #fff;
}
footer .bar-infe {
  display: flex;
  flex-direction: row;
  align-items: center;
  padding: 10px 10%;
  background-color: var(--color3);
  color: #fff;
}
@media only screen and (max-width: 730px) {
  #portada .portada-lema {
    display: none;
  }
  p,
  p.s1 {
    font-size: 15px;
  }
  .bar-sup .ml-auto span {
    display: none;
  }
  #portada {
    height: 230px;
  }
  #portada img {
    height: 230px;
  }
}
@media only screen and (max-width: 500px) {
  #portada {
    margin-top: 120px;
  }
  #portada .portada-lema {
    display: none;
  }
  #portada {
    height: 180px;
  }
  #portada img {
    height: 180px;
  }
  header .bar-sup {
    padding: 2% 1%;
  }
  #navegation #logotipo {
    width: 200px;
  }
  header #navegation {
    padding: 8px 0%;
  }
  #panel-us {
    padding-top: 40px;
  }
  #panel-us .hub-slider {
    margin-top: 120px;
  }
  #panel-proed {
    margin-top: 400px;
  }
  a#item-2,
  a#item-3 {
    display: none;
  }
}
div.pre-load {
  background-color: #fff;
  width: 100%;
  height: 100vh;
}
#circle {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 150px;
  height: 150px;
}
.loader {
  width: calc(100% - 0px);
  height: calc(100% - 0px);
  border: 4px solid #fff;
  border-top: 4px solid var(--color1);
  border-radius: 50%;
  animation: rotate 5s linear infinite;
}
.loader2 {
  width: calc(100% - 0px);
  height: calc(100% - 0px);
  border: 4px solid #fff;
  border-top: 4px solid var(--color2);
  border-radius: 50%;
  animation: rotate 5s linear infinite;
}
@keyframes rotate {
  100% {
    transform: rotate(360deg);
  }
}

footer a{
    text-decoration: none;

}
