html {
  min-height: 100%;
}

body {
  margin: 0;
  padding: 0;
  font-family: "Arial", sans-serif;
  color: rgba(0, 0, 0, 0.69);
  line-height: 1.4;
  min-height: 100%;
  width: 100%;
}

nav {
  background-color: #000;
  padding: 0;
  display: flex;
  border-bottom: 1px solid #282828;
  align-items: center;
  position: fixed;
  top: 0;
  width: 100%;
  height: fit-content;
  min-height: 57px;
  z-index: 1000;
}

.logo img {
  width: 100%;
  max-width: 200px;
}

.nav-items {
  display: flex;
  justify-content: center;
  list-style: none;
  margin: 0 0 0 97px;
  padding: 0;
}

.nav-item {
  margin: 0 15px;
  position: relative;
  width: max-content;
}

.nav-item:hover {
  border-bottom: solid 3px #5252f2;
}

.navigLink {
  color: #fff;
  text-decoration: none;
  display: block;
  font-size: 17px;
  text-align: center;
  line-height: 50px;
  border: 0;
  height: 4rem;
  margin: 7px 0rem -7px 0;
  padding: 0 1rem;
}

.navigLink:hover {
  height: calc(4rem - 3px);
}

.submenu {
  display: none;
  position: absolute;
  text-decoration: none;
  list-style: none;
  top: 100%;
  left: 0;
  width: max-content;
  background-color: #282828;
  border: 1px solid rgba(255, 255, 255, 0.15);
  padding: 10px;
  z-index: 1001;
}

.nav-item:hover .submenu {
  display: none;
}

.submenu li {
  margin: 8px 0;
}

.submenu a {
  color: #fff;
  text-decoration: none;
}

/*
  burger menu
  */

.burger-menu {
  display: none;
  cursor: pointer;
}

.burger-menu img {
  max-width: 30px;
}

@media screen and (max-width: 939px) {
  nav {
    padding: 0;
    justify-content: space-around;
  }

  .nav-items {
    flex-direction: column;
    align-items: flex-end;
    position: relative;
    border: 1px solid rgba(255, 255, 255, 0.15);
  }

  .burger-menu {
    display: block;
  }

  .nav-items {
    display: none;
    width: 100%;
    background-color: #000;
    position: absolute;
    top: 70px;
  }

  .nav-items.show {
    display: flex;
    flex-direction: column;
    margin-left: -25px;
    font-size: 2rem;
    background-color: #282828;
    width: max-content;
    position: absolute;
    top: 100%;
    right: 10%;
  }

  .submenu {
    font-size: 17px;
    left: -100px;
    top: 99%;
  }

  .navigLink {
    margin: -15px 0;
  }
}

@media screen and (min-width: 940px) {
  nav {
    justify-content: flex-start;
  }
}

.container {
  position: absolute;
  top: 57px;
  width: 100%;
  height: calc(100% - 141px);
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: row;
}

@media screen and (min-width: 431px) {
  .container h1 {
    width: 350px;
    font-size: xx-large;
  }
}

@media screen and (max-width: 430px) and (min-width: 270px) {
  .container h1 {
    width: 260px;
    font-size: x-large;
  }
}

@media screen and (max-width: 270px) {
  .container h1 {
    width: 195px;
    font-size: large;
  }
}

.footer {
  position: absolute;
  bottom: 0;
  width: calc(100% - 20px);
  background-color: #000;
  color: #fff;
  text-align: center;
  padding: 10px;
}
