body {
  width: 100%;
  height: 100%;
  background: linear-gradient(to right, #1e3c72, #2a5298);
  font-family: "Varela Round", serif;
  overflow-x: hidden;
}

h1 {
  color: #f8f8f8;
  font-size: 50px;
  margin-top: 60px;
  text-align: center;
  font-weight: 900;
  letter-spacing: 2px;
}

section {
  padding: 50px;
  padding-bottom: 70px;
  width: 450px;
  height: auto;
  align-items: center;
  justify-content: center;
  display: flex;
  margin-top: 50px;
  flex-direction: column;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
  backdrop-filter: blur(13.9px);
  -webkit-backdrop-filter: blur(13.9px);
  border: 1px solid rgba(255, 255, 255, 0.3);
  margin: auto;
}

input {
  background: rgba(255, 255, 255, 0.2);
  border: 2px solid rgba(255, 255, 255, 0.4);
  border-radius: 30px;
  width: 320px;
  height: 50px;
  margin-top: 20px;
  padding-left: 15px;
  color: white;
}

input::placeholder {
  color: rgba(255, 255, 255, 0.6);
}

textarea {
  border-radius: 5px;
  outline: transparent;
  border: transparent;
  padding-left: 15px;
  padding-top: 10px;
  background: rgba(255, 255, 255, 0.2);
  color: white;
}

button {
  margin-top: 40px;
  border: transparent;
  outline: transparent;
  background-color: #ff6b6b;
  padding: 13px;
  border-radius: 20px;
  color: white;
  font-weight: 700;
  width: 170px;
}

button:hover {
  background-color: #e63946;
  color: whitesmoke;
  transition: 0.3s;
  cursor: pointer;
}

#content {
  margin-top: 40px;
  border-radius: 20px;
  padding: 10px;
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  max-height: 500px;
  overflow-y: auto;
}

.subpost {
  border: 2px solid rgba(67, 188, 158, 0.8);
  background: linear-gradient(to right, #3f4c6b, #606c88);
  width: 600px;
  height: auto;
  border-radius: 10px;
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding-bottom: 20px;
  box-shadow: rgba(1, 250, 192, 0.25) 0px 54px 55px,
    rgba(0, 0, 0, 0.12) 0px -12px 30px, rgba(0, 0, 0, 0.12) 0px 4px 6px,
    rgba(0, 0, 0, 0.17) 0px 12px 13px, rgba(0, 0, 0, 0.09) 0px -3px 5px;
}

h3 {
  color: white;
  font-family: "Teko", serif;
  letter-spacing: 3px;
  text-align: center;
  text-transform: capitalize;
  font-size: 34px;
  margin: 0px;
  margin-top: 30px;
}

p {
  color: white;
  font-family: "Sour Gummy", serif;
  letter-spacing: 3px;
  text-transform: capitalize;
  padding: 20px;
  font-size: 18px;
}

#delete {
  background-color: #d32f2f;
}

#Update {
  background-color: #28a745;
}

#buttonarea {
  display: flex;
  gap: 20px;
}

@media screen and (max-width: 600px) {
  body {
    width: 100%;
    height: 100%;
    overflow-x: hidden;
  }

  section {
    width: 100%;
    height: auto;
    padding: 20px;
    margin-top: 0px;
  }

  img {
    width: 50px;
    height: 50px;
  }

  h1 {
    font-size: 36px;
    text-align: center;
  }

  input {
    width: 250px;
  }

  #content {
    max-height: 400px;
    overflow-y: auto;
  }

  .subpost {
    width: 90%;
  }
}
