*{
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}
html{
    scroll-behavior: smooth;
}
body{
    font-family: 'Roboto';
    background: #f2f2f2;
    position: relative;
}


#overlay{
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    display: none;
    z-index: 2;
    transition: 500ms ease;
    background: rgba(0,0,0,0.8);
}
ul{
    list-style: none;
}
a{
    text-decoration: none;
}
.container{
    max-width: 1200px;
    padding: 40px;
    margin: 0 auto;
}
/* Header */
header{
    background: #f2f2f2;
    position: relative;
    margin: 0px 0px;
    
}
header .nav{
    padding: 40px;
    margin: 0 auto;
    width: 100%;
    
    display: flex;
    justify-content: space-between;
    
    position: fixed;
    z-index: 2;
    top: 0;
    left: 0;
    right: 0;
}
/* Sidebar */
.ixon{
    text-align: right;
    margin: 10px 0;
    margin-right: 10px;
    
}
.ixon i{
    color: #fff;
    font-size: 30px;
}

.nav-links{
    background: rgba(7, 7, 7, 0.95);
    width: 250px;
    height: 100vh;
    position: fixed;
    left: -250px;
    padding: 0px 0;
    transition: 500ms ease;
    z-index: 1000;
    top: 0;
}
header i{
    cursor: pointer;
}
.nav-list{
    text-align: center;
    margin: 30px 0;
}
.nav-links a{
    color: #fff;
    
    font-size: 20px;
}


.nav.scrolled {
    background-color: #f2f2f2 !important;
    transition: background-color 200ms linear;
  }
.nav .logo{
    font-size: 30px;
    font-weight: bolder;
}
.menu{
    font-size: 30px;
}
/* hero section */
.hero{
    display: flex;
    justify-content: space-between;
    align-items: center;
    
}
.flex-1{
    width: 50%;
}
.flex-1 .text-container{
    max-width: 100%;
    margin: 0 auto;
    width: 100%;
    padding: 40px 60px;
    
}
.text-container p{
    font-size: 30px;
    color: #d5c454;
    font-weight: 100;
}
.text-container h1{
    font-size: 55px;
    text-transform: uppercase;
    font-weight: bolder;
}
.heading{
    text-align: center;
}
.span-web{
    text-align: center;
}
.text-container span{
    letter-spacing: 10px;
    font-size: 20px;
}
.text-container .line{
    text-align: center;
    margin: 0 auto;
    padding: 0 30px;
}
.text-container .act-line{
    border: 1px solid #eaeaea;
    width: 350px;
    margin: 40px 0;
}
.buttons{
    display: flex;
    
    align-items: center;
    gap: 30px;
}
.buttons button{
    width: 240px;
    cursor: pointer;
    padding: 20px 30px;
    font-size: 24px;
    font-weight: 700;
    text-transform: uppercase;
}
.btn-1{
    background: #d5c454;
    border: none;
    color: #fff;
    box-shadow: 0px 5px 6px 0px rgba(0, 0, 0, 0.2);
}
.btn-2{
    background: #fff;
    box-shadow: 0px 5px 6px 0px rgba(0, 0, 0, 0.2);
    border: none;
}
.btn-1:hover{
    background: #cab945;
}
.btn-2:hover{
    background: #f2f2f2;
}
.flex-2{
    background: #d5c454;
    width: 50%;
    height: 100%;
}
.flex-2 .image{
    width: 100%;
    height: 100%;
    display: flex;
    align-items: last baseline;
    justify-content: baseline;
}
.flex-2 .image img{
    width: 100%;
    height: 100%;
    object-fit: cover;;
    background-position: center;
}
/* Details section */
.details{
    margin-bottom: 30px;
}
.details .headline{
    margin-bottom: 40px;
    font-size: 50px;
    font-weight: bolder;
}
.details .headline span{
    color: #d5c454;
}
/* projects counter */
.item-1{
    width: 50%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}
.col{
    flex-basis: 250px;
    text-align: center;
    height: 250px;
}
.counter-box{
    width: 100%;
    height: 100%;
    padding: 20px 0;
    background: #fff;
    box-shadow: 0 0 20px -4px rgba(0, 0, 0, 0.2);
}
.counter-box h1{
    color: #d5c454;
    font-size: 50px;
    margin-bottom: 40px;
}
.counter-box p{
    font-size: 30px;
    color: #555;
    font-weight: 300;
}
.counter-box .proj{
    color: #000;
    font-weight: lighter;
}

