/* Reset de Estilos */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
  }
  /*  Paleta de colores */
    @property --verdeOscuro {
    syntax: "<color>";
    inherits: true;
    initial-value: rgb(15, 74, 39);
  }
  @property --azulClaro {
    syntax: "<color>";
    inherits: true;
    initial-value: rgb(9, 138, 178);;
  }
  @property --naranja {
    syntax: "<color>";
    inherits: true;
    initial-value: rgb(255, 144, 7);
  }
  @property --amarillo {
    syntax: "<color>";
    inherits: true;
    initial-value: rgb(255, 243, 44);
  }
  @property --amarilloClaro {
    syntax: "<color>";
    inherits: true;
    initial-value: rgb(255, 251, 143);
  }
  @property --crudo {
    syntax: "<color>";
    inherits: true;
    initial-value: rgb(242, 243, 243);
  }
  /* Body */
  body {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    background-color: #d4d3d3;
    color: #333;
  }
  
  /* Encabezado */
  header {
    background: #111111;
    background: linear-gradient(to left, #351a4e, #040d22);
    color: #fff;
    padding: 5px 0;
  }
  
  header nav .logo {
    font-size: 24px;
    font-weight: bold;
    padding-left: 20px;
  }

  nav {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    
    /* W3C, IE 10+/ Edge, Firefox 16+, Chrome 26+, Opera 12+, Safari 7+ */
    color: #FFF;
    height: 78px;
    padding: 1em;
    border-bottom: 2px solid rgb(0, 255, 229);
  }

  /* Encabezados  */
  h1{
    text-align: center;
    margin: 40px auto;
  }
  h2{
    margin-top: 40px;
    padding: 10px;    
  }
  h3{
    margin-top: 40px;
  }
  h1{font-size: xx-large ;}
  h2{font-size: x-large ;}
  h3{font-size: x-large}

  .full-column h3{
    text-align: center;
    color: var(--verdeOscuro);
    padding: 10px;
    margin: 40px 20px 0 20px;
  }
  .full-column h2{
    margin-top: 80px;
    margin-bottom: 36px!important;
    text-align: center;
    background-color: #078cca;
    background: rgb(8,64,89);
    background: radial-gradient(circle, rgba(8,64,89,1) 0%, rgba(6,103,148,1) 67%, rgba(7,140,202,1) 100%);
    color: #ffffff;
  }
  .texto-dos-columnas {
    column-count: 2; 
    column-gap: 20px; 
    padding: 20px; 
  }
  /*  Menú   */
.menu {
  display: flex;
  flex-direction: row;
  list-style-type: none;
  margin: 0;
  padding: 0;
}

.menu > li {
  margin: 0 .5rem;
  overflow: hidden;
}
.menu li a{
  color: white;
  text-decoration: none;
}
.menu-button-container {
  display: none;
  height: 100%;
  width: 30px;
  cursor: pointer;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

#menu-toggle {
  display: none;
}

.menu-button,
.menu-button::before,
.menu-button::after {
  display: block;
  background-color: #fff;
  position: absolute;
  height: 4px;
  width: 30px;
  transition: transform 400ms cubic-bezier(0.23, 1, 0.32, 1);
  border-radius: 2px;
}

.menu-button::before {
  content: '';
  margin-top: -8px;
}

.menu-button::after {
  content: '';
  margin-top: 8px;
}

#menu-toggle:checked + .menu-button-container .menu-button::before {
  margin-top: 0px;
  transform: rotate(405deg);
}

#menu-toggle:checked + .menu-button-container .menu-button {
  background: rgba(255, 255, 255, 0);
}

#menu-toggle:checked + .menu-button-container .menu-button::after {
  margin-top: 0px;
  transform: rotate(-405deg);
}

