:root {
  --color-black: #000000;
  --color-white: #ffffff;

  --color-primary: hsl(190, 100%, 45%);
  --color-primary-lighter: hsl(190, 100%, 50%);
  
  --color-primary-lightest: hsl(190, 85%, 95%);

  --color-palette-gray-2: #dde3e9;
}

#site-header-after {
  height: 80px;
}

.section {
  width: 100%;
}

.section>.content {
  width: 100%;
  margin: 0 auto;
  position: relative;
  max-width: 1600px;
}

.content {
  max-width: 1600px;
}

#header {
  position: fixed;
  top: 0;
  z-index: 2;
  background: var(--color-white);
}

#header .content::after {
  content: "";
  display: block;
  clear: both;
}

#header .link {
  display: block;
}

#header-logo-link {
  float: left;
  position: relative;
  display: block;
  z-index: 1;
  width: 170px;
  margin: 20px 0 20px 20px;
  color: var(--color-primary);
  fill: var(--color-primary);
  transition: all .25s ease;
}

#header #header-logo {
  width: 100%;
}

#header #header-logo-link .logo-badge {
  position: absolute;
  right: -12px;
  bottom: -18px;
  font-size: 12px;
  border: 1px solid var(--color-primary);
  padding: 2px 4px;
  border-radius: 12px;
  transition: all .25s ease;
}

#header-logo-link:hover {
  fill: var(--color-primary-lighter);
}

#header #header-logo-link:hover .logo-badge {
  color: var(--color-white);
  background: var(--color-primary-lighter);
  border: 1px solid var(--color-primary-lighter);
}

#header ul {
  list-style-type: none;
  padding: 0;
  margin: 0;
}

#header ul li {
  margin: 0 0 0 10px;
}

#header ul li .button {
  margin: 10px 0;
}

#header ul li ul {
  margin-left: 10px;
}

/* hamburger start */
#header #hamburger-checkbox {
  display: none;
}

#header #hamburger {
  display: block;
  float: right;
  margin: 20px 20px 20px 0;
  cursor: pointer;
}

#header #hamburger div {
  height: 3px;
  width: 30px;
  background: var(--color-primary);
  transition: 0.5s all ease;
}

#header #hamburger .middle {
  margin: 10px 0;
}

#header input:checked~#hamburger .top {
  transform: rotate(45deg) translate(8px, 10px);
}

#header input:checked~#hamburger .middle {
  opacity: 0;
}

#header input:checked~#hamburger .bottom {
  transform: rotate(-45deg) translate(8px, -10px);
}

/* hamburger end */
/* menu start */
#header .menu-wrapper {
  position: absolute;
  width: 100%;
  max-height: calc(100vh - 61px);
  margin-top: 61px;
  margin-left: -200vw;
  background: #ffffff;
  transition: 0.5s all ease;
}

#header .menu-wrapper #menu {
  padding: 20px;
  padding-top: 22px;
  padding-bottom: 27px;
}

#header input:checked~.menu-wrapper {
  margin-left: 0;
}

#header #menu>li {
  font-size: 16px;
}

/* menu end */
/* dropdown start */
#header #menu .dropdown {
  position: relative;
}

#header #menu .label {
  display: flex;
  align-items: center;
  z-index: 1;
  background: var(--color-white);
}

#header #menu .dropdown .content {
  overflow: hidden;
}

#header #menu .dropdown .content .elements {
  margin-top: -100vh;
  transition: all .25s ease;
}

#header #menu .dropdown .item-label {
  margin-bottom: 0.5em;
}

#header #menu .dropdown .indicator {
  display: inline-block;
  font-size: 0;
  width: 24px;
  height: 24px;
  transition: all .25s ease;
}

#header #menu .dropdown:hover .indicator {
  fill: var(--color-primary);
  transform: rotate(180deg);
}

#header #menu .dropdown .recommendation {
  width: 80%;
  margin: 10px auto;
}

#header #menu .dropdown .recommendation .title {
  margin: 15px 0;
}

#header #menu .dropdown:hover .content .elements {
  margin-top: 0;
}

#header #menu .dropdown .item .description {
  display: none;
}

#header #menu .dropdown .arrow {
  display: none;
}

#header #menu .dropdown>.content .recommendation {
  text-align: left;
  color: var(--color-black);
}

