/* Fonts */
@font-face {
  font-family: "Poppins";
  src: url("Poppins-Regular.ttf");
}
@font-face {
  font-family: "PoppinsBold";
  src: url("/Poppins-Bold.ttf");
}
@font-face {
  font-family: "PoppinsBlack";
  src: url("Poppins-Black.ttf");
}
@font-face {
  font-family: "PoppinsMedium";
  src: url("Poppins-Medium.ttf");
}

/* Body & html */
html,
body {
  margin: 0;
  padding: 0;
  height: 100%;
  overflow-x: hidden;
}
html {
  position: relative;
  min-height: 100%;
}
body {
  font-family: "Poppins", Arial, sans-serif;
  text-align: center;
  font-size: 16px;
  line-height: 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  color: #3a4d72;
  background-color: #eff1f8;
}

/* Navbar */
.navbar {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  min-height: 72px;
  padding: 0 140px;
  box-shadow: 0px 3px 6px #553c6e1c;
  background-color: #fff;
  z-index: 1;
}
.navbar .logo {
  height: 51px;
}
.navbar__links {
  display: flex;
  align-items: center;
}
.navbar__link {
  font-size: 14px;
  text-transform: uppercase;
  margin-right: 30px;
  color: #3a4d72;
}
.navbar__link.active,
.navbar__link:hover {
  color: #6bbc40;
}
.navbar__link:last-child {
  margin-right: 0;
}
.navbar__hamburger {
  display: none;
}
.expandable-link {
  position: relative;
}
.expandable-link span {
  cursor: pointer;
}
.expandable-link__dropdown {
  display: flex;
  flex-direction: column;
}
.expandable-link__dropdown .navbar__link {
  text-transform: none;
}

