:root {
  --color-font: white;
  --color-nav: #ffffff;
  --color-head-footer: #363232;
  --tex-main-back: #3632329e;
  --subsection: #e4e1e19c;
  --margin-section: 35px 0 0 0;
  --padding-section: 20px 0 30px 0;
  --icon-color: #6EC1E4;
  --text-main-font: white;
}
.wrapper{
  cursor: pointer;
}


* {
  margin: 0;
  padding: 0;
  text-decoration: none;
  scroll-padding-top: 90px;
  -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
}
#textmain h1 {
  font-size: xx-large;
}
#textmain h3 {
  font-size: large;
}
h1:not(#textmain h1, .title) {
	text-align: center;
  font-size: x-large;
}
h3:not(#textmain h3) {
	text-align: center;
}

ul {
	margin: 0 0 0 20px;
}

.row {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  width: 100%;
}

.column {
  display: flex;
  flex-direction: column;
  flex-basis: 100%;
  align-items: center;
}

.default img, .column div img:not(.wrapper img) {
	filter: invert(78%) sepia(52%) saturate(682%) hue-rotate(168deg) brightness(82%) contrast(90%);
}

.whatsapp-ico{
  fill: white;
  width: 50px;
  height: 50px;
  padding: 3px;
  background-color: #4dc247;
  border-radius: 50%;
  box-shadow: 2px 2px 6px rgba(0,0,0,0.4);
  /* box-shadow: 2px 2px 11px rgba(0,0,0,0.7); */
  position: fixed;
  bottom: 20px;
  right : 20px;
  z-index: 10;
}

.whatsapp-ico:hover{
  box-shadow: 2px 2px 11px rgba(0,0,0,0.7);
}


/* Header */
header{
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: space-evenly;
  align-items: center;
  align-content: stretch;
  background-color: var(--color-head-footer);
  color: var(--color-font);
  font-size: 14px;
  height: 80px;
}

header a {
  color: var(--color-font);
}

#headermail {
    display: flex;
    flex-direction: row;
    align-content: center;
    justify-content: center;
    align-items: center;
}
#headerphone {
    display: flex;
    justify-content: center;
    align-items: center;
}
#headerredes {
    display: flex;
    justify-content: center;
    align-items: center;
}
#headerphone svg, #headermail svg{
  margin-right: 5px;
}
/* End header*/

/* Nav */
nav a {
  color: #000000;
}
nav {
  z-index: 3;
}

nav>a>img {
  background-color: var(--color-nav);
  border-radius: 0 0 5px 5px;
  width: 80px;
  position: absolute;
  box-shadow: 1px 1px 4px 0 rgba(0, 0, 0, 0.1);
}

nav {
  background-color: var(--color-nav);
  box-shadow: 10px 2px 4px 0 rgba(0, 0, 0, 0.1);
  position: fixed;
  width: 100%;
  top: 80px;
}

nav ul {
  margin: 0;
  padding: 0;
  list-style: none;
  overflow: hidden;
  background-color: var(--color-nav);
}

nav li a {
  display: block;
  padding: 20px 20px;
  border-right: 1px solid var(--color-nav);
  text-decoration: none;
}

nav li a:hover,
nav .menu-btn:hover {
  background-color: var(--color-nav);
}

nav .logo {
  display: block;
  float: left;
  font-size: 2em;
  padding: 10px 20px;
  text-decoration: none;
}

/* menu */

nav .menu {
  clear: both;
  max-height: 0;
  transition: max-height 0.2s ease-out;
}

/* menu icon */

nav .menu-icon {
  cursor: pointer;
  display: inline-block;
  float: right;
  padding: 28px 20px;
  position: relative;
  user-select: none;
}

nav .menu-icon .navicon {
  background: #333;
  display: block;
  height: 2px;
  position: relative;
  transition: background 0.3s ease-out;
  width: 18px;
}

nav .menu-icon .navicon:before,
nav .menu-icon .navicon:after {
  background: #333;
  content: "";
  display: block;
  height: 100%;
  position: absolute;
  transition: all 0.2s ease-out;
  width: 100%;
}

nav .menu-icon .navicon:before {
  top: 5px;
}

nav .menu-icon .navicon:after {
  top: -5px;
}

/* menu btn */

nav .menu-btn {
  display: none;
}

nav .menu-btn:checked~.menu {
  max-height: 350px;
}

nav .menu-btn:checked~.menu-icon .navicon {
  background: transparent;
}

