* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: sans-serif;
}

.mySlides {
    display: none
}

img {
    width: 100%;
    vertical-align: middle;
}

.header {
    box-sizing: border-box;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 120px;
    z-index: 2;
    transition: 0.7s;
    background-color: #fff;
}

header.down {
    background-color: #7ba9e6;
    height: 150px;
}

.content {
    padding-top: 120px;
}

.logo {
    font-size: 30px;
    font-weight: bolder;
    padding: 0 40px;
    line-height: 120px;
}

/* Inicia Botón Toogle */
.nav-toggle {
    color: #003bb1;
    background: none;
    border: none;
    font-size: 30px;
    padding: 0 20px;
    line-height: 60px;
    cursor: pointer;
    display: none;
}
.container {
    vertical-align: middle;
    display: inline-block;
    cursor: pointer;    
  }

.bar1,
.bar2,
.bar3 {
    width: 35px;
    height: 5px;
    background-color: #003bb1;
    margin: 6px 0;
    transition: 0.4s;
}

.change .bar1 {
    transform: translate(0, 11px) rotate(-45deg);
}

.change .bar2 {
    opacity: 0;
}

.change .bar3 {
    transform: translate(0, -11px) rotate(45deg);
}

/* Finaliza Botón Toogle */

.logo img {
    vertical-align: middle;
}

.nav {
    box-sizing: border-box;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-content: center;
    max-width: 1400px;
    margin: 0 auto;
}

.nav-link {
    color: #003399;
    text-decoration: none;
    align-content: center;
}

.nav-menu {
    display: flex;
    margin-right: 40px;
    list-style: none;
    border-radius: 6px;
}

.nav-menu-item {
    font-size: 18px;
    margin: 0 10px;
    line-height: 120px;
}

.nav-menu-link {
    padding: 8px 12px;
    border-radius: 3px;    
}

.nav-menu-link:hover {
    background-color: #003bb1;
    transition: .5s;
    color: #fff;    
}

.nav-menu-link_active {
    background-color: #001847;    
    color: #8baef3;
    transition: .5s;
}

/* Inicia SlideShow */
/* Slideshow container */
.slideshow-container {
    max-width: 100%;
    position: relative;
    margin-top: 150px;
}

/* Caption text */
.text, .numbertext{
    color: #f2f2f2;
    text-shadow: 2px 2px #000;
    background-color: rgba(0, 0, 0, 0.3);
    position: absolute;
    font-weight: 400;
    padding: 8px 12px;
}
.text {    
    font-size: 15px;
    bottom: 8px;
    width: 100%;
    text-align: center;
}

/* Number text (1/3 etc) */
.numbertext {
    font-size: 12px;
    top: 0;    
}

/* The dots/bullets/indicators */
.dots {
    display: flex;
    flex-direction: row;
    justify-content: center;
    position: relative;
}

.dot {
    height: 15px;
    width: 15px;
    margin: 0 4px;
    background-color: #7ba9e6;
    border-radius: 50%;
    transition: background-color 0.6s ease;
}

.active {
    background-color: #003bb1;
}

/* Fading animation */
.fade {
    animation-name: fade;
    animation-duration: 1.5s;
}

@keyframes fade {
    from {
        opacity: .4
    }

    to {
        opacity: 1
    }
}

/* On smaller screens, decrease text size */
@media only screen and (max-width: 300px) {
    .text {
        font-size: 11px
    }
}

/* Finaliza SlideShow */

/* Inician las tarjetas */
.cards {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    margin-top: 100px;
}

.card {
    border: 4px solid #001847;
    margin: 20px;
    width: 30rem;
    background-color: #7ba9e6;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2);
    color: #001847;
}

.cardImg {
    height: auto;
    background-color: #266cc7;
    display: flex;
    justify-content: flex-start;
    align-items: center;
}

.card img {
    width: 100%;
}

.card-cont {
    padding: 0 20px;
}

.card-cont h2 {
    font-size: 28px;
    margin-bottom: 8px;
}

.card-cont p {
    font-size: 20px;
    line-height: 1.3;
    text-align: justify;
}

.bttn {
    display: flex;
    justify-content: end;
    margin: 0 16px 16px 0;
}

.button {
    background-color: #001847;
    border: none;
    padding: 15px 32px;
    text-align: center;
    border-radius: 6px;
    cursor: pointer;
    font-size: 18px;
    font-weight: bolder;
}

.button a {
    text-decoration: none;
    color: #8baef3;
}

.button:hover {
    background-color: #003bb1;
    transition: .5s;
}

.button:hover a {
    color: #fff;
    transition: .5s;
}

.card img:hover {
    transform: scale(1.1);
    transition: 0.3s ease-in-out;
}

.card-cont .btn {
    display: inline-block;
    padding: 8px 16px;
    background-color: #001847;
    color: #8baef3;
    text-decoration: none;
    border-radius: 4px;
    margin-top: 16px;
}

/* Finalizan las tarjetas */

/* Inicia Formulario */
#formulario{
    margin: 140px 0 40px;
	background: white;        
}

