*{
	padding: 0px;
	margin: 0px;
	border: 0px;
}
  :root{
  /* Colores */
  --gris:#161616;
  --negro:#0e161c;
  }
header{
	background: #000;
}
body{
  	font-family: "EB Garamond", serif;
  	font-optical-sizing: auto;
  	font-weight: 400;
  	font-style: normal;
	font-size: 18px;
	background: #f1f1f1;
}

h3{
	font-family: "Bodoni Moda", serif;
  	font-optical-sizing: auto;
  	font-weight: 600;
  	font-style: normal;
	font-size: 2rem;
	text-transform: uppercase;
}
footer{
	background-color: #000;
}
a {
    color: #007bff;
    text-decoration: none;
    background-color: transparent;
}
.conoce{
	height: 40px;
}
.logo{
  height: 40px;
  margin: 1rem 0rem;
}

.bajada{
	background: var(--gris);
	color: #fff;
	font-family: "Bodoni Moda", serif;
  font-optical-sizing: auto;
  font-weight: 700;
  font-style: normal;
	font-size: 1.6rem;
}

/*Header*/
.oper{
    background-image: url(../img/portada-clase-azul.jpg);
    background-attachment: fixed;
    -webkit-background-size: cover;
    background-size: 100% auto;
    background-repeat: no-repeat;
    background-position: top;
    max-height: 800px;
}

.tit1{
    text-align: center;
    font-family: "Bodoni Moda", serif;
  	font-optical-sizing: auto;
  	font-weight: 700;
  	font-style: normal;
    font-size: 5vw;
    padding: 18% 0px 18% 0px;
    color: #fff;
    text-shadow: 0px 0px 20px #000;
    text-align: -webkit-center;
    text-transform: uppercase;
}
/*Header*/

.grid-uno{
	display: grid;
	/*Grid de 3f*?c*/
	grid-template-columns: 50px 20% repeat(8, 1fr);
	grid-template-rows: 50px 1fr 50px 1fr 80px;
}
.grid-uno .amarillo:nth-child(1){
	background-color: var(--gris);
	grid-column: 1 / 3;
	grid-row: 2 / 6;
}

.grid-uno .item:nth-child(2){
	grid-column: 2 / 5;
	grid-row: 1 / 5;
}
.grid-uno .item:nth-child(3){
	color: #fff;
	background-color: rgba(20,36, 90, 1);
	grid-column: 4/ 10;
	grid-row: 2 / 4;
}
.grid-uno .amarillo_1:nth-child(4){
	background-color: var(--gris);
	grid-column: 9 / 11;
	grid-row: 5 / 6;
}

.texto{
	padding: 10%;
}

/*Grid 2*/
.grid-dos{
	display: grid;
	/*Grid de 3f*?c*/
	grid-template-columns: repeat(8, 1fr) 20% 50px;
	grid-template-rows: 50px 1fr 50px 1fr 80px;
}
.grid-dos .amarillo1:nth-child(1){
	background-color: var(--gris);
	grid-column: 9 / 11;
	grid-row: 1 / 5;
}
.grid-dos .item:nth-child(2){
	grid-column: 7 / 10;
	grid-row: 1 / 6;
}
.grid-dos .item:nth-child(3){
	background-color: rgba(20, 36, 90, 1);
	color: #fff;
	grid-column: 2 / 8;
	grid-row: 3 / 5;
}
.texto1{
	padding: 10%;
	text-align: left;
}


/*Grid 3*/
.grid-tres{
	display: grid;
	/*Grid de 3f*?c*/
	grid-template-columns: 50px 20% repeat(8, 1fr);
	grid-template-rows: 50px 1fr 50px 1fr 80px;
}
.grid-tres .amarillo2:nth-child(1){
	background-color: var(--gris);
	grid-column: 3 / 6;
	grid-row: 2 / 4;
}

.grid-tres .item:nth-child(2){
	grid-column: 2 / 5;
	grid-row: 1 / 5;
}
.grid-tres .item:nth-child(3){
	background-color: rgba(20, 36, 90, 1);
	color: #fff;
	grid-column: 4/ 11;
	grid-row: 3 / 5;
}

