/* @import url('https://fonts.googleapis.com/css2?family=Source+Sans+Pro:ital,wght@0,200;0,300;0,400;0,600;0,700;1,200;1,300;1,400;1,600&display=swap'); */
@import url("https://fonts.googleapis.com/css2?family=Raleway:ital,wght@0,100..900;1,100..900&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Cairo:wght@200..1000&display=swap");
@font-face {
  font-family: "Times New Roman", Times, serif;
  src: url(../fonts/Times_New_Roman.ttf);
}
@font-face {
  font-family: "cairo", serif;
  src: url(../fonts/cairo.ttf);
}

/* colores web */
:root {
  --color1: #263466;
  --color2: #F47D35;
  --color3: #e4e3e3;
  --color4: #545454;
  --color5: #243e63;
  --color6: #e7c36d;
}

/* @font-face{
  font-family:'maiamdra';
  src:url('../fonts/Maiandra.ttf');
} */

body {
  font-size: 16px;
}

a {
  text-decoration: none;
}
p {
  font-family: "Raleway", sans-serif;
}
p.line {
  line-height: 1.8;
}

h1,
h2,
h3,
h4,
h5 {
  font-family: "Cairo", sans-serif;
  font-weight: bold;
}

.line {
  width: 30px;
  height: 3px;
  background: #000;
  /* background: var(--color2);
    width: 40px;
    height: 2px; */
}

/* 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);
}
 */
header .bar-sup {
  display: flex;
  flex-direction: row;
  align-items: center;
  padding: 4px 7.5%;
  background: var(--color5);
}
header .bar-sup2 {
  padding-top: .4rem;
  background: var(--color3);
  margin-bottom: -1.4rem;
}

header .bar-sup :hover {
  color: #fff;
}
header .bar-sup a {
  color: #fff;
  font-size: 0.85em;
}
/* header ul.navbar-nav > li {
  margin-left: 0.6rem;
  margin-right: 0.6rem;
}
 */
header #header1 {
  
  background-color: var(--color1);
  padding-left: 7%;
  padding-right: 7%;
}
/* header #menu1{
  background-color:var(--color1);
  padding-top:1rem;
  padding-bottom:1rem;
} */

header a.nav-link {
  display: flex;
  flex-direction: row;
  align-items: center;
  font-size: 0.83em;
  text-transform: uppercase;
}

header a.nav-link i {
  font-size: 1.3em;
}

header a {
  font-family: "Cairo", sans-serif;
}

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;
  text-transform: uppercase;
}
header .dropdown-item:hover {
  background-color: var(--color2);
}

header #submenu:hover {
  background-color: var(--color2);
}

/* 
header #logo {
   
  animation-name: rotation;
	animation-duration: 5s;
	animation-iteration-count: infinite;
	animation-timing-function: linear;
}
@keyframes rotation {
  0% {
    transform:rotate(0deg);
  }
  100% {
    transform:rotateY(-360deg);
  }
}
button >span{
  color:black;
}
 */

#logo {
  width: 140%;
}
/* #text-logo {

color:var(--color1);
text-align:center;
font-family: 'Times New Roman', Times, serif!important;
} */
.navbar-light .navbar-nav .nav-link {
  color: #fff;
}

.text-justify {
  text-align: justify;
}
.back {
  font-size: 15px;
}

#lema {
  position: relative;
  margin-top: -90px;
}

#lema .div-lema {
  border-radius: 20px;
  background-color: var(--color1);
}
#lema .div-lema h2 {
  color: var(--color3);
}
#footer{
  background-color: var(--color3);
  border-top: solid 5px var(--color1);
}
#footer p,
a {
  font-size: 15px;
}

#footer #dates {
  position: relative;
  background: url(../img/web/admision.jpeg) no-repeat center;
  background-size: cover;
  padding: 4.2rem 0;
  z-index: 99;
}

#footer #dates::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  z-index: -1;
  width: 100%;
  height: 100%;
  background: #000;
}

#footer .redes {
  color: var(--color7);
  display: flex;
  margin-top: 2rem;
  justify-content: center;
}

#footer .redes a {
  font-size: 16px;
  color: #fff;
  border: 1px solid #fff;
  text-align: center;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  margin-right: 10px;
  padding-top: 8px;
  display: inline-block;
}

#footer .redes .yt:hover {
  background: #dd4b39;
  color: #fff;
}

