* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
    background-color: #000000;
    color: #F0F0F0;
    line-height: 1.6;
    min-height: 100vh;
    display: flex;
    flex-direction: column;

}

header {
    width: 100%;
    position: fixed;
    top: 0;
    left: 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #0A1A2F;
    box-shadow: 0px 2px 5px rgba(0, 0, 0, 0.5);
    color: #F0F0F0;
}


.logo {
    display: flex;
    align-items: center;
}

.logo img {
    object-fit: cover;
    width: 150px;
    height: auto;
    margin-right: 10px;
}

nav ul {
    list-style: none;
    display: flex;
    gap: 20px;
}



nav a {
    color: #F0F0F0;
    text-decoration: none;
    font-size: 1.1em;
    font-weight: bold;
    transition: color 0.3s;
}

nav a:hover {
    color: #2f89e2;
}

.login {
    display: flex;
    gap: 10px;
    padding: 30px;

}

.login img {

    width: 40px;
    height: auto;
    margin-right: 0px;
}

.login a {
    padding: 10px 20px;
    background-color: #123456;
    color: #F0F0F0;
    border-radius: 50px;
    text-decoration: none;
    font-weight: bold;


}


.login a:hover {
    background-color: #1E3A5F;

}

.fds {
    text-align: center;
    padding: 160px 20px;
    background-color: #0A1A2F;
    background-image: url('ler2.jpg');
    /* Substitua por seu caminho de imagem */
    background-size: cover;
    /* Faz com que a imagem cubra toda a área */
    background-position: center;
    /* Centraliza a imagem */
    color: #F0F0F0;
    margin-top: 100px;
    border-bottom: 2px solid #123456;

}


.fds h2 {
    font-size: 2.5em;
    margin-bottom: 20px;
    color: #1E90FF;
}

.fds p {
    font-size: 1.2em;
}

