@media screen and (min-width: 900px){

.academia{
    width: 100%;
    height: 500px;
    background-color: navy;
    color: white;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

.headAc{
    font-size: 3.5em;
    margin-bottom: 20px;
}

.descAc{
    font-size: 1.5em;
    width: 60%;
    text-align: center;
}

.btnAc{
    margin-top: 30px;
    padding: 15px 30px;
    font-size: 1.2em;
    color: black;
    background-color:#ffcc00;
    border: none;
    border-radius: 30px;
    cursor: pointer;
    transition: background-color 0.3s, color 0.3s;
    font-weight: bold;
}

}
























@media screen and (max-width: 899px){

.academia{
    width: 100%;
    height: 500px auto;
    background-color: navy;
    color: white;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    padding: 20px;
}

.headAc{
    font-size: 1.8em;
    margin-bottom: 20px;
    text-align: center;
}

.descAc{
    font-size: 1em;
    width: 80%;
    text-align: center;
}

.btnAc{
    margin-top: 30px;
    padding: 10px;
    font-size: 14px;
    color: black;
    background-color: yellow;
    border: none;
    border-radius: 30px;
    cursor: pointer;
    transition: background-color 0.3s, color 0.3s;
    font-weight: bold;
    width: 200px;
    height: 40px;
}

}