/* dropdown end */
@media all and (min-width: 768px) {
  #header .content {
    display: flex;
  }

  #header #hamburger {
    display: none;
  }

  #header #header-logo-link {
    margin: 25px 0 25px 20px;
  }

  #header .menu-wrapper {
    display: block;
    position: relative;
    margin-top: unset;
    margin-left: unset;
    float: right;
    padding: 0;
    width: calc(100vw - 190px);
  }

  #header ul>li {
    margin: 0 0 0 4px;
  }

  #header #menu {
    text-align: right;
  }

  #header ul li .button {
    margin: 0;
  }

  #header #menu li {
    display: inline-block;
    line-height: 1em;
  }

  #header ul li ul {
    margin-left: 10px;
    display: flex;
    flex-flow: row wrap;
  }

  #header ul li ul li {
    width: 30%;
    margin: 0 0 0 3%;
  }

  #header #menu .link {
    display: inline-block;
  }

  #header #menu .dropdown {
    position: relative;
  }

  #header #menu .dropdown>.content {
    cursor: default;
    position: fixed;
    overflow: unset;
    top: -100vw;
    width: min(80vw, 1280px);
    right: min(10vw, 160px);
    transition: all .25s ease;
  }

  #header #menu .dropdown .item .link-arrow {
    color: var(--color-primary);
    padding-left: 10px;
  }

  #header #menu .dropdown .item .link>span {
    display: flex;
    flex-flow: row;
  }

  #header #menu .dropdown .item .description {
    display: block;
    color: var(--color-outer-space-gray);
    font-size: 14px;
  }

  #header #menu .dropdown .content .elements {
    display: block;
    width: 100%;
    background: var(--color-white);
    margin-top: 40px;
    margin-left: -100vw;
  }

  #header #menu .dropdown .content .elements>.content {
    display: flex;
    flex-direction: column;
    padding: 40px;
  }

  #header #menu .dropdown:hover>.content {
    top: unset;
  }

  #header #menu .dropdown:hover .content .elements {
    border: 1px solid var(--color-pale-grey);
    border-radius: 40px;
    margin-top: 30px;
    margin-left: 0;
    box-shadow: 0 5px 10px 0 rgba(10, 12, 66, 0.1);
  }

  #header #menu .dropdown .recommendation {
    width: 50%;
  }

  #header #menu .dropdown ul {
    width: 100%;
    text-align: left;
  }

  #header #menu .dropdown .arrow {
    position: absolute;
    display: block;
    opacity: 0;
    right: 100vw;
    bottom: -40px;
    border-width: 0 30px 30px 30px;
    width: 0;
    height: 0;
    border-style: solid;
    border-color: transparent transparent #f4f5f6 transparent;
    transition: all .25s ease;
  }

  #header #menu .dropdown:hover .arrow {
    opacity: 1;
    right: 0;
  }

  #header #menu .dropdown ul a {
    padding: 25px;
    border-radius: 25px;
  }

  #header #menu .dropdown ul a:hover {
    background: #e6f9fd;
  }

  #header #menu .no-recommendation .content .elements ul {
    width: 100%;
  }

  #header #menu .no-recommendation .content .elements ul .item {
    width: 47%;
  }
}

@media all and (min-width: 1024px) {
  #header #menu .dropdown .recommendation {
    width: 30%;
  }

  #header ul>li {
    margin: 0 0 0 10px;
  }

  #header #menu .dropdown ul {
    width: 70%;
  }

  #header #menu li {
    line-height: 1em;
  }

  #header #menu .dropdown .content .elements>.content {
    flex-direction: row;
  }
}

@media all and (min-width: 1600px) {
  #header .menu-wrapper {
    width: calc(1600px - 190px);
  }

  #header #menu .dropdown .content {
    right: calc((100vw - 1280px) / 2);
  }

  #header #menu li {
    line-height: 1em;
  }
}

a {
  cursor: pointer;
  color: var(--color-primary);
  text-decoration: none;
  transition: all .25s ease;
}

a {
  cursor: pointer;
  color: var(--color-primary);
  text-decoration: none;
  transition: all .25s ease;
}

a:hover {
  color: var(--color-primary-lighter);
}

.link {
  cursor: pointer;
  color: var(--color-black);
  text-decoration: none;
  transition: all .25s ease;
}

.link:hover {
  color: var(--color-primary-lighter);
}

.button {
  display: block;
  border-radius: 50px;
  border: 1px solid;
  padding: 15px;
  margin: 15px;
  font-size: 14px;
  text-align: center;
  text-decoration: none;
  transition: all .25s ease;
}

