@import url('https://fonts.googleapis.com/css2?family=Inter:slnt,wght@-10..0,100..900&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    text-decoration: none;
    list-style: none;
    font-family: var(--Fuenteprimaria);
}

:root {
    --FuentePrimaria: 'Inter', sans serif;
    --ColorPrimario: #ad3333;
    --ColorSecundario: #003366;
    --ColorTerciario: #eaeaea;
    --ColorCuarto: #f8910b;
    --Negro: #100f0f;
}


p {
    color: var(--ColorSecundario);
}

main {
    margin: 0 4rem;
}

body {
    background-color: var(--ColorTerciario);
    font-family: var(--FuentePrimaria);
    margin: 0;
}


header {
    text-align: center;
    background-image: linear-gradient(148deg, #1d1b1b8e 26%, rgba(0, 51, 102, 0.647) 93%), url(https://www.unipamplona.edu.co/unipamplona/portalIG/home_15/recursos/2024/img/29062024/nueva_biblioteca.png);
    background-size: cover;
    background-position: center center;
    height: 96vh;

}

.logo {
    margin-top: 1rem;
    margin-bottom: 1rem;
    width: 200px;
}

.logo:hover {
    color: var(--ColorCuarto);
}

nav {
    display: flex;
    justify-content: space-evenly;
    margin: 0 auto;
    align-content: center;
    text-align: left;
    font-weight: bold;
    width: 85%;
    border-radius: 10px;
    border: 1px solid var(--ColorTerciario);
    padding: 0.5rem;
    background-color: transparent;
    backdrop-filter: blur(40px);
    margin-bottom: 2rem;
    margin-top: 1rem;

}

.items_menu li {
    padding: 3px;
}

.items_menu li a {
    color: var(--ColorTerciario);
    font-size: 1.8rem;
    padding-left: 1.5rem;
}

.items_menu li a:hover {
    color: var(--ColorCuarto);
}

.header_texto {
    margin-top: 20rem;
}

.portada_texto h1 {
    color: var(--ColorTerciario);
    text-transform: uppercase;
    font-size: 6rem;
    margin-top: 40rem;
    line-height: 7rem;
}

.portada_texto h1 span {
    font-size: 3.5rem;
    font-weight: 300;
}

.portada_texto p {

    margin: 0 auto;
    width: 90%;
    color: var(--ColorTerciario);
    margin-top: 0.5rem;
    margin-bottom: 0.5rem;
    font-size: 1.4rem;
}

.header_texto {
    margin: 0;
}

.cta {
    display: flex;
    justify-content: center;
    margin-top: 1rem;
    gap: 2rem;

}

.cta a {
    color: #fff;
    border: 3px solid #fff;
    padding: 0.8rem;
    border-radius: 16px;
    backdrop-filter: blur(20px);
    font-size: 2.4rem;
    transition: 300ms all;
    font-weight: 400;
    background-color: transparent;
}

.cta a:hover {
    background-color: var(--ColorTerciario);
    color: var(--ColorSecundario);
}


.redes {
    display: flex;
    justify-content: center;
    text-align: center;
    margin: 0.5rem;
}

.redes img {
    width: 30px;
    height: 30px;
}

.biliotecas {
    margin-top: 20rem;
}

.bibliotecas_impresa_digital {
    margin: 0 auto;
}

.bibliotecas_impresa_digital h2 {
    text-align: center;
    margin-bottom: 3rem;
    padding-top: 3rem;
    color: var(--ColorPrimario);
    font-size: 5rem;
}

.bibliotecas_impresa_digital p {
    margin: 0 auto;
}

.cta_div {
    text-align: center;
    margin: 5rem;
}


.cta2 {
    display: flex;
    justify-content: center;
    color: var(--ColorPrimario);
    width: 100%;
    border: 1px solid var(--ColorPrimario);
    padding: 0.8rem;
    border-radius: 8px;
    font-size: 2.5rem;
    transition: 300ms all;
    font-weight: 400;

}

.cta2:hover {
    color: var(--ColorTerciario);
    background-color: var(--ColorPrimario);
}

.imagenes {
    width: 100%;
    height: 600px;
    border-radius: 5px;
    text-align: center;
    position: center center;
    background-size: cover center;
    margin-top: 4rem;

}


.Servicios_externos_tres:first-child {

    background-image: linear-gradient(148deg, #ad3333 26%, #003366 93%);
    border-radius: 20px;
    height: 800px;
    margin-top: 10rem;
}

.Servicios_externos_tres:nth-child(2) {

    background-image: linear-gradient(148deg, #ad3333 26%, #003366 93%);
    border-radius: 20px;
    height: 800px;
    margin-top: 5rem;

}

.Servicios_externos_tres:last-child {

    background-image: linear-gradient(148deg, #ad3333 26%, #003366 93%);
    border-radius: 20px;
    height: 800px;
    margin-top: 5rem;
    margin-bottom: 10rem;
}

.Servicios_externos_tres h3 {
    text-align: center;
    margin-bottom: 3rem;
    padding-top: 2rem;
    font-size: 3.5rem;
    color: var(--ColorTerciario);
}

.Servicios_externos_tres p {
    margin: 0 2rem 2rem 2rem;
    color: var(--ColorTerciario);
    font-size: 2.7rem;
    margin-bottom: 0rem;
    padding: 1rem
}

.Servicios_externos_tres a {
    display: flex;
    justify-content: center;
    color: #fff;
    border: 2px solid #fff;
    padding: 0.4rem;
    border-radius: 10px;
    background-color: transparent;
    backdrop-filter: blur(20px);
    font-size: 4rem;
    transition: 300ms all;
    font-weight: 300;
    align-content: center;
    margin-bottom: 1rem;
    width: 90%;
    margin: 0 auto;
    margin-top: 4rem;
}

.Servicios_externos_tres a:hover {
    background-color: var(--ColorTerciario);
    color: var(--ColorSecundario);
}

.caps {
    margin: 3rem;
}

.caps_2 h4 {
    font-size: 6rem;
    text-align: center;
    margin: 3rem;
    color: var(--ColorTerciario);
}

.caps_2 p {
    margin-bottom: 3rem;
    color: var(--ColorTerciario);
}

.caps_2 a {
    display: flex;
    text-align: center;
    margin-bottom: 3rem;
    color: var(--ColorPrimario);
    background-color: var(--ColorTerciario);
    justify-content: center;
    padding: 0.8rem;
    border-radius: 8px;
    font-size: 3rem;
    transition: 300ms all;
    font-weight: 400;
}

.caps_2 a:hover {
    color: var(--ColorTerciario);
    background-color: transparent;
    border: 2px solid var(--ColorTerciario);
}

.dos {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    background-color: var(--ColorPrimario);
    margin: 0;
    padding: 0 3rem;
    width: 100%;
}

.dos_2 h5 {
    font-size: 3rem;
    margin-bottom: 3rem;
    color: var(--ColorPrimario);
    margin-top: 3rem;
    text-align: center;
    margin-top: 10rem
}

.dos_2 {
    margin: 0 4rem;
}

.dos_2 p {
    margin-bottom: 3rem;
}

.dos_2 a {
    margin-bottom: 3rem;
}

.imagenes2 {
    width: 100%;
    height: 600px;
    border-radius: 5px;
    text-align: center;
    position: center center;
    background-size: cover center;
    margin-top: 4rem;

}

footer {
    gap: 2rem;
    background-image: linear-gradient(148deg, #ad3333 26%, #003366 93%);
    color: var(--ColorTerciario);
padding: 2rem;
}

.pie {
    padding: 0 3rem;
}

.pie h6 {
    font-size: 1rem;
    margin: 2rem 0;
}

.pie p {
    color: var(--ColorTerciario);
    margin-bottom: 3rem;
    font-weight: 200;
}

@media (min-width: 1200px) {
    header {
        height: 93vh;
    }

    .navegacion {
        display: flex;
        text-align: center;
        align-items: center;
    }

    .logo {
        margin-left: 1rem;
        width: 90px;
    }

    nav {
        display: inline-flex;
        justify-content: center;
        flex-direction: row;
        width: 80%;
        border: none;
        padding: 0.5rem;
    }

    .items_menu li {
        display: inline-flex;

    }

    .items_menu li a {
        font-size: 0.6rem;
    }

    .portada_texto h1 {

        font-size: 3.4rem;
        margin-top: 6rem;
        line-height: 4rem;
    }

    .portada_texto h1 span {
        font-size: 2rem;
    }

    .br_2 {
        display: none;
    }

    .portada_texto p {

        font-size: 1.43rem;
    }

    .cta {
        gap: 10rem;
    }

    .cta a {
        border: 1px solid #fff;
        padding: 0.8rem;
        border-radius: 10px;
        font-size: 2rem;
    }

    .redes img {
        width: 30px;
        height: 30px;
    }

    .dos_columnas {
        display: grid;
        grid-template-columns: 3fr 4fr;
        justify-content: left;
        margin: 0 6rem;
    }

    .bibliotecas_impresa_digital {

        padding-right: 10rem;
    }

    .bibliotecas_impresa_digital h2 {
        text-align: left;
        margin-bottom: 3rem;
        padding-top: 3rem;
        color: var(--ColorPrimario);
        font-size: 2.5rem;
    }

    .cta_div {
        text-align: left;
        margin: 5rem 0;
    }

    .bibliotecas_impresa_digital p {
        font-size: 1.5rem;
        margin-bottom: 11rem;
    }

    .cta2 {

        font-size: 2rem;
    }

    .Servicios_externos {
        display: grid;
        grid-template-columns: repeat(3, minmax(300px, 1fr));
        margin: 0 6rem;
        justify-items: center;
        gap: 1.5rem;
    }

    .Servicios_externos_tres:first-child {
        width: 380px;
        border-radius: 10px;
        height: 500px;
        margin-top: 5rem;
    }

    .Servicios_externos_tres:nth-child(2) {
        width: 380px;
        border-radius: 10px;
        height: 500px;
        margin-top: 5rem;
    }

    .Servicios_externos_tres:last-child {
        width: 380px;
        border-radius: 10px;
        height: 500px;
        margin-top: 5rem;
    }

    .Servicios_externos_tres h3 {
        font-size: 1.5rem;
    }

    .Servicios_externos_tres p {
        font-size: 1.2rem;
        padding: 3rem 0 0 0;
    }

    .Servicios_externos_tres a {

        border: 1px solid #fff;
        font-size: 2rem;
        width: 70%;
    }

    .dos {
        height: 100vh;
    }

    .caps {
        display: grid;
        grid-template-columns: 1fr 5fr;
        justify-content: left;
        margin: 0 6rem;
    }

    .caps_2 {
        padding-right: 6rem;
    }

    .caps_2 h4 {
        font-size: 6rem;
        text-align: left;
        margin: 0;
        margin-top: 6rem;
        margin-bottom: 1rem;

    }

    .caps_2 p {
        margin-bottom: 6rem;

    }

    .imagenes2 {
        width: 500px;
        height: 450px;
        margin-top: 7rem;
        padding-right: 2rem;
    }


    .dos_2 {
        display: grid;
        grid-template-columns: 1fr 1fr;
        justify-content: space-between;
        margin: 0 6rem;
    }

    .dos_2_dos {
        padding: 3rem;
    }

    footer {
        display: flex;
        gap: 2rem;
        background-image: linear-gradient(148deg, #ad3333 26%, #003366 93%);
        color: var(--ColorTerciario);
    }

    .pie {
        padding: 0 3rem;
    }

    .pie h6 {
        font-size: 1rem;
        margin: 2rem 0;
    }

    .pie p {
        color: var(--ColorTerciario);
        margin-bottom: 3rem;
        font-weight: 200;
    }
}