* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    height: 100%;
    display: flex;
    flex-direction: column;
}

body {
    font-family: Arial, Helvetica, sans-serif;
    background-color: #F15A29;
    color: #333;
}

.header {
    background: #fff;
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    z-index: 1000;
}

.menu {
    max-width: 1200px;
    margin: auto;
}

.lista_menu {
    display: flex;
    align-items: center;
    justify-content: center;
    list-style: none;
    gap: 50px;
    padding: 15px;
}

.lista_menu li a {
    text-decoration: none;
    color: #000;
    font-size: 18px;
    transition: 0.3s;
}

.lista_menu li a:hover {
    color: #F15A29;
    border-bottom: 2px solid #F15A29;
}

.logo_menu img {
    height: 60px;
}

main {
    flex: 1; 
    padding-top: 100px; 
    text-align: center;
}

section{
    padding: 60px 20px;
    background: #fff;
    box-shadow: 0 6px 25px rgba(0, 0, 0, 0.35);
    border-radius: 10px;
    margin: 40px auto;
    max-width: 600px;
    margin-top: 3%;
    display: flex;
    justify-content: center;
    text-align: center;
}

form{
    max-width: 400px;
    margin: 20px;
    background: #fff;
    padding: 40px;
    border-radius: 12px;
}

form h1 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: #F15A29;
}

input{
    width: 100%;
    padding: 12px;
    margin-bottom: 20px;
    border: 2px solid #F15A29;
    border-radius: 8px;
    font-size: 16px;
    transition: 0.3s;
}

input:focus{
    border-color: #d94c21;
}

button {
    background: #F15A29;
    color: #fff;
    padding: 12px 25px;
    text-decoration: none;
    border: #fff;
    border-radius: 8px;
    font-weight: bold;
    transition: 0.3s;
}

button:hover {
    background: #d94c21;
}

.rodape {
    background: #222;
    color: #fff;
    box-shadow: 0 -4px 15px rgba(0, 0, 0, 0.3);
    text-align: center;
    padding: 20px;
    margin-top: auto;
}

@media (max-width: 768px) {
  main {
    flex-direction: column;
    align-items: center;
    padding: 10px;
  }

  nav a {
    margin: 5px 0;
  }

  footer {
    width: 100%;
  }
}

@media (max-width: 480px) {
    nav {
        flex-direction: column;
        align-items: center;
    }
    
    main {
        width: 100%;
    }

    h1 {
        font-size: 1.2rem; 
    }
}

body.modo-escuro {
    background-color: #1e1e1e;
    color: #000000;
}

body.modo-escuro section {
    background: #333;
    color: #000000;
    border: 2px solid #F15A29;
}

body.modo-escuro .rodape {
    background: #111;
}

#tema {
    position: fixed;
    top: 20px;
    right: 20px;
    background: #fff;
    color: #F15A29;
    border: none;
    border-radius: 8px;
    padding: 8px 12px;
    cursor: pointer;
    font-size: 18px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.3);
}