/* Flex-2 */
.flex-container{
    display: flex;
    justify-content: space-between;
    gap: 30px;
}
.item-2{
    width: 50%;
}
.item-2 p{
    font-size: 20px;
    line-height: 1.2;
}
.list{
    text-align: center;
    margin: 40px 0;
}
.list-item{
    display: flex;
    justify-content: space-between;
}
.heads{
    text-align: left;
}
.list-item .color{
    color: #dbcd16;
}
.list button{
    color: #fff;
    margin-top: 60px;
    background: #dbcd16;
    border: none;
    padding: 20px 25px;
    font-size: 24px;
    cursor: pointer;
    box-shadow: 0 5px 6px -4px rgba(0, 0, 0, 0.2);
}
.list button:hover{
    background: #d5c454;
}
/* Fatures */
.features .title{
    background: #fff;
    padding: 40px 50px;
}
.features .headline{
    font-size: 45px;
    font-weight: bolder;
}
.features .headline span{
    color: #dbcd16;
}
/* features container */
.features .container{
    display: flex;
    padding: 40px;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 40px;
}
.features .icon{
    background: #dbcd16;
    width: 120px;
    height: 120px;
    border-radius: 50%;
    padding: 40px 0;
    text-align: center;
    margin-bottom: 30px;
}
.features .icon i{
    font-size: 45px;
    color: #fff;
}
.features .cards .card-title h1{
    color: #dbcd16;
    margin-bottom: 20px;
    font-size: 36px;
}
.features .card-list{
    list-style: disc;
    font-size: 18px;
}
.features .cards{
    width: 45%;
}
/* Images */
.images .title{
    background: #fff;
    padding: 40px 50px;
}
.images .headline{
    font-size: 45px;
    font-weight: bolder;
}
.images{
    background: #f2f2f2;
    height: 100%;
    position: relative;
}
.bg-strip{
    background: #d5c454;
    height: 30vh;
    top: 30%;
    bottom: 50%;
    left: 0;
    right: 0;
    width: 100%;
    position: absolute;
}
.images .container{
    display: flex;
    justify-content: space-between;
    gap: 20px;
}
.images .image{
    width: 35%;
    position: relative;
    height: 500px;
}

.images .image .img-1{
    width: 100%;
    height: 100%;
    background-image: url(../images/1\ \(1\).jpeg);
    border-radius: 20px;
    object-fit: cover;
    background-position: center;
    background-size: cover;
}
.images .image .img-2{
    width: 100%;
    height: 100%;
    background-image: url(../images/1\ \(1\).png);
    border-radius: 20px;
    object-fit: cover;
    background-position: center;
    background-size: cover;
}
.images .image .img-3{
    width: 100%;
    height: 100%;
    background-image: url(../images/1\ \(2\).jpeg);
    border-radius: 20px;
    object-fit: cover;
    background-position: center;
    background-size: cover;
}
.img-1, .img-2, .img-3{
    text-align: center;
    color: #fff;
    position: relative;
}
.img-1 h1, .img-2 h1, .img-3 h1{
    padding: 30px 0;
    text-shadow: #555;
}
.img-1 a, .img-2 a, .img-3 a{
    position: absolute;
    text-decoration: underline;
    padding-bottom: 0px;
    color: #fff;    
    bottom: 0;
    top: 90%;
    left: 0;
    right: 0;
}
/* partners */
.logos{
    background: #fff;
}
.logos .title{
    background: #fff;
    padding: 40px 50px;
}
.logos .headline{
    font-size: 45px;
    font-weight: bolder;
}
.logos .headline span{
    color: #dbcd16;
}
.logos .container{
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 40px;
    flex-wrap: wrap;
}
.logos .container .image{
    width: 220px;
}
.logos .container .image img{
    width: 100%;
}
/* Form section */
.contact-form{
    background: #d5c454;
    height: 100%;
    overflow: hidden;
}
.contact-form .container{
    display: flex;
    justify-content: space-between;
    padding: 40px;
    padding-bottom: 0;
}
.flex-form{
    width: 50%;
}
.flex-form-2{
    width: 50%;
}
.flex-form-2 .image{
    width: 100%;
    height: 100%;
}
.flex-form-2 .image img{
    width: 100%;
    height: 100%;
}
.contact-form h1{
    color: #fff;
    font-size: 50px;
    font-weight: 400;
}
form {
    margin: 20px 0;
    
}
form label{
    font-size: 18px;
    text-transform: uppercase;
    font-weight: 400;
}
form .name{
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
}
form .name input{
    padding: 15px 15px;
    text-transform: capitalize;
    border-radius: 5px;
    border: none;
    width: 200px;
    font-family: inherit;
    margin-top: 5px;
}
form .address{
    margin-bottom: 30px;
}
form .address input{
    padding: 15px 15px;
    border-radius: 5px;
    border: none;
    font-family: inherit;
    width: 420px;
    margin-top: 5px;
}
form .message textarea{
    margin-top: 5px;
    padding: 15px 15px;
    font-family: inherit;
    border: none;
    border-radius: 5px;
    resize: none;
    width: 420px;
}
form .button-submit{
    margin: 20px 0;
}
form .button-submit button{
    padding: 15px;
    color: #fff;
    background: #292929;
    border-radius: 10px;
    border: none;
    outline: none;
    font-size: 20px;
    cursor: pointer;
}
form .button-submit button:hover{
    background: #555;
}

