grid {
  inline-size: 90%;
  margin-inline: auto;
  max-inline-size: 20rem;
  display: grid;
}

* {
  box-sizing: inherit;
}

html {
  box-sizing: border-box;
  font-size: 100%;
}

body {
  background-color: #342d34;
  color: white;
  font-family: "Open sans", sans-serif;
  font-size: 0.875rem;
  font-weight: 400;
  line-height: 1.5;
  margin: 0;
  min-block-size: 100vh;
  display: grid;
  place-items: center;
}

input {
  background-image: none;
  border: 0;
  color: inherit;
  font: inherit;
  margin: 0;
  outline: 0;
  padding: 0;
  transition: background-color 0.3s;
}

textarea {
  background-image: none;
  border: 0;
  color: inherit;
  font: inherit;
  margin: 0;
  outline: 0;
  padding: 0;
  transition: background-color 0.3s;
}

select,
option {
  background-image: none;
  border: 0;
  color: inherit;
  font: inherit;
  margin: 0;
  outline: 0;
  padding: 0;
  transition: background-color 0.3s;
}

input[type="submit"] {
  cursor: pointer;
}

textarea,
select,
option,
input[type="submit"] {
  inline-size: 100%;
}

textarea,
select,
option,
input[type="submit"] {
  border-radius: 0.25rem;
  padding: 1rem;
}

textarea,
option,
select {
  background-color: #3b4148;
  border-bottom-left-radius: 0;
  border-bottom-right-radius: 0;
}

textarea:focus,
textarea:hover {
  background-color: #434a52;
}

input[type="submit"] {
  background-color: #d75821;
  color: #eee;
  font-weight: 700;
  text-transform: uppercase;
}

input[type="submit"]:focus,
input[type="submit"]:hover {
  background-color: rgb(4, 117, 98);
}

p {
  margin-block: 1.5rem;
  text-align: center;
}

img {
  max-width: 100%;
  max-height: 100%;
}

.popup {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  display: none;
  z-index: 1;
}

.popup-box {
  max-width: 400px;
  max-height: 800px;
  margin: 0 auto;
  overflow: auto;
  background-color: #fff;
  border: 1px solid #ccc;
  border-radius: 5px;
  box-shadow: 0 0 5px rgba(0, 0, 0, 0.5);
  padding: 20px;
}

.popup img {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 0 auto;
}

.show {
  display: block;
}

.popup button {
  display: block;
  margin: 0 0 20px auto;
  background-color: transparent;
  font-size: 30px;
  color: #ffffff;
  background: #03549a;
  border-radius: 100%;
  width: 40px;
  height: 40px;
  border: none;
  outline: none;
  cursor: pointer;
}

.popup-box button.btn {
  display: inline-block;
  margin: 0 auto;
  background-color: #428bca;
  color: #fff;
  border: none;
  border-radius: 5px;
  padding: 10px 20px;
  font-size: 16px;
  cursor: pointer;
  height: 50px;
  width: 200px;
  margin-left: 20px;
  margin-top: 20px;
}

.popup-box button.btn:hover {
  background-color: rgb(152, 85, 9);
}