#footer .redes .fb:hover {
  background: #3b5998;
  color: #fff;
}

#footer .redes .tw:hover {
  background: #00aced;
  color: #fff;
}

#footer .redes .ig:hover {
  background: #df05a7;
  color: #fff;
}

#footer .date-info h5 {
  color: #fff;
}

#footer .date-info .text p {
  color: #999;
}

#footer .date-info .text a {
  color: #999;
  line-height: 2;
}

#footer .date-info .text a:hover {
  color: var(--color2);
}

#footer .barinf {
  border-top: 1px solid #fff;
  background: #000;
  padding: 12px 0;
  color: #fff;
}

/* mod responsive */
@media screen and (max-width: 700px) {
  /* Prevenir overflow horizontal */
  body {
    overflow-x: hidden;
    max-width: 100%;
  }
  
  html {
    overflow-x: hidden;
    max-width: 100%;
  }
  
  .container-fluid {
    max-width: 100%;
    overflow-x: hidden;
  }
  
  .row {
    margin-left: 0;
    margin-right: 0;
    max-width: 100%;
  }
  
  * {
    max-width: 100%;
  }
  
  img {
    max-width: 100%;
    height: auto;
  }
  
  #logo {
    width: 100%;
  }
  header #logo-bautista {
    height: 50px;
    margin-top: -10px;
    margin-left: 3px;
  }
  #text-logo {
    text-align: center;
    font-size: 1rem;
    font-weight: bold;
    padding-left: 3.5rem;
  }
  header #logotipo {
    margin-left: 30em;
    font-size: 0.2em;
  }
  header nav.navbar {
    /* background-color: var(--color6); */
    padding: 2.7% 3%;
  }
  header .bar-sup {
    padding: 4px 0;
  }
  header #header1 {
    padding-left: 0;
    padding-right: 0;
  }
  
  /* Botón del menú con espacio */
  .navbar-toggler {
    margin-left: 1rem !important;
  }
  
  /* Menú flotante que no empuja el contenido */
  #collapsibleNavId {
    position: absolute !important;
    top: 100% !important;
    left: 0 !important;
    width: 100% !important;
    background-color: var(--color1) !important;
    z-index: 1000 !important;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    padding: 1rem !important;
  }
  
  #header2 {
    position: relative !important;
  }
  
  .navbar-collapse {
    max-height: 80vh;
    overflow-y: auto;
  }
  
  /* Espaciado entre items del menú */
  .navbar-nav .nav-item {
    margin-bottom: 0.5rem;
  }
  
  /* Espaciado entre items del dropdown */
  .dropdown-menu {
    padding: 0.5rem 0 !important;
    margin-top: 0.5rem !important;
  }
  
  .dropdown-item {
    padding: 0.75rem 1.5rem !important;
    margin-bottom: 0.25rem;
  }
  
  /* Lema responsivo */
  #lema {
    margin-top: -50px;
    max-width: 100%;
    overflow-x: hidden;
  }
  #lema .div-lema {
    margin: 0 1rem;
    padding: 1rem !important;
    max-width: calc(100% - 2rem);
  }
  #lema .div-lema h2 {
    font-size: 1.3rem;
    word-wrap: break-word;
  }
  
  /* Bienvenidos responsivo */
  #bienvenidos {
    max-width: 100%;
    overflow-x: hidden;
  }
  #bienvenidos .container-fluid {
    padding: 0 !important;
  }
  #bienvenidos .row {
    margin: 0 !important;
  }
  #bienvenidos .col-lg-6 {
    padding-left: 0 !important;
    padding-right: 0 !important;
  }
  #bienvenidos h2 {
    padding-left: 1rem;
    padding-right: 1rem;
    font-size: 1.5rem;
  }
  #bienvenidos .separador {
    margin-left: 1rem;
  }
  #bienvenidos p {
    padding-left: 1rem;
    padding-right: 1rem;
    word-wrap: break-word;
  }
  #bienvenidos .image-box {
    min-height: 300px;
  }
  
  /* Alianzas responsivo */
  #alianzas {
    padding-top: 2rem;
    padding-bottom: 2rem;
    overflow: hidden;
  }
  #alianzas .container-fluid {
    padding: 0 !important;
  }
  #alianzas .row {
    margin: 0 !important;
  }
  #alianzas .col-lg-8 {
    padding: 50px 10px 20px 10px !important;
    position: relative;
  }
 #alianzas img[alt="Escudo"] {
    left: 10px !important;
    top: 10px !important;
    width: 50px !important;
}

