@import url('https://fonts.googleapis.com/css2?family=Unna:wght@400;700&display=swap');

@import url('https://fonts.googleapis.com/css2?family=Open+Sans:wght@300;400;700&display=swap');

body{
  margin-top:70px;
}
.navbar {
  overflow: hidden;
  background-color: #F5F8FA;
  font-family: Arial, Helvetica, sans-serif;
  width:100%;
  margin:0px;
  position:fixed;
  z-index:1000;
  top:0px;
}

#logu{
  float:left;
}

#logu:hover{
  background:none;
}

.navbar a {
  float: right;
  font-size: 12px;
  color: black;
  margin-top:5px;
  text-align: center;
  padding: 20px 16px;
  text-decoration: none;
}

.navbar a:hover{
  font-weight:bold;
}

.dropdown {
  float: right;
  overflow: hidden;
}

.dropdown-content a:hover{
  font-weight:bold;
}

.dropdown .dropbtn {
  cursor: pointer;
  font-size: 12px;  
  border: none;
  outline: none;
  color: black;
  padding: 26px 16px;
  z-index:1000;
  background-color: inherit;
  font-family: inherit;
  margin: 0;
}



.dropdown-content {
  display: none;
  position: fixed;
  background-color: #F5F8FA;
  min-width: 160px;
  box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
  z-index:1000;
}

.dropdown-content a {
  float: none;
  color: black;
  padding: 12px 16px;
  text-decoration: none;
  display: block;
  text-align: left;
  z-index:1000;
}

.dropdown-content a:hover {
  background-color: #ddd;
  font-weight:bold;
  z-index:1000;
}

.show {
  display: block;
  z-index:1000;
}


.introback{
  height:700px;
  width:100%; background:url("https://content.lameca.com.ar/Innovacion/imagennueva2023/fehgra/micrositio/inicio/Fondoinicio.jpg");
  background-size:cover;
  margin-top:0px;
  position:relative;
  top:0;
  
}

.fotos{
  width:55%;
  margin-top:80px;
  left:60px;
  position:absolute;
}



.cajacursos{
  width:45%;
  position:absolute;
  left:50%;
  top:130px;
  background:blue;
  background: url("https://content.lameca.com.ar/Innovacion/imagennueva2023/fehgra/micrositio/inicio/Group1.png");
  background-size:100%;
  
}

.cajacursos:hover{
  background:url("https://content.lameca.com.ar/Innovacion/imagennueva2023/fehgra/micrositio/inicio/Group2.png");
  background-size:100%;
  
}


.parent {
display: grid;
  margin:auto;
 margin-top:75px;
  width:80%;
  position:relative;
grid-template-columns: repeat(4, 1fr);
grid-template-rows: 1fr;
grid-column-gap: 0px;
grid-row-gap: px;
}

.div1 { grid-area: 1 / 1 / 2 / 2;  }
.div2 { grid-area: 1 / 2 / 2 / 3; }
.div3 { grid-area: 1 / 3 / 2 / 4; }
.div4 { grid-area: 1 / 4 / 2 / 5; }

.inside{
  z-index:999;
  background:blue;
  background: url("https://s3.us-east-1.amazonaws.com/content.lameca.com.ar/Innovacion/micrositiofehgra/IMG/img1.png");
  background-size:100%;
  background-repeat:no-repeat;
  width:200px;
  margin:auto;
  height:250px;
  margin-top:-120px;
  border-radius:20px;
}

.inside:hover{
 background: url("https://s3.us-east-1.amazonaws.com/content.lameca.com.ar/Innovacion/micrositiofehgra/IMG/img1.png");
  background-position: 0px -245px;
  background-size:100%;
  
}

#caja2{
 background-size: cover !important;
background: url("https://s3.us-east-1.amazonaws.com/content.lameca.com.ar/Innovacion/micrositiofehgra/IMG/caja2.png");  
}

#caja2:hover{
 background: url("https://s3.us-east-1.amazonaws.com/content.lameca.com.ar/Innovacion/micrositiofehgra/IMG/caja2.png");  
background-position: 0px -250px;
}

#caja3{
  background-size: cover !important;

  background: url("https://s3.us-east-1.amazonaws.com/content.lameca.com.ar/Innovacion/micrositiofehgra/IMG/caja3.png"); 
}

#caja3:hover{
  background: url("https://s3.us-east-1.amazonaws.com/content.lameca.com.ar/Innovacion/micrositiofehgra/IMG/caja3.png");

  background-position: 0px -250px;
}

#caja4{background:blue;
 background-size: cover !important;
 background: url("https://content.lameca.com.ar/Innovacion/imagennueva2023/fehgra/micrositio/inicio/Sin%20t%C3%ADtulo.png"); 
}

#caja4:hover{
 background: url("https://content.lameca.com.ar/Innovacion/imagennueva2023/fehgra/micrositio/inicio/Sin%20t%C3%ADtulo.png"); 
  background-position: 0px -280px;
}


.parent2{
  padding-top:70px;
display: grid;
  margin:auto;
  width:80%;
grid-template-columns: 2fr 1fr;
grid-template-rows: 1fr;
grid-column-gap: 0px;
grid-row-gap: 0px;
}

.div11 { grid-area: 1 / 1 / 2 / 2; }
.div12 { grid-area: 1 / 2 / 2 / 3;}

