@import url(./style/burger-menu.css);
@import url(./style/footer.css);
@import url(./style/form.css);
@import url(./style/hero.css);
@import url(./style/portfolio.css);
@import url(./style/progressbar.css);
@import url(./style/whyus.css);
@import url(./style/aboutus.css);
@import url(./style/contactus.css);
@import url(./style/roots.css);





/* Reset CSS */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    list-style: none;
    text-decoration: none;
}



/* Fonts */
@font-face {
  font-family: ExampleFont;
  src: url(/path/to/fonts/examplefont.woff) format('woff'),
       url(/path/to/fonts/examplefont.eot) format('eot');
  font-weight: 400;
  font-style: normal;
  font-display: block;
}

@font-face {
    font-family: 'DMSans';
    src: url('../fonts/DMSans-Bold.woff') format('woff');
    /* Додаткові параметри, якщо потрібно, наприклад, font-weight та font-style */
}

@font-face {
    font-family: 'DMSans';
    src: url('../fonts/DMSans-Regular.woff') format('woff');
    font-style:normal;
    /* Додаткові параметри, якщо потрібно, наприклад, font-weight та font-style */
}

@font-face {
    font-family: 'DMSans';
    src: url('../fonts/DMSans-Medium.woff') format('woff');
    font-weight: 500;
    /* Додаткові параметри, якщо потрібно, наприклад, font-weight та font-style */
}

/* General styles */
body {
    position: relative;
    font-family: 'DMSans', Arial, sans-serif;
    background-color: #f4f4f4;
    color: #333;
}

/* Header styles */


.header {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1000; 
    display: flex;
    width: 100vw;
    height: 110px;

    padding-left: 7vw;
    padding-right: 7vw;
    background-color: var(--background-durk);
    background: rgb(49,50,51);
    background: linear-gradient(212deg, rgba(49,50,51,1) 0%, rgb(46, 46, 46) 100%);
    background-position: left center;
    color: var(--text-color-white);
    justify-content: space-between;
    /* transition: all 1.3s ease; */
}

.header:hover {
  background-size: 320%;
  background-position: right center;
}

.header-logo {
    display: flex;
    align-items: center;

}



.header-logo img {
    height: 80%;
    cursor: pointer;
    margin-right: 10px;

}

.header-logo a {
    color: var(--text-color-white);
    font-weight: 600;
    font-size: 40px;
    font-family: 'DMSans';
    transition: all 1.3s ease;
}

.header-logo a:hover {
    scale: 1.01;
   
   }

.header-nav {
    display: flex;
    align-items: center;
}


.header-nav ul {
    display: flex;
    gap: 24px;
    margin-right: 80px;
    
}

.header-nav a {
    color: var(--text-color-white);
    list-style: none;
    text-decoration: none;
    font-size: 24px;
    transition: all 0.3s ease;

}

/* Style for link */
.hover-link {
    padding: 0;
    margin: 0;
    border: none;
    background: none;
    cursor: pointer;
  }
  
.hover-link {
    --primary-color: #111;
    --hovered-color: #c84747;
    position: relative;
    display: flex;
    font-weight: 400;
    font-size: 16px;
    line-height: 140%;
    align-items: center;
  }
  
  
  .hover-link::after {
    position: absolute;
    content: "";
    width: 0;
    left: 0;
    bottom: -7px;
    background: var(--hovered-color);
    height: 2px;
    transition: 0.3s ease-out;
  }
  
  .hover-link p::before {
    position: absolute;
    /*   box-sizing: border-box; */
    content: "Subscribe";
    width: 0%;
    inset: 0;
    color: var(--hovered-color);
    overflow: hidden;
    transition: 0.3s ease-out;
  }
  
  .hover-link:hover::after {
    width: 100%;
  }
  
  .hover-link:hover p::before {
    width: 100%;
  }
  
  .hover-link:hover svg {
    transform: translateX(4px);
    color: var(--hovered-color);
  }
  
  .hover-link svg {
    color: var(--primary-color);
    transition: 0.2s;
    position: relative;
    width: 15px;
    transition-delay: 0.2s;
  }

  .menu .active::after {
    position: absolute;
    content: "";
    width: 100%;
    left: 0;
    bottom: -7px;
    background: var(--hovered-color);
    height: 2px;
  }


  /* Header - BUTTON */

  .cta {
    position: relative;
    margin: auto;
    padding: 12px 18px;
    transition: all 0.2s ease;
    border: none;
    background: none;
    cursor: pointer;

    display: flex;
    align-items: center;
    justify-content: center;
  }
  
  .cta:before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    display: block;
    border-radius: 50px;
    background: var(--orange-color);
    width: 45px;
    height: 45px;
    transition: all 0.3s ease;
  }
  
  .cta span {
    position: relative;

    font-family: 'DMSans', Arial, sans-serif;
    font-weight: 400;
    font-size: 18px;
    line-height: 100%;
    letter-spacing: 0.04em;
    color: var(--text-color-white);
  }
  
  .cta svg {
    position: relative;
    top: 0;
    margin-left: 10px;
    fill: none;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke: var(--orange-color);
    stroke-width: 2;
    transform: translateX(-5px);
    transition: all 0.3s ease;
  }
  
  .cta:hover:before {
    width: 100%;
    background: var(--orange-color);
  }
  
  .cta:hover svg {
    transform: translateX(0);
    stroke: var(--text-color-white);
  }
  
  .cta:active {
    transform: scale(0.95);
  }

  .header-nav-burger {
    display: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg viewBox='0 0 24 24' fill='none' xmlns='http://www.w3.org/2000/svg' stroke='%23ffffff'%3e%3cg id='SVGRepo_bgCarrier' stroke-width='0'%3e%3c/g%3e%3cg id='SVGRepo_tracerCarrier' stroke-linecap='round' stroke-linejoin='round'%3e%3c/g%3e%3cg id='SVGRepo_iconCarrier'%3e%3cpath d='M4 18L20 18' stroke='%23EC9E2A' stroke-width='2' stroke-linecap='round'%3e%3c/path%3e%3cpath d='M4 12L20 12' stroke='%23EC9E2A' stroke-width='2' stroke-linecap='round'%3e%3c/path%3e%3cpath d='M4 6L20 6' stroke='%23EC9E2A' stroke-width='2' stroke-linecap='round'%3e%3c/path%3e%3c/g%3e%3c/svg%3e");
    background-position: center;
    background-repeat: none;
    fill: var(--orange-color);
    width: 60px;
    height: 60px;
    margin-right: 20px;

  }


/* Показати меню, коли вікно браузера менше 720px */
@media (max-width: 1200px) {
    .menu .hover-link {
        font-size: 1rem;
        gap: 0.8rem;
        align-items: center;
      }

     .header-nav-desktop .menu {
        margin-right: 15px;
     } 
}

@media (max-width: 1000px) {
    .header-nav-burger {
        display: block;
    }

    .header-nav-desktop {
        display: none;
    }

    .header-logo a {

        font-size: 30px;

    }
}

@media (max-width: 580px) {
    .header-nav-burger {
        display: block;
    }

    .header-nav-desktop {
        display: none;
    }

    .header-logo a {
        display: none;
    }
    
    .header-logo p {
      display: none;
    }

    .cta span {
      font-size: 1rem;
    }

    .cta {
      padding-right: 0;
    }

    .header {
      position: fixed;
      top: 0;
      left: 0;
    }

    
}







