@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@500&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Open+Sans:wght@500&display=swap');

body {
  font-family: 'Open Sans', sans-serif;
  margin: 0;
  padding: 0;
  background-color:whitesmoke;
  }

h1,h2,h3,h4, .nav-list{
  font-family: 'Poppins', sans-serif;
}

.row {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}

.column {
  flex: 1;
  padding: 10px;
  text-align: center;
  min-width: 300px;
}

main{
  margin-top: 100px;
  display: block;
}
  
section #galeria .column {
    flex: 0 0 calc(50% - 20px); 
    margin: 10px; 
    text-align: center;
    min-width: 300px;

  }

  #galeria .column img{ 
    display: block;
    margin-bottom: 10px !important;
    margin: 10px auto;
    width: 500px; 
    height: 350px; 
    object-fit: cover; 
  }

  .logo{
    padding: 0;
    margin: 0;
    display: flex;
    width: 120%;
    height: 120%;
    border-radius: 5px;
  }

  iframe{
    margin: 40px 0px !important;
  }

  
  img {
    width: 75%;
    height: 75%;
    padding: 10px;
  }

  .img-page{
    width: auto;
    height: auto;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  .img-page img{
    display: flex;
    width: 30%;
    min-width: 200px;
    max-width: 255px;
    height: auto;
    align-self: center;
    align-items: center;
    justify-content: center;
    margin: 30px;
    
  }

  .img-course{
    width: auto;
    height: auto;
    display: flex;
    align-items: center;
    justify-content: center;
  }


  .img-course img{
    display: flex;
    width: 100%;
    min-width: 300px;
    max-width: 700px;
    height: auto;
    align-self: center;
    align-items: center;
    justify-content: center;
    margin: 5px;
  }

  header{
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem;
    background-color: white;
    width: 100%;
    top: 0;
    right: 0;
    left: 0; 
    z-index: 1;
    position: fixed;
    background: rgba(255, 255, 255, 0.82);
    border-radius: 16px;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(10.4px);
    -webkit-backdrop-filter: blur(10.4px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
    background-color: #fdfdfdc9;
    font-weight: bold;

  }

  .nav{
    margin-right: 75px;
  }

  .logo{
    max-width: 8rem;
  }

  .open-menu ,
  .close-menu{
      display: none;
  }

  .nav-list{
    list-style-type: none;
    display: flex;
    gap: 1rem;
  }

  .nav-list li a{
    color: #1d1d1d;
    text-decoration: none;
    font: bold;
  }


  .nav-list li a:hover{
    color: #dc1010;
  }

  .column .slider{
    align-content: center;
    margin: 5rem 0;
  }

  .slider {
    width: auto;
    height: 500px;
    min-height: 250px;
    background-image: url("../images/Ini2.webp");
    background-size: 100% 100%;
    box-shadow: rgba(149, 157, 165, 0.2);
    animation: slide 25s linear infinite;
  }

  @keyframes slide {
    0%{
      background-image: url("../images/Ini2.webp");
    }
    25%{
      background-image: url("../images/Ini4.webp");
    }
    50%{
      background-image: url("../images/Ini5.webp");
    }
    75%{
      background-image: url("../images/Ini6.webp");
    }
    100%{
      background-image: url("../images/Ini2.webp");
    }
  }



  main h1{
    font-size: 200%; 
  }


  section{
    padding: 20px 20px 20px 20px;
  }

  section:nth-child(odd) {
    background-color: #fafafa;
  }

  section:nth-child(even) {
    background-color: #efeff1;
  }

  section h1, section h2, section h3, section p{
    margin-left: 20px;
  }





  section .title{ 
    align-self: center;
    text-align: center;
    margin-bottom: 20px;
  }


  .phrase{
    font-style: oblique;
  }

  .course{
    background-color: #7f8be5;
    color: white !important;
    padding: 15px;
    margin: 5px;
    border-radius: 5px;
  }

  div#calidad {
    background-color: #7f8be5;
    margin: 10px 0;
  }

  div#tecnica {
    background-color: #ff8789;
    margin: 10px 0;
  }

  div#emprendimiento {
    background-color: #6c6c6c;
    margin: 10px 0;
  }

  h1{
    font-size: 1.8em;
  }

  h2{
    font-size: 1.7em;
  }


  .format h3,.format p{
    text-align: left;
  }

  .format h2{
    font-size: 1.5em;
  }

  .format h3{
    font-size: 1.4em;
  }

  .format p{
    font-size: 1.1em;
  }

  .contact-button{
    margin: 20px;
  }

  .contact-button a{
    background-color: #ff8789;
    border-radius: 20px;
    border: none;
    padding: 15px 32px;
    text-align: center;
    display: inline-block;
    font-size: 20px;
    font-weight: bold;
    color: white;
    text-decoration: none;

  }

  .contact-button a:hover{
    color: #dc1010;
  }

  section .contactos a, section .contactos p, section .contactos h1{
    color: black;
    text-align: center;
    text-decoration: none;
    padding: 10px;
    justify-content: center;
    display: flex;
  }

  section .contactos a, section .contactos p{
    font-size: 1.2em;
  }

  section .contactos i{
    margin-right: 5px;
  }

  section .contactos a:hover{
    color: #dc1010;
  }

  .column .activity-icon{
    align-content: center;
    margin: 30px auto auto auto;
  }

 .activity-icon{
  font-size: 65px;
  width: 200px;
  height: 200px;
  background-color: #7f8be5;
  color: white;
  border-radius: 50%;
  padding: 10px;
  align-items: center;

 }
 .activity-icon p{
  margin-left: 0;
  font-weight: bold;
  font-size: 20px;
  text-align: center;
 }




  .grow img{
      transition: all .2s ease-in-out;

      
  }

  .grow img:hover {
    transform: scale(1.25);
  }

  footer{
    background-color: #1d1d1d;
    width: auto;
    height: auto;
    font-weight: 100;
    padding: 15px;
    color: darkgrey;
    text-align: center;
    align-items: center;
  }







  footer hr{
    border-color: darkgrey;
    max-width: 600px;
  }



  @media screen and (max-width: 834px) {
  img {
    width: 65%;
    height: 65%;
    padding: 5px;
  }

   #galeria{
    padding: 0px;
  }


  
  #galeria .row{
    padding: 0;
    margin: 0;
  }

  #galeria .column{
    padding: 0;
    margin: 0;
  }
  
  #galeria .column img{ 

    margin-bottom: 10px;
    width: 70% !important; 
    height: auto !important;
  }

  .grow img{
    transition: all .2s ease-in-out;

    
}