/* Footer */
footer{
    background: #292929;
    color: #fff;
    text-align: center;
}
footer p{
    margin: 5px 0;
}
@media only screen and (max-width: 1200px) {
    .flex-1 .text-container{
        padding: 30px 20px;
    }
    .flex-1 .buttons{
        gap: 20px;
    }
    .flex-1 .buttons button{
        width: 100%;
        font-size: 18px;
        font-weight: 700;
    }
    .col{
        flex-basis: 300px;
        height: 150px;
    }
    .counter-box{
        padding: 10px 0;
    }
    .counter-box p{
        font-size: 18px;
        text-align: left;
        margin-left: 20px;
    }
    .list{
        margin: 0 0px;
    }
    .list h3{
        font-size: 18px;
    }
    .list button{
        font-size: 20px;
    }
    .contact-form .container{
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 30px;
       padding-bottom: 0px;
    }
    .contact-form{
        height: 100%;
    }
    .button-submit button{
        width: 100%;
    }
    .contact-form input{
        width: 100%;
    }
    .flex-form{
        width: 100%;
    }
    .images{
        height: 100%;
    }
    form .name input{
        width: 100%;
    }
    form .address input{
        width: 100%;
    }
    form .message textarea{
        width: 100%;
    }

  }

@media only screen and (max-width: 865px) {
    .hero{
        display: block;
        flex-wrap: wrap;
        height: 100%;   
    }
    .flex-1{
        width: 100%;
        margin: 40px 30px;
        text-align: center;
    }
    .text-container h1{
        margin-left: 0px;
    }
    .flex-1 p{
        text-align: left;
        margin-left: 80px;
    }
    .flex-1 .text-container{
        padding: 0;
    }
    .flex-1 .buttons{
        text-align: center;
        display: flex;
        justify-content: center;
    }
    .flex-1 .buttons button{
        width: 200px;
    }
    .flex-2{
        width: 100%;
    }
    .list-item{
        gap: 40px;
    }
    .heads h3{
        font-size: 14px;
    }
    header{
        background: none;
    }
    header .nav{
        position: relative;
        top: 0;
        bottom: 0;
        left: 0;
        right: 0;
        max-width: 900px;
        width: 100%;
        background: none;
    }
    .nav-links{
        top: 0;
    }
    .details .container .flex-container{
        flex-wrap: wrap;
    }
    .item-1{
        display: flex;
        width: 100%;
        gap: 10px;
        justify-content: space-around;
    }
    .col{
        flex-basis: 220px;
    }
    .item-2{
        width: 70%;
        margin: 0 auto;
    }
    .flex-container .item-2 h2{
        font-size: 15px;
    }
    .item-2 p{
        text-align: center;
        font-size: 14px;
    }

    .item-2 button{
        width: 100%;
    }
    .list{
        text-align: left;
    }
    
    .features .container{
        display: block;
    }
    .features .cards{
        width: 80%;
        
        margin: 40px auto;
    }
    .images{
        height: 100%;
    }
    .images .container{
        flex-wrap: wrap;
        display: flex;
        gap: 30px;
        justify-content: center;
    }
    .images .image{
        width: 75%;
    }
    .bg-strip{
        top: 15%;
    }
    .flex-form{
        width: 100%;
    }
    .flex-form h1{
        font-size: 30px;
    }
    form .name input{
        width: 100%;
    }
    form .address input{
        width: 100%;
    }
    form .message textarea{
        width: 100%;
    }
    
    .text-container h1{
        margin-left: 0px;
    }
    .text-container .line{
        padding: 0px 0px;
    }
    .text-container .act-line{
        width: 100px;
    }
    .title .headline{
        font-size: 30px;
    }
    .card-list li{
        font-size: 14px;
    }
    .features .card-list{
        width: 100%;
    }
}
@media only screen and (max-width: 466px) {
    .flex-1{
        margin: 40px 10px;
    }
    .flex-1 p{
        margin-left: 10px;
        font-size: 18px;
    }
    .text-container h1{
        font-size: 34px;
    }
    .text-container span{
        margin-left: 0;
        letter-spacing: 6px;
        font-size: 18px;
    }
    .text-container .act-line{
        width: 60px;
    }
    .flex-1 .buttons{
        display: flex;
        flex-direction: column;
    }
    .col{
        flex-basis: 100%;
    }
    .item-2{
        width: 100%;
    }
    .item-2 h2{
        font-size: 18px;
    }
    .list-item{
        gap: 40px;
    }
    .list button{
        font-size: 16px;
        font-weight: 700;
    }
    .text-container h1{
        margin-left: 0px;
    }
    .flex-form h1{
        font-size: 18px;
    }
}
/* transitions */

