* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
}
@font-face {
    font-family: 'Montserrat';
    src: url('../fonts/Montserrat-Medium.ttf') format('truetype'); /* Safari, Android, iOS */
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'Montserrat';
    src: url('../fonts/Montserrat-Bold.ttf') format('truetype');
    font-weight: bold;
    font-style: normal;
}

/* Usando a fonte no seu CSS */
html,
body {
    height: 100%;
    font-family: "Montserrat";
}
a {
    text-decoration: none;
}
body {
    /* background-color: #fafcfa; */
    background-color: #e3e4e8;
}
.no-scroll{
    overflow: hidden;
}
header {
    width: 100%;
    position: fixed;   
    /* background-color: #b5e605; */
    /* background-color: #bff302; */
    background-color:#44f202;
    color: black;
    padding: 15px;
    border-bottom: 4px solid black;
    border-top: 4px solid black;
    font-weight: 700;
    overflow: hidden;
    z-index: 9999;
    transition: all 0.25s ease;
}
.wrap-header{
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
}
.btn-lng{
    position: fixed;
    right: 10px;
    top:10px;
    display: flex;
    flex-direction: row;
    justify-content: space-evenly;
    align-items: center;
    /* background-color: orange; */
}
/* .btn-lng > div{
    position: relative; 
     margin-left: 10px;    
} */

.red-line{
    position: absolute;
    left:50%;
    transform: translateX(-50%);    
    width:26px;
    height: 2px;
    background-color:red;
    transition: all 0.25s ease;
}
.btn-lng h3{
    font-size: 12px;
    color:#beedad;
    cursor: pointer;        
}
h3.choose{    
    color:white;    
}
.wrap-name {
    display: flex;
    flex-direction: row;
    justify-content: start;
    align-items: center;
}

.dione,
.ferreira {
    font-size: 20px;
    margin-right: 5px;
    margin-left: 5px;
    color: black;
}

.chevron {
    font-size: 25px;
    color: #f3f5e6;
}
.borda-letter{
    text-shadow:
    1px 1px 0 #000,
    /* Borda preta na direção x, y */
    -1px -1px 0 #000,
    /* Borda preta na direção x, y */
    1px -1px 0 #000,
    /* Borda preta na direção x, y */
    -1px 1px 0 #000;
/* Borda preta na direção x, y */
transition: all 0.3s ease;
}
.borda-letter:nth-of-type(2){
    color:white;
}
.nav-mobile{
    display: none;
}
.nav-mobile{
    font-size: 25px;
    cursor: pointer;
}
ul.nav {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
}

.nav li {
    list-style: none;
    padding-left: 10px;
}

.nav li a {
    text-decoration: none;
    color: black;
}
.nav-hidden{
    width: 100%;
    height: 150px;
    margin-top: 10px;
    display: none;    
}
 .ul-hidden{
    width: 100%;    
 }
 .ul-hidden li{
    width: 100%;
    padding: 15px;
    text-align: center;
    list-style: none;
    border-top: 1px solid black;
 }
 .ul-hidden li a{
    text-decoration: none;
    color:black;
 }
 .ul-hidden li:hover{
    cursor: pointer;
    background-color: #2ea302;    
 }
 .ul-hidden li:hover > a{
    color: white;
 }
.container {
    position: absolute;
    /* top:100px; */
    width: 100%;
    min-height: 100%;        
}
.center{
    padding: 0 25px 25px 25px;
}
.flex-center{
    display: flex;
    flex-direction: row;
    justify-content: space-around;
    align-items: center;
    width: 100%;
    height: 100%;
}
#form-login{
    width: 100%;
    max-width: 300px;
    padding:15px;
    border-radius: 20px;
    border: 4px solid black;
    background-color: white;
}
#form-login input[type="text"], #form-login input[type="password"]{
    width: 100%;
    padding:5px;
    border-radius:3px;
    outline: none;
    margin:5px 0 5px 0;
}
#form-login button{
    padding:5px;
    background-color: red;
    color:white;
    cursor: pointer;
}
.painel-alert h2{
    font-size: 15px;
    padding:3px;
    color:white;
}
.error{
    background-color: red;
}
.succes{
    background-color: green;
}
/* sobre mim */
.apresentation {
    display: flex;
    flex-direction: row;
    justify-content: space-evenly;
    width: 100%;        
}

.portrait {
    width: 22%;
    border: 2px solid black;
    border-radius: 20px;
    overflow: hidden;
}

.portrait img {
    width: 100%;
    transform: translate(0, -80px);
}

.cover-letter {
    width: 40%;
}

.cover-letter p {
    font-weight: 300;
}

