@font-face{
    font-family: 'Baloo Bhaijaan';
    src: url(../font/BalooBhaijaan-Regular.ttf);
}
* {
  box-sizing: border-box;
  font-family: 'Baloo Bhaijaan';
}

img {
  display: block;
  max-width: 100%;
}

body {
  margin: 0;
  background: #efefef;
  -webkit-background-size: cover;
  -moz-background-size: cover;
  -o-background-size: cover;
  -background-size: cover;
}

.contenedor {
  margin: auto;
  width: 98%;
}

.titulo {
  background: #fdcc4c;
  text-align: center;
  font-size: 20px;
  color: #00348e;
}

/*Header*/

.header {
  height: 70px;
  background: #fdcc4c; 
	transition: all 0.3s;
}

.header .contenedor {
  display: flex;
  justify-content: space-between;
}

.logo {
  display: block;
  width: 220px;
  cursor: pointer;
	padding-top: 0px;
  
}


.logo, .fa-bars-staggered {
  margin: 0 10px;
}

.fa-bars-staggered {
  display: block;
  width: 45px;
  height: 45px;
  font-size: 30px;
  text-align:center;
  line-height: 44px;
  border-radius: 5px;
  margin-top: 12px;
  margin-left: auto;
  padding-top: 7px;
  cursor: pointer;
  background: #fdcc4c;
  color: #00348e;
      box-shadow: 0 0 0 3px white,
    5px 5px 10px #494949;
}

.fa-bars-staggered:hover {
  background: #00348e;
  color: #fdcc4c;
}

/*Menú*/

.nav {
  position: absolute;
  top: 70px;
  left: -100%;
  width: 100%;
  transition: all 0.5s;
}

.menu {
  position: relative;
  list-style: none;
  padding: 0;
  margin: 0;
	z-index: 100;
}

.menu__link {
  display: block;
  padding: 15px;
  background: #fdcc4c;
  text-decoration: none;
  color: #ff3b3f;    
}

.menu__link:hover, .select {
  background: rgb(250, 250, 250);
  color: #00348e;
}

.mostrar {
  left: 0;
}

.select {
  background: rgb(250, 250, 250);
  color: #00348e;
}

.fixed {
	position: fixed;
	width: 100%;
	top: 0;
	left: 0;
	z-index: 1000;
	background: rgba(250, 250, 250, 0.5);
}

/*slider*/

.contenedor-slider {
  margin: auto;
  margin-top: 30px;
  margin-bottom: 80px;
  width: 94%;
  position: relative;
  overflow: hidden;
  box-shadow: 0 0 0 10px #fff,
  0 15px 50px;
  border-radius: 10px;
  background: rgb(255, 255, 255); 
}

.slider {
  display: flex;
  width: 300%;
}

.slider__section {
  width: 100%;
}

.slider__img {
  display: block;
  width: 100%;
  height: 100%;
}

.btn-prev, .btn-next {
  width: 40px;
  height: 40px;
  padding-top: 4px;
  background: #fdcc4c;
  position: absolute;
  top: 90%;
  transform: translateY(-50%);
  line-height: 28px;
  font-size: 50px;
  font-weight: bold;
  text-align: center;
  border-radius: 20%;
  font-family: monospace;
  cursor: pointer;
  color: #00348e;
      box-shadow: 0 0 0 3px white,
    5px 5px 10px #494949;
}

.btn-prev:hover, .btn-next:hover {
  background: #00348e;
	color: #fdcc4c;
}

.btn-prev {
  left: 10px;
}

.btn-next {
  right: 10px;
}


/*face*/

.face {
  margin: auto;
  margin-top: 0px;
  margin-bottom: 50px;
  width: 280px;
  height: 400px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 0 0 10px #fff,
  0 15px 50px;
  border-radius: 10px;
}

/*Especialidades*/

.container {
    width: 100%;
    margin: auto;
    padding: 0px;
    margin-bottom: 0px;
    margin-top: 0px;
    background-color: white;
    box-shadow: 0 0 0 0px,
    0px 15px 50px;
}
.container--flex {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0px;
    margin-top: 0px;
    padding: 0px;
}
.column {
    width: 100%;
    margin-bottom: 0px;
    margin-top: 0px;
    padding: 0px;
}
.column__title {
    font-size: 25px;
    padding: 5px;
    margin: 0px;    
    color: #00348e;
}
.main__about__description .column:nth-child(2) {
    padding: 10px;
    text-align: center;
    background-color: #d9d9d9;
    font-size: 20px;
    height: 100%;
}
.column__txt{
    padding-top: 0px;
    margin-top: 0;
    color: #192231;
}
.btn {
    display: block;
    text-align: center;
    text-decoration: none;
    width: 120px;
    background: #fdcc4c;
    color: #00348e;
    padding: 10px;
    margin: 10px auto;
    box-shadow: 0 0 0 3px white,
    5px 5px 10px #494949;
    border-radius: 10px;
}
.btn:hover {
    background: #00348e;
    color: #fdcc4c;
}

/*Footer*/

.footer {
  background: #fdcc4c;
  color: #ff3b3f;
  padding: 10px;
  text-align: center;
  margin-top: 30px;
}

