* {
    margin: 0;
    padding: 0;
    font-family: sans-serif;
    box-sizing: border-box;
    font-family: 'Sora', sans-serif;
}

body{
    background: #000;
    color: #fff;
}

html{
    scroll-behavior: smooth
}

nav{
    width: 100%;
    height:80px;
    padding: 10px 10%;
    display: flex;
    background-color: #000;
    border-bottom: 1px solid #4a91d3;
    position: fixed;
    top: 0;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;    
    z-index: 9;
}

.logo{
    width: 200px;
}

nav ul li{
    display: inline-block;
    list-style: none;
    margin: 10px 20px;
}

nav ul li a{
    color: #1888F3;
    text-decoration: none;
    font-size: 18px;
    font-weight: bold;
    position: relative;
}
nav ul li a:hover{
    color: #fff;
    transition: 0.5s;
}

nav ul li a::after{
    content: '';
    width: 0;
    height: 3px;
    background: #1888F3;
    position: absolute;
    left: 0;
    bottom: -6px;
    transition: 0.5s;
}

nav ul li a:hover::after{
    width: 100%;
}

/* SlideBar */

.nav-button{
    border: 0;
    border-radius: 4px;
    padding: 8px;
    background-color: #000;
    margin: 8px;
    cursor: pointer;
    position: fixed;
    right: 10px;
    top: 14px;
    display: none;
    z-index: 9;
}

.nav-button i{
    color: #fff;
}

.overlay{
    width: 0;
    height: 100%;
    background-color: #000;
    z-index: 9;
    position: fixed;
    right: 0;
    overflow: hidden;
    transition: all 0.3s;
    z-index: 10;
}

.overlay-content{
    position: relative;
    width: 100%;
    text-align: center;
    top: 25%;
}

.overlay a{
    padding: 8px;
    text-decoration: none;
    color: #818181;
    display: block;
    font-size: 28px;
    margin-top: 30px;
    transition: 0.5s;
}

.overlay a:hover{
    color: #1888F3;
    
}
.overlay a:active{
    color: #1888F3;
}

.overlay a:focus{
    color: #1888F3;
}
.overlay .closebtn{
    position: absolute;
    top: 45px;
    right: 45px;
    font-size: 60px;
}

#home{
    width: 100%;
    height: 100vh;
} 

.container-bgd{
    background-image: url(assets/capa.png);
    background-repeat:no-repeat;
    background-position: right 100%;
    background-size: 68%;
}
.header-text{
    margin-top: 20%;
    position: absolute;
    padding-left: 10%;
    font-weight: bold;

}

.header-text h1{
    font-size: 60px;
    margin-top: 20px;
}

.header-text h1 span{
    color: #1888F3;
}

.headline{
    margin-top: 30px;
    font-size: 28px;
    color: #EFF0F4;
    font-style:italic;
    font-weight: normal;
}

.header-contact{
    margin-top: 80px;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    gap: 8px;
    
}

#project{
        height: 100vh;
    }

.project-contact{
    margin: 50px 0;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
}

.btn-project{
    display: flex;
    gap: 10px;
    align-items: center;
    text-align: center;
    justify-content: space-between;
    background-color: #1888F3;
    border: 1px solid #ababab;
    padding: 18px 28px;
    border-radius: 3px;
    text-decoration: none;
    color: #000;
    font-size: 18px;
    transition: background 0.5s, transform 0.5s;
}

.btn-project:hover{
    background: #000;
    color: #1888F3;
    border: 1px solid #1888F3;
    cursor: pointer;
    transform: translateY(-5px);
}

.btn-project i{
    font-size: 23px;
}

.btn-project-contact{
    display: flex;
    background-color:#000;
    color: #1888F3;
    border: 1px solid #1888F3;
    padding: 18px 28px;
    gap: 10px;
    align-items: center;
    text-align: center;
    text-decoration: none;
    border-radius: 3px;
    font-size: 18px;
    transition: background 0.5s, transform 0.5s;
}

.btn-project-contact i{
    font-size: 24px;
}

.btn-project-contact:hover{
    background-color: #1888F3;
    color: #000;
    border: 1px solid #000;
    transform: translateY(-5px);
}

