
@font-face {
    font-family: 'Poppins';
    src: url(./fonte/Poppins-Medium.ttf);
    font-weight: 500;
}
* {
    box-sizing: border-box;
    font-family: 'Poppins', Arial, sans-serif;
    margin: 0;
    padding: 0;
    user-select: none;
}
body {
    background: linear-gradient(135deg, #e3f0ff 0%, #fefefe 100%);
    min-height: 100vh;
    color: #222;
    letter-spacing: 0.01em;
}

/* banner */

#banner {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}
#banner-bg {
    width: 100%;
    padding: 60px 0 60px 0;
    background: linear-gradient(rgba(0, 84, 153, 0.7), rgba(0, 136, 237, 0.5)), url(./img/720.jpg) center/cover no-repeat;
    text-align: center;
    border-radius: 0 0 32px 32px;
    box-shadow: 0 8px 32px 0 rgba(255, 255, 255, 0);
}
#banner-logo img {
    width: 120px;
    margin-bottom: 40px;
    filter: drop-shadow(0 2px 8px rgba(0,0,0,0.10));
}

#banner h1 {
    color: #fff;
    font-size: 2.8rem;
    font-weight: 700;
    margin-bottom: 2.2rem;
    text-shadow: 0 2px 8px rgba(0,0,0,0.10);
}

#banner a{ 
    background-color: #fefefe;
    color: black;
    text-decoration: none;
    border: none;
    cursor: pointer;
    margin-top: 2.5rem;
    padding: 18px 64px;
    font-weight: 600;
    letter-spacing: 0.05em;
    transition: background 0.2s, transform 0.2s, box-shadow 0.2s;
}
#banner a:hover {
    transition-duration: 0.2s;
    background-color: #92caff;
}

/* end of banner */
/* categories */

#categories {
    color: #222;
    padding: 40px 5vw 0 5vw;
    margin-bottom: 40px;
    text-align: left;
}
#categories h1 {
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 0.2em;
    letter-spacing: 0.02em;
}
#categories p {
    font-size: 1.1rem;
    margin-bottom: 2.5rem;
    color: #555;
}
#cards {
    display: flex;
    flex-wrap: wrap;
    flex-direction: row;
    gap: 2vw;
    justify-content: center;
}

@keyframes animateBg {
    from {
      background-size: 100%;
    }
    to {
      background-size: 120%;
    }
  }


section#categories #cards article {
    flex-grow: 1;
    flex-shrink: 1;
    flex-basis: auto;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    position: relative;
    margin: 10px;
    padding: 0.5rem;
    width: auto;
    height: 200px;
    cursor: pointer;
    border-radius: 20px;
    box-shadow: 0 4px 24px 0 rgba(0,136,237,0.10);
    transition: transform 0.2s, box-shadow 0.2s;
}
section#categories #cards article::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: linear-gradient(0deg, rgba(0,84,153,0.7) 0%, rgba(0,136,237,0.2) 100%);
    z-index: 1;
    border-radius: 20px;
}
section#categories #cards article:hover {
    transform: translateY(-6px) scale(1.03);
    box-shadow: 0 8px 32px 0 rgba(0,136,237,0.18);
}
#cards h1, #cards p {
    position: relative;
    z-index: 2;
    color: #fff;
    margin: 0 0 0.5em 0;
    padding-left: 1.2em;
    padding-right: 1.2em;
    text-shadow: 0 2px 8px rgba(0,0,0,0.10);
}
#cards h1 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.2em;
}
#cards p {
    font-size: 1rem;
    font-weight: 400;
    margin-bottom: 1.2em;
}
article.cards-nature {
    background-image: url(./img/150nature.jpg);
    min-width: 30%;
}
article.cards-daily {
    background-image: url(./img/150daily.jpg);
    min-width: 60%;
}
article.cards-together {
    background-image: url(./img/800together.jpg);
    min-width: 95%;
}
article.cards-pictures {
    background-image: url(./img/150pictures.jpg);
    min-width: 30%;
}
article.cards-analysis {
    background-image: url(./img/150analysis.jpg);
    min-width: 60%;
}

/* end of categories */
/* footer */


