@font-face {
    font-family: 'Fixel Text';
    src: url('../font/FixelText-Bold.ttf') format('ttf'),
         url('../font/FixelText-Bold.woff2') format('woff2');
    font-weight: 700;
    font-style: normal;
  }
  
  @font-face {
    font-family: 'Fixel Text';
    src: url('../font/FixelText-Regular.ttf') format('ttf'),
         url('../font/FixelText-Regular.woff2') format('woff2');
    font-weight: 400;
    font-style: normal;
  }
  
body{
    background-color: #000f0f;
    color: var(--main-white);
}
h1, h2, h3, p, span, a, input, textarea{
    color: var(--main-white);
    font-family: 'Fixel Text';
}
h1{
    font-size: 60px;
    font-style: normal;
    font-weight: 700;
    line-height: normal;
    margin-bottom: 115px;
}
h2{
    font-size: 42px;
    font-style: normal;
    font-weight: 700;
    line-height: 134%;
}
p{
    font-size: 18px;
    font-style: normal;
    font-weight: 400;
    line-height: 178%;
}
section{
    position: relative;
}
main{
    background-image:url(../img/bg.png);
    background-repeat: no-repeat;
    /* background-position: top right; */
}
.sidebar {
    background-color: var(--main-black);
    color: var(--main-white);
    width: 100%;
    height: 100%;
    position: fixed;
    top: 0;
    right: -200vw;
    transition: 0.4s ease;
    z-index: 7;
    padding: 40px 20px;
    box-sizing: border-box;
}
.container{
    max-width: 1420px;
    margin: 0 auto;
    overflow-x: hidden;
}
.servicer-container>div{
    min-width: 900px;
}
.wrapper{
    width: 90%;
    overflow-x: hidden;
    margin-left: auto;
}
.blue-label{
    background-color: var(--main-blue);
    display: inline-flex;
    padding: 6px 120px;
    justify-content: center;
    align-items: center;
    gap: 10px;
    color: var(--main-white);
    position: absolute;
    box-sizing: border-box;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
}
.blue-label__contact{
    top: 40%;
}
.button__blue{
    display: inline-flex;
    padding: 10px 20px;
    justify-content: center;
    align-items: center;
    gap: 10px;
    background-color: var(--main-blue);
    color: var(--main-white);
    cursor: pointer;
    transition: 0.3s ease;
}
.button__blue span{
    color: var(--main-white);
    transition: 0.3s ease;
    white-space: nowrap;
}
.button__blue:hover{
    background-color: var(--main-white);
}
.button__blue:hover span{
    color: var(--main-blue);
}
.label-left {
    width: 15%;
    height: 1px;
    background-color: var(--main-white);
    position: absolute;
    left: 0;
    top: 0;
  }
.label-left-text {
    position: absolute;
    right: -20px;
    top: 0;
    font-size: 16px;
    color: var(--main-white);
    transform: translate(75%, -50%);
    white-space: nowrap;
}
.label-right {
    width: 85%;
    height: 1px;
    background-color: var(--main-white);
    position: absolute;
    right: 0;
    top: 0;
  }
.label-right-text {
    position: absolute;
    left: 0;
    top: 0;
    font-size: 16px;
    color: var(--main-white);
    transform: translate(-105%, -50%);
}

.logo-image{
    height: 72px;
    max-width: fit-content;
}



/* HEADER */
header{
    padding: 24px 0;
    position: relative;
    transition: top 0.3s ease;
    /* border-bottom: 1px solid white; */
}
.header-container{
    display: grid;
    grid-template-columns: 1fr 10fr 1fr;
    align-items: center;
}
.sticky {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 5;
    background-color: #000f0f;
    padding: 14px 0;
}
.navigation-list{
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 42px;
}
.navigation-list__item>a{
    color: var(--main-white);
    font-size: 18px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
    text-transform: capitalize;
    text-decoration: none;
    transition: 0.3s ease;
}
.navigation-list__item:hover>a{
    color: var(--main-blue);
}
/* GET STARTED BLOCK */
.get-start{
    padding: 94px 0 110px 0;
}
.first-screen__text{
    max-width: 460px;
}
/* ABOUT BLOCK */
.about-container{
    display: grid;
    grid-template-columns: 390px 1fr;
    gap: 93px;
    padding: 47px 0 180px 0;
}
.about-info{
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    row-gap: 62px;
}
.full-row{
    grid-column: -1/1;

}
.about-info_card{
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}
.about-info_card__header{
    font-size: 42px;
    font-style: normal;
    font-weight: 700;
    line-height: 72%;
}