/* Page */
.page {
  width: 100%;
  background-color: #fff;
}
.second-page {
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* Footer */
.footer {
  width: 100%;
  height: 382px;
  font-size: 14px;
}
.footer__details {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  height: 314px;
  padding: 60px 0;
  background-color: #fff;
}
.footer__details .logos {
  display: flex;
  align-items: center;
}
.footer__details .logos a:nth-child(2) {
  margin: 0 76px;
}
.footer__links {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  height: 68px;
  padding: 0 140px;
  background-color: #29416e;
}
.footer__links span {
  color: #cdd3de;
}

/* Components */
a {
  font-size: 14px;
  text-decoration: none;
}
.button {
  border: none;
  background-color: #6bbc40;
  color: #fff;
  font-size: 24px;
  cursor: pointer;
}
.button:focus {
  outline: none !important;
  box-shadow: 0 0 10px #6bbc40;
}
.title,
.subtitle {
  color: #001133;
}
.title {
  font-family: "PoppinsBlack", Arial, sans-serif;
  font-size: 48px;
  line-height: 50px;
}
.subtitle {
  font-family: "PoppinsBold", Arial, sans-serif;
  font-size: 24px;
  line-height: 35px;
}

/* Newsletter */
.newsletter {
  width: 80%;
  max-width: 812px;
  margin: 40px auto;
}
.newsletter__txt {
  margin: 20px 0;
}
.newsletter__subscribe {
  display: flex;
  height: auto;
  margin: 20px 0;
}
.newsletter__subscribe input,
.newsletter__subscribe .button {
  height: 42px;
}
.newsletter__subscribe input {
  width: 552px;
  border: none;
  padding: 0 11px;
  color: #000;
  font-size: 18px;
  line-height: 24px;
}
.newsletter__subscribe input::placeholder {
  color: #cdd3de;
}
.newsletter__subscribe input:focus {
  outline: none !important;
  box-shadow: 0 0 10px #cdd3de;
}
.newsletter__subscribe .button {
  width: 260px;
}

/* Media queries */
@media screen and (min-device-width: 768px), screen and (min-width: 768px) {
  .expandable-link__dropdown {
    position: absolute;
    align-items: flex-start;
    top: 48px;
    width: 200px;
    max-height: 0;
    transition: max-height 0.3s ease-in-out;
    background: #fff;
    overflow: hidden;
    -moz-box-shadow: 0px 5px 20px -8px rgb(100 100 100);
    -webkit-box-shadow: 0px 5px 20px -8px rgb(100 100 100);
    box-shadow: 0px 5px 20px -8px rgb(100 100 100);
  }
  .expandable-link__dropdown .navbar__link {
    padding: 6px 12px;
    margin-right: 0;
    width: 100%;
    text-align: left;
  }
  .expandable-link__dropdown .navbar__link:first-child {
    border-top: 2px solid #6bbc40;
  }
  .expandable-link__dropdown--collections.drop {
    max-height: calc(100vh - 72px);
  }
  .expandable-link__dropdown--archive.drop {
    max-height: 400px;
  }
  .expandable-link__dropdown--account.drop {
    max-height: 216px;
  }
}
@media screen and (max-device-width: 1400px), screen and (max-width: 1400px) {
  .footer__links {
    padding: 0 60px;
  }
}
@media screen and (max-device-width: 1023px), screen and (max-width: 1023px) {
  .navbar {
    padding: 0 30px;
  }
}

@media screen and (max-device-width: 767px), screen and (max-width: 767px) {
  /* Body & html */
  body {
    font-size: 14px;
  }

  /* Navbar */
  .navbar {
    padding: 0 20px;
  }
  .navbar__links {
    position: fixed;
    top: 0;
    bottom: 0;
    left: 100%;
    width: 100%;
    background-color: #000;
    z-index: 3;
    transform: translateX(0);
    transition: transform 330ms ease-out;
  }
  .navbar__links {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
  }
  .navbar__links.active {
    transform: translateX(-100%);
  }
  .navbar__link {
    color: #001133;
    font-family: "PoppinsMedium", Arial, sans-serif;
    font-size: 16px;
    font-weight: 600;
    line-height: 24px;
    margin: 0 0 20px;
  }
  .expandable-link__dropdown .navbar__link {
    font-family: "Poppins", Arial, sans-serif;
    font-size: 14px;
    font-weight: 400;
    margin: 0 0 10px;
  }
  .navbar__hamburger {
    display: block;
    position: absolute;
    right: 20px;
    width: 30px;
    height: 20px;
    z-index: 4;
  }
  .navbar__hamburger::before,
  .navbar__hamburger::after {
    content: "";
    position: absolute;
    top: 50%;
    right: 0;
    left: 0;
    height: 2px;
    background-color: #3a4d72;
    transition: all 250ms ease-out;
  }
  .navbar__hamburger::before {
    transform: translateY(-10px);
  }
  .navbar__hamburger::after {
    transform: translateY(8px);
  }
  .active.navbar__hamburger::before {
    transform: rotate(45deg);
  }
  .active.navbar__hamburger::after {
    transform: rotate(-45deg);
  }
  .navbar-link-caret {
    display: none;
  }

  /* Newsletter */
  .newsletter {
    position: relative;
    width: 100vw;
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 20px 0;
  }
  .newsletter__txt {
    width: 80%;
  }
  .newsletter__subscribe {
    flex-direction: column;
    width: 90%;
    height: auto;
  }
  .newsletter__subscribe input,
  .newsletter__subscribe .button {
    width: 100%;
  }
  .newsletter__subscribe input {
    margin-bottom: 5px;
  }

  /* Footer */
  .footer__details {
    padding: 50px 0;
  }
  .footer__details .logos a:nth-child(2) {
    margin: 0 5vw;
  }
  .footer__links {
    padding: 0;
    justify-content: space-evenly;
  }

  /* Components */
  .title {
    font-size: 18px;
    line-height: 20px;
  }
  .subtitle {
    font-size: 18px;
    line-height: 24px;
  }
}
