body {
    font-family: 'Lato', sans-serif;
    margin: 0;
    background-color: #F8F8F8;
}

nav {
    /* background-color: rgba(255, 255, 255, 0.848); */
    padding: 1rem 1rem;
    /* position: fixed; */
    /* top: 0; */
    text-align: center;
}

nav img {
    max-width: 320px;
}

header {
    margin-top: 10px;
    display: flex;
    flex-direction: column;
}

header img  {
    width: 100%;
}

header .title {
    background-color: #264ECA;
    margin-top: -3px;
    color: white;
    text-align: center;
    padding: 1.4rem;
}

header .title h1 {
    margin: 0;
    font-size: 23px;
    font-weight: 400;
}

header .title h2 {
    font-size: 15px;
    font-weight: 400;
    max-width: 280px;
    margin: auto;
    margin-top: 0.7rem;
}

.tags {
    max-width: 900px;
    margin: auto;
}

.tags .tags-box {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 9px 0px;
}

#tags h3 {
    font-size: 20px;
    font-weight: 600;
    text-align: center;
    margin-top: 0;
}

#tags button {
    border: 0;
    background-color: transparent;
    cursor: pointer;
}

#sin {
    max-width: 200px;
    margin: 1rem auto 0;
    display: flex;
    justify-content: center;
}

#tags button img {
    max-width: 90%;
}

#question-container {
    display: none;
    flex-direction: column;
}

.info  {
    display: flex;
    flex-direction: column;
    padding: 2rem;
    padding-bottom: 6rem;
}

.info .form {
    padding: 1rem;
    text-align: center;
    border-radius: 3px;
    border: 1px solid #E5E5E5;
    background-color: white;
    max-width: 500px;
    margin: auto;
}

.info .form p {
    margin: 0;
    color: #141414;
    font-size: 22px;
    font-weight: 500;
    margin-bottom: 1rem;
}

.info .form button {
    margin: 10px;
    padding: 20px 30px;
    font-size: 19px;
    cursor: pointer;
    color: #141414;
    font-weight: 500;
    border: 0;
    border-radius: 3px;
    background: #F0EEEE;
    /* min-width: 120px; */
}

.disclaimer p {
    color: #6B6B6B;
    font-size: 14px;
    font-weight: 100;
    max-width: 500px;
    margin: auto;
    margin-top: 1rem;
}

#result {
    display: none;
    align-items: center;
    flex-direction: column;
}

#result h4 {
    font-size: 1.7rem;
    font-weight: 800;
    color: #4b4b4b;
    margin: 1rem;
}

#result > h4 {
    margin-top: 0.5rem;
}

#result svg {
    max-width: 100%;
    height: 610px;
}

.map-box {
    position: relative;
}

.map-box button {
    position: absolute;
    bottom: 0;
    right: 0;
}

path#path1 {
    fill: red;
}

.restart button {
    background-color: transparent;
    border: 0;
    cursor: pointer;
    position: fixed;
    bottom: 10px;
    left: 10px;
} 

.restart button img {
    max-width: 70px;
}

.btn {
    padding: 0.8rem 2.5rem;
    /* background-color: white; */
    color: white;
    /* border: 2px solid #264ECA; */
    cursor: pointer;
    font-weight: 600;
    margin-top: 1rem;
    background-color: #264ECA;
    border: 0;
}

.btn-leyenda {
    background-color: #F8F8F8;
    border-radius: 4px;
    color: #264ECA;
    border: 2px solid #264ECA;
    padding: 0.6rem 1.4rem;
    position: fixed;
    bottom: 25px;
    right: 20px;
    font-weight: bold;
    cursor: pointer;
}

#other_years {
    text-align: center;
    display: none;
    flex-direction: column;
}

#other_years h3 {
    margin-bottom: 0;
    margin-top: 2rem;
}

.modal {
    display: none;
    align-items: center;
    position: fixed;
    z-index: 1;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgb(0,0,0);
    background-color: rgba(0,0,0,0.4);
}