/* SERVICES */
#services{
    padding: 94px 0 105px 0;
}
.servicer-container{
    display: grid;
    grid-template-columns: 300px 1fr;
}
.servicer-container>h2{
    padding-top: 120px;
}
.service-slider__item{
    background-color: var(--card-gray);
    padding: 60px 25px;
    display: grid;
    height: 486px;
    gap: 32px;
    grid-template-rows: 130px 1fr;
    box-sizing: border-box;
    max-width: 490px;
}
.service-slider__head{
    display: grid;
    grid-template-columns: 95px 1fr;
    align-items: center;
    column-gap: 10px;
}
.heshtag{
    grid-column: -1/1;
    align-items: center;
}
.service-slider__head-num{
    color: var(--main-white);
    font-size: 76px;
    font-style: normal;
    font-weight: 700;
    line-height: normal;
}
.service-slider__head-text{
    font-size: 24px;
    font-style: normal;
    font-weight: 700;
    line-height: normal;
    text-transform: uppercase;
}
.service-slider__text p{
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: 188%; 
}
/* ABOUT WORK */

.about_work-container{
    display: grid;
    grid-template-columns: 300px 1fr;
    column-gap: 113px;
}
.about_work-container>h2{
    padding-top: 112px;
}
.about_work-list{
    display: grid;
    gap: 16px;
}
.about_work-list__card{
    position: relative;
}
.about_work-list__card::before{
    content: '\2022';
    position: absolute;
    left: -20px;
}
.about_work-list__header{
    font-size: 24px;
    font-style: normal;
    font-weight: 700;
    line-height: 133%
}
.about_work-slider-container{
    overflow: hidden;
}
.why_us-container{
    display: grid;
    grid-template-columns: 300px 1fr;
    column-gap: 113px;
    padding: 128px 0 145px 0;
}
.owl-carousel button.owl-dot {
    width: 14px;
    height: 14px;
    background: var(--main-blue);
    margin: 12px;
}
.owl-carousel button.owl-dot.active{
    width: 24px;
    height: 24px;
}
.owl-dots{
    display: flex;
    align-items: center;
    justify-content: center;
}


#letstart{
    padding: 140px 0 235px 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background-image: url(../img/bg.png);
    background-repeat: no-repeat;
    background-size: 60%;
    background-position-y: 100%;
    background-position-x: 129%;
}
.letctart-container{
    display: grid;
    gap: 74px;
    text-align: center;
    justify-items: center;
}

.contact-container{
    padding: 130px 0;
    display: grid;
    grid-template-columns: 5fr 6fr;
}
.contact-form__container{
    border-left: 0.3px solid var(--main-white);
    padding: 0 92px;
}
.contact-form{
    display: grid;
    gap: 32px;
}

.contact-form input,
.contact-form textarea{
    background-color: transparent;
    border: none;
    border-bottom: 1px solid var(--main-white);
    font-size: 18px;
    padding: 10px 0;
    color: var(--main-white);
    outline: none;
}
.contact-form button{
    margin-left: auto;
}
.contact-info__container{
    display: grid;
    gap: 100px;
}
.contact-info{
    display: grid;
    gap: 27px;
}



.footer-container{
    display: grid;
    grid-template-columns: 290px 1fr 240px;
    column-gap: 140px;
    padding-bottom: 20px;
}
.footer-column{
    display: grid;
    gap: 22px;
}
.footer-headers{
    font-size: 18px;
    font-style: normal;
    font-weight: 700;
    line-height: normal;
}
.footer-list{
    display: flex;
    gap: 24px;
}
.footer-text__min,
.footer-list__item>a{
    font-size: 14px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
    color: var(--main-white);
    transition: 0.3s;
}
.footer-list__item>a:hover{
    color: var(--main-blue);
}


@media screen and (max-width: 1420px) {
    .container{
        max-width: 1140px;
    }
    .service-slider__item{
        max-width: 420px;
    }
}

  .btn-top {
    display: none;
  }
  