.grow img:active {
  transform: scale(2);
}

iframe{
  margin: 40px 0px !important;
  width: 90%;
  border-color: #333;
  border-width: 1px;
}



.course p, .course h2,.course h3{
  color: white;
}

.activity-icon{
  font-size: 40px !important;
  width: 150px !important;
  height: 150px !important;
 }
  
 
.activity-icon p {
  margin-left: 0;
  color: white;
  font-weight: normal !important;
  font-size: 15px !important;
  text-align: center;
}


   .open-menu , .close-menu 
  {
        display: inline-block !important;
        border: 0;
        font-size: larger;
        font-size: 1.25rem;
        background-color: transparent;
        cursor: pointer;
  }

  .open-menu{
    margin-right: 50px;
  }

  .close-menu i{
    color: white;
  }

  header{ 
    border-radius: 25px;
    border-bottom: 1px;  
    border-color: aliceblue;
  }



  .nav{
    opacity: 0;
    visibility: hidden;
  }


   .nav{
    position: fixed;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: end;
    gap: 1rem;
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    background-color: #1d1d1da2;
    padding: 2rem;
    box-shadow: 0 0 0 100vmax #1d1d1da2;
  }

  .nav.show{
    opacity: 1;
    visibility: visible;
    margin-right: 30px;
  }

  .nav-list{
    flex-direction: column;
    align-items: end;
  }

  .nav-list li a{
    color: white !important;
  }


  .column .slider{
    margin: 0;
  }


   section h1, section h2, section h3, section p{
    margin-left: 0px;
  }

  .course{
    padding: 0px;
  }

  .img-course img {
    display: flex;
    width: 60%;
    border-radius: 20px;
}


   section .contactos a, p, h1, h2, h3{
    color: #333;
    text-align: center;
    text-decoration: none;
    padding: 10px;
    justify-content: center;
    display: flex;
  }

   

}

@media screen and (max-width: 700px) {
  .slider {
    width: 100%;
    height: auto;
  
  }
}

@media screen and (max-width: 450px) {
  p{
    font-size:1.1em !important;
  }    

}

