body,
h1 {
    padding: 0;
    margin: 0;
}

h2 {
    font-family: "Martel", serif;
}

p,
button,
a {
    font-family: "Open Sans", sans-serif;
}

::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background-color: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    width: 10px;
    background-color: #888;
    border-radius: 25px;
}

::-webkit-scrollbar-thumb:hover {
    background-color: #1f3f38;
}

.hero {
    height: 400px;
    font-family: "Martel", serif;
    font-size: 22px;
    color: #fff;
    background-image: url("imgs/fondo-arrayanes.jpg");
    background-attachment: fixed;
    background-size: cover;
    display: flex;
    justify-content: center;
    align-items: center;
}

.bajada {
    height: 300px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.bajada h2 {
    font-size: 34px;
    margin: 0;
}

.bajada p {
    width: 38%;
    margin: 15px auto;
}

.codigos {
    width: 45%;
    display: flex;
    margin-top: 20px;
}

.codigos p {
    width: 100%;

}

.chart {
    width: 100%;
    margin-top: -30px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.btn-container {
    margin-top: 10px;
    width: 300px;
    display: flex;
    justify-content: space-around;
}

.btn-container button {
    color: rgb(37, 65, 70);
    border: 2px solid rgb(37, 65, 70);
    background-color: transparent;
    padding: 5px 10px;
    cursor: pointer;
    transition: .3s ease;
}

.btn-container button:hover {
    color: #fff;
    background-color: rgb(37, 65, 70);
}

button:disabled {
    color: #fff;
    background-color: rgb(37, 65, 70);
}

#line_chart > div {
    margin: auto;
}

.descarga {
    margin-top: 50px;
    height: 500px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    background-image: url("imgs/fondo-descarga.jpg");
    background-attachment: fixed;
    background-size: cover;
    color: #fff;
}

.descarga h2 {
    font-family: "Martel", serif;
    font-size: 34px;
    margin: 0;
}

.descarga > p {
    width: 38%;
    margin: 15px auto;
}

.descarga a {
    font-size: 14px;
    text-decoration: none;
    color: #fff;
    background-color: #1f3f38;
    padding: 10px 15px;
    margin-top: 15px;
}

.descargas-wrapper {
    width: 70%;
    margin-top: 30px;
    display: flex;
    flex-direction: row;
    justify-content: space-around;
}

.descarga-item {
    width: 180px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.descarga-item img {
    width: 50px;
}

/***** GESTIÓN DE PATRIMONIOS *****/
.patrimonios-hero {
    background-image: url("imgs/patrimonios-hero.jpg");
    background-attachment: fixed;
    background-size: cover;
    text-align: center;
}

.gestion-patrimonios {
    height: min-content;
    padding: 20px 0;
}

.gestion-patrimonios .row {
    width: 90%;
    margin: auto;
    margin-top: 60px;
    display: flex;
    flex-direction: row;
    justify-content: space-around;
}

.row .icon-col {
    width: 18%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: center;
}

.icon-col i {
    font-size: 46px;
    color: #1f3f38;
}

.patrimonios-footer {
    height: 200px;
    text-align: center;
    background-image: url("imgs/patrimonios-footer.jpg");
    background-attachment: fixed;
    background-size: cover;
    color: #fff;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.patrimonios-footer h2 {
    font-size: 32px;
    margin: 0;
}

.patrimonios-footer a {
    color: #fff;
    text-decoration: none;
    font-size: 22px;
}

@media screen and (max-width: 768px) {
    .patrimonios-hero {
        font-size: 18px;
    }

    .gestion-patrimonios .row {
        flex-direction: column;
        align-items: center;
        width: 100%;
    }

    .row .icon-col {
        width: 70%;
        margin-top: 30px;
    }
    
    .hero {
        width: 100%;
        text-align: center;
    }

    .bajada {
        height: min-content;
    }

    .bajada p {
        width: 80%;
    }

    .descarga {
        height: min-content;
        padding: 30px 0;
    }

    .descargas-wrapper {
        display: flex;
        flex-direction: column;
        justify-content: center;
    }

    .descarga-item {
        width: 90%;
        display: flex;
        flex-direction: column;
        margin-bottom: 20px;
    }

    .chart {
        margin-top: 0;
    }

    .codigos {
        width: 80%;
    }
}