@media screen and (max-width: 1200px) {
    .container{
        padding: 0 20px;
    }
    .about-info_card{
        justify-content: flex-start;
    }
    .about-container {
        gap: 60px;
    }
}



  @media screen and (max-width: 768px) {

    .btn-top {
        display: none;
        position: fixed;
        bottom: 20px;
        right: 20px;
        z-index: 999;
        width: 46px;
        height: 46px;
        background-color: var(--main-blue);
        color: white;
        border: none;
        cursor: pointer;
      }
    .container{
        max-width: 540px;
    }
    .mobile-hidden{
        display: none;
    }
    .menu-btn {
        display: block;
        position: relative;
        width: 40px;
        height: 4px;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        background: var(--main-white);
        transition: all .6s cubic-bezier(0.68, -0.55, 0.27, 1.55);
        cursor: pointer;
        z-index: 9;
      }
      
      .menu-btn:hover:not(.open) {
        width: 30px;
      }
      
      .menu-btn:hover:before, .menu-btn:hover:after {
        width: 40px;
      }
      
      
      .menu-btn:before, .menu-btn:after {
        content: '';
        position: absolute;
        display: block;
        width: 30px;
        height: 4px;
        left: 0;
        background: var(--main-white);
        transition: all .5s;
      }
      
      .menu-btn:before {
        top: -12px;
      }
      
      .menu-btn:after {
        top: 12px;
      }
      
      .menu-btn.open {
        transform: translate(-50%, -50%) rotate(225deg);
      }
      
      .menu-btn.open:before, .menu-btn.open:after {
        top: 0px;
      }
      
      .menu-btn.open:after {
        transform: rotate(90deg);
        width: 40px;
      }
    .sidebar.show{
        right: 0;
    }
    .sidebar .sidebar-list{
        list-style: none;
        display: grid;
        gap: 20px;
        margin-top: 60px;
        
    }
    .sidebar-list__item,
    .sidebar-list__item a{
        color: #FFF;
        font-size: 18px;
        font-style: normal;
        font-weight: 400;
        line-height: normal;
    }
    .sidebar-list__item a{
        display: inline-block;
        margin: 10px 0;
    }
    h1{
        font-size: 48px;
        margin-bottom: 115px;
    }
    h2{
        font-size: 30px;
    }
    p{
        font-size: 16px;
        line-height: 200%;
    }

    main{
        background-position: top;
    }
    .wrapper{
        max-width: 100%;
    }
    .blue-label{
        padding: 6px 120px;
        top: 120px;
        left: 0;
        transform: translateY(-50%);
    }
    .blue-label:first-of-type{
        top: 50%;
    }

    /* .logo-image{
        height: 48px;
    } */
    
    /* HEADER */
    header{
        padding: 20px;        
    }
    .navigation-list{
        display: none;
    }
    /* .header-container{
        display: grid;
        grid-template-columns: 1fr 70px;
        align-items: center;
    } */
    .header-container {
        display: flex;
        align-items: center;
        justify-content: space-between;
    }
    .about-container,
    .servicer-container,
    .about_work-container,
    .contact-container{
        grid-template-columns: 1fr;
        row-gap: 94px;
        padding-top: 40px;
        padding-bottom: 80px;
    }
    .servicer-container>h2,
    .about_work-container>h2{
        padding-top: 0;
    }

    /* GET STARTED BLOCK */
    .get-start{
        padding: 94px 0 110px 0;
    }
    .first-screen__text{
        max-width: 460px;
    }
    /* ABOUT BLOCK */
    .about-container{
        display: grid;
        gap: 93px;
        /* padding: 47px 0 180px 0; */
    }
    .about-info{
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        row-gap: 62px;
    }
    .full-row{
        grid-column: -1/1;
    
    }
    .about-info_card{
        display: flex;
        align-items: center;
        justify-content: center;
        flex-direction: column;
    }
    .about-info_card__header{
        font-size: 42px;
        font-style: normal;
        font-weight: 700;
        line-height: 72%;
    }
    
    /* SERVICES */
    #services{
        padding:0;
    }

    .service-slider__item{
        background-color: var(--card-gray);
        padding: 60px 25px;
        display: grid;
        height: 486px;
        gap: 32px;
        grid-template-rows: 130px 1fr;
        box-sizing: border-box;
    }
    .service-slider__head{
        display: grid;
        grid-template-columns: 95px 1fr;
    }
    .heshtag{
        grid-column: -1/1;
        align-items: center;
    }
    .service-slider__head-num{
        color: var(--main-white);
        font-size: 76px;
        font-style: normal;
        font-weight: 700;
        line-height: normal;
    }
    .service-slider__head-text{
        font-size: 24px;
        font-style: normal;
        font-weight: 700;
        line-height: normal;
        text-transform: uppercase;
    }
    .service-slider__text p{
        font-size: 16px;
        font-style: normal;
        font-weight: 400;
        line-height: 188%; 
    }

    .why_us-container {
        grid-template-columns: 1fr;
        column-gap: 20px;
        padding: 30px 0 105px 0;
        row-gap: 94px;
    }
    .contact-container {
        row-gap: 74px;
    }
    /* ABOUT WORK */
    #about-work{
        padding: 0;
    }
    .about_work-container{
        display: grid;
        column-gap: 113px;
        /* padding: 100px 0; */
    }
    .about_work-list{
        display: grid;
        gap: 16px;
    }
    .about_work-list__card{
        position: relative;
    }
    .about_work-list__card::before{
        display: none;
    }
    .about_work-list__header{
        font-size: 24px;
        font-style: normal;
        font-weight: 700;
        line-height: 133%;
        padding-left: 24px;
    }
    .about_work-list__header::before{
        content: '\2022';
        position: absolute;
        left: 8px;
    }
    
    .contact-form__container {
        border-left: none;
        padding: 0;
    }
    .contact-form input,
    .contact-form textarea{
        font-size: 16px;
    }
    .contact-form button{
        margin-left: auto;
        margin-right: auto;
    }
   
    
    
    .footer-container{
        display: flex;
        flex-direction: column-reverse;
        row-gap: 40px;
    }
    .footer-column{
        display: grid;
        gap: 22px;
    }
    .footer-headers{
        font-size: 18px;
        font-style: normal;
        font-weight: 700;
        line-height: normal;
    }
    .footer-list,
    .footer-nav{
        display: grid;
        grid-template-columns: 1fr 1fr;
    }
    #letstart {
        background-size: 134%;
        background-position-y: 100%;
        background-position-x: 0;
    }
    .servicer-container>div{
        max-width: 97vw;
    }
  }

  
  @media screen and (max-width: 540px) {
    .container{
        max-width: 100%;
        padding: 15px;
    }
    .blue-label {
        padding: 6px 40px;
    }
    .blue-label>p{
        font-size: 12px;
    }
    .about-info {
        grid-template-columns: repeat(2, 1fr);
        row-gap: 62px;
    }
    .about-info_card:last-of-type{
            grid-column: -1/1;
    }
    .label-right {
        width: 80%;
    }
    .service-slider__item {
        padding: 30px 25px;
        display: grid;
        height: 486px;
        max-width: 500px;
    }
}


