@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@100;300;400;500;800&display=swap');

::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background-color: hsl(0, 0%, 98%);
}

::-webkit-scrollbar-thumb {
    background-color: hsl(0, 0%, 80%);
}

::-webkit-scrollbar-thumb:hover {
    background-color: hsl(0, 0%, 70%);
}

*,
*::before,
*::after {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Montserrat', sans-serif;
    background-color: #ffffff;
}

.return-button {
    position: absolute;
    top: 10px;
    /* Adjust the top position as needed */
    left: 10px;
    /* Adjust the left position as needed */
    background-color: #ffffff;
    color: #000000;
    width: 4rem;
    height: 4rem;
    border: 1px solid #ffffff;
    border-radius: 30rem;
    cursor: pointer;
    transition: 0.8s ease-in-out;
}

.return-button:hover {
    background-color: #c7c7c7;
    color: #414141;
    scale: 1.2;
}

.return-button i {
    font-size: 1.5rem;
}

.whatsapp-button {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 1000;
}

.start-container {
    position: relative;
    width: 100%;
    height: 100vh;
    background-size: cover;
}

.start-container::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.4);
    /* Adjust the alpha (opacity) value to control darkness */
}

.info-container {
    background-color: #fff;
    color: #000;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 20px;
}

.info-name {
    padding-top: 4rem;
    padding-bottom: 9rem;
    font-weight: 500;
    font-size: 4rem;
    letter-spacing: 0.3rem;
    text-align: center;
}

.info-icons {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: repeat(1, 1fr);
    row-gap: 11rem;
    column-gap: 6rem;
    text-align: center;
    padding-bottom: 8rem;
}

.info-icon {
    display: flex;
    align-items: center;
}

.info-text {
    padding-left: 2rem;
    font-size: 1.5rem;
}

.info-icon i {
    font-size: 3rem;
}

.info-description {
    text-align: center;
    width: 80vw;
}

.info-description h2 {
    font-size: 2.5rem;
    letter-spacing: 0.3rem;
    font-weight: 500;
    padding-bottom: 2rem;
}

.info-description p {
    font-size: 1.15rem;
}

.location-container {
    padding-top: 2rem;
    height: 70vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.location-container iframe {
    width: 100%;
    height: 100%;
    border: 0;
}

.cards-section {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
}

.article-card {
    width: 18rem;
    height: 18rem;
    border-radius: 12px;
    overflow: hidden;
    position: relative;
    font-family: Arial, Helvetica, sans-serif;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12), 0 1px 2px rgba(0, 0, 0, 0.24);
    transition: all 300ms;
    margin: 10px;
    cursor: pointer;
}

.article-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 28px rgba(0, 0, 0, 0.25), 0 10px 10px rgba(0, 0, 0, 0.22);
}

.article-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Estilize o popup */
.popup {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    text-align: center;
    z-index: 5;
}

#popupImage {
    max-width: 80%;
    max-height: 80%;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.popup-image {
    max-width: 100%;
    height: auto;
    transition: opacity 1s;
}

.close-button {
    position: absolute;
    top: 10px;
    right: 10px;
    font-size: 30px;
    cursor: pointer;
    color: #fff;
}

.popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: none;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    z-index: 27;
    /* Coloque um valor maior que a z-index do popup */
}

.popup-overlay.active {
    display: flex;
    /* Mostra a overlay quando o popup está ativo */
}

.whatsapp-button a {
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #f0f0f0;
    color: #25eb6d;
    width: 75px;
    height: 75px;
    border-radius: 50%;
    text-align: center;
    font-size: 3rem;
    text-decoration: none;
    transition: background-color 0.3s ease-in-out;
}

.whatsapp-button a:hover {
    color: #128c7e;
    /* Cor de fundo quando hover */
}

.footer {
    padding-top: 2vh;
    padding-bottom: 4vh;
    background: #000;
    color: #fff;
}

.footer a {
    text-decoration: none;
    color: inherit;
}

.footer__redes-wrapper {
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
    max-width: 600px;
    margin: 45px auto;
}

.footer__redes-wrapper li {
    display: inline-block;
}

.footer__redes-wrapper li:hover {
    color: var(--gray);
}

.footer__link {
    text-transform: uppercase;
    font-family: var(--title-font);
    font-size: 1rem;
}

.footer .fa-brands {
    margin-right: 1vh;
}

.footer__texto {
    color: var(--light-gray);
    text-align: center;
    display: flex;
    justify-content: center;
    font-size: 1.25rem;
}

@media (max-width: 768px) {

    .start-container img {
        width: 10rem;
    }

    .info-name {
        font-size: 1rem;
        padding-bottom: 2rem;
        padding-top: 2rem;
    }

    .info-icons i {
        font-size: 1.5rem;
    }

    .info-icons {
        column-gap: 3rem;
        margin-left: 2rem;
        row-gap: 3rem;
        padding-bottom: 3rem;
    }

    .info-text {
        padding-left: 1rem;
        font-size: 1rem;
    }

    .article-card {
        width: 100%;
        /* Em dispositivos móveis, definir a largura para 100% para preencher a largura da tela */
    }

}