
@font-face {
  font-family: "OpenSans"; /* Nombre que le asignas a tu fuente */
  src: url(OpenSans.ttf); /* Ruta a tu archivo .otf */
}
@font-face {
  font-family: "Ardena"; /* Nombre que le asignas a tu fuente */
  src: url(ardena.otf); /* Ruta a tu archivo .otf */
}
@font-face {
  font-family: "Faktum"; /* Nombre que le asignas a tu fuente */
  src: url(Faktum.ttf); /* Ruta a tu archivo .otf */
}
  body {
    background-color: #ffffff;
    color: black;
    padding: 0;
    overflow-y: scroll;
    overflow-x: hidden;
    margin: 0;
  }
  .header{
    width: 100%;
    height: 50px;
    display: flex;
    align-items: center;
    position: relative;
    justify-content: center;
  }
  .btn-menu{
    position: absolute;
    left: 0;
    margin-left: 30px;
  }
  .btn-menu label{
    color: #007bff;
    font-size: 25px;
    cursor: pointer;
  }
  .logo{
    display: flex;
    flex-direction: row;
  height: 100%;
  position: absolute;
  margin-right: 950px;
  }
  .logo img{
    height: 45px;
    width: 45px;
    margin-top: 3px;
  }
  .logo h1{
    color: #002d5e;
    font-weight: 400;
    font-size: 21px;
    font-family: "Georgia", sans-serif;
  }
  .micuenta{
    background-color: #007bff;
    padding-left: 10px;
    padding-right: 10px;
    padding-top: 7px;
    padding-bottom: 7px;
    text-decoration: none;
    color: white;
border-radius: 3px;
border-color: #007bff;
position: absolute;
top: 11px;
margin-left: 300px;
font-family: "Ardena", sans-serif;
letter-spacing: 0.7px;
}
.micuenta:hover {
  background-color: #0056b3;
}
  #btn-menu{
    display: none;
  }
  .directorio-menu{
    position: absolute;
    background: rgba(0,0,0,0.5);
    width: 100%;
    height: 100vh;
    top: 0;left: 0;
    transition: all 500ms ease;
    opacity: 0;
    visibility: hidden;
    z-index: 9999;
  }
  #btn-menu:checked ~ .directorio-menu{
    opacity: 1;
    visibility: visible;
  }
  .dire-menu{
    width: 100%;
    max-width: 300px;
    background: white;
    height: 100vh;
    position: relative;
    transition: all 500ms ease;
    margin-left: 12px;
    margin-top: 12px;
    border-radius: 7px;
  }
  #btn-menu:checked ~ .container-menu .dire-menu{
    transform: translateX(0%);
  }
  .dire-menu nav{
    transform: translateY(15%);
  }
  .dire-menu a{
    display: block;
    text-decoration: none;
    padding: 20px;
    color: rgb(0, 0, 27);
    border-left: 5px solid transparent;
    transition: all 400ms ease;
    font-family: "Ardena", sans-serif;
    font-weight: lighter;
    letter-spacing: 0.7px;
  }
  .dire-menu nav a:hover{
    background-color: #ffae00;
    border-left: 5px solid #007bff;
  }
  .dire-menu label{
    position: absolute;
    right: 5px;
    top: 10px;
    color: #007bff;
    cursor: pointer;
    font-size: 18px;
  }
  .apd{
    padding: 5px;
    margin-top: 410px;
  }
  .apd a{
    font-size: 9px;
  margin: 0;
  }
  .navweb {
  align-items: center;
  }
  .navweb a {
    margin: 0 20px;
    text-decoration: none;
    color: #002d5e;
    font-size: 15px;
    background-color: transparent;
  transition: 0.5s;
  font-family: "Ardena", sans-serif;
font-weight: lighter;
  letter-spacing: 0.7px;
  }
  .navweb a:hover {
    color: #ffae00;
    transition: 2s;
    border-bottom: 1px solid #ffae00;
  }

  section{
      box-shadow: 0px 2px 4px rgba(0, 0, 0, 0.2);
      margin: 12px;
      background-color: #f0f0f0;
  }
.clases{
    padding: 12px;
}
.clases h1{
    font-family: "OpenSans", sans-serif;
    text-align: start;
    font-size: 42px;
    color: #002d5e;
  }
