.main-bancos {
    align-items: center;
    background-color: var(--blanco);
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding-top: 1rem;
  }
  .principal {
    background-color: var(--blanco);
    /*alinear los items de manera vertical y centrados*/
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}
a {
    font-size: 1rem;
    font-weight: lighter;
    color: var(--tercero);
}
.titulo-main {
    font-size: 2.4rem;
    font-weight: 600;
    color: var(--negro);
    text-align: center;
    margin: .5rem;
}

.subtitulo-main {
    font-size: 2rem;
    font-weight: 400;
    color: var(--primario);
    text-align: center;
    margin: .0rem;
    margin-bottom: .5rem;
}
.fondo-mapa {
    align-items: center;
    background: linear-gradient(90deg,rgba(0,0,0,.9),transparent),url(/media/mapa-curvas.34d789717687e28b963f.png);
    border-top: 2px solid var(--negro);
    display: flex;
    flex-direction: row;
    height: auto;
    justify-content: center;
    padding: 0;
    width: 100%;
  }
.main-mapa-container2 {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    background: linear-gradient(to right, rgba(0, 0, 0, 0.9), transparent), url('./mapa-curvas.png');
    width: 100%;
    height: auto;
    padding: 0rem;
    border-top: 2px solid var(--negro);
}

.main-mapa-info {
    width: 50%;
    margin-right: 2rem;
    margin-left: 6rem;
}

.main-mapa-espace {
    border-radius: 0rem;
    position: relative;
    height: auto;
    overflow: hidden;
    cursor: pointer;
    transition: 0.3s;
    overflow: hidden;
    width: 50%;
}

.main-mapa-titulo {
    font-size: 2.4rem;
    color: var(--blanco);
    font-weight: bold;
    text-shadow: 2px 2px 50px rgba(0, 0, 0, 0.7);
    -webkit-text-stroke: 1px var(--blanco);
}

.main-mapa-subtitulo {
    margin-top: 1rem;
    font-size: 1.4rem;
    font-weight: 400;
    color: var(--blanco);
    text-shadow: 2px 2px 50px rgba(0, 0, 0, 0.8);
}
.floating-button {
    position: fixed;
    top: 50%;
    left: 0;
    transform: translateY(-40%);
    background-color: var(--tercero);
    padding: 1rem .5rem;
    border-radius: 0 1rem 1rem 0;
    /* Aplica el radio de borde solo en el lado derecho */
    border: .1rem solid var(--primario);
    z-index: 9999;
    cursor: pointer;
    transform-origin: center;
}

.floating-button a {
    text-decoration: none;
    color: var(--primario);
    font-weight: bold;
    font-size: 1rem;
    writing-mode: vertical-rl;
}
/*----------------------------------------------------------------*/
.subtitulo-main {
    color: var(--primario) ;
    font-size: 2.5rem;
    font-weight: 700;
    margin: 1rem;
  }
.main-docLinks {
    width: 100%;
    height: auto;
    background-color: var(--primario);
    /*alinear los items de manera vertical y centrados*/
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding-bottom: 2rem;
}

.docLinks-title {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 1.5rem;
    color: var(--white);
}
.imgtexto-imagen {
    display: flex;
    justify-content: center;
    width: 50%;
  }
  .imgtexto-imagen img {
    border: 2px solid var(--primario);
    border-radius: .5rem;
    height: auto;
    max-width: 100%;
    transition: .3s ease-in-out;
  }
  .imgtexto-contenido {
    display: flex;
    flex: 1 1;
    flex-direction: column;
    justify-content: flex-start;
    padding: 1rem 2rem;
  }
.imgtexto-main {
    align-items: center;
    box-sizing: border-box;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    margin: 0 auto;
    padding: 20px;
    width: 70%;
  }
.card-doc {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background-color: white;
    border-radius: 1rem;
    box-shadow: 2px 2px 4px black;
    padding-bottom: .5rem;
    width: 90%;
}

.titulos h3 {
    font-size: 1.2rem;
    font-weight: bold;
}

.titulo-docLinks {
    font-size: 2rem;
    font-weight: 600;
    margin: .5rem;
    text-align: center;
    color: var(--white);
}

