/* form.css */
@import url('https://fonts.googleapis.com/css2?family=Gowun+Dodum&display=swap');

*,
*:before,
*:after {
  box-sizing: border-box;
}

body {
  background-color: rgb(26, 14, 25);
  font-family: "Gowun Dodum", sans-serif;
  color:white
}

.alert {
  width: 50vw;
  margin: 2rem auto;
  background-color: #ffa0e9;
  color: hsl(0, 0%, 0%);
  padding: 0.75rem 1.25rem;
  border-radius: 0.25rem;
  display: none;
}

.mainbody {
  position: relative;
  width: 50vw;
  margin: 2rem auto;
  background-color: rgb(26, 14, 25);
  padding: 1rem 2rem;
  border-radius: 3px;
  text-align: center;
  display: grid;
  grid-template-columns: 50% 50%;
  column-gap: 5%;
}

.entries { 
  position: relative;
  width: 50vw;
  margin: 2rem auto;
  background-color: rgb(26, 14, 25);
  padding: 1rem 2rem;
  border-radius: 3px;
  text-align: center;
}

.item {
  margin:2rem auto;
}

label {
  margin: 1rem 0 0;
  display: block;
}

input {
  font-size: 0.875em;
  width: 100%;
  height: 40px;
  padding: 0px 15px 0px 15px;
  background: rgb(62, 37, 54);
  outline: none;
  color: #ffffff;
  border: none;
  border-radius: 3px;
}

input:hover {
  background: rgb(96, 49, 75);
  color: white;
}

button {
  background-color: #633041;
  width: 100%;
  display: inline-block;
  color: white;
  font-weight: 600;
  height: 2.8rem;
  border: none;
  font-family: "Gowun Dodum", sans-serif;
  font-size: 1rem;
  cursor: pointer;
  outline: none;
}

#save {
  background-color: #633041;
  font-family: "Gowun Dodum", sans-serif;
}

select {
  width: 100%;
  height: 40px;
  background: rgb(96, 49, 75);
  border: none;
  padding: 0 0 0 0.5rem;
  outline: none;
}

select:focus,
input:focus,
textarea:focus {
  outline: #8e226c solid 1px;
}

textarea {
  width: 100%;
  max-width: 100%;
  height: 110px;
  max-height: 110px;
  padding: 15px;
  margin: 0 0 1rem 0;
  background: rgb(62, 37, 54);
  outline: none;
  color: rgb(255, 255, 255);
  font-size: 0.875em;
  border: none;
}

ul {
  list-style-type: none;
  padding: 0;
  margin: 0;
}

button.hide { 
  position:fixed;
  right: 10;
  bottom: 10;
  width:5vw;
}

/* ========MEDIA QUERIES======== */
@media screen and (max-width: 768px) {
  .mainbody,
  .alert {
    grid-template-columns: 100%;
    width: 95vw;
  }
}

@media screen and (max-width: 992px) {
  .mainbody,
  .alert {
    grid-template-columns: 100%;
    width: 85vw;
  }
}