#alianzas img[alt="Logo Alianzas"] {
    right: 10px !important;
    bottom: 40px !important;
    width: 80px !important;
}

  #alianzas span {
    font-size: 1.5rem !important;
    line-height: 1.8rem !important;
  }
  
  /* Niveles responsivo */
  #niveles {
    max-width: 100%;
    overflow-x: hidden;
    padding: 2rem 0 !important;
  }
  #niveles .container {
    padding: 0 !important;
    max-width: 100%;
  }
  #niveles .row {
    margin: 0 !important;
  }
  #niveles .container-fluid {
    padding: 0 !important;
  }
  #niveles h2 {
    font-size: 1.5rem;
  }
  #contenedor-marco {
    margin-bottom: 2rem;
    max-width: 100%;
  }
  #contenedor-marco img {
    width: 100% !important;
    max-width: 100%;
  }
  #text-marco {
    width: 90%;
  }
  #text-marco h2 {
    font-size: 1.8rem;
  }
  #boton-marco {
    top: 75%;
  }
  .boton {
    font-size: 14px;
    padding: 8px 16px;
  }
  
  /* Comunidad responsivo */
  #comunidad {
    max-width: 100%;
    overflow-x: hidden;
  }
  #comunidad .row {
    margin: 0 !important;
  }
  #comunidad .container-fluid {
    padding: 0 !important;
  }
  #comunidad .col-lg-4 {
    padding: 2rem 1rem;
  }
  #comunidad .col-lg-8 {
    padding: 0 !important;
  }
  #comunidad .separador2 {
    margin-left: 1rem;
  }
  #comunidad .d-flex.justify-content-center {
    padding-top: 2rem !important;
    padding-bottom: 3rem !important;
  }
  #comunidad span {
    font-size: 2rem !important;
    word-wrap: break-word;
  }
  .content-img {
    padding: 0 !important;
  }
  .content-img img {
    height: 220px;
    max-width: 100%;
    width: 100%;
  }
  .content-img a.boton {
    font-size: 12px;
    padding: 6px 12px;
    max-width: 90%;
  }
  
  /* Footer responsivo */
  #footer {
    max-width: 100%;
    overflow-x: hidden;
  }
  #footer .container-fluid {
    padding: 0 !important;
  }
  #footer .row {
    margin: 0 !important;
  }
  #footer #dates {
    padding: 2rem 1rem;
  }
  #footer .date-info h5 {
    font-size: 1rem;
  }
  #footer .date-info .text p,
  #footer .date-info .text a {
    font-size: 13px;
  }
  #footer .redes {
    margin-top: 1rem;
  }
  #footer .redes a {
    width: 35px;
    height: 35px;
    font-size: 14px;
    padding-top: 7px;
  }
  footer .bar-inf {
    padding: 6px 3%;
  }
  .separador > .sep_title {
    font-size: 16px;
  }
  .separador > .sep_title2 {
    font-size: 12px;
  }
  #col-niveles {
    margin-bottom: 2rem;
  }
  .imgnivel {
    height: 180px;
  }

  header .bar-sup span {
    display: none;
  }
  footer .bar-inf span {
    display: none;
  }
  footer .bar-inf2 {
    display: inline-block;
  }
  footer .bar-inf2 span {
    display: none;
  }
  footer .div-escudo {
    padding-bottom: 1.5rem;
  }
  footer .contacto .form-check {
    padding-left: 0.8rem;
    padding-top: 1rem;
  }
  header #submenu span {
    display: none;
  }

  .ubic-img div {
    padding-bottom: 1.2rem;
  }
  .ubic li {
    justify-content: left;
  }
  #div-logros {
    margin-top: 0rem !important;
    padding-top: 0rem !important;
    padding-bottom: 1.3rem;
  }
  .back {
    font-size: 10px !important;
  }
  #perfiles {
    padding-top: 2rem;
  }
  .sig-facebook {
    display: none;
  }
  .ultimoitem {
    padding-bottom: 0rem;
  }
  .fixed-top {
    position: absolute;
  }
}
#flechaarriba {
  display: none;
}
@media screen and (max-width: 1399px) {
  footer #terminos {
    width: 100%;
    font-size: 12px;
  }
  .back {
    font-size: 12px;
  }
}
@media screen and (max-width: 750px) {
  #logo{
    width: 30%!important;
  }
}
