* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --primary-dark-blue: #0C2D48;
  --primary-dark-blue-rgb: 12, 45, 72;
  --background-color: #F0F0F0;
}

::-webkit-scrollbar {
  width: 12px;
}
::-webkit-scrollbar-track {
  background: #f1f1f1;
}
::-webkit-scrollbar-thumb {
  background: #888;
  border-radius: 5px;
}
::-webkit-scrollbar-thumb:hover {
  background: #555;
}

body {
  background-color: var(--background-color);
  font-family: "Open Sans", sans-serif, Arial;
}

.button {
  display: inline-flex;
  align-items: center;
  font-size: 16px;
  font-weight: bold;
  height: 45px;
  width: fit-content;
  min-width: fit-content;
  padding: 12px 36px;
  border: none;
  border-radius: 25px;
  cursor: pointer;
  text-decoration: none;
  text-wrap-mode: nowrap;
}
.primary-button {
  background-color: var(--primary-dark-blue);
  color: white;
  transition: background-color 200ms;

  &:hover {
    background-color: #032038;
  }
}
.secondary-button {
  background-color: white;
  color: var(--primary-dark-blue);
  transition: background-color 200ms;

  &:hover {
    background-color: #F0F0F0;
  }
}
.hidden {
  display: none;
}

@keyframes fadeInUpSlide {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

nav {
  background-color: var(--primary-dark-blue);
}
.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: white;
  max-width: 1380px;
  margin: 0 auto;
  padding: 0 50px;
}
.logo-anchor {
  align-content: center;
  height: 64px;
  text-decoration: none;
  color: white;

  .logo-title {
    font-size: 24px;
  }
  .logo-subtitle {
    font-size: 14px;
  }
}
.nav-logo {
  width: 64px;
  height: 64px;
}
.nav-list {
  display: flex;
  font-size: 1rem;
  list-style: none;
  opacity: 0;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
  animation: fadeInUpSlide 0.3s ease-in forwards;

  li {
    margin-right: 30px;
  }
  
  a {
    display: block;
    text-decoration: none;
    color: white;
    padding: 25px 0;
    text-underline-offset: 10px;

    &:hover {
      color: #B1D4E0;
      text-decoration: underline;
    }
  }

  .nav-item {
    padding: 25px 0;
    cursor: pointer;
    text-underline-offset: 10px;

    &:hover {
      color: #B1D4E0;
      text-decoration: underline;
    }
  }
}

#nav-services-item-desktop, #nav-services-item-mobile {
  /* dropdown arrow */
  &:after{
    content: '';
    border: 4px solid transparent;
    border-top: 4px solid white;
    margin-left: 5px;
    margin-bottom: 4px;
    display: inline-block;
    vertical-align: bottom;
  }
}
#nav-services-dropdown-desktop {
  font-size: 14px;
  background-color: var(--primary-dark-blue);
  position: absolute;
  left: 75px;
  width: 300px;
  border-radius: 10px;
  margin-top: 2px;
  padding: 10px;
 
  a {
    border-bottom: 1px solid #fff;
    padding: 10px 0;

    &:hover {
      color: #B1D4E0;
      text-decoration: none;
    }
    &:last-of-type {
      border: none;
    }
  }
}
#nav-services-dropdown-mobile {
  margin-left: 10px;
 
  a {
    font-size: 16px;
    border-bottom: 1px solid #fff;
    padding: 10px 0;

    &:hover {
      color: #B1D4E0;
      text-decoration: none;
    }
    &:last-of-type {
      border: none;
    }
  }
}
.lang-span {
  display: flex;
  align-items: center;
  margin-left: 10px;

  img {
    margin-left: 5px;
  }
}
#menu-icon {
  display: none;
}
.nav-mobile-list {
  position: absolute;
  border-top: 1px solid white;
  border-bottom: 1px solid white;
  top: 0;
  left: 0;
  width: 100%;
  background-color: var(--primary-dark-blue);
  padding: 10px 0;
  margin-top: 64px;
  padding-left: 24px;
  list-style: none;
  z-index: 10;

  a {
    display: block;
    color: white;
    text-decoration: none;
    font-size: 1.25rem;
    text-underline-offset: 10px;
    padding: 10px 0;

    &:hover {
      color: #B1D4E0;
      text-decoration: underline;
    }
  }

  .nav-item {
    color: #fff;
    font-size: 20px;
    cursor: pointer;
    text-underline-offset: 10px;
    padding: 10px 0;

    &:hover {
      color: #B1D4E0;
      text-decoration: underline;
    }
  }
}

footer {
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 1rem;
  background-color: var(--primary-dark-blue);
  padding: 8px 0;
  color: white;
}

@media (max-width: 876px) {
  .logo-anchor > .logo-subtitle {
    font-size: 11px;
  }
}

@media (max-width: 768px) {
  .nav-container {
    padding: 0 20px;
  }
  .nav-list {
    display: none;
  }
  #menu-icon {
    display: block;
    cursor: pointer;
  }
}

@media (max-width: 580px) {
  #footer {
    font-size: 0.8rem;
  }
}