#footer {
    display: flex;
    flex-direction: row;
    background: linear-gradient(90deg, #e3f0ff 0%, #eeeeee 100%);
    padding: 0 5vw 60px 5vw;
    border-radius: 32px 32px 0 0;
    box-shadow: 0 -4px 24px 0 rgba(0,136,237,0.06);
    margin-top: 60px;
    gap: 3vw;
    position: relative;
}
#footer-text {
    width: 100%;
    align-self: flex-start;
    margin-top: 40px;
}
#footer-text h1 {
    font-size: 2rem;
    font-weight: 700;
    color: #005499;
    margin-bottom: 0.2em;
}
#footer-text p {
    font-size: 1.1rem;
    color: #555;
}

#table-stats {
    display: flex;
    align-items: flex-end;
    flex-grow: 1;
    flex-shrink: 1;
    flex-basis: auto;
    flex-direction: row;
    margin-top: 5%;
    width: min-content;
}

#table-stats div{
    color: #fefefe;
    padding: 1px 0.5vh;
    height: fit-content;
}

.table-bottom {
    bottom: 0;
    background-color: #0088ed;
}

.table-top {
    background-color: #005499;
}

#table2 .table-bottom{
    padding-bottom: 10%;
}
#table3 .table-bottom{
    padding-bottom: 40%;
}
#table4 .table-bottom{
    padding-bottom: 70%;
}
#table5 .table-bottom{
    padding-bottom: 80%;
}
#table6 .table-bottom{
    padding-bottom: 100%;
}


/* main footer */
footer {
    background: linear-gradient(90deg, #e3f0ff 0%, #eeeeee 100%);
    border-radius: 0 0 18px 18px;
    box-shadow: 0 -2px 16px 0 rgba(0,136,237,0.06);
    margin-top: 0;
    padding: 24px 0 8px 0;
    width: 100%;
    font-size: 1rem;
    color: #222;
}
footer nav ul {
    list-style: none;
    display: flex;
    gap: 2em;
    justify-content: center;
    padding: 0;
    margin: 0 0 0.5em 0;
}
footer nav ul li a {
    color: #005499;
    text-decoration: none;
    font-weight: 600;
    padding: 4px 12px;
    border-radius: 8px;
    transition: background 0.18s, color 0.18s;
}
footer nav ul li a:hover {
    background: #0088ed22;
    color: #0088ed;
}
footer p {
    text-align: center;
    font-size: 0.98em;
    color: #888;
    margin: 0.5em 0 0 0;
}
/* end of footer */
/* mobile version */

@media (max-width: 900px) {
    html {
        font-size: 15px;
    }
    #banner-bg {
        padding: 30px 0 30px 0;
        border-radius: 0 0 18px 18px;
    }
    #banner-logo img {
        width: 80px;
        margin-bottom: 20px;
    }
    #banner h1 {
        font-size: 1.3rem;
    }
    #banner a {
        font-size: 1rem;
        padding: 12px 32px;
        margin-top: 1.2rem;
        margin-bottom: 0.5rem;
    }
    #categories {
        padding: 24px 2vw 0 2vw;
        margin-bottom: 24px;
    }
    #cards {
        gap: 3vw;
    }
    section#categories #cards article {
        padding: 0.5rem;
        min-width: 140px;
        max-width: 100vw;
        height: 120px;
        border-radius: 12px;
    }
    #footer {
        flex-direction: column;
        padding: 0 2vw 30px 2vw;
        border-radius: 18px 18px 0 0;
        margin-top: 30px;
        gap: 2vw;
    }
    footer {
        border-radius: 0 0 12px 12px;
        padding: 18px 0 6px 0;
        font-size: 0.98rem;
    }
    footer nav ul {
        gap: 1em;
    }
    #footer-text {
        margin-top: 24px;
        text-align: center;
    }
    #table-stats {
        flex-direction: column;
        justify-content: center;
        align-items: center;
        width: 100%;
        margin-top: 24px;
    }
    #table-stats > div {
        min-width: 90vw;
        border-radius: 12px;       
    }
    #table-stats > div > div {
        padding: 1rem !important;
    }
}
