html, *{
    margin: 0;
    padding: 0;
    border: 0;
}
body{
    margin: 40px 0px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    position: relative;
    font-family: Verdana;
    padding-top:20px;
    color: white;
    background-color: rgb(92, 92, 196);
}
main{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 95%;
    height: auto;
    margin: auto;
    background-color: rgb(86, 185, 250);
    padding: 32px 0px;
    border-radius: 5px;
    box-shadow: 0px 0px 50px rgba(0,0,0,0.25);

}
header h1, header h2{
    text-shadow: 0px 0px 15px rgba(0, 0, 0, 0.25);

}
section{
    padding: 20px 0px;
    width: 100%;
    height: auto;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 20px;
}

#caixa_titulo{
    width: 100%;
    height: auto;
    border-bottom: 2px solid rgb(23, 21, 163);
    padding: 16px 0px;
    background-color: rgb(37, 109, 204);
    border-top-left-radius: 5px;
    border-top-right-radius: 5px;
}
.atividade #caixa_links{
        display: flex;
        flex-direction: column;
        justify-content: space-around;
        width: 100%;
        height: 80%;
}
.atividade{
    display: flex;
    flex-direction: column;
    margin: 24px auto;
    width: 200px;
    height: 180px;
    border-radius: 6px;
    background-color: rgb(255, 255, 255);
    box-shadow: 0px 0px 15px rgba(0, 0, 0, 0.25);
    color: rgb(255, 255, 255);
    word-wrap: break-word;
    transition: .5s ease-out;
}

.atividade:hover #caixa_titulo{
    transition: .25s ease-in;
    border-color:rgb(23, 70, 5);

}
.atividade:hover {
    transition: .25s;
    box-shadow: 0px 0px 5px rgba(255, 255, 255, 1);
    color: rgb(197, 224, 255);
    
}

.atividade p {
    font-size: 20px;
    font-weight: 800;
    color: black;
    transition: .3s ease-in-out;
}

.atividade:hover p{
    color: rgb(255, 255, 255);
    transition: .25s ease-in;

}

.atividade a{
    display: flex;
    font-size: 12px;
    color: blue;
    text-decoration: none;
    transition: .5s;
    height:100%;
    align-items: center;
    justify-content: center;
    font-family: Verdana, Geneva, Tahoma, sans-serif;
}

.atividade a:hover{
    font-size: 12px;
    color: rgb(255, 255, 255);
    text-decoration:underline;
    transition: .25s;
    background-color: rgb(66, 133, 209);
}

.lista{
    display: flex;
    flex-direction: column;
    margin: 24px auto;
    width: 350px;
    flex-wrap: wrap;
    height: auto;
    border-radius: 6px;
    background-color: rgb(255, 255, 255);
    box-shadow: 0px 0px 15px rgba(0, 0, 0, 0.25);
    color: rgb(255, 255, 255);
    word-wrap: break-word;
    transition: .5s ease-out;
}
.lista #caixa_links{
        display: flex;
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: space-between;
        height: auto;
        padding: 0px 8px;
        }

.lista:hover #caixa_titulo{
    transition: .25s ease-in;
    border-color:rgb(23, 70, 5);

}
.lista:hover {
    transition: .25s;
    box-shadow: 0px 0px 5px rgba(255, 255, 255, 1);
    color: rgb(197, 224, 255);
    
}

.lista p {
    font-size: 20px;
    font-weight: 800;
    color: black;

    transition: .3s ease-in-out;
}

.lista:hover p{
    color: rgb(255, 255, 255);
    transition: .25s ease-in;

}

.lista a{
    display: inline-block;
    font-size: 12px;
    color: blue;
    text-decoration: none;
    transition: .5s;
    padding: 12px 0px;
    align-items: center;
    width:49%;
    justify-content: space-between;
    word-wrap: break-word;
    font-family: Verdana, Geneva, Tahoma, sans-serif;

}

.lista a:hover{
    font-size: 12px;
    color: rgb(255, 255, 255);
    text-decoration:underline;
    transition: .25s;
    background-color: rgb(66, 133, 209);
}
