/* Estilos De Pagina Principal (Desktop)  */
/* ------------------------------------------- */
@media (min-width: 900px) {
  /* Configuracion Base Pagina */
  html {
    scroll-padding-top: 310px;
    scroll-behavior: smooth;
  }

  /* Estructura Grid General de la Pagina */
  .grid-container {
    max-width: 100%;
    margin: 0 auto;
  }

  /* Configuracion  General del area de la Cabecera */
  .header {
    width: 100%;
    left: 0;
    height: 310px;
    display: flex;
    justify-content: flex-end;
    background-image: url(../imagenes/CabeceraDesktop.png);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
  }

  /* Menu de navegacion */
  header nav {
    background: transparent;
    position: static;
    overflow: hidden;
    width: fit-content;
    height: fit-content;
    margin-right: 20px;
    margin-top: 25px;
  }

  header nav ul {
    display: flex;
    width: fit-content;
    border: none;
    padding: 2px;
  }

  header nav ul li {
    font-size: 1.6rem;
    margin-right: 1px;
    padding: 2px;
    font-weight: 800;
    transition:
      background 0.3s ease,
      transform 0.2s ease;
  }

  header nav ul li a {
    color: rgb(36, 36, 36);
    width: fit-content;
    height: fit-content;
    padding: 4px;
    border-radius: 5px;
    font-weight: bold;
    text-decoration: none;
    transition: transform 0.3s ease;
  }

  header nav ul li a:hover {
    color: #23a2f0;
    transform: scale(1.1);
  }

  header nav ul li a span {
    display: none;
  }

  .menu_bar {
    display: none;
  }

  .container-contenido {
    display: flex;
    flex-direction: column;
    gap: 24px;
    padding: 20px 40px;
  }

  /* Elementos de la Seccion del Contenido (Main) */
  /* Contenedor Main */
  .container-contenido > * {
    text-align: left;
    padding: 2.5rem 3rem;
    font-size: 1.6rem;
    font-weight: 500;
    line-height: 2.6rem;
    letter-spacing: 0.03em;
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
    /* Bordes para enmarcar secciones */
    border: none;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
  }

  .container-contenido img {
    display: block;
    margin-right: 50px;
    width: 28%;
    float: left;
  }

  .container-contenido h2 {
    text-align: center;
    font-weight: bold;
    margin-bottom: 1rem;
    padding: 20px;
  }

  /* Sección Inicio  */
  .inicio {
    grid-area: inicio;
    background: rgb(232, 232, 229);
    color: #424141;
    padding-top: 33rem;
    border-radius: 0 0 16px 16px !important;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.2);
  }

  /* Sección Misión  */
  .mision {
    grid-area: mision;
    background: rgb(232, 232, 229);
    color: #424141;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.2);
  }

  .mision img {
    width: 100%;
    margin-right: 50px;
    width: 55%;
    float: left;
  }

  /* Sección Visión  */
  .vision {
    grid-area: vision;
    background: rgb(232, 232, 229);
    color: #424141;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.2);
  }

  .vision img {
    margin-right: 50px;
    width: 40%;
    float: left;
  }

  /* Sección  Términos y Condiciones  */
  .terminos {
    grid-area: terminos;
    background: rgb(232, 232, 229);
    color: #424141;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.2);
  }

  .terminos .linksTerminos {
    color: #0a249b;
    font-weight: bold;
    text-decoration: underline;
  }

  .terminos h5 {
    font-weight: bold;
    text-align: center;
    margin: 1.5rem auto;
    font-size: 1.6rem;
    color: #0a249b;
  }

  .terminos img {
    margin-right: 50px;
    width: 35%;
    float: left;
  }

  .responsabilidadesLista {
    margin-left: 2.5rem;
    margin-bottom: 1.5rem;
    text-align: left;
    font-size: 1.8rem;
    font-weight: 500;
    line-height: 2.5rem;
  }

  /* Listas con viñetas de Terminos */
  .textoContenido ul {
    width: fit-content;
    margin-left: 20px;
  }

  /* Sección  Pie de Página  */
  .footer {
    grid-area: footer;
    width: 100%;
    box-shadow: 0 -2px 8px rgba(0, 0, 0, 0.1);
    background-color: #1a3a4a;
    background-image: linear-gradient(
      135deg,
      #1a3a4a 0%,
      #2a5060 50%,
      #1a3a4a 100%
    );
  }

  .contenido-pie {
    display: flex;
    flex-direction: column;
    margin: auto;
    padding: 1rem;
    align-items: center;
  }

  .contenido-pie .facebook {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    overflow: hidden;
    border: 2px solid silver;
    margin-bottom: 15px;
    display: grid;
    place-items: center;
    background-color: aliceblue;
  }

  .contenido-pie .facebook img {
    width: 125%;
    object-fit: cover;
  }

  .contenido-pie p {
    color: #e8eff5;
    font-size: 1.8em;
    font-weight: 500;
    text-align: center;
    text-decoration: none;
  }

  .contenido-pie .whatsapp {
    width: fit-content;
    height: auto;
    display: flex;
    align-items: center;
  }

  .contenido-pie .whatsapp img {
    display: block;
    width: 5em;
  }

  .contenido-pie .whatsapp a {
    color: #e8eff5;
    font-size: 1.8em;
    text-decoration: none;
    width: fit-content;
  }

  /* --------------------------------------------------------------------------------*/
  /* SECCION DEL CONTENIDO PAGINA CONTADOR ------------------------------------------*/
  /* --------------------------------------------------------------------------------*/

  .container-contador {
    height: 100%;
    display: grid;
    gap: 1px;
    grid: "cuenta" 140px "descarga" 100px;
  }

  .container-contador > * {
    padding: 5px;
    text-align: center;
  }
  /* -----------------------------------*/
  /* ------------- CUENTA ------------- */
  /* -----------------------------------*/

  .cuenta {
    grid-area: cuenta;
    background-image: url("/imagenes/contador.png");
    background-size: 55%;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
    padding: 10px;
  }

  .cuenta p {
    font-size: 0.8em;
    text-align: center;
    font-weight: 500;
    color: black;
    margin-bottom: 50px;
  }

  .cuenta h2 {
    color: MintCream;
    font-weight: 600;
    position: absolute;
    top: 13px;
    left: 175px;
  }
  /* --------------------------------------------- */
  /* ------ CAJA CONTENEDORA DESCARGAS ------------*/
  /* --------------------------------------------- */

  .descarga {
    grid-area: descarga;
    width: 100%;
    max-width: 500px;
    margin: 10px auto 10px auto;
    background: transparent;
    height: 200px;
  }

  .descarga img {
    width: 60%;
    display: block;
    margin: auto auto;
  }
}
