@import url('https://fonts.googleapis.com/css2?family=Bebas+Neue&family=Figtree:ital,wght@0,300..900;1,300..900&family=Goblin+One&display=swap');

:root {
  --primary-color: #0C2D37;
  --secondary-color: #F4E5CE;
  --accent-color: #E2D2BA;
  --text-primary: #F9F5EF;
  --text-secondary: #0C2D37;
}

html {
  height: 100%;
}

body {
  margin: 0px;
  height: 100%;
}

header {
  width: 100%;
  height: 75px;
  position: fixed;
  display: flex;
  flex-direction: column;
  transition-duration: 0.5s;
  z-index: 999;

  .nav {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: row;
    justify-content: center;
    padding-top: 5px;

    padding-bottom: 20px;

    .logo-container {
      margin: 0 10px 0 10px;
      transition-duration: 0.5s;

      .logo {
        height: 100px;
        transition-duration: 0.5s;
      }
    }

    nav {
      display: flex;
      flex-direction: row;
      gap: 10px;
      margin-top: 0px;

      a {
        text-decoration: none;
        font-family: "Bebas Neue", sans-serif;
        font-style: normal;
        font-weight: 400;
        font-size: 15.4px;
        height: 0px;
        line-height: 20px;
        color: var(--text-primary);
      }
    }
  }


  .sociales {
    display: flex;
    background-color: var(--primary-color);
    flex-direction: row;
    justify-content: flex-end;
    align-items: center;
    padding: 5px;

    img {
      margin-right: 5px;
      height: 20px;
    }
  }

  .logo-container-mob {
    display: none;

    .logo-mob {
      height: 80%;
    }
  }

  .mob-nav {
    display: none;
    flex-direction: row;
    justify-content: center;

    img {
      height: 70%;
      margin-top: 25%;

      :hover {
        cursor: pointer;
      }
    }
  }

  .mob-menu {
    display: none;
    position: absolute;
    flex-direction: column;
    width: 100%;
    margin-top: 55px;
    background-color: rgb(0, 0, 0, 0.7);

    a {
      color: white;
      padding: 5px;
      text-decoration: none;

      &&:hover {
        background-color: white;
        color: black;
      }
    }
  }
}

.onScroll {
  background-color: var(--primary-color);
  padding: 5px 0 10px 0;

  .nav {

    .logo-container {
      margin: 0px;

      .logo {
        height: 80px;
      }
    }
  }

  .sociales {
    border-bottom: 1px solid white;
  }
}

button {
  width: 100%;
  height: 39px;
  background-color: var(--accent-color);
  font-family: "Goblin One";
  font-style: normal;
  font-weight: 400;
  font-size: 14px;
  line-height: 19.6px;
  color: var(--primary-color);
  padding: 8px 35px 8px 35px;
  border-radius: 5px;

  &&:hover {
    border: 2px solid white;
    background-color: var(--primary-color);
    color: var(--text-primary);
  }

}

/* Small mobile devices (max 576px) */
@media (max-width: 576px) {}

/* Medium mobile devices and small tablets (max 768px) */
@media (max-width: 768px) {
  header {
    flex-direction: row;

    .nav {
      display: none;
    }

    .sociales {
      flex-grow: 1;
      background-color: transparent;
    }

    .mob-nav {
      display: block;
    }

    .logo-container-mob {
      display: block;
    }
  }
}

/* Larger tablets (max 992px) */
@media (max-width: 992px) {}
