/* RESET BÁSICO */
*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}

/* ESTILIZAÇÃO DO BODY (FUNDO MUDANDO DE COR DE LEVE) */
body{
    font-family:Arial, Helvetica, sans-serif;
    
    color:#333;
    background: linear-gradient( -45deg, #0084ff,#acf54d, #1ef50a);
background-size: 400% 400%;
animation: gradientBG 15s ease infinite;
}
@keyframes gradientBG{
    0%{background-position: 0% 50%;}
    50%{background-position:100% 50% ;}
    100%{background-position: 50%  0%;}
}
/* CABEÇALHO COM FLEXBOX */
.header{
    display:flex;
    justify-content:space-between;
    align-items:center;

    padding:20px 40px;

    background:white;
}

/* ID DO LOGO */
#logo{
    color:#002e7c;
}

/* MENU */
.menu a{
    margin-left:20px;
    text-decoration:none;
    font-weight:bold;
    color:#333;
}

/* Efeito ao passar o mouse */
.menu a:hover{
    color:#2575fc;
}

/* CONTAINER COM GRID */
.container{
    display:grid;

    grid-template-columns:repeat(3,1fr);

    gap:30px;

    padding:40px;
}

/* CARD */
.card{

    background:white;

    padding:25px;

    border-radius:10px;

    text-align:center;

    box-shadow:0 5px 15px rgba(0,0,0,0.2);

}

/* TÍTULO DO CARD */
.card h2{
    margin-bottom:10px;
}

/* TEXTO */
.card p{
    margin-bottom:20px;
}

/* BOTÃO */
.btn{

    padding:10px 20px;

    border:none;

    background:#2575fc;

    color:white;

    border-radius:5px;

    cursor:pointer;

    font-weight:bold;

}

/* ANIMAÇÃO DO BOTÃO */
.btn:hover{

    transform:scale(1.1);

    background:#1a5edb;

    transition:0.3s;

}

/* RODAPÉ COM FLEXBOX */
.footer{
    height: 10;
    display:flex;

    justify-content:center;

    align-items:center;

    padding:20px;

    background:#111;

    color:white;

}

/* RESPONSIVIDADE */
@media(max-width:768px){

    .container{
        grid-template-columns:1fr;
    }

    .header{
        flex-direction:column;
        gap:10px;
    }

}