.clases h2{
    font-family: "OpenSans", sans-serif;
    text-align: start;
    font-size: 28px;
    color: #002d5e;
    margin-left: 12px;
    font-weight: 700;
}
.grupoclases{
    display: flex;
    padding-bottom: 20px;
}  
.grupo{
    flex-direction: column;
    background-color: white;
    border-radius: 5px;
    width: 350px;
    display: inline-block;
    text-align: center;
    height: 420px;
    margin-left: 12px;
    margin-right: 12px;
    cursor: pointer;
    transition: transform 0.3s ease-in-out;
    position: relative;
    box-shadow: 0px 1px 2px rgba(0, 0, 0, 0.1);
}
.grupo:hover{
    transform: scale(1.1);
    box-shadow: 0px 2px 4px rgba(0, 0, 0, 0.5);
}
.grupo img{
  width: 350px;
  height: 215px;
  bottom: 0px;
  left: 0px;
  }
.grupo h3{
  text-align: start;
  font-size: 20px;
  color: #002d5e;
  font-family: "OpenSans", sans-serif;
  margin-left: 10px;
 }
 .grupo p{
  text-align: left;
  font-size: 10px;
  color: black;
  font-family: "OpenSans", sans-serif;
  display: none;
  }
  .enlacecursos{
    text-decoration: none;
  }
  .orden{
    margin-left: 12px;
  }
  .orden a{
    text-decoration: none;
    color: #002d5e;
    font-family: "OpenSans", sans-serif;
    font-size: 15px;
    margin-right: 3px;
  }
  .orden a:hover{
    border-bottom: 1px solid #002d5e;
  }
  .detallegrupo img{
    height: 22px;
    width: 22px;
    margin-left: 12px;
  }
  .detallegrupo{
    display: flex;
    flex-direction: row;
position: relative;
}
.detallegrupo h4{
    position: relative;
    bottom:17px;
    left: 10px;
    font-size: 15px;
    color: #002d5e;
font-weight: lighter;
}
footer{
  background-color: white;
  text-align: start;
  font-family: "OpenSans", sans-serif;
  position: absolute;
  margin-top: 80px;
  margin-left: 100px;
}
footer p{
  color: #444;
  font-size: 13px;
}
footer a{
  color: #222;
  text-decoration: none;
  font-family: "OpenSans", sans-serif;
  margin-right: 30px;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.5px;
}
footer a:hover{
  color: black;
  text-shadow: 0px 2px 4px rgba(0, 0, 0, 0.2);
}
.footerline{
  height: 1px;
  width: 1100px;
  background-color: #999;
  margin-bottom: 16px;
}
.linksfooter{
  margin-bottom: 16px;
}

@media (max-width: 600px){
    body{
      overflow-x: hidden;
    }
      .navweb{
          display: none;
        }
      section{
          box-shadow: 0px 2px 4px rgba(0, 0, 0, 0.2);
          background-color: #f0f0f0;
          padding: 0;
      }
      .logofranche{
        display: flex;
      align-items: center; /* Centra verticalmente */
      justify-content: center; /* Centra horizontalmente */
      height: 100%;
      position: absolute;
      margin-left: 100px;
      }
      .logo h1{
        color: #007bff;
        font-weight: 400;
        font-size: 19px;
      }
      .logo h1:hover{
        color: #ffae00;
        transition: 4s;
      }
  
      .nav-item a {
          color: #007bff;
          text-decoration: none;
          padding: 5px 10px;
      }
      .grupoclases{
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        padding-bottom: 20px;
      }
        .grupo{
          margin-top: 14px;
      flex-direction: column;
      border-radius: 3px;
      width: 290px;
      text-align: center;
      box-shadow: 0px 2px 4px rgba(0, 0, 0, 0.5);
      height: 350px;
      margin-left: 12px;
      margin-right: 12px;
      cursor: pointer;
      transition: transform 0.3s ease-in-out;
        }
        .grupo:hover{
          transform: scale(1.1);
          box-shadow: 0px 2px 4px rgba(0, 0, 0, 0.5);
        }
        .grupo img{
          width: 290px;
          height: 178px;
          text-align: center;
          border-radius: 3px;
        }
        .detallegrupo img{
            height: 22px;
            width: 22px;
        }
        .grupo h2{
      text-align: left;
      font-size: 22px;
      color: white;
      font-family: "OpenSans", sans-serif;
        }
        .grupo p{
          text-align: left;
          font-size: 12px;
          color: white;
          font-family: "OpenSans", sans-serif;
        }
        footer{
          margin: 0px auto;
          padding-left: 12px;
          padding-top: 32px;
          z-index: -100;
        }
    
  }
