/* Import Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Chakra+Petch:wght@700&family=Inter:wght@600;700&display=swap');

/* Body settings */
body {
    font-family: 'Inter', sans-serif;
    color: #fff;
    background: linear-gradient(135deg, #71a778 0%, #8cc9b4 50%, #000 100%);
    min-height: 100vh;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
}

/* Top bar styles */
.top-bar {
    display: flex;
    align-items: center; /* Alinha verticalmente a logo e os ícones */
    padding: 20px; /* Aumenta o padding */
    background-color: rgba(0, 0, 0, 0.8);
    overflow: hidden; /* Impede que os ícones extrapolem a barra */
    white-space: nowrap; /* Impede que os itens quebrem para a próxima linha */
}

.top-bar__logo {
    max-width: 200px; /* Ajuste o tamanho conforme necessário */
    height: auto; /* Mantém a proporção */
    margin-right: 20px; /* Espaço entre a logo e os ícones sociais */
}

.social-contact {
    display: flex; /* Torna o container flexível */
    align-items: center; /* Alinha verticalmente os ícones */
    justify-content: flex-start; /* Alinha os ícones à esquerda */
    flex-wrap: nowrap; /* Impede que os ícones quebrem para a próxima linha */
    overflow-x: auto; /* Permite rolagem horizontal se necessário */
}

.social-contact a {
    color: #fff;
    margin: 0 5px; /* Espaço entre os ícones */
    font-size: 1.5rem;
    transition: color 0.3s;
}

.social-contact a:hover {
    color: #33ff00; /* Cor ao passar o mouse */
}

/* Main content styles */
.main {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

.content {
    text-align: center;
    max-width: 800px;
    width: 100%;
}

.page-title {
    font-family: 'Chakra Petch', sans-serif;
    font-size: 3rem;
    color: #33ff00;
    margin-bottom: 1rem;
    text-shadow: 1px 1px 2px black;
    transition: transform 0.3s ease-in-out;
}

.page-title:hover {
    transform: scale(1.05); /* Amplia levemente o título ao passar o mouse */
}

.page-title__emphasis {
    color: #fff;
}

.custom-message {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    color: #bedbbe;
    text-shadow: 1px 1px 2px black;
}

/* Dashboard section */
.dashboard {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 20px;
}

.dashboard__items {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

.dashboard__items__item {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    padding: 15px;
    text-align: center;
    max-width: 200px;
    width: 100%;
    transition: transform 0.3s;
}

.dashboard__items__item:hover {
    transform: scale(1.05);
}

.dashboard__item__img img {
    max-width: 100%;
    height: 150px; /* Define a altura fixa */
    object-fit: contain; /* Garante que a imagem se encaixe sem distorção */
}

.dashboard__item__name {
    font-size: 1.5rem;
    margin: 15px 0;
}

.dashboard__item__button {
    background-color: #4caf50;
    color: white;
    padding: 10px 20px;
    border-radius: 5px;
    text-decoration: none;
    transition: background-color 0.3s, transform 0.3s;
}

.dashboard__item__button:hover {
    background-color: #45a049;
    transform: scale(1.05);
}

.progress-message {
    margin-top: 10px;
    font-size: 0.9rem;
    color: #bedbbe;
    text-shadow: 1px 1px 2px #000;
}

/* Footer styles */
.footer {
    text-align: center;
    padding: 10px;
    background-color: rgba(0, 0, 0, 0.8);
    color: #fff;
}

.footer__hachuras {
    width: 100px;
    height: auto;
    margin-bottom: 10px;
}

.footer__text {
    font-size: 0.9rem;
}

/* Media queries */
@media (max-width: 768px) {
    .page-title {
        font-size: 2rem;
    }
    .custom-message {
        font-size: 1.2rem;
    }
}

@media (max-width: 480px) {
    .page-title {
        font-size: 1.5rem;
    }
    .custom-message {
        font-size: 1rem;
    }
    .dashboard__items__item {
        max-width: 100%;
    }
}