nav .menu-btn:checked~.menu-icon .navicon:before {
  transform: rotate(-45deg);
}

nav .menu-btn:checked~.menu-icon .navicon:after {
  transform: rotate(45deg);
}

nav .menu-btn:checked~.menu-icon:not(.steps) .navicon:before,
nav .menu-btn:checked~.menu-icon:not(.steps) .navicon:after {
  top: 0;
}

/* 48em = 768px */

@media (min-width: 48em) {
  nav li {
    float: left;
  }

  nav li a {
    padding: 20px 30px;
  }

  nav .menu {
    clear: none;
    float: right;
    max-height: none;
  }

  nav .menu-icon {
    display: none;
  }
}

/* End Nav*/

#principal {
	margin: 10px 0 0 0;
	height: 450px;
}

#textmain {
	position: absolute;
	z-index: 1;
	top: 390px;
  color: var(--text-main-font);
}
#textmain h1 {
	background-color: var(--tex-main-back);
	margin-bottom: 10px;
}
#textmain h3 {
	background-color: var(--tex-main-back);
}

/* Swiper */
.swiper {
  width: 100%;
  height: 500px;
}
.swiper-slide  img{
  display: block;
  width: 100%;
  height: 90%;
  object-fit: cover;
}
.uno  img, .dos img{
  display: block;
  width: 180%;
  height: 90%;
  object-fit: cover;
}
/* end swiper */


#somos {
	margin: var(--margin-section);
	display: grid;
	grid-template-columns: 1fr;
	grid-template-rows: 50px 1fr;
}

#my-video {
  width: 90vmin;
  height: 90vmin;
  margin: 0 auto;
}
#my-video > button {
  -webkit-transform: translate(-50%,-50%);
  transform: translate(-50%,-50%);
  position: absolute;
  top: 50%;
  left: 50%;
}
.video-js {
	background-color: rgba(255, 255, 255, 0);
}
#text-video {
  margin-left: 30px;
  margin-right: 10%;
  margin-top: 2em;
}
#text-video > ul > li > p {
	margin-top: 10px;
}



#cursos {
	width: 100%;
	margin: var(--margin-section);
	padding: var(--padding-section);
	height: auto;
	background-color: var(--subsection);
}

.default {
	display: flex;
	margin: 30px 30px 0 30px;
	flex-direction: column;
	align-items: center;
}
.default img {
  width: 62.5px;
  height: 50px;
  margin-top: 20px;
  margin-bottom: 40px;
}


#cursosrealizados {
	margin: var(--margin-section);
	display: grid;
  grid-template-rows: 50px auto 1fr;
}
#cursosrealizados h1 {
  grid-row: 1 / 2;
}
#cursosrealizados .row{
  grid-row: 2 / 3;
}
#cursosrealizados #button{
  grid-row: 3 / 4;
  display: flex;
  justify-content: center;
}

.rowcard {
  max-width: 800px;
  width: 80%;
  margin: 50px auto 0;
}
.card .wrapper {
  background-color: #fff;
  min-height: 350px;
  position: relative;
  overflow: hidden;
  box-shadow: 5px 5px 20px 0px #68acc9;
}
.card .data {
  position: absolute;
  top: 55%;
  width: 100%;
  height: 50%;
}
.card .data .content {
  padding: 1em;
  position: relative;
  height: 90%;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}
.content h1 {
  margin-bottom: 25px;
}
.card .author {
  font-size: 12px;
}
.card .title {
  margin-top: 10px;
}
.card .text {
  height: 70px;
  margin: 0;
}
.wrapper img {
  background-repeat: no-repeat;
  margin: 0 auto;
  width: 100%;
  padding-bottom: 50%;
  height: auto;
  max-width: inherit;
}
.card-1 .content {
  background-color: #fff;
}
.card-1 .title a {
  color: gray;
}

.close {
  position: absolute;
  right: 30px;
  top: 20px;
  width: 24px;
  height: 24px;
  z-index: 3;
}
.close:hover {
  opacity: 0.5;
}
.close:before, .close:after {
  position: absolute;
  left: 15px;
  content: ' ';
  height: 20px;
  width: 2px;
  background-color: rgb(0, 0, 0);
}
.close:before {
  transform: rotate(45deg);
}
.close:after {
  transform: rotate(-45deg);
}