#about{
    padding: 80px 0;
    color: #ababab;
}


.row{
    display: flex;
    justify-content: end;
    flex-wrap: wrap;
}

.about-col-1{
    flex-basis: 35%;
    margin-top: 80px;
    padding-left: 70px;
}

.about-col-1 img{
    width: 85%;
    background-color: #080808;
    border-radius: 15px;
}

.about-col-2{
    flex-basis: 60%;
    margin-top: 45px;
}

.about-col-2 p{
    color: #fff;
    margin-top: 20px;
    margin-right: 18px;
    font-size: 16px;
    text-align: justify
}

.sub-title{
    font-size: 34px;
    font-weight: bold;
    color: #fff;
    margin-top: 7%;
}

.tab-titles{
    display: flex;
    margin: 20px 0 40px;
}

.tab-links{
    margin-right: 50px;
    font-size: 18px;
    font-weight: bold;
    cursor: pointer;
    position: relative;
}

.tab-links::after{
    content: '';
    width: 0;
    height: 3px;
    background: #1888F3;
    position: absolute;
    left: 0;
    bottom: -8px;
    transition: 0.5s;
}

.tab-links.active-link::after{
    width: 100%
}

.tab-contents ul li{
    list-style: none;
    margin: 10px 0;
    color: #fff;
    font-size: 18px;
}

.tab-contents ul li span{
    color: #1888F3;
    font-size: 16px;
    font-weight: bold;
}

.tab-contents{
    display: none;
}

.tab-contents.active-tab{
    display: block;
}

#services{
    height: 100vh;
    padding: 30px 0;
    padding: 0 10%
}

.services-list{
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    grid-gap: 40px;
    margin: 55px 0;
}

.sub-title-about {
    font-size: 34px;
    font-weight: bold;
    color: #fff;

}

.sub-title-services{
    padding-top:14%
    }

.services-list div{
    background: #262626;
    border-radius: 10px;
    padding: 40px;
    font-size: 13px;
    transition: background 0.5s, transform 0.5s;
}

.services-list div:hover{
    background: #1888F3;
    cursor: pointer;
    transform: translateY(-10px);
    color: #000
}    

.services-list div h2{
    font-size: 30px;
    font-weight: bold;
    margin-top: 20px;
    margin-bottom: 15px;
}

.services-list div a{
    text-decoration: none;
    color: #fff;
    font-size: 16px;    
}


.services-list div p{
    font-size: 14px;
    margin-bottom: 20px;
}

.services-list i{
    font-size: 35px;
    color: #fff;
}

.services-list i{
    color: #000;
}

.work-list{
    display: grid;
    grid-template-columns: repeat(auto-fit,minmax(250px, 1fr));
    grid-gap: 40px;
    margin-top: 50px;
}

.work{
    border-radius: 10px;
    position: relative;
    overflow: hidden;
}

.work img{
    width: 100%;
    height: 100%;
    border-radius: 10px;
    display: block;
    object-fit: cover;
    transition: transform 0.5s;
}

.work:hover img{
    filter: brightness(20%);
    transform: scale(1.4);
}

.layer{
    width: 100%;
    height: 0;
    background: linear-gradient(rgba(0,0,0,0.1));
    border-radius: 10px;
    /* position: absolute; */
    left: 0;
    bottom: 0;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    flex-direction: column;
    padding: 0 40px;
    font-size: 14px;
    transition: height 0.5s;
}

.work:hover .layer{
    height: 100%
}
.layer h3{
    font-size: 22px;
    font-weight: bold;
    margin-bottom: 20px;
    margin-top: 120px;
}

.layer a{
    margin-top: 20px;
    background: #fff;
    width: 60px;
    height: 60px;
    line-height: 65px;
    border-radius: 50%;
    text-decoration: none;
}


#contact{
    height: 100vh;
}

.contact-left{
    align-items: center;
    padding-top: 50px
}

.contact-right{
    flex-basis: 40%;
}

.contact-left p{
    margin-top: 60px;
    display: flex;
    align-items: center;
}

