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

body {
    font-family: 'Roboto', sans-serif;
}

html{
    scroll-behavior: smooth;
}

/* INICIO HEADER */
.nav {
    background-color: #181818;
    height: 70px;
    width: 100%;
    display: flex;
    justify-content: flex-end;
    position: sticky;
    top: 0;
    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;
}

/* FIM HEADER*/

/* INICIO MAIN*/
.main {
    width: 100%;
    background-color: #000;
    height: calc(100vh - 80px);
    background-image: url(img/programador.png);
    display: flex;
    align-items: center;
    padding-left: 10%;
}

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

.main p {
    font-size: 24px;
    font-style: italic;
    color: rgba(0, 4, 255, 0.8);
    margin-top: 10px;
    margin-bottom: 35px;
}

.call-to-action {
    cursor: pointer;
    background-color: #ffffff;
    border: 0;
    padding: 14px;
    border-radius: 4px;
    font-size: 18px;
    font-weight: bold;
    transition: 0.9s;
}

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

.main a {
    text-decoration: none;
    color: #181818;

}
/* FIM MAIN */

/* INICIO ABOUT */
.about{
    background-color: #ffffff;
    width: 100%;
    padding-left: 10%;
    padding-right: 10%;
    padding-top: 80px;
    padding-bottom: 80px;

    display: flex;
    align-items: center;
    justify-content: space-between;
   
}

.about div{
    max-width: 50%;
    padding-right: 40px;
    /* border: 1px solid red; */
    background-color: #F0F0F0;
    padding: 10px;
}

.about p {
    text-indent: 10px;
}

.about img{
    max-width: 450px;
    border-radius: 8px;
}

.about div h2{
    font-size: 32px;
    margin-bottom: 14px;
}

.logs-img {  
    display: flex;
    gap: 15px;
    margin-top: 1rem;
}

.logs-img img {
    height: 30px;
    object-fit: contain;
}
/* FIM ABOUT */

/* INICIO PROJECTS */
.projects{
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 80px 0;
}

.projects h2{
    font-size: 32px;
    margin-bottom: 8px;
    margin-top: 20px;
}

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

.projects-list{
    width: 100%;
    margin-bottom: 8px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.projects img{
    width: 22%;
    margin-left: 0.5%;
    margin-right: 0.5%;
    opacity: 0.8;
    transition: 0.9s;
}

.projects img:hover{
    opacity: 1;
}

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

.action a {
    color: #ffffff;
    text-decoration: none;
}
/* FIM PROJECTS*/

/* INICIO RODAPE*/
footer{
    width: 100%;
    background: #181818;
    padding: 60px 0;
    display: flex;
    justify-content: center;
    justify-items: center;
    color: #ffffff;
}

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

footer p{
    margin-left: 12px;
}
/* FIM RODAPE*/

/* RESPONSAVIDADE*/
@media(max-width: 1030px){
    /* INICIO MAIN*/
    .main h1{
        font-size: 45px;
    }

    .main p{
        font-size: 18px;
    }

    .main{
        background-size: cover;
    }
    /* FIM MAIN*/

    /* INICIO SOBRE */
    .about{
        flex-direction: column;
        padding-top: 80px;
        padding-left: 0;
        padding-right: 0;
        padding-bottom: 0;
    }
    
    .about div{

        max-width: 80%;
    }
    
    .about div h2{
        font-size: 45px;
    }
    
    .about div:last-child {
       max-width: 100px;
    }

    .logs-img a img {
        margin-top: 0;
        margin-bottom:0 ;        
    }

    .about img{
        width: 80%;
        margin-top: 30px;
    }
    /* FIM SOBRE*/

    /* INICIO PROJETOS*/
    .projects img{
        width: 27.5%;
        cursor: pointer;
    }
    /* FIM PROJETOS*/

    /* INICIO RODAPE*/
    
    footer{
        flex-direction: column;
        align-items: center;
    }

    footer h3{
        font-size: 24px;
        margin-bottom: 8px;

    }

    footer p{
        margin: 0;
    }
    /* FIM RODAPE*/
}

/* INICIO DO MODAL  */

#modal {
    position: fixed;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    background-color:  #ebebeb;
    z-index: 10;
    width: 700px;
    max-width: 90%;
    padding: 1.2rem;
    border-radius: 0.5rem;
}

.modal-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 1rem;
    color: #070606;
    font-weight: 800;
}

.img-modal {
    width: 300px;
    max-width: 90%;
    object-fit: contain ;
}

.modal-head button {
    border: none;
    font-size: 1.2rem;
    background-color: transparent;
    cursor: pointer;
}

.modal-head button:hover {
    color: #7d7d7d;
    font-weight: 400;
}

.modal-body {
    display: flex;
    justify-content: space-between;
    text-indent: 15px;
}

.modal-body ul {
    margin-top: 0.2rem ;
    list-style: circle;
    color: #000;
    list-style-position: inside;
}

.modal_body_info {
    display: flex;
    flex-direction: column;
    margin-left: 1.3rem;
    justify-content: space-around;
    text-align: justify;
}

.modal_body_info div:last-child p {
   font-weight: bold;
   text-indent: 0;
   margin-top: 1rem;
}

.modal-footer {
     border-top: 1px solid #ccc;
    margin-top: 1rem ;
    display: flex;
    justify-content: space-around;
    text-align: center;
}

.modal-footer img {
         height: 25px;
        display: flex;
        text-align: center;
        margin-right: 0.5rem;
        margin-top: 0.5rem;
}

.modal-footer p{
     display: flex;
     align-items: end;
}

.modal-footer p a{
    color:#181818;
    text-decoration: none;
}

.modal-footer p a:hover{
    color: #7d7d7d;
    text-decoration: underline;
}

/* FIM DO MODAL  */

#fade {
    position: fixed;
    top:  0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0, 0, 0.6);
    z-index: 5;
}

#modal.hide,
#fade.hide {
    opacity: 0;
    pointer-events: none;
}-mo

#modal.hide {
    top: 0;
}

@media (width < 700px) {
    .modal-head h2 {
        margin: auto;
    }

    .modal-body {
        flex-direction: column;
    }
    
    .img-modal {
        margin: auto;
        margin-bottom: 1rem;
    }

    .modal_body_info {
        margin: auto;
    }

    .modal-footer {
        font-size: small;
    }
    
    .modal-footer img {
        margin-right: 3px;
    }
}