.button:hover {
  cursor: pointer;
}

.button.primary {
  background: var(--color-primary);
  border-color: var(--color-primary);
  color: var(--color-white);
}

.button.primary:hover {
  background: var(--color-primary-lighter);
  border-color: var(--color-primary-lighter);
}

.button.secondary {
  color: var(--color-primary);
  background: var(--color-white);
  border-color: var(--color-palette-gray-2);
}

.button.secondary:hover {
  color: var(--color-primary-lighter);
  border-color: var(--color-primary-lighter);
}

.button.accent {
  background: var(--color-coral);
  border-color: var(--color-rosa);
  color: var(--color-white);
}

.button.accent:hover {
  background: var(--color-dusk-blue);
  border-color: var(--color-dusk-blue-lighter);
}

@media all and (min-width: 768px) {
  .button {
    display: inline-block;
    font-size: 16px;
    padding: 20px 40px;
  }

  .button.small {
    font-size: 14px;
    line-height: normal;
    padding: 10px 25px;
  }
}

img {
  max-width: 100%;
}

video {
  max-width: 100%;
  border-radius: 25px;
}

svg {
  max-width: 100%;
}

.rounded {
  border-radius: 50px;
}

.circle {
  border-radius: 50%;
}

.mtb-lg img {
  display: block;
  margin-left: auto;
  margin-right: auto;
}

/* Dark mode */
@media (prefers-color-scheme: dark) {
  html.auto-color #header {
    background: var(--color-darkmode);
  }

  html.auto-color #header .menu-wrapper {
    background: var(--color-darkmode);
  }

  html.auto-color #header #menu .label {
    background: var(--color-darkmode);
    color: var(--color-white);
  }

  html.auto-color #header #menu .dropdown:hover .label {
    color: var(--color-primary);
  }

  html.auto-color #header #menu .dropdown>.content .recommendation {
    color: var(--color-white);
  }

  html.auto-color #header #menu .link {
    color: var(--color-white);
  }

  html.auto-color #header #menu .link:hover {
    color: var(--color-primary);
  }

  html.auto-color #header #menu .dropdown .content .elements {
    background: var(--color-darkmode);
  }

  html.auto-color #header #menu .dropdown .indicator svg {
    fill: var(--color-white);
  }

  html.auto-color #header #menu .dropdown:hover .indicator svg {
    fill: var(--color-primary);
  }

  html.auto-color .button.primary {
    color: var(--color-darkmode);
  }

  html.auto-color .button.secondary {
    background: var(--color-darkmode);
  }

  html.auto-color #header #menu .dropdown .arrow {
    border-color: transparent transparent var(--color-black) transparent;
  }

  html.auto-color #header #menu .dropdown:hover .content .elements {
    border: 2px solid var(--color-black);
  }

  html.auto-color #header #menu .dropdown ul a:hover {
    background: var(--color-black);
  }
}

html.dark-mode #header {
  background: var(--color-darkmode);
}

html.dark-mode #header .menu-wrapper {
  background: var(--color-darkmode);
}

html.dark-mode #header #menu .label {
  background: var(--color-darkmode);
  color: var(--color-white);
}

html.dark-mode #header #menu .dropdown:hover .label {
  color: var(--color-primary);
}

html.dark-mode #header #menu .dropdown>.content .recommendation {
  color: var(--color-white);
}

html.dark-mode #header #menu .link {
  color: var(--color-white);
}

html.dark-mode #header #menu .link:hover {
  color: var(--color-primary);
}

html.dark-mode #header #menu .dropdown .content .elements {
  background: var(--color-darkmode);
}

html.dark-mode #header #menu .dropdown .indicator svg {
  fill: var(--color-white);
}

html.dark-mode #header #menu .dropdown:hover .indicator svg {
  fill: var(--color-primary);
}

html.dark-mode .button.primary {
  color: var(--color-darkmode);
}

html.dark-mode .button.secondary {
  background: var(--color-darkmode);
}

html.dark-mode #header #menu .dropdown .arrow {
  border-color: transparent transparent var(--color-black) transparent;
}

html.dark-mode #header #menu .dropdown:hover .content .elements {
  border: 2px solid var(--color-black);
}

html.dark-mode #header #menu .dropdown ul a:hover {
  background: var(--color-black);
}
