/* Estilos básicos */
    body {
      font-family: Arial, sans-serif;
      margin: 0;
      padding: 0;
    }
    
    /* Encabezado */
    header {
      background-color: #003f63;
      background-repeat: no-repeat; /* Do not repeat the image */
      background-image: url("images/BannerCursoAWS0626.png");
      background-position: center; /* Center the image */
      background-size: 100% auto;
      
      color: #fff;
      padding: 12%;
      text-align: center;
    }


    /* Contenido principal */
    .container {
      max-width: 1200px;
      margin: 0 auto;
      padding: 20px;
    }
    
    h1 {
      margin: 0;
      font-size: 40px;
      line-height: 40px;
      text-align: center;
      color: #585858;
    }

    .title-cap-info{
      margin: 0;
      font-size: 12pt;
      font-weight: bold;
      text-align: center;
      color: #e4b44c;
    }

    .icon_capsule{
      font-size: 25pt;
    }

    .capsule-information{
      text-align: center;
      width: 150px;
      padding-top: 10px;
      padding-left: 10px;
      padding-right: 10px;
      border-radius: 30px;
      border: 4px solid;
      border-color: #aaaaaa;
      box-shadow:
       inset 0 -3em 3em rgba(0,0,0,0.1),
             0 0  0 0px rgb(255,255,255),
             0.3em 0.3em 1em rgba(0,0,0,0.3);
    }

    .space-width{
      width: 20px;
    }
    .section_info_gral{
      display: flex;
      justify-content: center;
      padding-top: 30px;
      padding-bottom: 20px;
    }

    h2 {
      font-size: 24px;
      margin-bottom: 10px;
    }
    
    .pjustify{
      text-align: justify;
    }
    
    p {
      margin-bottom: 20px;
    }

    table, th, td {
        border: 1px solid black;  
        margin-left: auto;  
        margin-right: auto;  
        border-collapse: collapse;    
        width: 50%;  
        text-align: center; 
    }

    
    
    .calendario{
        width: 380px;
    }

    .calendario th{
        width: 150px; 
        text-align: left;
        padding-left: 10px;
    }
    .calendario td{
        width: 250px;  
        text-align: left;
        padding-left: 10px;
    }

    /* Botón de inscripción */
    .box_inscripcion{
      text-align: right; 
      width:90%;
    }

    .btn {
      display: inline-block;
      padding: 10px 20px;
      background-color: #003f63;
      color: #fff;
      text-decoration: none;
      border-radius: 5px;
      transition: background-color 0.3s ease;
    }

    .btn:hover {
      background-color: #002e46;
    }
    
    /* Secciones adicionales */
    .section {
      margin-bottom: 40px;
      text-align: center;
    }
    
    .section h3 {
      font-size: 20px;
      margin-bottom: 0px;
    }
    
    .section ul {
      list-style: none;
      padding: 0;
      margin: 0;
    }
    
    .section li {
      margin-bottom: 10px;
    }

    .section .equipo-docente{
      display: flex;
      justify-content: center;
    }
    .section .fotos-profes{
      height: 250px;
      margin: auto;
      padding-left: 0px;
      padding-right: 0px;
      border-radius: 100px;
      border: 4px solid;
      border-color: #aaaaaa;
    }
    
    .section .profe{
      width: 250px;
      padding-left: 10px;
      padding-right: 10px;
      border-radius: 50px;
      border: 4px solid;
      border-color: #aaaaaa;
      box-shadow:
       inset 0 -3em 3em rgba(0,0,0,0.1),
             0 0  0 0px rgb(255,255,255),
             0.3em 0.3em 1em rgba(0,0,0,0.3);
    }


    .box-detalle-temario{
      text-align: center;
      width: 100%;
    }

    .box-detalle-temario a {
      color: #333;
      text-decoration: none;
    }

    /* modulos ocultos*/
    .view-modulos , .view-x2 {
      display: flex;
      justify-content: center;
      align-items: flex-start;
    }

    .view-modulos .view-x2 {
      padding-bottom: 10px;
    }
	


    .view-modulos .section-modulo {
      padding-left: 5px;
      padding-right: 5px;
    }

    .capsule-module{
      border-radius: 15px;
      border: 4px solid;
      border-color: #aaaaaa;
      box-shadow:
       inset 0 -3em 3em rgba(0,0,0,0.1),
             0 0  0 0px rgb(255,255,255),
             0.3em 0.3em 1em rgba(0,0,0,0.3);
    }
    
    .temas .tmodule{
        width: 300px;
        border-collapse: collapse; 
    }

    .temas .tmodule td{
        width: 300px;
        border-top: 0pt; 
        border-bottom: 0pt;
        border-left: 0pt;
        border-width: 0pt;
        border-radius: 5px;
        padding-left: 5px;
        padding-top: 5px;
        padding-bottom: 5px;
    }

    .temas .tmodule tr:nth-child(odd) {
        color: #000000;
        background: #ffffff;
    }
    .temas .tmodule tr:nth-child(even) {
        background: #e7e6e3;
    }

    .tmodule, .tmodule th, .tmodule td{
        text-align: left;
        width: 300px;
        border: 0px; 
    }

    .bt_module {
        height: 35px;
        font-weight: bold;
        font-size: 11pt;
        padding: 5px 10px;
        border-radius: 10px;
        transition: background-color 0.3s ease;
      }
    
    .bt_module:hover {
        background-color: #7e7e7e;
        color: #ffffff;
      }
    
    /* Menú de navegación */
    .menu_bar,  .fixed-header{
        display:none;
      }

    nav {
      background-color: #f2f2f2;
      padding: 10px;
      margin-bottom: 20px;
    }
    
    nav ul {
      list-style: none;
      padding: 0;
      margin: 0;
      text-align:center;
    }
    
    nav li {
      margin-right: 10px;
      display: inline-block;
    }
    
    nav li a {
      color: #333;
      text-decoration: none;
      padding: 5px 10px;
      border-radius: 5px;
      transition: background-color 0.3s ease;
    }
    
    nav li a:hover {
      background-color: #003f63;
      color: #fff;
    }
    
    /* Estilos específicos para pantallas móviles */


    @media screen and (max-width: 1248px){
      .view-modulos {
        flex-direction: column;
        align-items: center;
      }

      .view-modulos .view-x2 {
        padding-bottom: 10px;
      }

    }



    @media screen and (max-width:824px ) {
      .fixed-header{
        display:block;
      }

      .box_inscripcion{
        width: 100%;
      }

      .box_inscripcion .btn{
        display: none;
      }
    
      nav {
        width:50%;
        height:40%;
        left:-100%;
        margin:0;
        position: absolute;
      }
  
      nav ul li {
        display:flex;
      }
  
      .menu_bar {
        display:block;
        width:100%;
        padding:15px 0px;
        background:#f2f2f2;
      }
  
      .bt-menu, .bt_email {
          padding:15px;
          background:#f2f2f2;
          color:#000;
          text-decoration:none;
          font-weight: bold;
          font-size:20px;
          -webkit-box-sizing:border-box;
          -moz-box-sizing:border-box;
          box-sizing:border-box;
        }

      .menu_bar .icon-envelop {
          float:right;
          padding:0px 20px;
        }
    
      table, th, td {   
          width: 380px;
      }

      .view-modulos, .view-x2 {
          flex-direction: column;
          align-items: center;
      }

      .view-modulos .section-modulo {
          padding-bottom: 10px;
      }

      .view-modulos .view-x2 {
        padding-bottom: 0px;
      }

      .section .equipo-docente{
        flex-direction: column;
        align-items: center;
      }

      .section .profe{
        padding-bottom: 30px;
      }

      .section_info_gral{
        flex-direction: column;
        align-items: center;
      }

    }
    
    /* Pie de página */
    footer {
      background-color: #003f63;
      color: #fff;
      padding: 20px;
      text-align: center;
      font-size: 14px;
    }