:root {
  --main-size: 16px;
  --main-weight: 500;
  --weight-regular: 400;
  --weight-semi: 600;
  --font-family: "Poppins", sans-serif;
  --main-color: #ef363b;
  --button-background: #ef363b;
  --box-shadow: 0 0 10px #b2b2b2;
}
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
body {
  font-family: var(--font-family);
}
a {
  text-decoration: none;
  color: inherit;
  cursor: pointer;
}
body {
  margin: 0;
}
header {
  width: 98%;
  height: 80px;
  background-color: #fff;
  padding: 0 30px;
  border-radius: 0 0 50px 50px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  box-shadow: 0 15px 30px #d2d2d2;
  position: fixed;
  left: 1%;
  top: 0;
  z-index: 99;
}
header .logo {
  width: 105px;
  height: 45px;
}
nav {
  width: 70%;
  height: 100%;
  display: flex;
  justify-content: space-evenly;
  align-items: center;
}
header a {
  width: fit-content;
  height: fit-content;
  text-transform: capitalize;
  font-size: var(--main-size);
  font-weight: var(--main-weight);
}
.lang,
.aside-lang {
  width: 5%;
  height: 100%;
  display: flex;
  justify-content: space-evenly;
  align-items: center;
}
.lang a,
.aside-lang a{
margin-right: 5px;
}
header span {
  font-size: var(--main-size);
  font-weight: 600;
}
.globe-icon {
  color: #4f4f4f;
}
.active,
header a:hover {
  color: var(--main-color);
  transition: all 400ms;
}
.active::after,
header a:hover::after {
  content: " ";
  display: block;
  width: 0%;
  height: 3px;
  transition: all 400ms;
  background-color: var(--main-color);
  animation: navUnderLine 400ms forwards linear;
}
#menu-bar {
  display: none;
  font-size: 30px;
  height: 35px;
}
header aside {
  width: 200px;
  height: 100%;
  position: fixed;
  right: 0;
  transform: translateX(100%);
  top: 0;
  transition: transform 300ms linear;
  display: flex;
  flex-direction: column;
  justify-content: space-evenly;
  align-items: center;
  z-index: 9;
  box-shadow: 0 15px 30px #d2d2d2;
  background-color: #fff;
}
#close-bar {
  font-size: 30px;
}
.aside-nav {
  width: 100%;
  height: 60%;
  display: flex;
  flex-direction: column;
  justify-content: space-evenly;
  align-items: center;
}
.aside-lang {
  width: 50%;
  height: 10%;
}
.aside-toggle {
  transform: translateX(0);
}
#aside-blur {
  width: 100%;
  height: 100%;
  background-color: #000;
  position: fixed;
  top: 0;
  left: 0;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}
#aside-blur.visible {
  opacity: 0.3;
  pointer-events: all;
}
section {
  margin-top: 100px;
}

@keyframes navUnderLine {
  0% {
    width: 0%;
  }
  100% {
    width: 100%;
  }
}
@media (max-width: 850px) {
  nav,
  .lang {
    display: none;
  }
  #menu-bar {
    display: inline;
  }
}

