:root {
  --background: #14a800;
  --color: #fff;
  --close-btn: #2b2b2b;
  --linear-gradient: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6));
  --background-btn: rgb(255, 68, 0);
  --item-center: #eee;
  --footer-background: rgb(0, 34, 34);
}
* {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen,
    Ubuntu, Cantarell, "Open Sans", "Helvetica Neue", sans-serif;
}
header {
  width: 100%;
  height: auto;
}
nav {
  width: 100%;
  height: 10vh;
  background: var(--background);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 5em;
}
.logo a {
  text-decoration: none;
}
.logo h1 {
  color: var(--color);
  font-size: 25px;
}
.menu {
  display: flex;
  align-items: center;
  list-style-type: none;
}
.menu li {
  padding: 0 0 0 3em;
}
.menu li a {
  text-decoration: none;
  color: var(--color);
  font-size: 14px;
  text-transform: uppercase;
  font-weight: bold;
}
.bar {
  cursor: pointer;
  display: none;
}
.close {
  display: none;
}
.container {
  width: 100%;
  height: 40vh;
  background: var(--linear-gradient), url(./images/background.jpg) no-repeat;
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  text-align: center;
  padding: 0 1em;
  color: var(--color);
}
.container h1 {
  font-size: 35px;
}
.container p {
  font-size: 18px;
}
.email {
  width: 100%;
  height: 10vh;
  background: var(--background);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 5em;
  color: var(--color);
}
.email h1 {
  font-size: 20px;
}
form {
  display: flex;
  align-items: center;
}
form input {
  width: 200px;
  height: 40px;
  border: none;
  outline: none;
  padding: 0 0.5em;
  font-size: 16px;
}
form button {
  width: 100px;
  height: 40px;
  border: none;
  outline: none;
  cursor: pointer;
  background: var(--background-btn);
  color: #fff;
  font-size: 16px;
  margin-left: 0.3em;
}
.content {
  width: 100%;
  height: 30vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  flex-wrap: wrap;
}
.item {
  width: 300px;
  height: auto;
  padding: 1em;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  flex-direction: column;
}
.item:nth-child(2) {
  margin: 0 1em;
  background: var(--item-center);
}
footer {
  width: 100%;
  height: 10vh;
  background: var(--footer-background);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  font-size: 18px;
  color: var(--color);
}
@media (max-width: 900px) {
  .content {
    padding: 1em;
    height: auto;
  }
  .item {
    margin: 1em 0;
  }
  .item:nth-child(2) {
    background: none;
  }
}
@media (max-width: 700px) {
  .bar {
    display: flex;
  }
  nav {
    padding: 0 1em;
  }
  .menu {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: var(--background);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    transform: translateX(-100%);
    transition: 0.3s;
  }
  .menu li {
    padding: 0;
    margin: 1.5em 0;
  }
  .menu li a {
    font-size: 18px;
  }
  .close {
    position: absolute;
    top: 1em;
    right: 1em;
    width: 40px;
    height: 40px;
    background: var(--close-btn);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    cursor: pointer;
    border-radius: 5px;
    display: block;
  }
  .close img {
    height: 40px;
  }
  .show-menu-when-click-bar {
    transform: translateX(0%);
    transition: 0.3s;
  }
  .stuck {
    overflow: hidden;
  }
  .email {
    height: auto;
    padding: 2em;
    flex-direction: column;
  }
  .email h1 {
    padding: 0 0 0.5em 0;
  }
  form {
    padding: 0.5em 0 0 0;
  }
  .content {
    padding: 1em;
  }
  .item {
    padding: 2em;
  }
  .item:nth-child(2) {
    background: var(--item-center);
  }
  footer {
    height: auto;
    padding: 2em 1em;
  }
}
@media (max-width: 600px) {
  form {
    flex-direction: column;
  }
  form input {
    width: 250px;
  }
  form button {
    margin: 0.3em 0 0 0;
    width: 250px;
  }
}
