@charset "UTF-8";
html,
body {
  background-color: var(--white);
  color: var(--black);
  font-variant-ligatures: none;
  font-size: 20px;
  position: relative;
  width: 100%;
  font-family: "Rubik", sans-serif;
  font-display: swap;
  font-weight: normal;
  overflow-x: hidden;
}
@media (min-width: 2560px) {
  html,
  body {
    font-size: 0.9375vw;
  }
}
@media (max-width: 1600px) {
  html,
  body {
    font-size: 1.25vw;
  }
}
@media (max-width: 500px) {
  html,
  body {
    font-size: 3.5vw;
  }
}

body::before {
  content: "";
  display: block;
  height: 0;
  padding-top: 9.5rem;
}

body * {
  box-sizing: border-box;
}

section,
main,
header,
footer {
  position: relative;
}

/* section {
    &.red {
        background-color: red;
        color: $clr-white;
    }

    &.red-light {
        background-color: pink;
    }

    &.red-dark {
        background-color: darkred;
        color: $clr-white;
    }
} */
.middle {
  margin: 0px auto;
  width: 71.5rem;
}
@media (max-width: 500px) {
  .middle {
    width: 25rem !important;
  }
}

.notices {
  position: fixed;
  display: flex;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 2em;
  overflow: hidden;
  z-index: 1000;
  pointer-events: none;
}
.notices.is-bottom-right {
  flex-direction: column-reverse;
  align-items: flex-end;
}
.notices .notification {
  animation-duration: 0.15s;
  margin: 0.5em 0;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.12), 0 0 6px rgba(0, 0, 0, 0.04);
  /* border-radius: 4px; */
  pointer-events: auto;
  min-height: 3em;
  position: relative;
  transform: translateX(calc(100% + 2em));
  transition: all 0.5s, transform 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.35), opacity 0.3s ease, height 0.5s ease;
  color: #fff;
  background-color: rgba(0, 0, 0, 0.9);
  padding: 2rem;
}
.notices .notification.active {
  transform: translateX(0%);
}
.notices .notification.is-success {
  background-color: var(--success);
}
.notices .notification.is-danger {
  background-color: var(--err);
}
.notices .notification.is-warning {
  background-color: var(--err);
}
.notices .notification.is-info {
  background-color: var(--blue);
}
.notices .notification .progress {
  margin-top: 0.5em;
  height: 4px;
  background-color: rgba(255, 255, 255, 0.3);
  border-radius: 2px;
  overflow: hidden;
  width: 100%;
}
.notices .notification .progress::-webkit-progress-bar {
  background-color: rgba(255, 255, 255, 0.3);
}
.notices .notification .progress::-webkit-progress-value {
  background-color: #fff;
}
.notices .notification .progress::-moz-progress-bar {
  background-color: #fff;
}
.notices .notification .delete {
  position: absolute;
  top: 0.5rem;
  right: 0.5rem;
  background: none;
  border: none;
  font-size: 1.2rem;
  cursor: pointer;
  color: rgba(255, 255, 255, 0.7);
  width: 1.5rem;
  height: 1.5rem;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}
.notices .notification .delete:before {
  content: "×";
  font-size: 1.2rem;
  line-height: 1;
  color: inherit;
  display: block;
}
.notices .notification .delete:hover {
  color: #fff;
}
.notices .notification.is-closing {
  transform: scaleY(0);
  opacity: 0;
  transition: transform 0.5s ease, opacity 0.5s ease;
}

@media (max-width: 500px) {
  .notices {
    padding: 0;
    position: fixed !important;
  }
  .notices .notification {
    width: 100%;
    margin: 0;
    border-radius: 0;
  }
}
@media print, screen and (min-width: 769px) {
  .notices .notification {
    min-width: 350px;
    max-width: 600px;
    overflow: hidden;
  }
}
header {
  position: fixed;
  width: 100%;
  height: 9.5rem;
  top: 0;
  z-index: 1000;
}
header > div {
  height: 9.5rem;
  background-color: #fff;
  border-bottom: 1px solid;
  border-color: rgba(0, 0, 0, 0.167);
  z-index: 2;
  position: relative;
}
header .middle {
  padding: 3.5rem 0;
}
header .logo {
  height: 2.5rem;
  aspect-ratio: 22/5;
  background-image: url("../assets/images/nibe.svg");
  background-size: contain;
  background-position: left center;
  background-repeat: no-repeat;
}
header nav {
  display: flex;
  justify-content: flex-end;
  align-content: flex-start;
  align-items: flex-start;
  position: absolute;
  right: calc(50% - 35.75rem);
  top: 4.09rem;
  z-index: 10;
}
header nav > * {
  text-transform: uppercase;
  font-size: 1.2rem;
  line-height: 110%;
  font-weight: 300;
  margin-left: 2.5rem;
  position: relative;
  color: var(--black);
}
header nav > *:hover, header nav > *:focus {
  text-decoration: none;
}
header nav > *:hover::after, header nav > *:focus::after {
  content: "";
  position: absolute;
  width: 100%;
  height: 0.25rem;
  left: 0;
  top: 5.16rem;
  background-color: var(--red);
}
@media (max-width: 500px) {
  header nav {
    display: block;
    width: 100%;
    left: 0;
    right: auto;
    top: 9.5rem;
    z-index: 1;
    background-color: #fff;
    transform: translateY(-100%);
    transition: transform 0.25s ease;
  }
  header nav > * {
    display: block;
    padding: 1rem calc(50% - 12.5rem);
    margin: 0;
    border-bottom: 1px solid;
    border-color: rgba(0, 0, 0, 0.167);
  }
  header nav > *:hover::after, header nav > *:focus::after {
    height: 100%;
    width: 0.25rem;
    left: 0;
    top: 0;
  }
  .showmenu header nav {
    transform: translateY(0);
  }
}
header .hamburger {
  width: 2rem;
  height: 1.45rem;
  position: relative;
  display: none;
}
@media (max-width: 500px) {
  header .hamburger {
    display: block;
  }
  header .hamburger > div {
    width: 100%;
    height: 2px;
    background-color: var(--black);
    position: absolute;
    left: 0;
    -webkit-transition: 0.25s ease-in-out;
    transition: 0.25s ease-in-out;
  }
  header .hamburger > div:nth-of-type(1) {
    top: 0;
  }
  header .hamburger > div:nth-of-type(2), header .hamburger > div:nth-of-type(3) {
    top: calc(50% - 1px);
  }
  header .hamburger > div:nth-of-type(4) {
    bottom: 0;
  }
}
.showmenu header .hamburger > div:nth-of-type(1), .showmenu header .hamburger > div:nth-of-type(4) {
  width: 0;
  left: 50%;
}
.showmenu header .hamburger > div:nth-of-type(2) {
  -webkit-transform: rotate(45deg);
  transform: rotate(45deg);
}
.showmenu header .hamburger > div:nth-of-type(3) {
  -webkit-transform: rotate(-45deg);
  transform: rotate(-45deg);
}

footer {
  color: #fff;
  background-color: var(--blue);
  padding: 2rem 0 6rem;
}
footer p {
  text-align: center;
  font-size: 1.5rem;
  line-height: 120%;
  font-weight: 600;
}
footer p:nth-of-type(2) {
  font-weight: 700;
  margin-top: 2rem;
}
footer p:nth-of-type(3) {
  font-weight: 400;
  margin-top: 0.5rem;
}
footer p a:focus {
  text-decoration: underline;
}