@import url("https://fonts.googleapis.com/css2?family=Montserrat:wght@300;400;500;600;700;800&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Bebas+Neue&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Roboto:wght@100;300;400;500&display=swap");

body {
  overflow-x: hidden;
  scroll-behavior: smooth;
}

#block-autoacceso-theme-account-menu {
  background-color: #00294f;
  font-family: "Montserrat", sans-serif;
}

#block-autoacceso-theme-account-menu a {
  color: white;
  text-decoration: none;
  font-weight: bold;
}

#navbar-main a {
  color: white;
  text-decoration: none;
  font-weight: bold;
  font-family: "Montserrat", sans-serif;
}

#nav-user > a:nth-child(2n) {
  background-color: #0093ff;
}

#navbar-top {
  padding-top: 0% !important;
  padding-bottom: 0% !important;
}

.navbar-toggler-icon {
  background-image: url("data:image/svg+xml;charset=utf8,%3Csvg viewBox='0 0 32 32' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath stroke='rgb(255,255,255)' stroke-width='2' stroke-linecap='round' stroke-miterlimit='10' d='M4 8h24M4 16h24M4 24h24'/%3E%3C/svg%3E");
}

.top .text {
  margin-right: 5%;
}

.top {
  background-image: url("../img/head.png");
  background-repeat: no-repeat;
  background-size: 100% 100%;
}

.top .col-title {
  margin-top: 8%;
  margin-bottom: 10%;
  position: relative;
  z-index: 5;
}

.top .col-title::before {
  position: absolute;
  height: 100%;
  width: 100%;
  content: "";
  background-color: #0573da;
  filter: opacity(0.8);
  z-index: -1;
}

.top .col-title h1,
h2 {
  color: white;
  text-align: left;
}

.top .col-title h1 {
  font-size: 3.5em;
  font-family: "Bebas Neue", cursive;
}
.top .col-title h2 {
  margin-top: 5%;
  font-weight: 400;
  font-size: 1.5em;
  font-family: "Roboto", sans-serif;
}

#slider {
  padding-top: 3%;
  padding-bottom: 3%;
  background-color: #f5f6fc;
  text-align: center;
}

#slider .carousel-item {
  height: 550px;
}

#slider .carousel-item img {
  width: 100%;
  height: 100% !important;
  object-fit: cover;
}

#slider .carousel-indicators li {
  border-radius: 12px;
  width: 15px;
  height: 15px;
  background-color: #000000;
  margin-right: 0.5%;
  margin-left: 0.5%;
}

#slider .carousel-indicators li:hover {
  background-color: #4b4949;
}

#slider .carousel-indicators .active {
  background-color: rgb(228, 225, 225);
  margin: 0 3px;
  width: 15px;
  height: 15px;
  margin-right: 0.5%;
  margin-left: 0.5%;
}

#slider a {
  text-decoration: none;
}

#videos {
  /*background-color: #d6e4f1;*/
  padding-top: 3%;
  padding-bottom: 3%;
}

#videos h1 {
  color: #003d75;
  font-family: "Bebas Neue", cursive;
  font-size: 3.5em;
}

#videos button {
  background-color: #003d75;
  border: none;
  color: white;
  height: 60%;
  padding-left: 4%;
  padding-right: 4%;
  border-radius: 5px;
}

#videos .card img {
  height: 150px !important;
  min-height: 150px !important;
  object-fit: cover !important;
}

#videos .card h5 {
  font-weight: bold;
  font-size: 1em;
}

#videos .card-header {
  height: 40px;
  font-weight: bold;
}

#videos .card-body {
  font-size: 0.9em;
}

#videos .card-body .categoria {
  color: #03cbd2;
}

#videos .card {
  background-color: #1c1c1c;
  color: white;
  height: 300px;
  font-family: "Montserrat", sans-serif;
  box-shadow: 0 6px 10px rgba(0, 0, 0, 0.08), 0 0 6px rgba(0, 0, 0, 0.05);
  transition: 0.3s transform cubic-bezier(0.155, 1.105, 0.295, 1.12),
    0.3s box-shadow,
    0.3s -webkit-transform cubic-bezier(0.155, 1.105, 0.295, 1.12);
  cursor: pointer;
  margin: 1%;
}