.title-sobre {
    margin-bottom: 20px;
}
section{padding-top: 100px;}
/* projetos */
.projects {
    /* position:relative; */
    width: 100%;
    margin-bottom: 150px;
}
.layer-modal{
    display: none;
    position: fixed;
    top:0;
    left: 0;
    z-index: 9999999999999;
    background-color: rgba(0,0,0,0.8);
    width: 100%;
    height: 100%;
    overflow-y: auto;        
}
.modal{
    position: absolute;
    top:20px;
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    max-width: 1000px;
    height:auto;
    border-top-left-radius: 10px;     
    background-color: white;           
}
.close-modal{
    position:absolute;
    top:-8px;
    right: -13px;
    width: 35px;
    height: 35px;
    border-radius: 100%;
    background-color: white;
    border:3px solid red;
    color:red;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    transition: all 0.25s ease;
    z-index: 99999999;
}
.close-modal:hover{
    font-size:20px;
}
.modal h2{
    margin-bottom:10px;
    color:red;
}
.wrap-slider{
    position: relative;
}
.wrap-img-modal{    
    width: 100%;     
    height: 400px;
    overflow: hidden;   
}
.pannel-chevron-left{
    position: absolute;
    left: 0;
    top:0;
    width: 20%;
    height: 70%;
    opacity: 0.3;
    transition: opacity 0.4s ease;
    cursor: pointer;
    z-index: 9999999;   
}
.pannel-chevron-right{
    position: absolute;
    right: 0;
    top:0;
    width: 20%;
    height: 70%;    
    opacity: 0.3;
    transition: opacity 0.4s ease;
    cursor: pointer;
    z-index: 9999999;    
}
.pannel-chevron-right:hover{
    opacity: 1;
}
.pannel-chevron-left:hover{
    opacity: 1;
}
.chevron-left{
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    border-radius: 100%;
    background-color: rgba(140, 255, 173,0.5);
    border:1px solid #034d18;
    position: absolute;
    left: 50px;
    top:65%;
    transform: translateY(-50%);
}
.chevron-right{
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    border-radius: 100%;
    border:1px solid #034d18;
    background-color: rgba(140, 255, 173,0.5);;
    position: absolute;
    right: 50px;
    top:65%;
    transform: translateY(-50%);
}
.slider{
    transition: transform 0.5s ease;
}
.visual-content:nth-of-type(2){
    transform: translate(-50%,-100%);
}
.wrap-img-modal, .wrap-img-modal{
    width: 100%;
    height: 100%;           
}
.wrap-contents{
    display: flex;
    /* width: 100%;
    height: 100%;     */
}
.wrap-video{
    flex:1 0 100%;
    height: 100%;
}
.wrap-contents img, .wrap-contents video{
    width: 100%;
    height: 100%; 
    object-fit:fill;
}
.wrap-img-modal img{
    width: 100%;
    height: 100%; 
    object-fit:fill;
}
.wrap-img-modal .wrap-video{
    position: relative;
    width: 100%;
    height: 100%;    
}
video{    
    width: 100%;
    height: 100%; 
    object-fit:fill;
}
.icon-play{
    position:absolute;
    left:50%;
    top:50%;
    transform: translate(-50%,-50%);
    cursor: pointer;
    z-index: 9999999999999;    
}
.icon-play i {
    font-size: 60px;    
    color:red;
    opacity: 0.5;    
}
.pannel-mini-indice{
    width: 100%;
    height: 30px;    
    margin: 10px;
    text-align: center;
}
.mini-indice{
    display: inline-block;
    width: 40px;
    height: 5px;
    background-color: #44f202;
    margin: 3px;
    opacity: 0.3;
    transition: opacity 0.3s ease;
    cursor: pointer;
}
.mini-indice:nth-of-type(1){
    opacity: 1;
}
.wrap-description-modal{
    padding:10px;
    margin-top:35px;
}

.wrap-tech-modal, .wrap-access{
    margin-top:35px;
    padding:10px;
    text-align: center;
}
.wrap-tech-modal .technologies .btn-tech{
    background-color: black;
    color:white;
}
.wrap-show-modal .btn-tech{    
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;    
    background-color: black;
    color:white;
    cursor:pointer;
}
.wrap-show-modal .btn-tech:hover{          
    background-color: red;
    color:yellow;
}
.wrap-show-modal .btn-tech > i{
    font-size: 18px;
}
h2.section-projects{
    margin-top: 110px;
    margin-bottom: 20px;
}

.sample {
    display: flex;
    flex-direction: row;
    position: relative;
    width: 73%;
    height: 300px;
    border: 1px solid rgb(126, 14, 14);
    border-radius: 7px;
    margin-bottom: 25px;
    overflow: hidden;
    background-color: pink;
}

.sample:nth-child(even) {
    flex-direction: row-reverse;
}

.wrap-description {
    position: relative;
    width: 40%;
    height: 100%;
    background-color: #0b032b;
    color: white;
    text-align: center;
}
.technologies, .wrap-show-modal{    
    display: flex;
    flex-direction: row;
    justify-content:center;
}
.btn-tech{
    width: auto;
    font-size: 11px;
    padding:8px;
    background-color: #ece8fa;
    color:black;
    border-radius: 10px;
    margin:10px;
}
.btn-more{
    position: absolute;
    transform: translateX(-50%);
    bottom: 3px;
    width: 100%;
    max-width: 300px;
    padding:3px;
    background-color: #ece8fa;
    color:black;
    cursor: pointer;
}
.btn-more:hover{
    background-color:#c3d1d9;
}
/* .wrap-p-description{
    max-height: 45%;
    white-space: wrap;
    overflow: hidden;
    text-overflow: ellipsis;
} */
.sample .project-vigas{
    width: 45%;
}
.sample .vigas-description{
    width: 55%;
}
.sample .project-hidro{
    width: 45%;
}
.sample .hidro-description{
    width: 55%;
}
.wrap-description h2 {
    color: white;
    font-weight: 600;
    /* font-family: Mona-Sans;           */
}

