*{
    padding: 0;
    margin: 0;
    box-sizing: border-box;
    font-family: "Nunito", sans-serif;
}

/* gradiente de fundo */
body {
    background: linear-gradient(to bottom, #000, #333);
    min-height: 100vh;
}

header .acesso{
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    background: transparent;
}

header .acesso img{
    max-width: 240px;
    max-height: 60px;
    margin: 20px;
    background: transparent;
}

header .acesso .entrar{
    background: none;
    color: #fafafa;
    margin: 20px;
    padding: 20px;
    font-size: 20px;
    font-weight: bold;
    border-color: #fafafa;
    border-radius: 30px;
    cursor: pointer;
}

header .acesso .entrar:hover{
    scale: 1.05;
    transition: 500ms;
    text-decoration: underline;
}

main .banner {
    position: relative;
    width: 100%;
    overflow: hidden;
}

main .banner img {
    width: 100%;
    display: block;
}

main .banner::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 150px;
    background: linear-gradient(to bottom, rgba(0,0,0,0) 0%, #333 100%);
}

main .projeto{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    margin-top: 20px;
}

main .projeto h1{
    color: white;
    font-size: 40px;
}

main .projeto .curso {
    display: flex;
    flex-direction: row;
    margin-top: 50px;
    max-width: 80%;
    border-radius: 20px; 
    overflow: hidden;             
    box-shadow: 0 4px 10px rgba(0,0,0,0.3);
    margin-bottom: 50px;
    background-color: #1a1a1a; /* fundo sólido no card */
}

main .projeto .curso img {
    max-width: 400px;
    max-height: 400px;
    object-fit: cover;
    background-color: #333;      
    flex-shrink: 0;             
}

main .projeto .curso .info-curso {
    display: flex;
    flex-direction: column;
    justify-content: space-between;       
    align-items: center;
    text-align: center;
    padding: 20px;                 
    background-color: #1a1a1a;     
    border-radius: 0 20px 20px 0; 
}

main .projeto .curso .info-curso p{
    color: white;
    background: transparent;
    font-size: 30px;
}
main .projeto .curso .info-curso a{
    background-color: transparent;
}

main .projeto .curso .info-curso button{
    border-color: #fafafa;
    background: none;
    color: #fafafa;
    padding: 15px;
    font-weight: bold;
    font-size: 20px;
    border-radius: 25px;
    cursor: pointer;
}

main .projeto .curso .info-curso button:hover{
    scale: 1.05;
    transition: 500ms;
    text-decoration:underline;
}

/* Responsividade para telas menores que 705px */
@media (max-width: 705px) {

    header .acesso .entrar{
        font-size: 15px;
    }

    main .projeto .curso {
        flex-direction: column;       
        max-width: 90%;
    }

    main .projeto .curso img {
        width: 100%;                   
        height: auto;                  
        border-radius: 20px 20px 0 0; 
    }

    main .projeto .curso .info-curso {
        width: 100%;
        border-radius: 0 0 20px 20px;  
        margin-left: 0;
        padding: 20px;
    }

    main .projeto .curso .info-curso p {
        font-size: 24px;               
    }

    main .projeto .curso .info-curso button {
        width: 80%;                     
        font-size: 18px;
        padding: 12px;
        margin-top: 15px;
    }
}

footer{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

footer hr{
    color: gray;
    width: 100%;
}

footer img{
    max-width: 240px;
    max-height: 60px;
    margin: 20px;
    background: transparent;
}

footer h2{
    color: white;
    font-size: 15px;
    margin-bottom: 30px;
}
