@import url('https://fonts.googleapis.com/css2?family=Krona+One&family=Montserrat:wght@400;600&display=swap');
@tailwind base;
@tailwind components;
@tailwind utilities;

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

:root {
    --background-color: #F0F0E0;
    --text-color: #E1E1E1;
    --primary-color: #81FE88;
    --secondary-color: #888888;
    --tag-color: #171D1F;
    --font-family: 'Montserrat', sans-serif;
    --itens-background: #171D1F;
    --head-footer-color:#18B2DC;
    --azul-trankuilo: #99CCFF;
    --branco: #FFFFFF;
}

/* Página index.html */

body{
    background-color: var(--branco);
    font-family: var(--font-family);
    font-weight: 600;
    color: var(--text-color);
    display: flex;
    flex-direction: column;
    width: 100%;
    overflow-x: hidden;
    min-height: 100vh; /* Garante que o footer fique no fim */
}

header {
    background: var(--head-footer-color);
    display: flex;
    flex-wrap: wrap;
    margin: 0;
    width: 100%;
    height: auto;
    padding: 15px;
    justify-content: space-between;
    align-items: center;
    gap: 15px;
    margin-bottom: 30px;
}

.imagemLogo {
    width: 131px;
    height: auto;
    max-height: 100px;
}

.imgLogo {
    width: 141px;
    height: 100px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.dataCompleta {
    display: flex;
    justify-content: center;
    align-items: center;
    width: calc(28% - 10px);
    height: auto;
    min-height: 100px;
    text-align: center;
    font-size: 22px;
    color: var(--itens-background);
}

.contato {
    display: flex;
    flex-direction: column;
    justify-content: center;
    width: calc(28% - 10px);
    height: auto;
    min-height: 100px;
    text-align: center;
    font-size: 16px;
    color: var(--itens-background);
    gap: 5px;
}

.contato img {
    width: 30px;
    height: 30px;
}

.indicadores {
    display: flex;
    flex-direction: column;
    justify-content: center;
    width: calc(28% - 10px);
    height: auto;
    min-height: 100px;
    text-align: center;
    padding: 5px;
    font-size: 12px;
    color: var(--itens-background);
    gap: 5px;
}

.menuPrincipal {
    background: var(--head-footer-color);
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 10px;
    width: 100%;
    height: auto;
    padding: 15px 10px;
    text-align: center;
    font-size: 25px;
    color: var(--itens-background);
}

.botao {
    display: block;
    background-color: var(--itens-background);
    color: var(--primary-color);
    font-size: 18px;
    border: 1px solid var(--primary-color);
    padding: 10px;
    border-radius: 8px;
    position: relative;
    width: auto;
    min-width: 160px;
    max-width: 100%;
    cursor: pointer;
    transition: background-color 0.2s ease, color 0.2s ease, font-size 0.2s ease;
}

.botao.ativo {
    background-color: blue;
    color: white;
    font-size: 25px;
}

main {
    background-color: var(--branco);
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    color: var(--tag-color);
    flex: 3;
    margin-left: 2px;
}

.container {
    background: var(--background-color);
    display: flex;
    flex-direction: column;
    padding: 5px;;
    width: 295px;
    height: auto;
    border-radius: 20px;
    margin-top: -25px;
}

.container img {
    width: 200px;
    height: 150px; /* Mantém a proporção */
}

details {
    margin-top: 15px;
}

article, summary {
    margin-bottom: 15px;
}

a {
    color: var(--itens-background);
    text-decoration: none;
}

h1 {
    margin-bottom: 10px;
}

ol {
    margin-left: 14px;
}

/* Página Loja */

.containerLoja { 
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    padding: 5px;;
    width: auto;
    height: auto;
}

figcaption {
    text-align: center;
}


footer {
    background-color: var(--secondary-color);
    color: var(--itens-background);
    padding: 2rem;
   font-size: 25px;
    text-align: center;
}

/* Responsividade para telas médias (tablets e computadores menores) */
@media (max-width: 1024px) {
    .dataCompleta {
        font-size: 20px;
        width: 45%;
    }
    .contato {
        font-size: 15px;
        width: 45%;
    }
    .indicadores {
        width: 45%;
    }
    .botao {
        font-size: 16px;
        min-width: 140px;
    }
    .botao.ativo {
        font-size: 20px;
    }
}

/* Responsividade para celulares */
@media (max-width: 768px) {
    header {
        flex-direction: column;
        justify-content: center;
        align-items: center;
        text-align: center;
        padding: 15px 10px;
    }
    .imgLogo {
        width: 100%;
        margin-bottom: 10px;
    }
    .dataCompleta, .contato, .indicadores {
        width: 100%;
        min-height: auto;
        padding: 10px 0;
    }
    .contato {
        align-items: center;
    }
    .indicadores {
        align-items: center;
    }
    .menuPrincipal {
        padding: 10px 0;
    }
    .botao {
        width: 100%;
        max-width: 280px;
    }
    main {
        justify-content: center;
        margin-left: 0;
        padding: 10px;
    }
    .container {
        width: 100%;
        max-width: 100%;
    }
}
