*{
    margin: 0;
    text-decoration: none;
    list-style-type: none;
}

:root{
    --degrade-linha: linear-gradient(to right, rgb(2, 137, 206), rgb(78, 181, 190), rgb(66, 164, 117),
    rgb(140, 198, 61), rgb(254, 194, 17), rgb(250, 166, 25), rgb(245, 130, 32), rgb(222, 25, 34));
}

.linhaDegrade {
    height: 10px; /* Define a altura da linha */
    background: var(--degrade-linha);
}

body {
    font-family: 'Roboto', sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f4f7f6;
    color: #333;
    line-height: 1.6;
}

main{
    background-image: url("img/BCKete.png");
    background-repeat: no-repeat; /* Não repetir a imagem */
    background-size: cover; /* Cobrir todo o corpo */
    background-position: center center; /* Centralizar a imagem */
}

.container{
    max-width: 1650px;
    padding: 0 5%;
    margin: 0 auto;
}

header{
    background: rgb(0, 21, 49);
}

header .container{
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px;

    img{
        width: 200px;
    }

    a{
        font-size: 2rem;
        font-weight: 700;
        font-style: normal;
        color: white;
    }

    .inicio{
        background: rgb(222, 25, 34);
        border-radius: 30px;
        padding: 1px 50px;
    }

    .cursos{
        background: rgb(245, 130, 32);
        border-radius: 30px;
        padding: 1px 50px;
    }

    .noticias{
        background: rgb(254, 194, 17);
        border-radius: 30px;
        padding: 1px 50px;
    }

    .sobre{
        background: rgb(32, 220, 245);
        border-radius: 30px;
        padding: 1px 50px;
    }

    .contatos{
        background: rgb(66, 164, 117);
        border-radius: 30px;
        padding: 1px 50px;
    }

    .sisram{
        background: rgb(66, 164, 117);
        border-radius: 50px;
        padding: 1px 30px;
    }
}

.cursos-section {
    padding: 40px 0;
    text-align: center;

    h2{
        font-size: 2.2em;
        color: #a9c3dd;
        margin-bottom: 30px;
        position: relative;
        display: inline-block;
    }

    h2::after{
        content: '';
        position: absolute;
        left: 50%;
        bottom: -10px;
        transform: translateX(-50%);
        width: 60px;
        height: 4px;
        background-color: #3498db;
        border-radius: 2px;

    }
}

.curso-list {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 30px;
    margin-top: 40px;
}

.curso-card {
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    padding: 30px;
    width: 350px;
    text-align: left;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.curso-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 16px rgba(0,0,0,0.2);
}

.curso-card h3 {
    color: #3498db;
    font-size: 1.8em;
    margin-top: 0;
    margin-bottom: 15px;
}

.curso-card p {
    font-size: 1.1em;
    color: #555;
    flex-grow: 1; /* Faz o parágrafo ocupar o espaço restante */
}

.curso-card .button-container {
    margin-top: 20px;
    text-align: center;
}

.curso-card a.button {
    display: inline-block;
    background-color: #3498db;
    color: #fff;
    padding: 12px 25px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s ease;
}

.curso-card a.button:hover {
    background-color: #2980b9;
}

footer{
    background: rgb(0, 21, 49);
    padding: 20px;
    .container{
        .cima{
            display: flex;
            justify-content: space-between;
            color: white;
        }

        h5{
            font-size: 1.5rem;
        }

        li{
            margin-top: 5px;
            font-size: 1.3rem;
        }

        a{
            display: flex;
            align-items: center;
            text-align: center;
            margin-top: 5px;
            font-size: 1.5rem;
            color: white;
        }

        img{
            margin-right: 10px;
            width: 25px;
        }
    }
}

@media (max-width: 768px){

    .container{
        max-width: 750px;
        padding: 0 1%;
        margin: 0 auto;
    }

    header{
        .container{
            a{
                display: none;
            }
        }
    }
 
    main{

        .telaI{
            height: auto;
            .container{
                .esquerda{
                    h1{
                        font-size: 7.5rem;
                    }
                }

                .meio{
                    .logo{
                        img{
                            width: 250px;
                        }
                    }
                }

                .direita{
                    h1{
                        font-size: 7.5rem;
                    }
                }
            }
    
        }

        .descricao{
            .container{
                .txt{
                    width: 100%;

                    h2{
                        font-size: 4rem;
                    }

                    p{
                        font-size: 3rem;
                    }
                }
            }
                    
        }

        .atualizacoes{
            .baixo{
                width: 100%;
            }
        }

        .publicacoes{
            height: auto;
                    
            .esquerda{
                width: 100%;
                        
                .baixo{
                    display: flex;
                    flex-direction: column;
                    justify-content: center;

                    .card{
                        margin: 10px auto;
                    }

                    .cardM{
                        margin: 10px auto;
                    }
                }
            }
        }

        .convite{
            .cima{
                .esquerda{
                    h3{
                        font-size: 3.5rem;
                    }

                    h5{
                        font-size: 1.5rem;
                    }
                }

                .direita{
                    img{
                        width: 250px;
                    }
                }
            }
        }
    }

    footer{
        .container{
            .cima{
                flex-direction: column;
    
                h5{
                    margin-top: 15px;
                }
            }
        }
    }
}