.modal-content {
    background-color: #fefefe;
    margin: 15% auto;
    padding: 20px;
    border: 1px solid #888;
    width: 80%;
    max-width: 400px;
    border-radius: 5px;
}

.leyenda .mapa-leyenda {
    max-width: 100%;
}

.leyenda h5 {
    font-size: 1.2rem;
    font-weight: 800;
    color: #4b4b4b;
    text-align: center;
    margin-bottom: 0.8rem;
}

.close {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
}
  
.close:hover, .close:focus {
    color: black;
    text-decoration: none;
    cursor: pointer;
}

.d-none  {
    display: none;
}

.modal-leyenda .l-box {
    display: flex;
    margin: 1rem 0;
}

.modal-leyenda .l-box-color {
    height: 20px;
    width: 20px;
}

.modal-leyenda p {
    margin: 0;
    margin-left: 0.6rem;
    color: #4a4a4a;
}

footer {
    background-color: #264ECA;
    color: white;
    display: flex;
    justify-content: space-around;
    align-items: center;
    padding: 2.3rem 1rem;
    margin-top: 4rem;
    flex-wrap: wrap;
}

footer p {
    margin: 0;
    font-size: 0.8rem;
}

footer a  {
    color: rgba(255, 255, 255, 0.7);
}

footer img {
    filter: invert(100%) sepia(100%) saturate(0%) hue-rotate(288deg) brightness(120%) contrast(101%);
    max-width: 230px;
}

.cookie-consent {
    --tw-shadow: 0 4px 6px -1px rgb(0 0 0 / .1), 0 2px 4px -2px rgb(0 0 0 / .1);
    --tw-shadow-colored: 0 4px 6px -1px var(--tw-shadow-color), 0 2px 4px -2px var(--tw-shadow-color);
    box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow);
    padding: 1.25rem;
    background-color: white;
    width: 98%;
    z-index: 99;
    position: fixed;
    bottom: 0;
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    color: #6f6f6f;
}

.cookie-consent button {
    padding: 0.5rem 1rem;
    border-radius: 0.5rem;
    cursor: pointer;
}

.cookie-consent #cookie-ok {
    background-color: #264ECA;
    border: 2px solid #264ECA;
    color: white;
    margin-right: 1rem;
}

.cookie-consent #cookie-ko {
    background-color: white;
    border: 2px solid #264ECA;
    color: #264ECA;
}

.cookie-consent .consent-buttons {
    display: flex;
    align-items: center;
}

.cookie-consent p {
    max-width: 800px;
}

.hidden {
    display: none;
}

.content {
    max-width: 1000px;
    margin: auto;
}

.content p {
    line-height: 1.7rem;
    color: #6f6f6f;
}

.content.que-es {
    text-align: center;
    margin-bottom: 3rem;
    padding: 0 2rem
}

.content.como-funciona {
    display: flex;
}

.content.como-funciona .text {
    padding: 2rem;
    background-color: #eaeaea;
}

.content.como-funciona img {
    max-width: 500px;
    width: 100%;
}

.content.saber-mas {
    display: flex;
    padding: 2rem 0;
    justify-content: space-around;
    align-items: center;
    background-color: #264ECA;
    color: white;
}

.content.saber-mas a {
    background-color: #F8F8F8;
    text-decoration: none;
    border-radius: 4px;
    color: #264ECA;
    border: 2px solid #264ECA;
    padding: 1rem 1.4rem;
    font-weight: bold;
}

.content.saber-mas h3 {
    font-size: 1.5rem;
    margin: 0;
}

@media (max-width: 1000px) {
    #result svg {
        height: 430px;
    }
}

@media (max-width: 768px) {

}

@media (max-width: 600px) {
    #result svg {
        height: 350px;
    }

    footer {
        padding: 2rem 1rem 5rem;
        margin-top: -0.1rem;
    }

    .cookie-consent {
        width: auto;
        text-align: center;
    }

    .content.como-funciona, .content.saber-mas  {
        display: grid;
        text-align: center;
    }

    .content.saber-mas h3 {
        margin-bottom: 2rem;
    }
}

@media (max-width: 480px) {
    #result svg {
        height: 200px;
    }
}