body.dark-mode {
    background-color: #292929; 
    color: rgb(8, 8, 8);
}
.dark-mode header{
    background: transparent;
    box-shadow: none;
    border-bottom: none;
}

.dark-mode .content {
    height: 90vh;
    background-color: #222222 ;
    display: flex;
    align-items: center;
    justify-content: center;
}

.dark-mode nav h1 {
    z-index: 10;
    color: #ffffff   ;
    font-size: 3.0rem;
    font-weight: 700;
    letter-spacing: 6px;
}

.dark-mode nav ul {
    display: flex;
}

.dark-mode nav ul li {
    display: flex;
    margin-left: 40px;
}

.dark-mode ul li a {
    color: #ffffff  ;
    font-size: 2.2rem;
    height: 39px;
    display: flex;
    align-items: center;
    position: relative;
}
.dark-mode .dev-span{
    color: #4c93fb ;
}



.dark-mode ul li a::before {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    background-color: #4c93fb ;
    transition: ease 0.4s;
    height: 1px;
}

.dark-mode ul li a:hover {
color: #4c93fb ;
}

.dark-mode ul li a:hover::before {
    width: 100%;
}
.dark-mode #initial {
    height: 10vh;
    background: #222222  ;
}


.dark-mode .typing {
    white-space: nowrap;
    overflow: hidden;
    border-right: 2px solid #ffffff  ;
    width: 390px;
    font-size: 2.8rem;
    
}

.dark-mode .typing-animation {
    animation: typing 4s steps(45) 2s normal both, blinkCursor 750ms steps(45) 0.7s infinite normal;
    color: #ffffff   ;
}
.dark-mode .apresentacao h1 {
    width: fit-content;
    color: #ffffff   ;
    font-size: 5.0rem;
    opacity: 0;
    animation: opacidade 7s 1s normal both;
}

.dark-mode .apresentacao p {
    color: #ffffff   ;
    font-size: 2.4rem;
    font-weight: 500;
}

.dark-mode #initial div {
    margin-left: 20%;
}

.dark-mode #initial div a {
    font-size: 2.0rem;
    font-weight: 700;
    letter-spacing: 3px;
    max-width: 315px;
    color: #ffffff ;
    /* padding: 10px 100px; */
    transition: all ease 0.3s;
    background: #007bff ;
    border: solid 1px transparent;
}

.dark-mode #initial div a:hover {
    color: #ffffff;
    background: rgba(79, 75, 71, .5);
    border: 1px solid #007bff ;
}

.dark-mode #initial div a .fa-github {
    font-size: 1.8rem;
    margin-right: 5px;
    animation: none;
}


.dark-mode #information {
    height: 60vh;
    background-color: #2c3e50  ;
    display: flex;
    align-items: center;
    justify-content: center;
}

.dark-mode .person {
    width: 1120px;
    max-width: 1120px;
    display: flex;
    align-items: center;
    text-align: justify;
    padding: 0 50px;
}

.dark-mode .person #img2{
    background-size: cover;
    width: auto;
    height: auto;
    border-radius: 50%;
   
}

.dark-mode .informacoes-pessoais {
    margin-left: 5%;
    color: #ffffff ;
}

.dark-mode .informacoes-pessoais h3 {
    font-family: 'Poppins', sans-serif;
    font-size: 5.0rem;
    color: #ff5722  ;
    font-weight: 700;
    letter-spacing: 5px;
}

.dark-mode .informacoes-pessoais p {
    margin-top: 25px;
    font-size: 2.2rem;
    font-weight: 500;
}

.dark-mode .informacoes-pessoais p span {
    color: #ff5722  ;
}

.dark-mode #projects {
    position: relative;
    height: fit-content;
    background: rgb(0, 0, 0);
    background: linear-gradient(126deg, rgba(0, 0, 0, 1) 0%, rgba(79, 75, 71, 1) 100%);
    padding: 150px 0 250px 0;
}

.dark-mode #projects>h3{
    color: #4c93fb;
    font-size: 4.5rem;
    letter-spacing: 15px;
    font-family: 'Poppins', sans-serif;
    font-weight: 800;
    margin-left: 10%;
}

.dark-mode .projects-container {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 8%;
    justify-content: space-around;
    margin-right: auto;
    margin-left: auto;
    max-width: 1120px;
}

