nav {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;

  margin: 0 auto 0 auto;
  padding: 20px;

  height: auto;
  width: 1250px;
}

@media screen and (max-width: 1300px) {
  nav {
    width: 1000px;
  }
}

#logo-cont{
  display: flex;
  justify-content: flex-start;
  align-items: center;

  text-decoration: none;

  width: 350px;

  gap: 10px;
}

#nav-logo {
  width: 40px;
}

#nav-name {
  font-size: 24px;
  color: var(--text-color);
}

#nav-links {
  display: flex;
  align-items: center;
  gap: 10px;
}

.nav-link {
  cursor: pointer;
  position: relative;
  overflow: hidden;

  font-size: 20px;
  color: var(--text-color);
  text-decoration: none;
}

.nav-link::after {
  position: absolute;
  left: 50%;

  transform: translateX(-50%) scaleX(0);
  transform-origin: center;

  content: "";

  bottom: 0;
  border-radius: 1px;
  
  width: 90%;
  height: 2px;

  background-color: var(--blue);

  transition: transform 0.2s ease;
  
  pointer-events: none;
}

.nav-link:hover::after {
  transform: translateX(-50%) scaleX(1);
}

.nav-dot {
  width: 10px;
  height: 10px;

  border-radius: 5px;

  background-color: var(--text-color);
}

#right-cont {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 10px;
  width: 350px;
}

.mode-switch {
  width: 2.25em;
  height: 2.25em;

  cursor: pointer;
}

.mode-switch-hidden {
  display: none;
}

#get-website {
  text-decoration: none;
  color: inherit;

  padding: 15px;

  border-radius: 5px;
  background-color: var(--blue);

  filter: drop-shadow(0 0 10px rgba(66, 135, 245, 0.5));
  transition: transform 0.2s ease;
}

#get-website:hover {
  transform: scale(1.02);
}

#mobile-nav {
  display: none;
}

@media screen and (max-width: 1024px) {
  #mobile-nav {
    display: block;
  }

  nav {
    display: none;
  }
}

#mobile-top {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;

  padding: 20px 50px; /* smaller (30-40) for smller phons*/

  height: auto;
  width: calc(100% -80px);
}

#mobile-logo-cont {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  gap: 10px;

  width: 25%;
  height: auto;
  text-decoration: none;
  z-index: 5;
}

#mobile-logo {
  width: 35px;
  
}

#mobile-nav-name {
  font-size: 16px;
  color: var(--text-color);

}

#mobile-burger-cont {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 10px;
  width: 25%;
  
  z-index: 5;
}

#burger {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 6px;
  width: 30px;
  height: 30px;
  cursor: pointer;
}

.burger-line {
  width: 30px;
  height: 4px;

  border-radius: 1px;

  background-color: var(--text-color);

  transition: width 0.2s ease;
}

.short {
  width: 20px;
}

.mobile-hidden {
  transform: translateY(-40px) !important;
  opacity: 0 !important;
  pointer-events: none;
}

#mobile-links {
  position: absolute;
  width: 100%;
  top: 0;
  opacity: 1;
  transition: all 0.4s ease-in-out;
}

#mobile-link-cont {
  position: absolute;
  width: 100%;
  top: 0;
  display: flex;
  justify-content: center;
}

#mobile-link-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;

  width: 90%;

  border-radius: 0 0 15px 15px;

  background-color: var(--background-color);
}

#spacing-mobilelink {
  height: 75px;
}

.line-mobile-link {
  width: 36%;
  height: 1px;

  box-shadow: 0 4px 10px 0px var(--blue);

  background-color: var(--text-color);
}

.long-mobile-link {
  margin-top: 30px;
  width: 60%;
}

.mobile-nav-link {
  font-size: 18px;

  cursor: pointer;
  color: var(--text-color);
  text-decoration: none;
}

#mobile-link-options {
  display: flex;
  justify-content: space-around;

  width: 80%;

  padding: 30px;
}

#plaque {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  /* z-index: -1; */
  pointer-events: none;
  transition: all 0.4s ease;
}

.darkened {
  background-color: rgba(0, 0, 0, 0.6);
  
}

.sr-lang-select {
  background: transparent;
  border: none;
  outline: none;
  color: var(--background-color);
  cursor: pointer;
  font-size: 15px;
  font-weight: 200;
}

.sr-lang-select option {
  background: var(--text-color);
  color: var(--background-color);
  font-family: inherit;
  font-weight: normal !important;
}

#custom-lang-select-container {
  position: relative;
  width: 75px;
}

#custom-lang-select {
  background: transparent;
  border: 1px solid var(--text-color);
  border-radius: 6px;
  color: var(--text-color);
  cursor: pointer;
  padding: 8px 16px 8px 12px;
  font-size: 15px;
  font-weight: 200;
  position: relative;
  user-select: none;
}

.custom-lang-arrow {
  position: absolute;
  right: 8px;
  top: 50%;
  transform: translateY(-50%);
  pointer-events: none;
}

#custom-lang-options {
  position: absolute;
  left: 0;
  top: 110%;
  width: 100%;
  background: var(--background-color);
  border: 1px solid var(--text-color);
  border-radius: 6px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
  z-index: 10;
  list-style: none;
  margin: 0;
  padding: 0;
}

#custom-lang-options li {
  padding: 8px 12px;
  cursor: pointer;
  border-radius: 6px;
  color: var(--text-color);
}

#custom-lang-options li:hover {
  background: var(--blue);
  color: var(--background-color);
}

.hidden {
  display: none;
}

.sr-only {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0);
  border: 0;
}