@media (max-width: 700px) {
  .menu-button-container {
    display: flex;
  }
  .menu {
    position: absolute;
    top: 0;
    margin-top: 80px;
    left: 0;
    flex-direction: column;
    width: 100%;
    justify-content: center;
    align-items: center;
  }
  #menu-toggle ~ .menu li {
    height: 0;
    margin: 0;
    padding: 0;
    border: 0;
    transition: height 400ms cubic-bezier(0.23, 1, 0.32, 1);
  }
  #menu-toggle:checked ~ .menu li {
    border-bottom: 1px solid #64b2c0;
    height: 2.5em;
    padding: 0.5em;
    transition: height 400ms cubic-bezier(0.23, 1, 0.32, 1);
  }
  #menu-toggle:checked ~ .menu > li:last-child {
    border-bottom: none;
  } 
  .menu > li {
    display: flex;
    justify-content: center;
    margin: 0;
    padding: 0.5em 0;
    width: 100%;
    color: white;
    background-color: #222;
    background: linear-gradient(to left, #303236, #111);
  }
  
}
  /*   Distribucion           */
  .grid-container {
    display: grid;
    gap: 20px;
  }
  .full-column {
    grid-column: span 12;
    max-width: 1200px;
    margin: 0 auto; 
    background-color: var(--crudo);
  }
  .two-columns {
    display: grid;
    max-width: 1200px;
    margin: 0 auto;  
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    h2{
      margin-top: 40px;
    }
  }
  .imgytxt {
    display: grid;
    max-width: 1200px;
    margin: 0 auto;  
    grid-template-columns: 320px 1fr;
    gap: 40px;
  }
  .three-columns {
    max-width: 1200px;
    color: #111;
    font-weight: 500;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 60px;
    padding: 40px 20px 0 20px;
    margin: 0 20px 30px 20px;
    border-top: none;
  }
  .image-column img {
    max-width: 100%; 
    height: auto;    
    display: block;  
  }
  

  /* Hero Section */
  .hero {
    /* background-image: url("/img/espacio-de-impresion-2_lq.webp"); */
    background-image: url("/img/espacio-de-impresion-2.webp");
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    color: #fff;
    padding: 60px 20px;
    text-align: center;
  }
  .hero h1 {
    font-size: 36px;
    font-weight: bold;
  }
  
  .hero p {
    font-size: 18px;
    margin: 20px 0;
    font-weight: bold;
  }
  
  .hero .btn-primary {
    background-color: #00ffc8;
    color: #111111;    
    padding: 10px 20px;
    text-decoration: none;
    border-radius: 5px;    
  }
  
  .hero .btn-primary:hover {
    background-color: #00eeff;
  }
  
  /* Recursos maquetacion  */
  blockquote{
    font-size: 1.5em;
    font-style: italic;
    margin: 30px;
    color: var(--azulClaro);
  }
  .conc{
    margin-top: 60px;
    margin-bottom: 120px;
    max-width: 800px;
    justify-items: center;
  }
  figcaption{
    color: #646464;
    font-size: .9em;
    font-style: italic;
    text-align: center;
    margin-top: 10px;
  }
  h2.verde{
    background: radial-gradient(circle, 
        #1b4b1c 0%,
        #368538 67%,
        #4CAF50 100%);
  }
  h2.azul{
    background: radial-gradient(circle, 
        #084059 0%,
        #066794 67%, 
        #078cca 100%);
  }
  h2.naranja{
    background: radial-gradient(circle, 
        #923c21 0%,
        #c04f2c 67%, 
        #f06034 100%);
  }
  h2.amarillo{
    background: radial-gradient(circle, 
        #d47f00 0%,
        #f3a32b 67%, 
        #e0a538 100%);
  }
  figure{
    margin-bottom: 30px;
  }
  /* Secciones */
  .content {
    padding: 16px;
  }
  
  .content h1, .content h2 {
    margin-bottom: 20px;
  }
  
  .content p, .content ul, .content ol {
    margin-bottom: 15px;
  }
  .content ul, .content ol {
    margin-left: 25px;
  }
  
  .btn-primary {
    background-color: #216b9c;
    color: white;
    font-weight: 700;
    padding: 10px 20px;
    text-decoration: none;
    border-radius: 5px;
  }
  
  .btn-primary:hover {
    background-color: #0099ff;
  }
  
  /* Footer */
  footer {
    background-color: #333;
    color: #fff;
    padding: 20px;
    text-align: center;
  }
  
  footer a {
    color: #fff;
    text-decoration: none;
  }
  
  footer a:hover {
    text-decoration: underline;
  }
  
  section.featured-sections{
    padding-top: 20px;
    padding-bottom: 20px;
    display: flex;    
    flex-flow: column;    
    div{
      width: 90vw;
      max-width: 800px;
      align-self: center;
      padding-top: 15px;
      padding-bottom: 10px;
    }
  }
  section.testimonials{
    padding-top: 20px;
    padding-bottom: 20px;
    background-color: #e9e9e9;
    color: #535353;
    width: 100vw;
    display: flex;
    flex-flow: row; 
    justify-content: space-between;
    overflow: scroll;
    div{
      min-width: 240px;
      padding: 8px;
      span{
        color: #111111;
        font-weight: bold;
      }
    }
  }
  section.blog-preview{
    padding-top: 15px;
    display: flex;
    flex-flow: column;  
    .btn-primary{
      max-width: 220px;      
      align-self: center;
      margin-bottom: 15px;
    }
  }
  div.blog-cards{
    padding-top: 10px;
    padding-bottom: 20px;
    display: flex;    
    flex-flow: column;    
    article{
      width: 90vw;
      max-width: 800px;
      align-self: center;
      padding-top: 15px;
      padding-bottom: 10px;
    }
  }
  /* Estilo para el encabezado de la tabla */
h2.tituloTabla {
    text-align: center;
    margin-bottom: 10px;
    font-size: 1.2em;
    background-color: #4CAF50;
    color: #ffffff;
}




/* Estilos base para la tabla */
table {
    width: 100%;
    border-collapse: collapse;
    margin: 50px auto;
    background-color: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

/* Encabezados de la tabla */
thead th {
    background-color: #7ee9e9;
    color: #111;
    padding: 10px;
    text-align: left;
    font-weight: bold;
    font-size: 1em;
}

/* Filas del cuerpo de la tabla */
tbody td {
    padding: 10px;
    border-bottom: 1px solid #ddd;
}

/* Alternar colores en las filas */
tbody tr:nth-child(even) {
    background-color: #f9f9f9;
}

/* Última fila sin borde */
tbody tr:last-child td {
    border-bottom: none;
}

/* Efecto hover en las filas */
tbody tr:hover {
    background-color: #ffffff;
}

/* Estilo responsivo */

  /*  Media Query */
@media (max-width: 768px) {
  .two-columns,
  .three-columns {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;      
  }
  .image-column{
    display: grid;
    justify-content: center;     
  }
  .texto-dos-columnas {
    column-count: 1; 
    column-gap: 20px; 
    padding: 20px; 
  }
  
  table {
      border: 0;
  }

  /* Adaptar a diseño móvil */
  thead {
      display: none; /* Oculta los encabezados */
  }

  tbody tr {
      display: block;
      /*margin-bottom: 10px;*/
      background-color: #f2feff;
  }

  tbody td {
      display: flex;
      justify-content: space-between;
      padding: 10px;
      border: 1px solid #ddd;
      border-bottom: 0;
  }

  tbody tr:last-child td {
      border-bottom: 1px solid #ddd;
  }

  /* Etiqueta antes de los datos */
  tbody td::before {
      content: attr(data-label);
      font-weight: bold;
      color: #333;
  }
  .hero{
    background-image: url("/img/espacio-de-impresion-768px.webp");
  }
}