@import url(font.css);

body {
    background-color: #002b50;
    color: white;
}

.heading {
    width: 100vw;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.heading.margin-top-relogio {
    margin-top: 177px;
}

.heading__left {
    margin-top: 1.375rem;
}

.heading__left--title_text {
    font-family: MullerExtrabold;
    font-size: 1.5625rem;
    text-align: center;
    margin-top: 1.375rem;
}

.heading__left--banner {
    max-width: 21.25rem;
    /*background-image: url(../img/site/unidadesPolos/bannerMobile.webp);*/
    border-radius: 0.9375rem;
    background-size: 100%;
    background-repeat: no-repeat;
    background-position: 50%;
    margin-top: 1.25rem;
}

.heading__left--banner img {
    width: 100%;
    height: auto;
    max-height: 8.75rem;
    border-radius: .9375rem;
}

.heading__right {
    margin-top: 1.25rem;
    display: flex;
    gap: 0.9375rem;
}

.heading__right--filter {
    width: 15.125rem;
    height: 2.8125rem;
    border-radius: 1.25rem;
    border: 1px solid rgb(0, 162, 255, 0.3);
    display: flex;
    padding: 0 25px;
    box-sizing: border-box;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    font-family: 'Inter', sans-serif;
    font-size: .875rem;
    font-weight: 500;
}

.heading__right--quantity {
    width: 5rem;
    height: 2.8125rem;
    border-radius: 1.25rem;
    border: 1px solid rgb(0, 162, 255, 0.3);
    display: flex;
    padding: 0;
    justify-content: center;
    gap: 0.875rem;
    align-items: center;
    cursor: pointer;
    font-family: 'Inter', sans-serif;
    font-size: .875rem;
    font-weight: 500;
}

.heading__right--iconArrow {
    width: 0.5625rem;
    height: 0.5rem;
    background-image: url(../img/site/geral/angledown.webp);
    background-size: 100%;
    background-repeat: no-repeat;
    background-position: 50%;
    margin-top: 0.1875rem;
}

/* Corpo da Página */
.pageBody {
    width: 100vw;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.pageBody__cardspace--cards {
    margin-top: 1.25rem;
    display: flex;
    flex-direction: column;
    gap: 0.9375rem;
}

/* Cards */

.unityCard {
    background-color: #003059;
    border-radius: 1.25rem;
    border: 1px solid rgb(0, 162, 255, 0.3);
    width: 21.25rem;
    height: 15.75rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.unityCard__city {
    margin-left: 2rem;
    color: #00a2ff;
    font-family: "Inter", sans-serif;
    font-size: 1rem;
    font-weight: 700;
}

.unityCard__name {
    margin-left: 2rem;
    margin-top: 0.625rem;
    font-family: "Inter", sans-serif;
    font-size: 1rem;
    font-weight: 700;
    color: white;
}

.unityCard__info {
    margin-left: 2rem;
    margin-top: 1.25rem;
    display: flex;
    gap: 1.25rem;
    font-family: "Inter", sans-serif;
    font-size: 1rem;
    font-weight: 400;
}

.unityCard__info--icon {
    width: 1rem;
    height: 1rem;
    background-size: 1rem;
    background-position: 50%;
    background-repeat: no-repeat;
}

.unityicon1 {
    background-image: url(../img/site/unidadesPolos/map.webp);
}

.unityicon2 {
    background-image: url(../img/site/unidadesPolos/location.webp);
}

.unityicon3 {
    background-image: url(../img/site/unidadesPolos/phone.webp);
}

.unityicon4 {
    background-image: url(../img/site/unidadesPolos/medal.webp);
}

/* Paginação */

.pageBody__cardspace--pagination {
    width: 100%;
    display: flex;
    justify-content: space-evenly;
    margin-top: 4.25rem;
}

.pageBody__cardspace--pagination_item {
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 0.625rem;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-grow: 0;
    flex-shrink: 0;
    cursor: pointer;
    text-decoration: none;
    color: #fff;
}

.pageBody__cardspace--pagination .pageBody__cardspace--pagination_item:first-child {
    background-image: url(../img/site/geral/angledown.webp);
    background-size: 0.75rem;
    background-position: 50%;
    background-repeat: no-repeat;
    transform: rotate(90deg);
}

.pageBody__cardspace--pagination .pageBody__cardspace--pagination_item:last-child {
    background-image: url(../img/site/geral/angledown.webp);
    background-size: 0.75rem;
    background-position: 50%;
    background-repeat: no-repeat;
    transform: rotate(-90deg);
}

.activePagination {
    background-color: #00538b;
}

.pageBody__cardspace--quantity {
    width: 100%;
    text-align: center;
    margin-top: 1.375rem;
    font-family: 'Roboto', sans-serif;
}

.heading__right--quantityModal,
.heading__right--filterModal {
    width: 5.8125rem;
    height: 11.6875rem;
    border-radius: 0.75rem;
    position: absolute;
    z-index: 3;
    background-color: white;
    margin-top: 2.5625rem;
    transform: translateX(-5%);
    color: #00315c;
    font-family: "Inter", sans-serif;
    font-size: 0.9375rem;
    font-weight: 700;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.heading__right--filterModal {
    width: 15.125rem;
    height: 15.6875rem;
    overflow-y: scroll;
    justify-content: flex-start;
    transform: translateX(40%);
    margin-top: 2.5625rem;
}

.heading__right--filterModal::-webkit-scrollbar {
    width: 5px;
}

.heading__right--filterModal::-webkit-scrollbar-thumb {
    background-color: #00A2FF;
    border-radius: 5px;
}

.heading__right--filterModal::-webkit-scrollbar-track {
    background-color: transparent;
}

.heading__right--quantityModal p,
.heading__right--filterModal p {
    cursor: pointer;
    padding: 0.5rem 0;
}

.heading__right--quantityModal p:hover,
.heading__right--filterModal p:hover {
    color: #d70a84;
}

@media screen and (min-width: 720px) {
    /* Cabeçalho da página */

    .heading {
        margin-bottom: 1.875rem;
        margin-top: 0;
    }

    .heading.margin-top-relogio {
        margin-top: 0;
    }

    .heading > div {
        display: flex;
        width: 69.125rem;
        justify-content: space-between;
        align-items: center;
    }

    .heading__left {
        margin-top: 0.9375rem;
    }

    .heading__left--title_text {
        font-size: 3.125rem;
    }

    .heading__right {
        display: flex;
        gap: 0.9375rem;
    }

    .heading__right--quantity,
    .heading__right--filter {
        width: 5rem;
        height: 2.5625rem;
        border-radius: 1.25rem;
        border: 1px solid rgb(0, 162, 255, 0.3);
        display: flex;
        padding: 0;
        justify-content: center;
        gap: 0.875rem;
        align-items: center;
        cursor: pointer;
    }

    .heading__right--filter {
        width: 10.5rem;
        height: 2.5625rem;
        justify-content: center;
        gap: 1.25rem;
    }

    .heading__right--filterModal{
        margin-top: 2.5625rem;
        width: 10.8125rem;
        height: 15.6875rem;
        transform: translateX(55%);
    }

    /* Corpo da Página */
    .pageBody {
        flex-direction: row;
        align-items: flex-start;
        margin-top: 1.8125rem;
        width: 68.875rem;
        margin: 0 auto;
        gap: 1rem;
    }

    .pageBody__banner {
        min-width: 16rem;
        /*background-image: url(../img/site/unidadesPolos/bannerDesktop.webp);*/
        background-size: cover;
        background-position: 50%;
        background-repeat: no-repeat;
        border-radius: 20px;
        margin-left: 15px;
    }

    .pageBody__banner img {
        width: 100%;
        max-height: 32.375rem;
        border-radius: 1.25rem;
    }

    .pageBody__cardspace {
        width: 100%;
    }

    .pageBody__cardspace--cards {
        margin-top: 0;
        flex-direction: row;
        max-width: 100%;
        flex-wrap: wrap;
        min-width: 52rem;
    }

    /* Cards */
    .unityCard {
        width: 25rem;
    }

    /* Paginação */

    .pageBody__cardspace--pagination_box {
        display: flex;
        align-items: center;
        justify-content: flex-end;
    }

    .pageBody__cardspace--pagination {
        max-width: 23rem;
        margin-right: 6.875rem;
    }

    .pageBody__cardspace--quantity {
        margin-top: 4.25rem;
        width: auto;
        margin-right: 0.9375rem;
    }
}