#videos .card:hover {
  transform: scale(1.01);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.12), 0 4px 8px rgba(0, 0, 0, 0.06);
}

#videos a {
  text-decoration: none;
}

#infografias {
  background-color: #20203b;
  padding-top: 3%;
  padding-bottom: 3%;
  text-align: center;
}

#infografias h1 {
  color: white;
  font-family: "Bebas Neue", cursive;
  font-size: 4em;
}

#infografias .carousel-item {
  height: 780px;
}

#infografias .carousel-item img {
  width: auto;
  height: 50%;
  object-fit: contain;
}

#infografias .carousel-indicators li {
  border-radius: 12px;
  width: 15px;
  height: 15px;
  background-color: #000000;
  margin-right: 0.5%;
  margin-left: 0.5%;
}

#infografias .carousel-indicators li:hover {
  background-color: #4b4949;
}

#infografias .carousel-indicators .active {
  background-color: rgb(228, 225, 225);
  margin: 0 3px;
  width: 15px;
  height: 15px;
  margin-right: 0.5%;
  margin-left: 0.5%;
}

#infografias a {
  text-decoration: none;
}

#info_rel {
  background-color: #f5f6fc;
  padding-top: 3%;
  padding-bottom: 3%;
  color: #003d75;
}

#info_rel h1 {
  font-family: "Bebas Neue", cursive;
  font-size: 3.5em;
}

#info_rel .card img {
  height: 150px !important;
  min-height: 150px;
  object-fit: cover;
}

#info_rel .card h5 {
  font-weight: bold;
  font-size: 1em;
}

#info_rel .card {
  background-color: #1c1c1c;
  color: white;
  height: 300px;
  font-family: "Montserrat", sans-serif;
  box-shadow: 0 6px 10px rgba(0, 0, 0, 0.08), 0 0 6px rgba(0, 0, 0, 0.05);
  transition: 0.3s transform cubic-bezier(0.155, 1.105, 0.295, 1.12),
    0.3s box-shadow,
    0.3s -webkit-transform cubic-bezier(0.155, 1.105, 0.295, 1.12);
  cursor: pointer;
}

#info_rel .card:hover {
  transform: scale(1.01);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.12), 0 4px 8px rgba(0, 0, 0, 0.06);
}

#info_rel a {
  text-decoration: none;
}

#convocatoria {
  margin-top: 5%;
  margin-bottom: 5%;
}

#convocatoria h1 {
  color: #003d75;
  font-family: "Bebas Neue", cursive;
  font-size: 3em;
}

#convocatoria p {
  font-family: "Montserrat", sans-serif;
}

#convocatoria img {
  max-height: 700px;
  margin-top: 3%;
  margin-bottom: 3%;
}

#convocatoria .date-conv {
  background-color: #1c1c1c;
  color: #03cbd2;
  padding-top: 2.3%;
  padding-left: 5%;
}

#convocatoria .date-conv2 {
  background-color: #1c1c1c;
  color: white;
  padding-top: 2%;
}

#otras_convocatorias #info_rel {
  background-color: #d6e4f1;
  padding-top: 3%;
  padding-bottom: 3%;
  color: #003d75;
}

#otras_convocatorias #info_rel h1 {
  font-family: "Bebas Neue", cursive;
  font-size: 2em;
}

#otras_convocatorias #info_rel .card img {
  height: 150px !important;
  min-height: 150px;
  object-fit: cover;
}

#otras_convocatorias #info_rel .card h5 {
  font-weight: bold;
  font-size: 1em;
}

#otras_convocatorias #info_rel .card {
  background-color: #1c1c1c;
  color: white;
  height: 300px;
  font-family: "Montserrat", sans-serif;
  box-shadow: 0 6px 10px rgba(0, 0, 0, 0.08), 0 0 6px rgba(0, 0, 0, 0.05);
  transition: 0.3s transform cubic-bezier(0.155, 1.105, 0.295, 1.12),
    0.3s box-shadow,
    0.3s -webkit-transform cubic-bezier(0.155, 1.105, 0.295, 1.12);
  cursor: pointer;
}