.titulos {
    display: flex;
    flex-direction: row;
    align-items: center;
    width: 90%;
    justify-content: space-between;
}

.contenedor-link {
    display: flex;
    flex-direction: row;
    align-items: center;
    width: 90%;
    padding: .5rem;
    border-radius: .5rem;
    margin: .5rem;
    box-shadow: 2px 2px 4px var(--negro);
    justify-content: space-between;
    transition: .3s ease-in-out;
}

.contenedor-link:hover {
    transform: scale(1.01);
}

.contenedor-link:hover .botton-docLinks {
    color: black;
}

.botton-docLinks {
    color: var(--secundario);
    font-weight: 600;
    transition: .3s ease-in-out;
}

.a-docLinks {
    display: flex;
    align-items: center;
    cursor: pointer;
    transition: .3s;
}

.a-docLinks:hover {
    transform: scale(1.2);
}

.a-docLinks img {
    width: 2.5rem;
    height: auto;
    margin-right: 1rem;
}

.contenedor-links-imagenes-docs {
    display: flex;
    flex-direction: row;
    align-items: center;
}

@media (max-width: 850px) {
    .docLinks-title {
        font-size: 1.5rem;
    }

    .card-doc {
        width: 80%;
    }
}

@media (max-width: 480px) {
    .card-doc {
        width: 95%;
    }
}

/*-----------carpetas--------------------------------*/
.folder-container {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    background-color: var(--rojo);
    width: 100%;
    height: auto;
    padding: 2rem 0rem;
  }
  
  .folder-item {
    text-decoration: none;
    display: flex;
    flex-direction: row-reverse;
    align-items: center;
    justify-content: space-between;
    margin: .8rem;
    width: 18%;
    height: 3rem;
    padding: 1rem;
    border-radius: 1rem;
    background-color: var(--blanco);
    transition: .3s ease-in-out;
  }
  
  .folder-item:hover {
    transform: scale(1.01);
  }
  
  .folder-item img {
    width: 3rem;
    height: auto;
  }
  
  .folder-item div {
    text-decoration: none;
    font-weight: bold;
    font-size: 1.2rem;
    color: var(--primario);
  }
  
  /* Estilos adicionales para la responsividad */
  
  @media (max-width: 768px) {
    .folder-item {
      width: 15rem;
      padding: 1.5rem  2rem;
    }
    .folder-item div {
      font-size: 1.2rem;
    }
  }
  
  @media (max-width: 480px) {
    .folder-container {
      flex-direction: column;
    }
    .folder-item {
      width: 80%;
      flex-direction: row-reverse;
      justify-content: space-between;
      margin: .2rem;
      padding: .5rem  .5rem;
    }
    .folder-item img {
      width: 2rem;
      height: auto;
    }
    .folder-item div {
      font-size: 1.2rem;
    }
  }

/*-----------media--------------------------------*/
.main-enlaces {
    width: 100%;
    padding-top: .1rem;
    padding-bottom: .1rem;
    background-color: var(--rojo);
    /*alinear los items de manera vertical y centrados*/
    display: flex;
    justify-content: center;
    align-items: flex-start;
    flex-direction: row;
    flex-wrap: wrap;
}

.slide-main {
    margin: 2rem .5rem;
    font-size: 1.5rem;
    color: var(--blanco);
    font-weight: bold;
}

.enlacesec {
    padding: .1rem 0rem;
    word-wrap: break-word;
    overflow-wrap: break-word;
}



@media only screen and (max-width: 420px) {
    .slide-main {
        width: 22rem;
    }
}

/*-----------media--------------------------------*/