.apresentação {
    background: linear-gradient(135deg, #1a1a2e, #16213e);
    color: #F0F0F0;
    padding: 4rem 2rem;
}

.container {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
}

.texto {
    max-width: 600px;
}

.texto h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.texto h1 span {
    color: #2f89e2;
}

.texto p {
    font-size: 1.2rem;
    margin-bottom: 1rem;
    line-height: 1.6;
}

.BUTAO {
    display: inline-block;
    margin-top: 1rem;
    padding: 0.8rem 1.5rem;
    background: #2f89e2;
    color: #F0F0F0;
    font-size: 1rem;
    text-decoration: none;
    border-radius: 4px;
    transition: background 0.3s ease;
}

.BUTAO:hover {
    background: #123456;
}

.cursos {
    padding: 60px 20px;
    text-align: center;
    background-color: #000000;
    color: #F0F0F0;
}

.cursos h2 {
    font-size: 2.5em;
    margin-bottom: 30px;
    color: #F0F0F0;
    background-color: #123456;
    border-radius: 50px;
    letter-spacing: 2px;

}

.listaCursos {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
    max-width: 1200px;
    margin: 0 auto;
}

.curso1 {
    background-color: #123456;
    color: #F0F0F0;
    padding: 20px;
    border-radius: 10px;
    width: 280px;
    text-align: center;
    transition: transform 0.3s, box-shadow 0.3s;
}


.curso1 h3 {
    margin-bottom: 15px;
    font-size: 1.5em;
    color: #1E90FF;
}

.curso1 p {
    font-size: 1em;
    line-height: 1.5;
    margin-bottom: 20px;
}

.curso1 button {
    background-color: #1E3A5F;
    color: #F0F0F0;
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s, transform 0.2s;
    font-weight: bold;
    font-size: 1em;
}

.curso1 button:hover {
    background-color: #1E90FF;

}

.formulario {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;

}




.listaCursos {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    /* 3 colunas */
    grid-auto-rows: auto;
    /* Altura automática para as linhas */
    gap: 20px;
    /* Espaçamento entre os livros */
    max-width: 1200px;
    /* Largura máxima da lista */
    margin: 0 auto;
    /* Centraliza o contêiner */
    padding: 20px;
    justify-content: center;
}

.livro {
    background-color: #123456;
    color: #F0F0F0;
    padding: 20px;
    border-radius: 10px;
    text-align: center;
    transition: transform 0.3s, box-shadow 0.3s;
    height: auto;
}

.livro h3 {
    font-size: 1.2em;
    margin-bottom: 10px;
}

.livro p {
    font-size: 1em;
    margin-bottom: 15px;
}

.livro button {
    background-color: #1E3A5F;
    color: F0F0F0;
    padding: 10px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.livro button:hover {
    background-color: #1E90FF;
}



.logar {
    background-color: rgba(30, 58, 95, 0.4);
    /* Fundo transparente ta bugado*/
    color: #F0F0F0;
    padding: 30px;
    border-radius: 40px;

    text-align: center;
    width: 300px;
    margin-top: 100px;

}

.logar h2 {
    margin-bottom: 20px;
}

.logar label {
    display: block;
    text-align: left;
    margin-bottom: 5px;
    font-weight: bold;
}

.logar input {
    width: 100%;
    padding: 10px;
    margin-bottom: 15px;
    border-radius: 4px;
    border: none;
}

.logar button {
    width: 100%;
    padding: 10px;
    background-color: #123456;
    color: #F0F0F0;
    border: none;
    border-radius: 4px;
    font-size: 1em;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.3s;
}

.logar a {
    color: #1E90FF;
}

.logar p {
    width: 100%;
    padding: 10px;
    background-color: #123456;
    color: #F0F0F0;
    border: none;
    border-radius: 4px;
    font-size: 1em;
    font-weight: bold;
    cursor: pointer;
    margin-top: 5px;
    transition: background-color 0.3s;
}

.logar button:hover {
    background-color: #1E90FF;
}

.logar a:hover {
    background-color: #123456;
}

.cadaslogin {
    background-image: url('céu.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
}


section#livros {
    padding: 400px;
    background-color: #0A1A2F;
    border-radius: 8px;
    background-image: url('rain.jpg');
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
}


/* eu acho q deve ter uns 3 seletor por id nesse codigo xd */
.listaCursos {
    list-style: none;
    padding: 0;
    margin: 0;
}


.livro {
    background-color: #1E3A5F;
    margin: 15px 0;
    padding: 15px;
    border-radius: 5px;
    transition: background-color 0.3s ease;
}

.livro:hover {
    background-color: #A3BED4;
}

.livro h3 {
    font-size: 1.5em;
    color: #F0F0F0;
    margin: 0 0 10px 0;
}

.livro p {
    font-size: 1em;
    color: #F0F0F0;
    margin: 5px 0;
}

.livro button {
    padding: 8px 16px;
    background-color: #1E90FF;
    color: #F0F0F0;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

.livro button:hover {
    background-color: #1E3A5F;
}

.listaCursos {
    max-width: 800px;
    margin: 0 auto;
}

footer {
    background-color: #0A1A2F;
    padding: 20px;
    text-align: center;
    color: #F0F0F0;
    border-top: 2px solid #1E3A5F;
    margin-top: auto;
    width: 100%;
}



.carrinho {
    background-color: #0A1A2F;
    color: #F0F0F0;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.5);
    max-width: 800px;
    margin: 0 auto;
}


.carrinho h2 {
    font-size: 2rem;
    color: #1E90FF;
    margin-bottom: 20px;
    text-align: center;
}


#listaCarrinho {
    margin-bottom: 20px;
    padding: 10px;
    background-color: #123456;
    border-radius: 5px;
    overflow: auto;
}


.total {
    margin-top: 20px;
    text-align: center;
}

.total h3 {
    font-size: 1.5rem;
    color: #A3BED4;
}

button.finalizar {
    display: block;
    width: 100%;
    padding: 15px;
    font-size: 1.2rem;
    font-weight: bold;
    color: #F0F0F0;
    background-color: #1E3A5F;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s, transform 0.2s;
    text-transform: uppercase;
}

button.finalizar:hover {
    background-color: #1E90FF;
    transform: scale(1.05);
}

hr#linhazinha {
    border: none;
    border-top: 2px solid #123456;
    margin: 20px 0;
}



a.palavras {
    color: #F0F0F0;
    font-weight: bold;
    text-decoration: none;
    transition: color 0.3s;
}

a.palavras:hover {
    color: #1E90FF;
}