.vertodo{
  margin:auto;
  margin-top:20px;
  padding:15px 5px 15px 5px;
  border: 1px solid black;
  border-radius:50px;
  width:100px;
  text-align:center;
  font-family: 'Open Sans';
}

.vertodo:hover{
  border: 1px solid #467497;
  background: #467497;
  color:white;
}


.slider{
  width:80%;
  margin:auto;
  height:500px;
  overflow:scroll;
  overflow:hidden;
  float:left;
    padding-bottom:50px;
  
}

.slider-inner{
  width:1550px;
  height:400px;
  margin-top:50px;
  
}


.arrow{
  width:10%;
  float:left;
  margin:auto;
  text-align:center;
  margin-top:200px;
  cursor:pointer;
}

#right{
  transform: rotateY(180deg);
}



#cajaone{
  opacity:0;
}


.card{
  height:350px;
  width:350px;
  margin-left:30px;
  border-radius:20px;
  background: #F2F9FD;
  position:relative;
  transition:0.5s;
}

.card:hover{
box-shadow: 0px 0px 14px 0px rgba(191,191,191,0.75);
-webkit-box-shadow: 0px 0px 14px 0px rgba(191,191,191,0.75);
-moz-box-shadow: 0px 0px 14px 0px rgba(191,191,191,0.75);
  margin-top:-20px;
  transition:0.5s;
}

.card p{
  position:absolute;
  padding:20px;
  font-family:'Open Sans';
  font-size:14px;
  color:#2EA2DC;
  font-weight:bold;
}

.card h1{
  position:absolute;
  top:50px;
  left:20px;
  font-family:'Unna';
  font-size:36px;
  color:black;
  width:100px;
  
}

.buttonslider{
  background:white;
  position:absolute;
  top:250px;
  left:20px;
  padding:10px 20px;
  border-radius:20px;
  border:1px solid black;
  font-family:'Open Sans';
  font-size:12px;
}

.buttonslider:hover{
  background:#467497;
  color:white;
  border: 1px solid #467497;
}

.imgcard{
  height:350px;
  width:110px;
  border-top-right-radius:20px;
  border-bottom-right-radius:20px; background:url("https://i.ibb.co/T1pxLYz/3.png");
  background-repeat:no-repeat;
  background-size:500px;
  background-position:-210px -10px;
  right:0;
  position:absolute;
  
}

#imgcard{
  
}
#imgcard2{
  background:url("https://i.ibb.co/pwMqC8b/2.png");
    background-repeat:no-repeat;
  background-size:500px;
  background-position:-210px -10px;
  
}
#imgcard3{
     background:url("https://i.ibb.co/T1pxLYz/3.png");
    background-repeat:no-repeat;
  background-size:500px;
  background-position:-210px -10px;
}
#imgcardlast{
    background:url("https://i.ibb.co/ZB9c1VL/4.png");
    background-repeat:no-repeat;
  background-size:500px;
  background-position:-210px -10px;
}

.div11 h1{
  font-family:Unna;
}

.div11 span{
  text-decoration:underline;
  text-decoration-color:#008DD4;
}

.semifooter {
    height: 250px;
    width: 100%;
    background: url("https://i.ibb.co/xsrgP2m/Fondo-Celeste.png");
    float: left;
    position: relative;
    margin-top: -187px;
    z-index: 999;
}

.semifooter h1{
  padding:50px 80px 0px 80px;
  color:white;
  font-family:Unna;
}

.semifooter p{
  padding: 0px 80px;
  color:white;
  font-family: 'Open Sans';
  font-size: 16px;
}

@media (max-width:1060px) {
  .parent{
    width:100%;
  }
}

@media (max-width:900px) {
  .cajacursos{
    width:60%;
    left:33%;
  }
}

@media (max-width:726px) {
  .cajacursos{
    width:80%;
    left:10%;
  }
}

@media (max-width:860px) {
  .parent {
display: grid;
grid-template-columns: repeat(2, 1fr);
grid-template-rows: repeat(2, 1fr);
grid-column-gap: 0px;
grid-row-gap: 100px;
    width:60%;
}

.div1 { grid-area: 1 / 1 / 2 / 2; }
.div2 { grid-area: 1 / 2 / 2 / 3; }
.div3 { grid-area: 2 / 1 / 3 / 2; }
.div4 { grid-area: 2 / 2 / 3 / 3; }
}

@media (max-width:740px) {
  .parent{
    width:80%;
  }
}

@media (max-width:560px) {
  .parent{
    width:100%;
  }
}

@media (max-width:520px) {
  #iniciodim{display:none;}
}

.lightbox {
  /* Default to hidden */
  display: none;

  /* Overlay entire screen */
  position: fixed;
  z-index: 999;
  top: -200px;
  left: 0;
  right: 0;
  bottom: 0;
  
  /* A bit of padding around image */
  padding: 1em;

  /* Translucent background */
  background: rgba(0, 0, 0, 0.8);
}

/* Unhide the lightbox when it's the target */
.lightbox:target {
  display: block;
}

.lightbox span {
  /* Full width and height */
  display: block;
  width: 100%;
  height: 100%;

  /* Size and position background image */
  background-position: center;
  background-repeat: no-repeat;
  background-size: contain;
}