:root {
  --color-accent: #0673cc;
  --color-body-bg: #262537;
  --color-secondary: #454462;
  --color-light: #f2f0ef;
  --color-text: #ffffff;
  --color-dark: #18191a;
  --color-black-text: #000000;
}

nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;
  transition: background-color 0.3s ease, height 0.3s ease;
  background-color: transparent;
}

nav {
  background-color: rgba(0, 0, 0, 0.7);
}

nav ul {
  height: 100px;
  list-style: none;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  transition: height 0.3s ease;
}

nav ul {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

nav li {
  height: 50px;
}

nav li:first-child {
  margin-right: auto;
  margin-left: 20px;
}

nav a {
  height: 100%;
  text-decoration: none;
  display: flex;
  align-items: center;
  color: white;
  background-color: transparent;
  position: relative;
  font-size: 1.2rem;
  margin: 0 30px;
  transition: font-size 0.3s all ease;
}

nav a:hover {
  color: white;
}


.sidebar {
  position: fixed;
  top: 0;
  right: 0;
  height: 100vh;
  width: 250px;
  z-index: 999;
  background-color: rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(10px);
  box-shadow: -10px 0 10px rgba(0, 0, 0, 0.1);
  transform: translateX(100%);
  transition: transform 0.3s ease, visibility 0.3s ease;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  visibility: hidden;
}

.sidebar.show {
  transform: translateX(0);
  visibility: visible;
}

.sidebar.hide {
  transform: translateX(100%);
  visibility: hidden;
}

.sidebar li {
  width: 100%;
  text-align: center;
}

.sidebar a {
  display: block;
  text-align: center;
  text-decoration: none;
  color: white;
  font-weight: 300;
  font-size: 1.2em;
  margin: 0 20px;
  padding: 0 20px;
}

.menu-button {
  display: none;
}

.sidebar-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  padding: 10px;
}

.hamburger-menu {
  fill: #ffffff;
}

/* #logo2 {
  margin-left: 25px;
} */

#contact {
  background-color: var(--color-accent);
  border-radius: 5px;
}


hr {
  flex: 1;
  margin: 0 10px 0 10px;
  height: 1%;
}

#line {
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-text);
  height: 80px;
  font-weight: 400;
  font-size: 1em;
}

@media (max-width: 1200px) {
  nav ul.space-top {
      padding: 0;
  }


  .left {
      flex: 0 0 auto;
      width: 100%;
      height: auto;
      padding: 0;
      transform: translateY(0);
      justify-content: center;
      align-items: center;
      text-align: center;
  }
  .right {
      flex: 1;
      align-items: center;
  }
  .space-top {
      margin-top: 40px;
  }
  nav ul {
      height: 90px;
  }
  nav a {
      font-size: 1.4rem;
      margin: 0 20px;
  }
  
  #logo {
      margin-left: 30px;
  }
  .hideOnMobile {
      display: none;
  }
  .menu-button {
      display: block;
  }
  .hamburger-menu {
      margin-right: 50px;
  }
  .space-top {
      margin-top: 55px;
  }
}

@media (max-width: 800px) {
  .space-top {
      margin-top: 25px;
  }
  .hamburger-menu {
      margin-right: 50px;
  }
  #logo {
      margin-left: 0;
      height: 80px;
      width: auto;
  }
  .hideOnMobile {
      display: none;
  }
  .menu-button {
      display: block;
  }

}

@media (max-width: 480px) {
  .sidebar {
      width: 100%;
  }
}