.contenedor-mini, .main-mini {
  align-items: center;
  display: flex;
  justify-content: center;
}
.main-mini {
    font-size: 2rem;
    color: var(--negro);
    width: 100%;
    font-weight: bold;
    background-color: var(--tercero);
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

.contenedor-mini {
    font-weight: normal;
    padding-top: 2rem;
    padding-bottom: 2rem;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    flex-direction: row;
}

.botton-mini {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background-color: var(--blanco);
    border: none;
    text-align: center;
    padding: .5rem;
    border-radius: 1rem;
    width: 12rem;
    height: 10rem;
    cursor: pointer;
    margin: .5rem 1rem;
    border: 2px solid var(--blanco);
    box-shadow: 2px 2px 4px var(--primario);
    transition: 0.3s ease-in-out;
    font-weight: bold;
}

.main-mini-title {
    color: var(--primario);
    font-size: 1.1rem;
}

.botton-mini:hover {
    border: 2px solid var(--primario);
}

.botton-mini:focus {
    outline: none;
}

.imagen-icono-minimenu {
    width: 7rem;
    height: auto;
}

.oscuro {
    background-color: var(--blanco);
    border: 2px solid var(--blanco);
    box-shadow: 2px 2px 4px var(--primario);
    width: 20rem;
}

.oscuro:hover {
    border: 2px solid var(--primario);
}

.oscuro-title {
    font-size: 1rem;
    color: var(--primario);
}

.oscuro-img {
    width: 6rem;
}


@media only screen and (max-width: 820px) {
    .botton-mini {
        padding: .5rem;
        border-radius: 1rem;
        width: 12rem;
        height: 11rem;
        cursor: pointer;
        margin: .5rem .5rem;
    }

    .oscuro {
        width: 15rem;
    }
}

@media only screen and (max-width: 420px) {
    .botton-mini {
        flex-direction: row;
        padding: .5rem;
        border-radius: 1rem;
        width: 80%;
        height: 5rem;
        cursor: pointer;
        margin: .5rem 1rem;
    }

    .imagen-icono-minimenu {
        width: 5rem;
        height: auto;
    }

    .oscuro {
        width: 80%;
        height: 9rem;
        flex-direction: column;
    }

    .oscuro-img {
        margin-top: -1rem;
        width:6rem;
    }

}
/*------------------libros--------------------------------*/

/* styles.css */
.main-books {
    background-color: var(--primario);
    margin: 0rem;
    width: 100%;
    padding-bottom: 1rem;
}

.books {
    flex-direction: row;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    padding: 0rem 3rem;
}

.main-books h2 {
    color: var(--blanco);
    text-align: center;
    font-size: 2rem;
    margin-bottom: 1rem;
}

.book {
    /*flex: 1 0 24rem;*/
    width: 30rem;
    height: 15rem;
    margin: .8rem;
    background-color: var(--blanco);
    border-radius: .5rem;
    padding: 0rem;
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    border: .1rem solid var(--blanco);
    transition: 0.3s;
}

.book:hover {
    box-shadow: 2px 2px 8px var(--negro);
    transform: scale(1.03);
}

.book-cover:hover .book-img {
    filter: blur(1px);
}

.book .book-cover {
    position: relative;
    
    height: auto;
    overflow: hidden;
    cursor: pointer;
    transition: 0.3s;
    overflow: hidden;
    width: 35%;
}

.book-cover-message {
    border-radius: 5rem;
}

.book-cover {
    border-radius: .5rem;
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
}

.book .book-cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: .5rem;
    filter: brightness(0.8);
}

.book-cover img:hover {
    transform: scale(1.01);
}

.book .book-cover-message {
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    position: absolute;
    font-weight: bold;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: rgba(0, 0, 0, 0.5);
    color: var(--blanco);
    padding: 10px;
    font-size: 1rem;
    opacity: 0;
    transition: 0.3s;
}

.book-cover:hover .book-cover-message {
    opacity: 1;
    border-radius: .5rem;
}

.book .book-details {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    width: 65%;
    padding: 1rem 0.5rem;
}

.book .book-title {
    color: var(--primario);
    font-weight: bold;
    font-size: 1.2rem;
    padding-bottom: 1rem;
}

.book .book-description {
    color: var(--secundario);
    font-size: 1rem;
    width: 100%;
    height: auto;
}
:root {
    --primario: #6a0f49;
    --secundario: #6d807f;
    --tercero: #ffc2ce;
    --rojo: #4a001f;
    --verde: #68c13f;
    --blanco: #fefefe;
    --negro: #212121;
  }