:root {
  --font-base: "Open Sans", sans-serif;
  --font-poppins: "Poppins", sans-serif;
  --font-raleway: "Raleway", sans-serif;
  --font-roboto: "Roboto Mono", monospace;
}

body {
  overflow-x: hidden;
}

/* FONTS */
@font-face {
  font-family: "Open Sans";
  src: local("Open Sans Regular"), local("OpenSans-Regular"),
    url("../fonts/OpenSans-Regular.woff2") format("woff2");
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Open Sans";
  src: local("Open Sans Medium"), local("OpenSans-Medium"),
    url("../fonts/OpenSans-Medium.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Open Sans";
  src: local("Open Sans Bold"), local("OpenSans-Bold"),
    url("../fonts/OpenSans-Bold.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

/* HEADER */

/* MOBILE*/

.header {
  background-color: #3a3a3a;
  padding: 10.4px 0;
}

.header__logo {
  cursor: pointer;
}

.header__container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
  padding: 0 1.3rem;
}

.header__mobile-menu {
  position: fixed;
  right: 0;
  top: 0;
  background-color: #090c10;
  width: 90%;
  height: 100vh;
  transform: translateX(100%);
  opacity: 0;
  pointer-events: none;
  transition: transform 0.3s ease, opacity 0.3s ease;
  z-index: 1000;
}

.menu-toggle:checked ~ .header__mobile-menu {
  transform: translateX(0);
  opacity: 1;
  pointer-events: auto;
}

.header__mobile-menu-container {
  color: rgb(247, 250, 252);
  display: flex;
  justify-content: start;
  align-items: start;
  flex-direction: column;
  padding: 21.6px;
  gap: 14px;
}

.header__mobile-menu-container > label {
  align-self: flex-end;
}

.mobile__menu__list {
  display: flex;
  justify-content: start;
  align-items: start;
  flex-direction: column;
  width: 100%;
}

.mobile__menu__list__item > a {
  font-family: var(--font-base);
  font-size: 14px;
  line-height: 22.4px;
  font-weight: 400;
}

.mobile__menu__list__item {
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  padding: 14px 0;
  width: 100%;
}

.header__nav {
  display: none;
}

.mobile-menu-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: rgba(0, 0, 0, 0.6);
  opacity: 0;
  pointer-events: none;
  z-index: 999;
  transition: opacity 0.3s ease;
}

#menu-toggle:checked ~ .mobile-menu-overlay {
  opacity: 1;
  pointer-events: auto;
}

.header__mobile-menu a {
    width: 100%;
}
/* MOBILE*/

/* DESKTOP 1024 */

@media screen and (min-width: 1024px) {
  .header__container > label,
  input {
    display: none;
  }

  .header__container {
    max-width: 1290px;
    margin: 0 auto;
  }

  .header {
    padding: 10.4px 0;
  }

  .header__nav,
  .header__nav__list {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 32px;
  }

  .nav__list__item > a {
    color: #b9b9b9;
    font-size: 18px;
    line-height: 28.8px;
    font-weight: 500;
    font-family: var(--font-base);
  }

  .nav__list__item:hover > a {
    color: rgb(127, 181, 252);
  }
}
.burger-label {
  cursor: pointer;
}
.header__mobile-menu label {
  cursor: pointer;
}
/* DESKTOP 1024 */

/* HEADER */

/* FOOTER */

/* MOBILE */

.footer {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
  flex-direction: column;
  color: #fff;
  padding: 23px 20px 6px 20px;
  max-width: 1290px;
  margin: 0 auto;
  position: relative;
}

.footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100vw;
  height: 100%;
  background-color: #3a3a3a;
  z-index: -1;
}

.icons__list {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 34px;
}

.footer > p {
  color: rgb(164, 164, 164);
  font-family: var(--font-base);
  font-size: 12px;
  line-height: 18px;
}

.links__list {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  height: fit-content;
}

.link {
  height: fit-content;
}

.link > a {
  color: rgb(209, 209, 209);
  font-family: var(--font-base);
  font-size: 13px;
  line-height: 18px;
  border-bottom: 1px solid #fff;
}

/* MOBILE */

/* 768 */

@media screen and (min-width: 768px) {
  .footer {
    display: grid;
    grid-template-columns: repeat(1, minmax(0, 1fr));
    justify-content: space-between;
  }

  .links__list {
    justify-content: start;
    align-items: start;
    padding-left: 10px;
  }

  .icons__list {
    justify-content: start;
    align-items: start;
    padding-left: 10px;
  }

  .footer > p {
    text-align: end;
    padding-right: 10px;
  }
}

/* 768 */

/* 1024 */

@media screen and (min-width: 1024px) {
  .footer {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* 1024 */

/* 1200 */

@media screen and (min-width: 1200px) {
  .footer > p {
    font-size: 14px;
  }

  .link > a {
    font-size: 16px;
  }

  .icons__list {
    margin-bottom: 10px;
  }
}

/* 1200 */

/* FOOTER */

/* Common divider styles */
.divider {
  position: absolute;
  height: 22px;
  bottom: -1px;
  left: 0;
  overflow: hidden;
  right: 0;
  z-index: 1;
}

.divider > svg {
  width: 150%;
  position: absolute;
  bottom: 0px;
  left: 50%;
  transform: translateX(-50%);
  height: 100%;
  display: block;
  fill: #fff;
}