.dark-mode .card {
    background: rgba(0, 0, 0, 0.1);
    box-shadow: 0 4px 16px 0 #ffffff;
    backdrop-filter: blur(0px);
    -webkit-backdrop-filter: blur(0px);
    border-radius: 10px;
    padding: 30px;
    margin-top: 9%;
    color: #F2F2F2;
    text-align: center;
    font-size: 2.0rem;
    font-weight: 700;
    height: 380px;
    transition: all ease 0.3s;
    width: 280px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
}

.dark-mode .card img {
    max-height: 220px;
 
    max-width: 200px;
    width: auto;
}

.dark-mode .card:hover {
    box-shadow: 0 0px 40px 0 #34dde4;

}

.dark-mode .card a {
    
    font-size: 1.6rem;
    color: #a07c7c;
    transition: all ease 0.3s;
}

.dark-mode .card a:hover {
    color: #f7cdac9a;
}
.dark-mode .card .links p {
    color: #007bff;

}

.dark-mode #knowledge {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    position: relative;
    margin-top: 150px;
}

.dark-mode #knowledge>h3 {
    font-family: 'Poppins', sans-serif;
    font-weight: 800;
    margin-top: 4px;
    font-size: 4.5rem;
    display: flex;
    justify-content: center;
    position: absolute;
    top: 0;
    left: 5%;
    color: #d81b60   ;
    font-size: 4.5rem;
    
}
.dark-mode .knowledge-container {
    max-width: 1120px;
    padding: 60px 0;
    display: flex;
    gap: 50px;
    flex-wrap: wrap;
    margin-top: 5%;
}

.dark-mode .knowledge-type {
    display: flex;
    flex-direction: column;
    text-align: center;
    cursor: pointer;
}



.dark-mode .knowledge-type h3 {
    font-size: 2.2rem;
    color: #d81b60   ;
    transition: all ease 0.5s;
}

.dark-mode #contact {
    display: flex;
    position: relative;
    justify-content: center;
    margin-top: 5%;
    background-color: #444444 ;
    padding-top: 200px;
    padding-bottom: 50px;
}

.dark-mode .titleContact {
    color: #ffffff ;
    position: absolute;
    top: 27%;
    left: 3%;
    font-size: 4.5rem;
    font-weight: 800;
    font-family: 'Poppins', sans-serif;
}

.dark-mode .links-contact {
    display: flex;
    gap: 13%;
    margin-top: 5%;
    flex-direction: column;
    max-width: 1120px;
}

.dark-mode .links-contact i {
    font-size: 2.2rem;

}

.dark-mode .links-contact a {
    display: flex;
    justify-content: flex-start;
    color: #f2f2f2;
    transition: all ease 0.3s;
    background: rgba(0, 0, 0, 1);
    border: solid 1px transparent;
    padding: 10px 40px;
    width: 350px;
    max-width: 350px;
    margin-top: 5%;
}

.dark-mode .links-contact a span {
    font-size: 1.6rem;
    font-weight: 700;
    letter-spacing: 2px;
    margin-left: 10px;
}

.dark-mode .links-contact a:hover {
    color: #ffffff;
    background: rgba(79, 75, 71, .5);
    border: 1px solid #a07c7c;
}
.dark-mode #back-to-top {
    display: flex;
    justify-content: center;
    flex-direction: column;
    align-items: center;
    padding-bottom: 1%;
    padding-top: 2%;
    background-color: #444444;
}

@media (max-width: 920px) {
    .dark-mode .nav-list {
        display: none;
    }

    .mobile-menu {
        z-index: 1;
        display: block;
    }

    .nav-list.on {
        z-index: 1;
        display: flex;
        position: absolute;
        gap: 43px;
        right: 0;
        width: 30vh;
        top: 0;
        flex-direction: column;
        height: 50vh;
        padding: 100px 50px;
        background: var(--nav-bg);
    }

    /* Estilos para o modo escuro */
    .dark-mode .nav-list.on {
        background: var(--nav-bg);
    }
}

.dark-mode .checkbox-label {
    background-color: rgb(7, 7, 7);
    width: 50px;
    height: 26px;
    border-radius: 50px;
    position: relative;
    padding: 5px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
  }
  
  .fa-moon {color: #f5f50b;}