.invalid{
    border-bottom: 1px solid red!important;
}
.correct{    
    border-bottom: 1px solid green!important;
}
input:-webkit-autofill,
input:-internal-autofill-selected {
    appearance: menulist-button;
    background-image: none !important;
    background-color: #000F0F !important;
    border: none;
    border-bottom: 1px solid var(--main-white);
    color: var(--main-white);
    -webkit-text-fill-color:  var(--main-white);
    -webkit-box-shadow: 0 0 0px 1000px #000F0F inset; /* Запобігає зміні кольору шрифту */
  }

input:autofill {
    border:none;
    border-bottom: 1px solid var(--main-white);
    background-color: #000F0F;
  }
  
  input:-webkit-autofill {
    border: none;
    border-bottom: 1px solid var(--main-white);
    background-color: #000F0F;
  }


.popup-container, .popup-container__error {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    justify-content: center;
    align-items: center;
  }
  
.popup {
    background-color: #000F0F;;
    padding: 0;
    box-shadow: 0px 2px 10px rgba(0, 0, 0, 0.2);
    animation: fadeIn 0.5s ease-in-out;
    height: 315px;
    width: 500px;
    position: relative;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    flex-direction: column;
}
.popup  .blue-label{
    position: static;
    width: max-content;
}
.pop-up_text{
    margin-left: 120px
}
@keyframes fadeIn {
    0% { opacity: 0; transform: scale(0.5); }
    100% { opacity: 1; transform: scale(1); }
}
@media screen and (max-width: 540px) {
    .popup {
        height: 300px;
        width: 90%;
    }
    .pop-up_text{
        margin-left: 40px
    }

}