main {
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    align-items: center;
}

.grid_localizacao {
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.hr_localizacao {
    width: 100%;
    border: 1px solid #ADABAB;
    margin: 0 0 40px 0;
}

.grid_loc {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
}

.grid_mapa_loc {
    width: 100%;
    height: 600px;
}

.card_loc {
    background-color: #FFF;
    width: 20%;
    height: 80%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: absolute;
    right: 15px;
    top: 50px;
    border-radius: 15px;
}

.grid_card_loc {
    width: 90%;
    height: 94%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
}

.grid_card_loc>div {
    width: 100%;
    height: auto;
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    align-items: center;
}

.hr_card_loc {
    display: none;
}


.grid_card_loc>div>img {
    object-fit: cover;
    width: 100%;
    height: 100%;
    border-radius: 10px;
}

.grid_card_loc>div>p {
    font-family: 'General Sans', sans-serif;
    font-weight: 400;
    font-size: 18px;
    line-height: 30px;
    color: #646B7A;
}

.hr_card_loc {
    width: 100%;
    border: 1px solid #ADABAB;
}

.grid_card_loc>div>a {
    font-family: 'General Sans', sans-serif;
    text-decoration: none;
    display: flex;
    width: 100%;
    height: 35px;
    border-radius: 50px;
    justify-content: space-evenly;
    align-items: center;
    font-weight: 500;
    font-size: 15px;
    color: #101010;
    border: 1px solid #0C0A0A;
    transition: scale 0.3s ease-in-out;
}

.grid_card_loc>div>a:hover {
    scale: 1.06;
    transition: 0.5s;
    background-color: #0C0A0A;
    color: #FFFFFF;
}

.grid_card_loc>div>a:active {
    scale: 0.9;
    transition: 0.1s;
}

@media screen and (min-width: 1026px) AND (max-width: 1380px) {
    .card_loc {
        background-color: #FFF;
        width: 30%;
        height: 80%;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        position: absolute;
        right: 15px;
        top: 50px;
        border-radius: 15px;
    }
}

@media screen and (max-width: 600px) {
    .grid_localizacao {
        width: 95%;
    }

    .grid_h1 {
        width: 100%;
        margin-bottom: 10px;
    }

    .grid_h1>h1 {
        font-size: 40px;
        line-height: 70px;
    }

    .grid_loc {
        width: 95%;
    }

    .grid_mapa_loc {
        width: 100%;
        height: 500px;
    }

    .card_loc {
        background-color: #FFF;
        width: 90%;
        height: 40%;
        right: 15px;
        top: 280px;
    }

    .grid_card_loc {
        width: 90%;
        height: 100%;
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        align-items: center;
    }

    .grid_card_loc>div {
        width: 100%;
        height: auto;
        display: flex;
        flex-direction: column;
        justify-content: space-around;
        align-items: center;
    }

    .wrapper_card_loc_mobile {
        display: none !important;
    }

    .grid_card_loc>div>p {
        font-family: 'General Sans', sans-serif;
        font-weight: 400;
        font-size: 15px;
        line-height: 30px;
        color: #646B7A;
        text-align: center;
    }

    .grid_card_loc>div>a {
        width: 80%;
        height: 30px;
        font-size: 15px;
    }

    .grid_card_loc>div>a {
        width: 50%;
        font-size: 15px;
    }
}

@media screen and (min-width: 600px) AND (max-width: 1025px) {

    .grid_localizacao {
        padding: 0 4%;
    }

    .card_loc {
        width: 30%;
        height: 65%;
        right: 15px;
        top: 50px;
    }

    .grid_card_loc {
        width: 90%;
        height: 100%;
    }

    .grid_card_loc>div {
        width: 100%;
        height: 30%;
    }

    .grid_card_loc>div>img {
        width: 100%;
        height: 100%;
    }

    .grid_card_loc>div>p {
        font-size: 14px;
        line-height: normal;
    }

    .grid_card_loc>div>a {
        width: 80%;
        height: 35px;
        border-radius: 50px;
        font-size: 15px;
    }

}