.footer .social [class^="fa-"] {
    display: inline-block;
    color: #00348e;
    text-decoration: none;
    font-size: 40px;
    margin-bottom: 30px;
    margin-left: 10px;
    margin-right: 10px;
}
.certificado {
    width: 90%;
    margin: auto;
    color: #00348e;
}
.certificado_img {
    height: 500px;
    margin: auto;
}
.certificado_txt {
    color: #ff3b3f;
    text-decoration: none;
}

/*Popup*/

.overlay {
    background: rgba(0,0,0,.5);
    position: fixed;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    visibility: hidden;
    z-index: 200;
}
.overlay.active {
    visibility: visible;
}
.popup {
    background: #d9d9d9;
    box-shadow: 0 0 0 10px #d9d9d9,
    0 15px 50px;
    border-radius: 20px;
    margin-top: 0px;
    padding: 20px;
    text-align: center;
    width: 80%;
    transition: .3s ease all;
    transform: scale(0.7);
    opacity: 0;
}
.popup .btn-cerrar-popup {
    font-size: 24px;
    line-height: 16px;
    display: block;
    text-align: right;
    color: #5d6f8c;
    transition: .3s ease all;
    text-decoration: none;
}
.popup .btn-cerrar-popup:hover {
    color: #00348e;
}
.popup h1 {
    margin-top: 0px;
    margin-bottom: 0px;
    opacity: 0;
    color: #ff3b3f;
    text-shadow: 1px 1px 3px rgb(0, 0, 0);
}
.popup h3 {
    margin-bottom: 40px;
    opacity: 0;
    color: #00348e;
}
.popup .btn--contact {
    opacity: 0;
}
.popup.active {
    opacity: 1;
    transform: scale(1);
}
.popup.active h1 {
    animation: entradaTitulo .8s ease .5s forwards;
}
.popup.active h3 {
    animation: entradaSubTitulo .8s ease .5s forwards;
}
.popup.active .btn--contact {
    animation: entradaBoton 1s ease .8s forwards;
}
@keyframes entradaTitulo {
    from {
        transform: translateY(-25px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}
@keyframes entradaSubTitulo {
    from {
        transform: translateY(25px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}
@keyframes entradaBoton {
    from {
        opacity: 0;
        transform: scale(.5);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

/*Responcive*/

@media screen and (min-width:480px) {
    
    .main__about__description .column:nth-child(2) {
        padding: 20px;
    }
    .column--50 {
        width: 50%;
    }
    .btn-prev, .btn-next {
        width: 40px;
        height: 40px;
        padding-top: 4px;
    }
    .popup {
        margin-top: -300px;
    }
    .popup h1 {
        font-size: 40px;
    }
    .popup h3 {
        font-size: 20px;
    }
    .popup .btn--contact {
        font-size: 20px;
    }
}

@media screen and (min-width:768px) {

    .main__about__description {
        margin-top: 0px;
    }
    .main__about__description .column:nth-child(2) {
        padding: 25px;
    }
    .btn{
        font-size: 20px;
    }
    .main__about__description .column--50:nth-child(2) .column__txt {
        line-height: 30px;
        font-size: 20px;
    }
    .column__title {
        font-size: 30px;
    }
    .btn-prev, .btn-next {
        width: 40px;
        height: 40px;
        padding-top: 3px;
    }
    .popup {
        width: 50%;
    } 
}

@media(min-width:1024px) {
    
.contenedor {
	width: 1000px;
}
.logo {
	height: 100px;
}
.nav {
	position: static;
	width: auto;
}
.menu {
	display: flex;
}
#btn-menu {
	display: none;
}
.menu__link {
	font-size: 1.2em;
    padding-left: 10px;
    padding-right: 10px;
    padding-bottom: 20px;
    padding-top: 20px;
}
.select {
	background: white;
	color: #00348e;
}
.menu__link:hover, .select {
	background: white;
	color: #00348e;
}
.btn-prev, .btn-next {
  width: 50px;
  height: 50px;
  line-height: 45px;
  font-size: 40px;
}
.face {
  margin: auto;
  margin-top: 80px;
  width: 500px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 0 0 10px #fff,
  0 15px 50px;
  border-radius: 10px;
}
.container {
    width: 1000px;
}
.popup {
    width: 500px;    
}
.main__about__description .column--50:nth-child(2) .column__txt {
    line-height: 45px;
}
.btn-prev, .btn-next {
    width: 60px;
    height: 60px;
    padding-top: 4px;
    font-size: 60px;
    top: 95%;
}
.main__about__description .column:nth-child(2) {
    padding: 50px;
}
}
@media(min-width:1600px) {
    .contenedor {
	    width: 1400px;
    }
    .container {
        width: 1100px;
    }
    .main__about__description .column--50:nth-child(1) img {
        width: 100%;
        height: 350px;
        object-fit: cover;
    }
    .column__title {
        font-size: 40px;
    }
    .main__about__description .column:nth-child(2) {
        padding: 90px;
    }
    .main__about__description .column--50:nth-child(2) .column__txt {
        font-size: 28px;
    }
    .menu__link {
	font-size: 1.5em;
    padding-left: 10px;
    padding-right: 10px;
    padding-bottom: 17px;
    padding-top: 17px;
    }
    .btn{
        font-size: 30px;
        width: 150px;
    }
    .btn-prev, .btn-next {
        width: 60px;
        height: 60px;
        padding-top: 4px;
        font-size: 60px;
        top: 95%;
    }
}