/* REFERENZEN PAGE */
.slider{
    margin-top: 100px;
    background: #d5c454;
}
.slideshow-container{
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px;
}
.slide-1{
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 30px;
}
.slide-1 .text-only{
    width: 45%;
    background: #fff;
    border-radius: 15px;
    padding: 40px;
}
.text-only h1{
    color: #ffd600;
}
.slide-1 .text-only ul{
    list-style: disc;
}
.text-only ul li{
    margin: 5px 0;
}
.slide-1 p{
    width: 100%;
}
.slide-1 .image{
    width: 45%;
    height: 460px;
}
.slider .image img{
    width: 100%;
    height: 100%;
    border-radius: 15px;
}
.slider .next{
    position: absolute;
    left: 97%;
    right: 0;
    top: 30%;
    color: #fff;
    z-index: 1;
    font-size: 30px;
    cursor: pointer;
}
.slider .prev{
    cursor: pointer;
    position: absolute;
    right: 0;
    left: 2%;
    top: 30%;
    z-index: 0;
    color: #fff;
    font-size: 30px;
}
.fade {
    animation-name: fade;
    animation-duration: 200ms;
  }
  
  @keyframes fade {
    0% {opacity: 1} 
    100% {opacity: 0}
    0%{
        transform: translateX(-150px);
    }
    50%{
        transform: translateX(-85px);
    }
    100%{
        transform: translateX(0px);
    }
  }
  .dots{
    margin: 30px 0;
  }
  .dot {
    cursor: pointer;
    height: 25px;
    width: 25px;
    margin: 0 2px;
    background-color: #fff;
    border-radius: 50%;
    display: inline-block;
    transition: background-color 0.6s ease;
  }
  .active, .dot:hover {
    background-color: #f17c0e;
  }
  .refer-btn{
    text-align: center;
  }
  .refer-btn button{
    background: #f17c0e;
    color: #fff;
    padding: 10px 20px;
    border: none;
    font-size: 24px;
    cursor: pointer;
    text-transform: uppercase;
  }
  .refer-btn button:hover{
    background: #fff;
    color: #000;
  }
  @media only screen and (max-width: 1200px) {
    .slide-1{
        display: block;
        margin: 0 auto;
    }
    .slide-1 .text-only{
        width: 100%;
        margin: 10px 0;
    }
    .text-only h1{
        font-size: 20px;
    }
    .text-only p{
        font-size: 16px;
    }
    .text-only li{
        font-size: 14px;
    }
    .slide-1 .image{
        width: 100%;
    }
  }