* {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
  font-family: "roboto", sans-serif;
}
body {
  background-image: url(./images/background_img.jpg);
  background-repeat: no-repeat;
  background-size: cover;
  height: 100vh;
  position: relative;
}
.btn-open {
  position: absolute;
  top: 70%;
  left: 10%;
  right: 10%;
  color: #ffffff;
  border: none;
  background-color: rgba(30, 67, 30, 0.8);
  border-radius: 5px;
  font-size: 1.5rem;
  padding: 10px 20px;
  transition: 0.3s;
}
.btn-open:hover {
  background-color: white;
  color: black;
  cursor: pointer;
}
.overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  display: none;
  z-index: 1;
}
.modal-container {
  position: fixed;
  z-index: 2;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  background-color: white;
  padding: 1rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  align-items: center;
  border-radius: 10px;
  display: none;
}
.modal-container h2 {
  margin-top: 2rem;
  color: rgb(1, 87, 1);
}
.modal-container p {
  color: rgb(96, 96, 96);
}
.modal-container input {
  width: 100%;
  padding: 10px;
  border: 1px solid rgb(96, 96, 96);
  border-radius: 5px;
  font-size: 1rem;
}
.btn-subscribe {
  color: white;
  background-color: rgb(1, 87, 1);
  border: none;
  border-radius: 5px;
  padding: 10px 20px;
  font-size: 1rem;
  transition: 0.3s;
}
.btn-subscribe:hover {
  background-color: rgb(0, 70, 0);
  cursor: pointer;
}
.btn-close {
  color: white;
  background-color: rgb(1, 87, 1);
  border: none;
  border-radius: 5px;
  padding: 5px 10px;
  font-size: 1rem;
  transition: 0.3s;
  align-self: flex-end;
  position: absolute;
}
.btn-close:hover {
  background-color: rgb(0, 70, 0);
  cursor: pointer;
}
@media screen and (max-width: 600px) {
  .btn-open {
    width: 80%;
    left: 10%;
    right: 10%;
    font-size: 1.2rem;
  }
  .modal-container {
    width: 90%;
    padding: 1rem;
  }
  .modal-container h2 {
    font-size: 1.5rem;
  }
  .modal-container p {
    font-size: 0.9rem;
  }
  .btn-subscribe,
  .btn-close {
    font-size: 0.9rem;
    padding: 8px 16px;
  }
}