#formulario form{
	position:relative;
	margin:auto;
	width:70%;
	height:auto;
	padding:2%;
	background:#8baef3;
    border-radius: 8px;
    border: 2px solid #001847;
}

#formulario form h1{
	width:100%;
	line-height:50px;
	background:#003bb1;
	text-align:center;
	font-size:20px;
	color:white;
    border: 2px solid #001847;
    border-radius: 10px;
}

#formulario input, textarea{
    border-radius: 6px;
    border: 2px solid #001847;
    background-color: #d1e5ff;
}


#formulario input, #formulario label, #formulario textarea, #formulario p, #formulario select{
	display:block;
	position:relative;
	width:100%;
	padding:10px;
	font-size: 14px;
}


#formulario label span.obligatorio{
	opacity: 0;
	color:#777;
}

#formulario input[type="checkbox"], #formulario input[type="radio"]{
	display:none;	
}

#formulario label.box span{
	display:inline-block;
	width:30px;
	height:30px;
	background:#d1e5ff;
	vertical-align:middle;
	margin-right:10px;
    border-radius: 4px;
    border: 2px solid #001847;
}

#formulario input[type="checkbox"]:checked + label.box span{
    background: url(../img/box.jpg);
}
#formulario input.sendForm{
    background-color:#003bb1;
    color: #fff;
}
/* Finaliza Formulario */

/* Inica Footer */
footer {
    background-color: #7ba9e6;
    position: absolute;    
    width: 100%;
    height: 350px;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

.ftrCont {
    padding: 90px 30px 20px;
}

.socialMed ul {
    margin: 10px;
    padding: 0;
}

.socialMed ul {
    display: flex;
    position: absolute;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #fff;
}

.ftrNav ul {
    display: flex;
    position: relative;
    justify-content: center;
    align-items: center;
    left: 50%;
    transform: translate(-50%, 60%);
}

.socialMed ul li,
.ftrNav ul li {
    list-style: none;
    margin: 0 15px;
}

.ftrNav ul li {
    list-style: none;
    margin: 110 115px;
}

.socialMed ul li a,
.ftrNav ul li a {
    position: relative;
    display: block;
    width: 60px;
    height: 60px;
    text-align: center;
    line-height: 63px;
    background: #003bb1;
    border-radius: 50%;
    font-size: 30px;
    color: #fff;
    transition: 0.5s;
}

.socialMed ul li a::before,
.ftrNav ul li a::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background-color: #003bb1;
    transition: .5s;
    transform: scale(.9);
    z-index: -1;
}

.socialMed ul li a:hover::before,
.ftrNav ul li a:hover::before {
    transform: scale(1.1);
    box-shadow: 0 0 25px #fff;
}

.socialMed ul li a:hover,
.ftrNav ul li a:hover {
    color: #fff;
    box-shadow: 0 0 5px #fff;
    text-shadow: 0 0 5px #fff;
}

.ftrTxt {
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #003bb1;
    width: 100%;
    height: 80px;
    margin: 40px;
    color: #fff;
    text-align: center;
}

.designer {
    text-decoration: none;
    color: #fff;
    opacity: 0.7;
    letter-spacing: 1px;
    font-weight: 600;
    margin: 0 5px;
}

/* Finaliza Footer */

@media (max-width: 1056px) {
    .card {
        width: 100%;
    }
    .cardImg {
        display: none;
    }
}
@media (max-width: 768px) {    
    .header{
        background-color: #74aaf0;
    }

    header.down {
    background-color:  #b8d7ff;
    }


    .logo {
        font-size: 25px;
        padding: 0 20px;
        line-height: 60px;
    }

    .header {
        width: 100%;
        height: 80px;
        display: flex;
        align-items: center;
    }

    .logo img {
        width: 45px;
    }

    .nav {
        width: 100%;
    }
    .nav-menu {
        box-sizing: border-box;
        flex-direction: column;
        align-items: center;
        margin-right: 210px;
        background-color: rgb(0, 51, 153);
        position: fixed;
        top: 64px;
        left: 0;
        width: 100%;
        padding: 20px 0;
        height: calc(100% - 55px);
        overflow-y: auto;
        left: 100%;
        transition: left 0.7s;
    }

    .nav-link {
        color: #ffffff;
    }

    .nav-menu-item {
        line-height: 50px;
    }

    .nav-menu-link:hover,
    .nav-menu-link_active {
        background: none;
        color: #42a7ff;
        font-weight: bolder;
    }
    /* Inicia Botón Toogle*/
    .nav-toggle{
        display: block;
    }
    .nav-menu_visible{
        left: 0;
    }
    .nav-toggle:focus:not(:focus-visible){
        outline: none;
    }
    /* Finaliza Botón Toogle*/



    .slideshow-container {
        width: 100%;
        top: -40px;
    }

    .dots {
        padding: 20px 0;
    }

    .cards {
        margin-top: -15px;
    }

    footer {
        left: 0;
    }

    .socialMed ul li a,
    .ftrNav ul li a {
        display: flex;
        justify-content: center;
        align-items: center;
        width: 40px;
        height: 40px;
        font-size: 20px;
    }

}