:root{
    --primary-color: #000;
    --secondary-color: #ff8a00;
    --backup-color: #fff ;

    --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{
    height: 100%;
    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;
}

main{
    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:not(.cg_header_container):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;
    animation: pulse 1s;
    animation-iteration-count: infinite;
    animation-direction: alternate;
    animation-timing-function: ease-in-out;
}

@keyframes pulse {
    from{
        transform: scale(1);
    }
    to{
        transform: scale(1.15);
    }
}

.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 {
	gap: 2rem;
}

.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;
}

.cg_local_description_container {
    text-wrap: balance;
    background-color: #fff;
    color: #000;
    flex-direction: column;
    font-size: large;
    width: 100%;
    gap: 2rem;
}

.cg_local_nav_links{
    list-style: none;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: .5rem;
    justify-content: center;
}

.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;
}