@font-face {
    font-family: Bree;
    font-style: normal;
    font-weight: 700;
    src: url('/assets/landings/compartamos-impulsa/fonts/bree/BreeRegular.otf') format('opentype');
}

@font-face {
    font-family: Inter;
    font-style: normal;
    font-weight: 400;
    src: url('/assets/landings/compartamos-impulsa/fonts/inter/Inter-Regular.ttf');
}

@font-face {
    font-family: Inter;
    font-style: normal;
    font-weight: 700;
    src: url('/assets/landings/compartamos-impulsa/fonts/inter/Inter-Bold.ttf');
}

@font-face {
    font-family: Inter;
    font-style: normal;
    font-weight: 800;
    src: url('/assets/landings/compartamos-impulsa/fonts/inter/Inter-ExtraBold.ttf');
}

body {
    font-family: Inter, Arial, sans-serif !important;
    background: #f6dfe4;
    font-size: 16px;
    color: #960048;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

h1,
h2 {
    font-family: "Bree", Roboto, serif !important;
    color: #D50057;
    text-align: center;
    margin: 0 0 10px 0;
    font-weight: 700;
    line-height: 0.98;
}

h1 {
    font-size: 2.8em;
    margin-bottom: 15px;
}

@media screen and (min-width: 768px) {
    h1 {
        font-size: 3em;
    }
}

h1 span {
    font-size: 0.8em;
    color: #960048;
    font-weight: 600;
}

h2 {
    font-size: 2em;
}

h2 span {
    color: #960048;
    font-size: 0.8em;
}

.main {
    text-align: center;
    margin-bottom: 50px;
    background-color: #d50057;
    position: relative;
    background-image: url("/assets/landings/compartamos-impulsa/images/background-compartamos.svg");
    background-repeat: no-repeat;
    background-position: left 30px bottom 30px;
    background-size: 400px;
    overflow: hidden;
    min-height: 450px;
}

@media screen and (min-width: 768px) {
    .main {
        display: flex;
        align-items: center;
    }
}

.main-image {
    display: block;
    max-width: 100%;
    height: auto;
    max-height: 100%;
}

@media screen and (min-width: 768px) {
    .main-image {
        position: absolute;
        bottom: 0;
        max-width: 50%;
        right: 0;
    }
}

h1 {
    color: #FFF;
    font-weight: 700;
    max-width: 1200px;
    box-sizing: border-box;
    font-size: 30px;
    text-align: center;
    display: block;
    margin-top: 30px;
}
h1 span {
    display: block;
    color: #FFA400;
    line-height: 1;
    font-weight: 700;
    margin-bottom: 10px;
    font-size: 1.5em;
}

@media screen and (min-width: 768px) {
    h1 {
        margin: 30px auto 30px auto;
        text-align: left;
        padding-right: 50%;
    }
    h1 span {
        font-size: 2.5em;
    }
}


section:not(:last-child) {
    margin-bottom: 40px;
}

@media screen and (min-width: 768px) {
    .key-items {
        display: flex;
        flex-wrap: wrap;
        gap: 15px 30px;
    }

    .key-items .keyitem {
        flex: 1;
        max-width: calc(50% - 15px);
        flex: 0 0 calc(50% - 15px);
    }
}

.gallery {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    margin: 30px auto;
}

.compartamos-image {
    display: block;
    width: 450px;
    flex: 0 0 calc(50% - 10px);
    max-width: 100%;
    margin: auto;
}