.wrap-description p {
    /* font-family: Mona-Sans; */
    font-size: 17px;
    font-weight: 200;
    text-align: left;
    margin-top: 10px;
    padding: 12px;
}

.title-project {
    background-color: black;
    padding: 10px;
}

.wrap-project {
    width: auto;
    height: 100%;
    background-color: white;
}

.wrap-project img{
    width: 100%;
    height: 100%;
    object-fit: fill;
}

/* tecnologies */
table{
    width: 100%;
    border:1px solid #200394;
    text-align: center;
    padding: 10px;    
    border-collapse: collapse;
}
thead i{
     margin-left:20px ;
}
th,td{
    padding: 15px;
}
td.tech:hover{
    background-color: red;
    color:white;
}
td:nth-child(2){
    border-left: 1px solid #200394;
    border-right: 1px solid #200394;
}
th{
    background-color: #200394;
    color:white;
}
table i {
    font-size: 25px;    
}

/* TOUCH */
.touch{    
    margin-top: 100px;
    text-align: center;    
}

.wrap-form{
    display: flex;
    flex-direction: row;
    justify-content: space-around;    
}
.touch form{
    width: 100%;
    max-width: 900px;
    padding:30px;
    background-color: #8b8ba6;
    border:5px solid black;
    border-radius:15px;
}
.pannel-touch{    
    width: 100%;
    display: flex;
    flex-direction: row;
    justify-content: center;
    margin:10px;  
}
.center-touch{
    display: flex;
    flex-direction: row;
    justify-content: space-around;
    width:400px;
}
.btn-touch{
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    padding:5px;    
    color:#200394;
    border:3px solid #200394;    
    border-radius: 10px;
}
.btn-touch:hover{
    cursor:pointer;
    background-color: #200394;
    color:white;
}
.btn-touch i{
    font-size: 25px;
    margin:4px;
}
.touch form > div{
    text-align: left;
    margin-bottom:15px;
}
.touch form input[type="text"], .touch form textarea{
    width: 100%;
    padding:10px;
    outline: none;
    resize: vertical;
    font-weight: 300;
    outline: none;
}
.touch form textarea{
    min-height: 200px;
}
.touch form input[type="submit"]{
    width: 100%;
    max-width: 180px;
    background-color: black;
    color:white;
    padding:5px;
    cursor: pointer;
}
.touch form input[type="submit"]:hover{
    color:yellow;
}
footer {
    margin-top:30px;    
    background-color:#44f202;
    color: black;
    padding: 15px;
    border-bottom: 4px solid rgb(81, 94, 72);
    border-top: 4px solid black;
    font-weight: 700;
}
/* main */
li.quit{
    list-style-type: none;
}
li.quit a{
    text-decoration: none;
}
.wrap-info{
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;    
}
.info{
    padding:20px 40px 20px 40px;
    background-color: red;
    color:white;
    border-radius: 15px;
    border:3px solid black;
    margin:20px;
}
@media (max-width:1100px) {
    .portrait{
        width: 40%;
    }
    .sample {
        width: 100%;
    }
}

@media (max-width:850px){
    .apresentation{
        flex-wrap: wrap;         
    }
    .portrait{
        width: 50%;
    }
    .cover-letter{
        width: 100%;
        margin-top: 50px;
    }
}

@media (max-width:800px) {
    .sample {        
        flex-wrap: wrap !important; 
    }
    .wrap-description{     
        order: 2 !important;   
        width: 100% !important;
        height: 40% !important;
    }
    .wrap-project{
        order: 1 !important;        
        width: 100% !important;
        height: 60% !important;
    }
    .btn-tech{        
        font-size: 8px;
        padding:5px;        
    }
    .generate-title{
        font-size: 20px !important;        
    }
}
@media (max-width:650px){
    .apresentation{
        flex-wrap: wrap;         
    }
    .portrait{
        width: 70%;
    }
    .cover-letter{
        width: 100%;
        margin-top: 50px;
    }
    .section{
        padding-top:0px;
    }
    h2.section-projects {
        margin-top: 40px;        
    }
    ul.nav{
        display: none;
    }
    .nav-mobile{
        display: block;
    }
    .wrap-description{     
        height: 60% !important;
    }
    .wrap-project{
        height: 40% !important;
    }
    footer {
        font-size:13px;
    }    
}
@media (max-width:500px){
    .portrait {
        width: 90%;        
    }
    table i {
        font-size: 18px;    
    }    
    .generate-title{
        font-size: 20px !important;        
    }
}