.site-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  gap: 20px;
}

.site-header__logo {
  max-height: 48px;
  flex-shrink: 1;
}
.site-header__logo-link {
  display: flex;
}

.site-header__logo img {
  max-width: 100%;
  max-height: auto;
  height: auto;
}

.site-header__nav {
  grid-area: nav;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 10px 20px;
}

.site-header__nav-item-link, .site-header__country-selector, .site-header__country-selector-dropdown-item-link {
  color: var(--primary-dark-blue);
  min-width: max-content;
  text-decoration: none;
  font-size: 12px;
}

.site-header__nav-item-link:hover, .site-header__nav-item-link:focus,
.site-header__country-selector-dropdown-item-link:hover, .site-header__country-selector-dropdown-item-link:focus {
  color: var(--primary-blue);
  font-weight: inherit;
}

.site-header__country-selector, .site-header__country-selector:hover, .site-header__country-selector:focus {
  all: unset;
  position: relative;
  display: flex;
  padding: 4px 16px;
  align-items: center;
  gap: 10px;
  border-radius: 24px;
  z-index: 999;
}

/* .site-header__country-selector:hover, .site-header__country-selector:focus {
  box-shadow: 0.648089px 9.72133px 14.906px hsla(0,0%,90%,.75);
} */

.site-header__country-selector:not(:hover).site-header__country-selector:not(:focus) .site-header__country-selector-dropdown {
  display: none;
}

.site-header__country-selector-flag {
  display: contents;
}

.site-header__country-selector-dropdown {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  min-width: 100%;
  padding: 8px 16px;
  border-radius: 24px;
  background-color: #ffffff;
  box-shadow: 0.648089px 9.72133px 14.906px hsla(0,0%,90%,.25);
}

.site-header__country-selector-dropdown-item {
  display: flex;
  align-items: center;
  padding: 12px;
  gap: 8px;
  font-size: 14px;
}

.site-header__country-selector-dropdown-item:not(:last-child) {
  border-bottom: 1px solid #AEAEB6;
}

.site-header__buttons {
  display: flex;
  justify-content: flex-end;
  gap: 16px;
}

.site-header__login-button, .site-header__signup-button {
  box-sizing: border-box;
  padding: 8px 24px;
  min-width: 140px;
  color: var(--primary-dark-blue);
  min-width: max-content;
  font-size: 12px;
  text-decoration: none;
}

.site-header__login-button {
  color: #FFFFFF;
  background-color: var(--bg-blue);
  border: 1px solid transparent;
}

.site-header__signup-button {
  color: var(--bg-blue);
  background-color: #FFFFFF;
  border: 1px solid currentColor;
}

@media screen and (max-width: 1080px) {
  .site-header {
    display: grid;
    grid-template: "logo buttons" 1fr "nav nav" auto / auto auto;
    gap: 30px 20px;
  }
}

@media screen and (max-width: 800px) {
  .site-header {
    padding: 15px 10px;
    display: flex;
    flex-direction: column;
  }
  
  .site-header__nav {
    gap: 15px;
  }
  
  {#.site-header__login-button, .site-header__signup-button {
    all: unset;
    color: var(--primary-blue);
    min-width: max-content;
    text-decoration: underline;
  }
  
  :is(.site-header__login-button, .site-header__signup-button):hover,
  :is(.site-header__login-button, .site-header__signup-button):focus {
    all: unset;
    color: #51B2C4;
    min-width: max-content;
    text-decoration: underline;
    cursor: pointer;
  }}#
}