* {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
}

:root {
  --pri-color: #023047;
  --pri-color-light: #00527a;
  --link-color: #ffb703;

  --sb-bg: whitesmoke;
  --sb-cat-color: #023047;
  --sb-item-color: #415d69;
  --sb-item-hover-bg: #fff;

  --main-bg: #fff;
  --main-pri-font-color: #333;

  --result-hover: #ffedc1;
}

body {
  display: grid;
  min-height: 100vh;
  grid-template-rows: auto 1fr auto;

  font-family: "Source Sans Pro", sans-serif;
}

header {
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  justify-content: space-between;
  padding: 1rem 2rem;
  z-index: 1;
  backdrop-filter: blur(5px);
  background-color: var(--pri-color);

  box-shadow: 0 3px 5px rgba(0, 0, 0, 0.5);
}
header a {
  text-decoration: none;
  color: white;
  font-size: 2rem;
}
.menu-items {
  list-style: none;
  display: flex;
  align-items: center;
}
.menu-items li a {
  font-size: 1rem;
  padding: 0.5em 1em;
  transition: color 0.3s;
}
.menu-items li a:hover {
  color: var(--link-color);
  font-weight: bold;
  transform: translateY(-2px);
  /* border-bottom: 2px var(--link-color) solid; */
}

/* nav menu button */
/* #region   */
.menu-btn {
  position: relative;
  display: none;
  justify-content: center;
  align-items: center;
  width: 1.5rem;
  height: 1.5rem;
  cursor: pointer;
  z-index: 1;
}

.menu-btn__lines,
.menu-btn__lines::before,
.menu-btn__lines::after {
  width: 1.5rem;
  height: 0.1rem;
  background-color: white;
  transition: all 0.3s ease-in-out;
}

.menu-btn__lines::before,
.menu-btn__lines::after {
  content: "";
  position: absolute;
}

.menu-btn__lines::before {
  transform: translateY(-0.5rem);
}
.menu-btn__lines::after {
  transform: translateY(0.5rem);
}
/* #endregion */

/* animation */
/* #region   */
.menu-btn.open .menu-btn__lines {
  transform: translateX(2rem);
  background-color: transparent;
}
.menu-btn.open .menu-btn__lines::before {
  transform: rotate(45deg) translate(-1.5rem, 1.5rem);
  background-color: #ffffff;
}
.menu-btn.open .menu-btn__lines::after {
  transform: rotate(-45deg) translate(-1.5rem, -1.5rem);
  background-color: #ffffff;
}
/* #endregion */

main {
  background: whitesmoke;
  display: grid;
  /* grid-template-columns: minmax(150px, 15%) auto; */
  grid-template-columns: 1fr 4fr 1fr;

  background-color: #ffffff;
  background-image: url("data:image/svg+xml,%3Csvg width='84' height='48' viewBox='0 0 84 48' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M0 0h12v6H0V0zm28 8h12v6H28V8zm14-8h12v6H42V0zm14 0h12v6H56V0zm0 8h12v6H56V8zM42 8h12v6H42V8zm0 16h12v6H42v-6zm14-8h12v6H56v-6zm14 0h12v6H70v-6zm0-16h12v6H70V0zM28 32h12v6H28v-6zM14 16h12v6H14v-6zM0 24h12v6H0v-6zm0 8h12v6H0v-6zm14 0h12v6H14v-6zm14 8h12v6H28v-6zm-14 0h12v6H14v-6zm28 0h12v6H42v-6zm14-8h12v6H56v-6zm0-8h12v6H56v-6zm14 8h12v6H70v-6zm0 8h12v6H70v-6zM14 24h12v6H14v-6zm14-8h12v6H28v-6zM14 8h12v6H14V8zM0 8h12v6H0V8z' fill='%23000000' fill-opacity='0.03' fill-rule='evenodd'/%3E%3C/svg%3E");
}

footer {
  background: var(--pri-color);
  color: white;

  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-around;

  padding: 1rem;
}

/* @media queries */
/* #region   */
/** For tablet devices **/
@media (max-width: 1023px) {
  /* .hero-col {
    max-width: 100%;
    width: clamp(300px, 50vw, 600px);
    padding: 0;
  }

  .hero-img {
    display: none;
  } */
}

/** For mobile devices **/
@media (max-width: 767px) {
  .header a {
    font-size: 1rem;
  }

  /* .menu-btn {
    display: flex;
    padding-top: 1rem;
  }

  .menu-items {
    flex-direction: column;
    justify-content: space-around;
    position: absolute;
    top: 0;
    right: 0;
    left: 0;
    height: 100vh;
    transform: translateX(100vw);
    background-color: var(--pri-color);
    transition: transform 0.3s ease-in-out;
  }

  .menu-items.open {
    transform: translateX(0);
  }

  .menu-items li {
    width: 100vw;
    height: 100%;
  }

  .menu-items li a {
    color: #ffffff;
    font-size: 5vh;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100%;
  } */
}
/* #endregion */