#otras_convocatorias #info_rel .card:hover {
  transform: scale(1.01);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.12), 0 4px 8px rgba(0, 0, 0, 0.06);
}

#otras_convocatorias #info_rel a {
  text-decoration: none;
}

#oferta_content_view h1{
  font-family: "Bebas Neue", cursive;
  font-size: 3em;
  color: #003D75;
}

#oferta_content_view .button_filter {
  background-color: white;
  border: none;
  color: #979797;
  font-size: 1.2em;
}

#oferta_content_view .card {
  margin: 2%;
  border: none;
}

#oferta_content_view .card-header {
  background-color: white !important;
  border-bottom: none;
  font-size: 1em;
  font-weight: bold;
  color: #4d4f55;
  margin-bottom: 0%;
}

#oferta_content_view .card-body p{
  height: 50px;
}

#oferta_content_view img {
  height: 150px !important;
  object-fit: cover !important;
}

#oferta_content_view .button_container {
  text-align: center;
  margin-top: 5%;
}

#oferta_content_view .card-body a {
  border: 2px solid #003d75;
  background-color: #003d75;
  color: white;
  border-radius: 10px;
  padding: 3%;
  text-align: center;
  text-decoration: none;
  transition: all 0.4s;
}

#oferta_content_view .card-body a:hover {
  background-color: white;
  color: #003d75;
  transition: all 0.4s;
}

#oferta_content_view button {
  border: 2px solid #003d75;
  border-radius: 20px;
  text-align: center;
  background-color: #003d75;
  color: white;
  transition: all 0.4s;
}

#oferta_content_view span {
  border-radius: 25px;
}
#oferta_content_view nav {
  margin-left: 40%;
}

#oferta_content_view nav a {
  border-color: #003d75;
  border-radius: 25px;
  color: #003d75;
}

#oferta_content_view nav li {
  width: 5.9%;
  text-align: center;
  margin: 1%;
}

#oferta_content_view span {
  border-radius: 25px;
}

#oferta_content_view nav a:hover {
  color: white !important;
  background-color: #00294f;
}

footer {
  background-color: #3b3b3b !important;
  color: white;
  padding-bottom: 0% !important;
}

footer h5 {
  font-family: "Montserrat", sans-serif !important;
  font-weight: bold;
}

footer .logo {
  text-align: center;
}

footer .logo_unach {
  width: 60%;
  height: 60%;
}

footer .redes {
  margin-top: 10%;
}

footer p {
  font-family: "Roboto", sans-serif;
  font-weight: 100;
  margin-top: 15%;
  font-size: 0.9em;
}

.links p {
  font-family: "Roboto", sans-serif;
  font-weight: 100;
  margin-top: 15%;
  font-size: 0.9em;
}

footer a {
  text-decoration: none;
  font-family: "Roboto", sans-serif;
  font-weight: 100;
  font-size: 0.9em;
}

.site-footer__bottom {
  border: none;
}

footer .bottom_footer {
  background-color: #333333;
  text-align: center;
}

footer .bottom_footer p {
  margin-top: 0%;
  margin-bottom: 0%;
  padding-top: 2%;
  padding-bottom: 2%;
  font-weight: 300;
}

@media (max-width: 980px) {
  .top {
    background-size: cover;
  }
  .top .col-title h1 {
    font-size: 2.5em;
  }
  #videos button {
    margin-top: 5%;
  }
  #slider {
    padding-left: 5%;
  }
  #slider .carousel-item {
    height: 200px;
  }
  #slider .carousel-item img {
    width: 100%;
    height: 100% !important;
    object-fit: cover;
  }
  #infografias h1,
  #videos h1 {
    font-size: 3em;
  }
  #info_rel h1 {
    font-size: 2.5em;
  }
  #infografias .carousel-item {
    height: 480px;
  }
  #infografias .carousel-item img {
    margin-left: 3%;
    height: 100%;
    object-fit: contain;
  }
  #convocatoria {
    margin-top: 15%;
    margin-bottom: 15%;
  }
}
