:root {
  --white: #f9f9f9;
  --black: #36383f;
  --grey: #85888c;
  --yellow: #fff900;
}

body {
  font-family: "Helvetica", sans-serif;
}

a {
  text-decoration: none;
  color: var(--white);
}

header {
  position: sticky;
  background-color: var(--black);
  top: 0px;
  z-index: 9999999;
}

header > a {
  font-size: 24px;
  padding: 15px;
}

#menu{
    padding: 0 30px;
    user-select: none;
    display: flex;
    align-items: center;
    max-width: 1024px;
    margin: 0 auto;
}

.logo {
    width: 160px;
    height: 42px;
    background-image: url("../images/logo.png");
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center;
}

.socials-menu{
    color: #fff;
    font-size: 16pt;
    padding: 0 0 0 20px;
    height: fit-content;
}
.socials-menu > a{
    color: #fff;
    opacity: 0.3;
}
.socials-menu > a:hover{
    opacity: 1;
}
.socials-menu > i{
    padding: 2px;
}
.socials-menu > a > .fa-lg{
    width: 22px;
    height: 20px;
    background-image: url(../images/LG-white-100x100.png);
    background-size: cover;
}

.hamb {
  cursor: pointer;
  float: right;
  padding: 30px 20px;
  display: none;
}

.hamb-line {
  position: relative;
  display: block;
  width: 24px;
  height: 3px;
  background-color: var(--white);
}

.hamb-line::before,
.hamb-line::after {
  content: "";
  position: absolute;
  display: block;
  width: 100%;
  height: 100%;
  background-color: var(--white);
  transition: all .1s ease-in;
}

.hamb-line::before {
  top: 8px;
}

.hamb-line::after {
  top: -8px;
}

.side-menu {
  display: none;
}

nav {
  width: fit-content;
  max-height: none;
  position: relative;
  overflow: hidden;
  margin-left: auto;
    text-transform: uppercase;
}

.menu {
  list-style: none;
}

.menu a {
  padding: 20px 10px;
  display: block;
  font-size: 12pt;
}

.menu li {
  float: left;
}

@media (max-width: 970px) {
    .socials-menu{
        display: none;
    }
}

@media (max-width: 768px) {
    .socials-menu > a > .fa-lg{
        width: 34px;
        height: 34px;
    }
  .hamb {
    display: block;
      order: 1;
      margin-left: auto;
  }
  
  .menu > li > a {
      font-size: 16pt;
  }

  .nav {
      display: none;
    height: 0px;
    text-align: center;
    z-index: 9999;
  }

  .side-menu:checked + header{
      position: fixed;
      height: 100vh;
      width: 100%;
      justify-content: center;
      align-content: center;
      background-color: #36383fed;
      backdrop-filter: blur(10px);
  }

  .side-menu:checked + header > #menu{
      width: 100%;
      display: flex;
      flex-direction: column;
      padding: 0;
  }

  .side-menu:checked + header > #menu > .socials-menu{
      display: block;
      order: 2;
      padding: 10px 0px;
      font-size: 24pt;
  }

  .side-menu:checked + header > #menu > .logo{
      display: block;
      text-align: center;
      position: relative;
      height: 60px;
      width: 220px;
      margin: 0 auto;
  }

  .side-menu:checked + header > #menu > .hamb{
      order: 0;
      display: block;
      float: none;
      position: relative;
      width: fit-content;
      margin: 0 auto;
      border: 1px solid rgba(255, 255, 255, 0.25);
      border-radius: 50px;
  }

  .side-menu:checked + header > #menu > .hamb .hamb-line {
    background: transparent;
  }

  .side-menu:checked + header > #menu > .hamb .hamb-line::before {
    transform: rotate(45deg);
    top: 0;
  }

  .side-menu:checked + header > #menu > .hamb .hamb-line::after {
    transform: rotate(-45deg);
    top: 0;
  }

  .side-menu:checked + header > #menu > nav {
      display: block;
    height: auto;
    width: inherit;
      margin: inherit;
  }

  .side-menu:checked + header > #menu > nav > ul > li {
    float: none;
  }
}