button {
  width: 90px;
  height: 40px;
  transition: 0.5s;
  margin-top: 40px;
  border: 0px;
  background-color: #68acc9;
 
}
.button {
  cursor: pointer;
  color: white;
}
#clicke{
  width: fit-content;
  display: contents;
  
}
button a {
  color: white;
  font-weight: bold;
  
}

.modal-contenido {
  display: flex;
  flex-direction: column;
  overflow-y: scroll;
  background-color: white;
  width: 100%;
  min-height: 100%;
  margin: auto auto;
  position: relative;
}
.modal {
background-color: rgba(0, 0, 0, 0.8);
position: fixed;
top: 0;
right: 0;
bottom: 0;
left: 0;
opacity: 0;
pointer-events: none;
transition: all 1s;
z-index: 5;
}

.modalAll {
  background-color: rgba(0, 0, 0, 0.8);
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  opacity: 0;
  pointer-events: none;
  transition: all 1s;
  z-index: 5;
  }

#cardmodal:target {
opacity: 1;
pointer-events: auto;
z-index: 5;
}

#allCard:target {
  opacity: 1;
  pointer-events: auto;
  z-index: 5;
  }

  #resultado{
    width: 80%;
  padding: 20px;
  height: 90%;
  }

  .closeModal{
    position: fixed;
  }

#closeModal {
  background-color: white;
  position: fixed;
  margin: 0 auto;
  width: 75%;
  height: auto;
}
#closeModal {
width: 3em;
}

#resultado img:nth-child(2n){
padding-top: 20px;
margin: 10px auto;
width: 80%;
}


.content{
  color: black;
}

.content p{
  font-weight: bolder;
}


#contacto {
	margin: var(--margin-section);
	background-color: var(--subsection);
	padding: var(--padding-section);
}

#contacto > div > div > div > img {
	width: 62.5px;
	height: 50px;
	margin-top: 20px;
	margin-bottom: 20px;
}

#contacto .column div {
	display: flex;
	justify-content: center;
	flex-direction: column;
	align-content: center;
	align-items: center;
}
#contacto .row {
	margin-top: 20px;
}
#contacto h3 {
  margin-bottom: 10px;
}
iframe {
  margin: 50px auto 10px auto;
  border: 0;
}
footer {
  display: flex;
  background-color: var(--color-head-footer);
  font-size: 14px;
  height: 80px;
  text-align: center;
  color: var(--color-font);
  align-items: center;
  justify-content: center;
}

.wrapper{
  max-width: 250px;
  max-height: 350px;
  display: flex;
  align-items: center;
  margin: 0 auto;
}

.title{
  font-size: x-large;
  text-align: center;
  margin-bottom: 15px;
}
::marker {
  color: #68acc9;
}





@media (min-width: 768px) {
  #textmain h1 {
    font-size: xxx-large;
  }
  h1:not(#textmain h1, .title) {
    text-align: center;
    font-size: xx-large;
  }
  #textmain h3 {
    font-size: 28px;
  }

	.column {
	  flex: 1;
	  align-items: center;
	}

	  .swiper-slide  img{
		display: block;
		width: 100%;
		height: 90%;
		object-fit: cover;
	  }
	  .uno  img, .dos img, .tres img, .cuatro img{
		display: block;
		width: 100%;
		height: 90%;
		object-fit: none;
	  }
    .rowcard {
      min-width: 240px;
      max-width: 240px;
      margin: 40px 20px auto;
    }
    button {
      margin-top: 20px;
    }
    button:hover {
      transform: scale(1.02);
      background-color: #68acc9;
      color: rgb(255, 255, 255);
    }
    .card {
      width: 100%;
    }
	.card:hover{
    transform: scale(1.02);
    box-shadow: 0;
	
	}
	.wrapper:hover {
		box-shadow: 0px;
	}

	header {
		flex-direction: row;
		align-items: center;
		justify-content: space-evenly;
	}
	#my-video {
		max-width: 60vmin;
		max-height: 400px;
		margin: 0 30px 0 30px;
	}
	#cursos {
		width: 100%;
		max-width: 100%;
	}
  #video-text{
    margin-top: 40px;
  }
  #cursos .row{
    margin-top: 40px;
  }
  .modal-contenido {
    width: 80%;
    height: 100%;
    margin: auto;
  }
  #closeModal{
    background-color: white;
    width: auto;
    position: fixed;
    margin: 0 auto;
    height: auto;
    width: 3em;
  }
  #resultado img{
    margin-top: 20px;
  }  

}

  