.texto2{
	padding: 10%;
	text-align: left!important;
}


/*Grid 4*/
.grid-cuatro{
	display: grid;
	/*Grid de 3f*?c*/
	grid-template-columns:repeat(8, 1fr) 20% 50px;
	grid-template-rows: 50px 1fr 50px 1fr 80px;
}
.grid-cuatro .amarillo3:nth-child(1){
	background-color: var(--gris);
	grid-column: 9 / 11;
	grid-row: 1 / 5;
}
.grid-cuatro .item:nth-child(2){
	grid-column: 7 / 10;
	grid-row: 2 / 6;
}
.grid-cuatro .item:nth-child(3){
	background-color: rgba(20, 36, 90, 1);
	color: #fff;
	grid-column: 2 / 8;
	grid-row: 3 / 5;
}
.texto3{
	padding: 10%;
	text-align: right;
}

/* Start: Video Responsive */
.video-responsive {
    overflow:hidden;
    padding-bottom:50px; /* Adecua este valor para controlar la altura del video */
    position:relative;
    height:10%;
}

/* End: Video Responsive */



button.link {
  background: #fff;
  border: none;
  padding: 10px 20px;
  display: inline-block;
  font-size: 15px;
  font-weight: 600;
  width: 150px;
  text-transform: uppercase;
  cursor: pointer;
  transform: skew(-21deg);
}

span {
  display: inline-block;
  transform: skew(21deg);
}

button.link::before {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  right: 100%;
  left: 0;
  background: rgb(20, 20, 20);
  opacity: 0;
  z-index: -1;
  transition: all 0.5s;
}

button.link:hover {
  color: #fff;
}

button.link:hover::before {
  left: 0;
  right: 0;
  opacity: 1;
}



@media only screen and (max-width: 1200px) {
  
.grid-uno, .grid-dos, .grid-tres{
	grid-template-rows: 50px repeat(3, 1fr) 50px;
}

}

@media only screen and (max-width: 991px) {
  
.grid-uno {
	grid-template-rows: 50px 1fr 50px 80px;
}

.grid-dos, .grid-tres{
	grid-template-rows: 50px repeat(2, 1fr) 1fr 50px 80px; 
}

}


@media only screen and (max-width: 767px) {
  

.grid-uno, .grid-dos, .grid-tres, .grid-cuatro {
    grid-template-rows: 50px repeat(2, 1fr) 80px;
	}
.grid-uno .amarillo:nth-child(1){
    grid-column: 1/11;
}
.grid-uno .item:nth-child(2) {
    grid-column: 2 / 10;
    grid-row: 1 / 5;
}
.grid-uno .item:nth-child(3) {
    grid-column: 1/ 11;
    grid-row: 4 / 6;
}
.amarillo_1{
	display: none;
}

.grid-dos .amarillo1:nth-child(1){
    grid-column: 1/11;
    grid-row: 2 / 5;
}
.grid-dos .item:nth-child(2) {
    grid-column: 2 / 10;
    grid-row: 1 / 5;
}
.grid-dos .item:nth-child(3) {
    grid-column: 1/ 11;
    grid-row: 4 / 6;
}

.grid-tres .amarillo2:nth-child(1){
    grid-column: 1/11;
    grid-row: 2 / 5;
}
.grid-tres .item:nth-child(2) {
    grid-column: 2 / 10;
    grid-row: 1 / 5;
}
.grid-tres .item:nth-child(3) {
    grid-column: 1/ 11;
    grid-row: 4 / 6;
}

.grid-cuatro .amarillo3:nth-child(1){
    grid-column: 1/11;
    grid-row: 2 / 5;
}
.grid-cuatro .item:nth-child(2) {
    grid-column: 2 / 10;
    grid-row: 1 / 5;
}
.grid-cuatro .item:nth-child(3) {
    grid-column: 1/ 11;
    grid-row: 4 / 6;
}
.texto1, .texto3{
	text-align: left;
}
body{

	font-size: 18px;
	
}
.tit1{
    font-size: 11vw;}

.oper{
    background-image: url(../img/portada-clase-azul-m.jpg);
}
}
