@import url("https://fonts.googleapis.com/css2?family=Kanit:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&family=Mitr:wght@200;300;400;500;600;700&family=Roboto:ital,wght@0,100..900;1,100..900&display=swap");

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

.container {
  max-width: 1140px;
  margin: 0 auto;
}

.content {
  max-width: 991px;
  font-family: Tahoma, "MS Sans Serif", Arial;
  font-size: 9pt;
  font-weight: normal;
  line-height: 18px;
  color: #848484;
  border-top-style: solid;
  border-top-color: #ffffff;
  background-color: #ffffff;
  margin-left: auto;
  margin-right: auto;
}

nav {
  background-color: #e30814;
}

.nav-wrapper {
  display: flex;
  align-items: center;
  height: 200px;
  position: relative;
  font-size: 14pt;
  font-weight: bold;
}

.nav-wrapper .logo h3 {
  color: #fff;
}

.menu {
  display: flex;
  list-style: none;
}

.menu li {
  margin-left: 30px;
}

.menu li a {
  color: #fff;
  font-family: "Roboto";
  font-size: 14pt;
  text-decoration: none;
  font-weight: normal;
}

main {
  padding: 0 0;
}

footer {
  background-color: #151924;
  color: #fff;
  text-align: left;
  padding: 2rem;
}

.grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  grid-column-gap: 1rem;
  grid-row-gap: 0px;
  margin-bottom: 2rem;
}

.grid-items {
  margin-left: 1rem;
}

/* Hamburger Menu*/
.ham-menu {
  display: inline-block;
  cursor: pointer;
  position: absolute;
  right: 1rem;
  top: 0.5rem;
}

.bar1,
.bar2,
.bar3 {
  width: 35px;
  height: 5px;
  background-color: #fff;
  margin: 6px 0;
  transition: 0.4s;
}

/* Rotate first bar */
.change .bar1 {
  transform: translate(0, 11px) rotate(-45deg);
}

/* Fade out the second bar */
.change .bar2 {
  opacity: 0;
}

/* Rotate last bar */
.change .bar3 {
  transform: translate(0, -11px) rotate(45deg);
}

@media only screen and (min-width: 480px) {
  .ham-menu {
    display: none;
  }
}

@media only screen and (max-width: 480px) {
  .menu {
    display: none;
  }

  .nav-wrapper {
    padding: 1rem;
    height: auto;
    flex-direction: column;
    align-items: flex-start;
  }

  .menu {
    width: 100%;
  }

  .menu li {
    margin: 1rem 0;
    padding: 1rem 0.5rem;
    transition: 0.3s;
  }

  .menu li:hover {
    background-color: #151924;
  }

  .menu-active {
    display: block;
  }

  img {
    width: 100%;
  }

  .grid {
    grid-template-columns: 1fr;
  }
}
