




.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    justify-content: center;
    align-items: center;
    z-index: 1000;

}

.modal-content {
    background: #fff;
    padding: 20px;
    border-radius: 15px;
    text-align: justify;
    width: 90%;
    max-width: 500px;
    font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
    box-shadow: 1px 2px 4px 5px #181818;
}


.close {
    position: absolute;
    top: 10px;
    right: 15px;
    font-size: 24px;
    cursor: pointer;
}

#modal-title {
    margin-top: 0;
}



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

}

body {
    font-family: monospace;
    font-size: 20px;
    font-weight: 500;
    overflow-x: hidden;
    background-color: #181818;
}

html {
    scroll-behavior: smooth;
}





.nav {
    position: sticky;
    top: 0;
    background-color: #181818;
    height: 100px;
    width: 100%;
    display: flex;
    justify-content: flex-end;
    z-index: 9;
}  

.nav-list {
    display: flex;
    align-items: center;
    list-style: none;
    margin-right: 28px;
    
}

.nav-list a {
    text-decoration: none;
    color: #DDD;
    padding: 20px;
}

.nav-list a:hover {
    color: #fff;
}


.main {
    width: 100%;
    background-color: black;
    height: calc(100vh - 100px);
    background-image: url(images/blue.png);
    background-repeat: no-repeat;
    background-position: center; 
    background-size: cover; 
    display: flex;
    align-items: center;
    padding-left: 10%;
} 

.main h1 {
    color: #fff;
    font-size: 54px;


}

.main p {
    font-size: 24px;
    font-style: italic;
    color: #1e96fc;
    margin-top: 10px;
    margin-bottom: 35px;


}

.call_to_action {
    cursor: pointer;
    background-color: #fff;
    border: 0;
    padding: 14px;
    border-radius: 4px;
    font-size: 18px;
    font-weight: bold;
    transition: 0.2s;
}

.call_to_action:hover {
    transform: scale(1.1);
}


.main a {   
    text-decoration: none;
}

.sobre {
    background-color: #dddddd;
    width: 100%;
    padding-left: 10%;
    padding-right: 10%;
    padding-bottom: 80px;
    padding-top: 10%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
}

.sobre img {
    margin-left: 50px;
    border-radius: 8px;
    height: 450px;
    max-width: 450px;
}


.sobre div {
    max-width: 50%;
    padding-right: 40px;
}

.sobre div h1 {
    font-size: 32px;
    margin-bottom: 14px;
}

.study {
    background-color: #b6b6b6;
    width: 100%;
    padding-left: 10%;
    padding-right: 10%;
    padding-bottom: 30px;
    padding-top: 5%;
}


.topicos {
    background-color: #b6b6b6;
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin: 30px;
    
}

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

.topicos div {
    margin: 20px;
}

.projetos {
    background-color: #fff;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 80px 0;
}



.projetos h2 {
    font-size: 22px;
    margin-bottom: 8px;
    margin-top: 20px;
}


.projetos p {
    margin-bottom: 40px;
    font-style: italic;
}



.project-list {
    width: 75%;
    margin-bottom: 8px;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;

}


.project-item {
    position: relative;
    display: inline-block;
}

.project-item img {
    width: 250px;
    margin-right: 10px;
    opacity: 0.8;
    transition: 0.2s;
    border-radius: 10%;
    border: 1px solid #181818;
    box-shadow: 2px 2px 5px 1px rgba(0, 0, 0, 0.2);
}

.project-item .img-hover {
    cursor: pointer;
    border: none;
    position: absolute;
    border-radius: 5%;
    top: 0;
    left: 0;
    width: 250px;
    height: 100%;
    opacity: 0;
    transition: opacity 0.9s ease;
}

.project-item:hover .img-hover {
    opacity: 1;
}

.project-item:hover .img-normal {
    opacity: 0;
}



.action {
    background-color: #181818;
    border: 0;
    padding: 12px 28px;
    border-radius: 4px;
    font-size: 18px;
    color: #fff;
    margin-top: 18px;
    cursor: pointer;
    transition: 0.2s;
}

.action:hover {
    transform: scale(1.1);
}

footer {
    width: 100%;
    background-color: #181818;
    padding: 70px 0;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #fff;
    flex-direction: column;

}

footer a {
    text-decoration: none;
    color: #fff;
}

footer p {
    margin-left: 12px;
}

.project-list button {
    background-color: #fff;
    border: #fff;
}


@media (max-width: 1300px)  {
    .sobre {
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .sobre img {
        margin-top: 30px;
        margin-right: 70px;
        max-width: 300px;
        max-height: 300px;
    }

    .sobre p {
        font-size: 20px;
    }

    .sobre div {
        margin: none;
        max-width: 100%;
    }

    #home p {
        font-size: 20px;
    }

    .nav-list a {
        font-size: 11px;
        font-weight: bolder;
        padding: 10px;
    }

    .topicos {
        flex-wrap: wrap;
    }
}

#habilidades {
    background-color: #c4c4c4;
    padding-top: 50px;
    padding-bottom: 50px;
}

.habilidades p {
    margin-bottom: 40px;
    font-style: italic;
}

.habilidades



#modal-video {
    border-radius: 5px;
    margin-bottom: 16px;
    max-width: 90%;
    height: auto;
    object-fit: cover; /* Para ajustar o vídeo sem distorção */
    box-shadow: 1px 2px 4px #181818;
}


