@import url("https://fonts.googleapis.com/css2?family=Roboto:wght@400;500;700&display=swap");
body {
  margin: 0;
  color: white;
  overflow: hidden;
  font-family: "Roboto", sans-serif;
}

a {
  color: lightseagreen;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.15s;
}
a:hover {
  text-decoration: underline;
}

.background {
  width: 100vw;
  height: 100vh;
}
.background img {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
  -o-object-position: top;
     object-position: top;
  filter: blur(10px);
}

.modal {
  background-color: #000;
  opacity: 0.8;
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  display: flex;
  justify-content: center;
}
.modal .modal_window {
  opacity: 1;
  z-index: 10;
  position: relative;
  width: 100%;
  font-size: 1.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  overflow: scroll;
}
@media screen and (max-width: 600px) {
  .modal .modal_window {
    padding: 1rem;
    box-sizing: border-box;
    position: absolute;
    top: 0;
    left: 0;
    width: 100vw;
    overflow: scroll;
    background-color: black;
    height: 100%;
  }
  .modal .modal_window img,
.modal .modal_window div {
    width: 100% !important;
  }
}
.modal .modal_window img {
  margin-top: 100px;
  width: 400px;
}
@media screen and (max-width: 600px) {
  .modal .modal_window img {
    margin-top: 25px;
  }
}
.modal .modal_window .cap {
  width: 400px;
  text-align: center;
  word-spacing: 15px;
  margin-bottom: 2rem;
}
.modal .modal_window .m1 {
  text-align: center;
  font-size: 2rem;
  font-weight: 700;
}
.modal .modal_window .m2 {
  width: 500px;
  text-align: center;
}
.modal .modal_window .form {
  border-radius: 1rem;
  background-color: rgba(255, 255, 255, 0.2);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 1rem;
  width: 500px;
  margin-top: 1rem;
  padding-left: 4rem;
  padding-right: 4rem;
  padding-bottom: 2rem;
  margin-bottom: 100px;
}
@media screen and (max-width: 600px) {
  .modal .modal_window .form {
    width: 100%;
    padding: 0;
    border-radius: 0;
    box-sizing: border-box;
    background-color: black;
    margin-bottom: 50px;
  }
  .modal .modal_window .form label {
    width: 80px !important;
  }
}
.modal .modal_window .form div {
  display: flex;
  align-items: center;
  width: 100%;
  gap: 1rem;
}
.modal .modal_window .form div label {
  text-align: right;
  flex-shrink: 0;
  font-size: 1rem;
  width: 120px;
}
.modal .modal_window .form div input,
.modal .modal_window .form div textarea {
  width: 100%;
  font-size: 1rem;
  font-family: inherit;
  padding: 0.5rem;
}
.modal .modal_window .form div textarea {
  height: 80px;
  min-height: 80px;
  resize: vertical;
}
.modal .modal_window .form .contact_message {
  width: 100%;
  font-size: 1rem;
  display: flex;
  justify-content: center;
}
.modal .modal_window .form button.button {
  cursor: pointer;
  margin-top: 2rem;
  outline: 0;
  border: 0;
  width: 150px;
  padding: 0.5rem 1rem 0.5rem 1rem;
  font-size: 1.5rem;
  color: white;
  font-family: inherit;
  background-color: lightseagreen;
  transition: all 0.15s;
}
.modal .modal_window .form button.button:hover {
  background-color: rgb(15, 120, 115);
}