:root {
    --primary-color: #000;
    --secondary-color: #ff8a00;
    --backup-color: #fff;
    --glasswhite-color: rgba(255, 255, 255, .8);

    --boxshadow-conf: 0 0 8px;
    --boxshadow-color: rgba(0, 0, 0, .4);
    --border-radius: 8px;

    --width-limiter: 40%;

    --image-icon: 64px;
    --image-smaller: 150px;
    --image-small: 250px;
    --image-medium: 450px;
    --image-large: 650px;

}

* {
    box-sizing: border-box;
    padding: 0;
    margin: 0;
    font-family: "Inter", sans-serif;
    color: var(--primary-color);
}

html {
    scroll-behavior: smooth;
}

body,
header,
main {
    width: 100%;
    gap: 1rem;
    display: flex;
    flex-direction: column;
    align-items: center;
}

body {
    min-height: 100dvh;
    overflow-y: auto;
}

header {
    width: var(--width-limiter);
    height: auto;
}

.cg_header_image {
    width: 100%;
    height: auto;
    object-fit: scale-down;
}

.cg_language_wrapper {
    display: flex;
    flex-direction: column;
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    z-index: 999;
}

.cg_language_container {
    outline: none;
    border: none;
}

.cg_language_style {
    background-color: white;
    box-shadow: var(--boxshadow-conf) var(--boxshadow-color);
    outline: 2px solid var(--boxshadow-color);
    border-radius: var(--border-radius);
    font-weight: bold;
    font-size: medium;
}

.cg_language_list {
    list-style: none;
    display: none;
}

.cg_language_list.show {
    display: block;
}

.cg_language_container,
.cg_language_link {
    padding: .5rem;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    cursor: pointer;
    text-decoration: none;
}

main {
    height: 100%;
    flex-shrink: 0;
    width: var(--width-limiter);
    padding: 2rem;
}

.cg_container {
    background-color: var(--secondary-color);
    border-radius: var(--border-radius);
    box-shadow: var(--boxshadow-conf) var(--boxshadow-color);
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: .5rem;
    transition: transform .12s ease-in-out;
}

.cg_container_alt {
    background-color: var(--backup-color);
    outline: solid 2px var(--boxshadow-color);
    margin: 1rem 0;
}

.cg_container:not(.cg_header_container):not(.cg_container_alt):hover {
    transform: translateY(-2px);
}

.cg_header_container {
    width: 100%;
    cursor: pointer;
    background-color: var(--secondary-color);
    margin-top: 1rem;
}

.cg_container_title {
    text-decoration: none;
    font-size: larger;
    font-weight: bold;
    width: 100%;
    text-align: center;
}

.cg_container_municipio_link {
    width: 85%;
    font-size: large;
    padding: 1rem;
    z-index: 13;
}

.cg_hero_container {
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    font-size: xx-large;
    flex-shrink: 0;
}

.cg_hero_container>a>img {
    width: 100%;
    height: auto;
    object-fit: scale-down;
}

.cg_btn_back {
    height: 100%;
    width: 100%;
    border: none;
    background-color: transparent;
    cursor: pointer;
    font-size: larger;
    font-weight: bold;
}

footer {
    background-color: var(--secondary-color);
    width: 100%;
    text-align: center;
    padding: .3rem;
    margin-top: auto;
    bottom: 0;
}

.cg_local_logo_container,
.cg_local_description_container {
    background-color: var(--secondary-color);
    border-radius: var(--border-radius);
    box-shadow: var(--boxshadow-conf) var(--boxshadow-color);
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 1rem;
}

.cg_local_logo_container {
    justify-content: space-around;
}

.cg_local_logo {
    max-width: var(--image-smaller);
    max-height: var(--image-smaller);
    aspect-ratio: 1/1;
    height: auto;
    border-radius: 50%;
    object-fit: cover;
    box-shadow: var(--boxshadow-conf) var(--boxshadow-color);
}

.cg_local_description_container {
    background-color: var(--glasswhite-color);
    backdrop-filter: blur(2px);
    text-wrap: balance;
    color: #000;
    flex-direction: column;
    font-size: large;
    width: 100%;
    gap: 2rem;
}

.cg_local_description_text {
    white-space: pre-line;
	font-weight: bold;
}

.cg_local_nav_links {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: .5rem;
    justify-content: center;
	text-wrap: nowrap;
	width: 100%;
}

.cg_local_nav_links>li {
    flex: 0 0 calc((100% - 1rem) / 3);
    min-width: 0;
}

.cg_local_nav_links:not(:has(> li:nth-child(3))) > li {
    flex: 0 1 136px;
}

.cg_local_navlink {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    background-color: var(--secondary-color);
    overflow-wrap: anywhere;
    aspect-ratio: 1/1;
    gap: .5rem;
    padding: .5rem;
    border-radius: var(--border-radius);
    box-shadow: var(--boxshadow-conf) var(--boxshadow-color);
    font-weight: bold;
}

.cg_local_navlink>i {
    font-size: xx-large
}

.cg_local_image_container {
    width: 100%;
    height: 100%;
    aspect-ratio: 1/1;
    overflow: hidden;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    max-width: var(--image-medium);
}

.cg_local_image {
    width: 100%;
    object-fit: cover;
}

.cg_local_parceria {
    font-size: xx-small;
    color: #444;
}