.contact-left p a{
    color: #ababab;
    display: flex;
    align-items: center;
    text-decoration: none;
    gap: 20px;
}

.contact-left p a:hover{
    color: #1888F3;
}

.social-icons{
    margin: 50px 0;
    display: flex;
    gap: 38px;
}

.social-icons i{
    color: #ababab;
    font-size: 45px;
    transition: transform 0.5s;
    
}

.social-icons a i:hover{
    color: #1888F3;
    transform: translateY(-5px);
}


.contact-right form{
    width: 100%;
    padding-top: 5%;
}
.container-project{
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-around

}

.container-contact{
    display: flex;
    align-items: center;
    justify-content: space-around;
}

.contact-right p{
    padding: 0 20px;
    font-size: 20px;
    justify-content: center;
    align-items: center;
    text-align: center;
    margin-top: 21%
}

.contact-right p span{
color: #1888F3;
border: 2px solid #1888F3;
padding: 8px 12px;
font-size: 16px;
}


form input, form textarea{
    width: 100%;
    border: 0;
    outline: none;
    background: #262626;
    margin: 15px 0;
    padding: 15px 10px;
    color: #fff;
    font-size: 18px;
    border-radius: 4px;
}

.row-contact{
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    align-items: center;
    flex-direction: column;
}

.btn-form{
    display: flex;
    gap: 8px;
    margin-left: 10px;
    width: fit-content;
    border: 1px solid #1888F3;
    padding: 14px 30px;
    border-radius: 3px;
    text-decoration: none;
    color: #1888F3;
    background: #000;;
    font-size: 18px;
    transition: background 0.5s, transform 0.5s;
}

.btn-form:hover{
    background: #1888F3;
    color: #000;
    cursor: pointer;
    transform: translateY(-5px);
}

.btn-form i{
    font-size: 25px;
}

footer{
    width: 100%;
    height: 100px;
    background: #262626;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column; 
}
footer p{
    font-weight: bold;
    font-size: 16px;
  margin: 10px 0
}

footer img{
    width: 150px;
}

@media screen and (max-width: 1024px){
    nav ul{
        display: none;
    }

    .nav-button{
        display: block;
    }

    .header-inf{
        color: #fff;
        font-size: 14px;
        margin-top: 30px;
    }

    .header-text h1{
        font-size: 45px;
        margin-bottom: 25px;
    }
    .headline{
        font-size: 24px;
        margin-top: 35px;
    }

    .header-contact{
        display: flex;
        align-items: start;
        justify-content: center;
        flex-direction: column;
        width: 100%;
        margin-top: 45px;
    }

    .btn-project{
        display: flex;
        padding: 14px 24px;
        font-size: 18px;
        background-color: #000;
        color: #1888F3;
    }

    .btn-project i{
        font-size: 16px;
    }

    .btn-project-contact{
        display: none;
    }

    .container-bgd{
        background-image: url(assets/capa.png);
        background-repeat:no-repeat;
        background-position:  right bottom;
        background-size: 100%;
    }

    .about{
        padding-left: 10%;
    }

    .row{
        display: flex;
        flex-direction: column;
    }

    .about-col-1{
        display: none;
    }

    .about-col-2 p{
        text-align:left;
        font-size: 16px;
        margin-right: 18px;

    }

    .sub-title-about{
        font-size: 34px;
    }

    #home{
        height: 100vh;
    }

    #about{
        height: 160vh;
    }
    .sub-title{
        margin-top: 100px;
    }


    #services{
        display: flex;
        height: 150%;
    }

    .sub-title-services{
    padding-top:28%
    }
    
    #project{
        height: 150vh;
    }


    #contact{
        height: 160vh;
        display: flex;
        margin-bottom: 30%;
    }

    .social-icons i{
        font-size: 45px;
        color: #1888F3
    }

    .contact-left p i{
        font-size: 25px;
    }

    .contact-right{
        padding: 0 24px;
    }

    .container-contact{
        display: flex;
        flex-direction:column;
    }

     .contact-right form{
        width: 100%;
    }

    .btn-form{
        padding: 8px 18px;
        font-size: 14px;        
    }

 
    footer p{
        font-size: 10px;
    }
}

