@font-face {
    font-family: "Flexus";
    src: url("../font/Flexus.ttf") format("truetype");
    font-weight: normal;
    font-style: normal;
}

html{
    scroll-behavior: smooth;
}

:root {
    --first-color: rgb(39, 180, 245);
    --white: #fff;
    --gray: rgba(120, 120, 120, 0.3);
    --primary-color: #7628FE;
    --secondary-color: #1DAAFF;
    --dark-color: #151A1C;
    --light-color: #F2F2F2;
    --accent-color: #7728FD;
    --black: #151A1C80;
    --shadow: rgba(31, 38, 135, 0.37);
}

*{
    margin:0;
    padding:0;
}

body{
    background-image: linear-gradient(
            260deg,
            var(--primary-color) 0%,
            #4A4BF8 25%,
            #2D6EF7 45%,
            var(--secondary-color) 65%,
            var(--dark-color) 100%
    );

    background-size: 400% 400%;

    animation: gradientAnimation 15s ease infinite;

    font-family: "Montserrat", sans-serif;
}

@keyframes gradientAnimation {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }

}


.bg{
    background: var(--black);
    box-shadow: 0 8PX 32PX 0 var(--shadow);
    -webkit-backdrop-filter: blur(5px);
    backdrop-filter: blur(5px);
    min-height: 1000px;
}

.home .sidebar-pos {
    display: flex;
    justify-items: center;
    align-items: center;
    position: sticky;
    top: 0;
    z-index: 9999;

    height: 100px;
}

ul{
    display: flex;
    gap: 75px;
    margin: 0px 0 0 50px;
}

.sidebar-pos a{
    text-decoration: none;
    color: var(--white);
}

.sidebar-pos a:hover{
    border-bottom: 1px solid var(--white);
    padding: 0 0 5px 0;
}

li{
    list-style: none;
    font-size: 19px;
    color: var(--white);
    font-weight: 400;
}

.mr-image h1{
    margin: 0px 0 0 130px;
    color: var(--white);
    font-family: "Montserrat", sans-serif;
    font-weight: 400;
}

.btn-contact{
    margin: 0px 150px 0 auto;
}

.btn-contact button{
    background: none;
    padding: 15px 30px 15px 30px;
    border-radius: 40px;
    color: var(--white);
    font-weight: 400;
    letter-spacing: 1.9px;
    border: 1px solid var(--gray);
    font-family: "Montserrat", sans-serif;
}

.menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  border: 1px solid var(--gray);
  cursor: pointer;
  margin-left: auto;
  margin-right: 20px;
}

.menu-toggle span {
  height: 2px;
  width: 60%;
  background: var(--white);
  margin: 0 auto;
}

.nav-links {
  transition: transform 0.3s ease;
}

.nav-links.active {
  transform: translateX(0);
}


.home .sidebar-pos {
  display: flex;
  align-items: center;
}


@media (max-width: 1400px) {
  .home .sidebar-pos {
    flex-wrap: wrap;
    height: auto;
    padding: 20px;
    justify-content: center;
  }

  .mr-image h1 {
    margin: 0;
    font-size: 26px;
    text-align: center;
  }

  ul {
    gap: 40px;
    margin: 20px 0;
    flex-wrap: wrap;
    justify-content: center;
  }

  li {
    font-size: 18px;
  }

  .btn-contact {
    margin: 05px 0 0 40px;
  }

  .btn-contact button {

    font-size: 16px;
  }
}

@media (max-width: 968px) {

  .menu-toggle {
    display: flex;
  }

  .nav-links {
    position: fixed;
    top: 0;
    right: 0;
    width: 220px;
    height: 100vh;
    background: rgba(0,0,0,0.6);
    backdrop-filter: blur(8px);
    transform: translateX(100%);
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding-top: 80px;
    z-index: 9998;
  }

  .nav-links ul {
    flex-direction: column;
    gap: 25px;
    margin: 0;
  }

  .nav-links li {
    font-size: 18px;
    text-align: right;
    padding-right: 20px;
  }


  .nav-links.active {
    transform: translateX(0);
  }


  .mr-image h1 {
    margin: 0 0 0 20px;
    font-size: 20px;
  }


  .home .sidebar-pos {
    height: 70px;
  }
}
