* {
    min-width: 0;
    font: inherit;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

img,
video,
svg {
    display: block;
    height: auto;
    max-width: 100%;
}

body {
    margin: 0;
    min-height: 10vh;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    text-wrap: balance;
}

p {
    text-wrap: pretty;
}


/* Plantilla */



.custom-header {
    display: grid;
    grid-template-columns: 3fr 9fr;
}

.logoIeepco{
    display: grid;
    text-align: center;
    align-content: center;
    align-items: end;
    justify-items: center;
}

.navigation {
    display: flex;
    justify-content: space-around;
    background-color: var(--secundary-color);
    align-items: center;
}

.navigation nav {
    display: flex;
    justify-content: end;
    align-items: start;
    gap: 2px;
    height: 100%;
}

.header-title {
    padding: 0;
    color: var(--theme-color);
    /*height: 60%;*/
}

.navigation nav a {
    border-bottom-left-radius: 5px;
    border-bottom-right-radius: 5px;
    padding: 10px;
    text-align: center;
    background-color: var(--color-coral);
    color: var(--color-negro);
    font-size: 22px;
}

.custom-main {
    display: grid;
    grid-template-columns: 3fr 9fr;
}

.custom-main .custom-sidebar {
    background-color: var(--color-coral);
    width: 100%;
    height: 100%;
}

.custom-main .custom-content {
    padding: 2rem 8rem;
}

.title-inicio {
    color: var(--secundary-color);
    font-size: x-large;
    text-align: center;
    /*font-family: 'Nunito Sanz'; */
}

.info-inicio {
    margin-top: 4rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4rem;
}

.info-inicio img {
    width: 30rem;
}

.info-inicio .custom-button {
    background-color: var(--secundary-color);
    font-size: x-large;
    color: var(--theme-color);
    padding: 2rem;
    border-radius: 10px;
    text-decoration: none;
    width: 35rem;
    text-align: center;
}

.info-inicio .custom-button:hover {
    background-color: var(--primary-color);
}

.info-inicio .btn-group {
    display: flex;
    flex-direction: column;
    gap: 10px;
    /*font-family: 'Nunito Sanz'; */
}

.custom-sidebar {
    padding: 2rem;
}

.custom-sidebar .buscador {
    width: 100%;
    padding: 1rem;
    border-radius: 1rem;
    border: 2px solid black;
    -webkit-transition: 0.5s;
    transition: 0.5s;
    outline: none;
}

.custom-sidebar .buscador:focus {
    border: 2px solid var(--color-cafeieepco);
}

.custom-sidebar .listado {
    margin-top: 2rem;
}

.custom-sidebar .listado li {
    list-style: none;
    border-bottom: 1px solid var(--navbar-shallow-color);
}

.custom-sidebar .listado li:hover {
    background-color: white;
}


.consejales-inicio {
    display: flex;
    justify-content: center;
    margin-top: 4rem;
}

.consejales-inicio img {
    width: 30rem;
}

.custom-content .title-candidatos {
    color: var(--secundary-color);
    text-align: center;
    font-size: x-large;
}

.custom-content .distrito-candidatos {
    color: var(--secundary-color);
    text-align: center;
    font-size: xx-large;
}

.group-cards {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.group-cards .card {
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2);
    transition: 0.3s;
    padding: 2rem;
}

.group-cards .card:hover {
    box-shadow: 0 8px 8px 0 rgba(213, 19, 127, 0.3);
}

.group-cards .card .card-content {
    display: grid;
    grid-template-columns: 30% 70%;
}

.group-cards .card .card-content .img-partido {

    display: flex;
    justify-content: center;
    align-items: center;
}

.group-cards .card .card-content .img-partido img {
    width: 8rem;
}

.group-cards .card .card-content .card-info {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.group-cards .card .card-content .card-info .partido {
    width: 100%;
    background-color: var(--primary-color);
    color: var(--theme-color);
    text-align: center;
}

.group-cards .card .card-content .card-info .foto {
    width: 8rem;
    border-radius: 50%;
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2);
    margin-bottom: 1rem;
}

.custom-sidebar .title-sidebar {
    font-size: x-large;
}

.custom-content .group-buttons {
    display: flex;
    justify-content: center;
    margin-bottom: 2rem;
}

.custom-content .group-buttons button {
    padding: 1rem 6rem;
}

.custom-content .group-buttons button:hover {
    background-color: var(--color-coral);
}

.grafica {
    display: flex;
    justify-content: center;
    height: 50%;
    margin-bottom: 2rem;
}

.redes{
    display: flex;
    flex-direction:column;
    justify-content: center;
    align-items: center;
}

.info-group{
    display: flex;
    flex-direction:column;
    justify-content: center;
    align-items: center;
}

.div-btn-stats{
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.btn-stats{
    padding: 5px;
    border: 2px #50d4ff;
    border-radius:5px;
}



.btn-stats a{
    color:black;
}

@media only screen and (max-width: 1400px) {
    .navigation nav a {
    border-bottom-left-radius: 5px;
    border-bottom-right-radius: 5px;
    padding: 10px;
    text-align: center;
    background-color: var(--color-coral);
    color: var(--color-negro);
    font-size: 18px;
}
}