html {
  font-size: 62.5%;
}

h1,
h2,
h3,
h4,
p,
ul,
li {
  margin: 0;
  padding: 0;
}

body {
  font-size: 1.8rem;
  margin: 0;
  box-sizing: border-box;
}

h1 {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen,
    Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
}

#whole-wrapper {
  margin: 1.2rem;
  padding: 3rem;
  position: relative;
}

h1 {
  margin: 3.2rem;
}

#comments-section {
  margin: 3.5rem 0;
}

#comment-container {
  margin: 2.5rem 0;
  max-width: 45rem;
  border-radius: 0.3rem;
}

#comment {
  margin: 0.5rem;
  padding: 0.7rem;
  font-size: 1.6rem;
  border-bottom: 1px solid black;
}

#date-time {
  margin-left: 1.3rem;
  color: black;
  font-weight: 400;
  font-size: 1.3rem;
}

#comments-form {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  max-width: 40rem;
}

#author-name-input {
  padding: 0.4rem 1rem;
  border: 1px solid black;
  border-radius: 0.3rem;
  margin-bottom: 1.2rem;
  outline: none;
  font-weight: 600;
  font-family: Verdana, Geneva, Tahoma, sans-serif;
}

#author-name {
  margin-left: 0.4rem;
  padding: 0.4rem;
  font-weight: 700;
  font-size: 1.4rem;
  color: #0085b6;
  font-family: Helvetica, sans-serif;
}

#comment-btn {
  cursor: pointer;
  padding: 0.4rem;
  max-width: 5rem;
  border-radius: 0.5rem;
  border: 1px solid black;
  background-color: black;
  color: white;
  font-weight: 500;
  outline: none;
}

#comment-btn:hover {
  opacity: 0.8;
  background-color: white;
  color: black;
  transition: 0.3s ease-in-out;
  font-weight: 600;
}

#comment-input {
  padding: 1.2rem 1rem;
  border: 1px solid black;
  outline: none;
  margin-bottom: 1.2rem;
  border-radius: 0.3rem;
  font-family: Verdana, Geneva, Tahoma, sans-serif;
}

#reply-btn,
#delete-btn,
#edit-btn {
  font-size: 1.2rem;
  cursor: pointer;
  margin-left: 1.3rem;
  border: none;
  background-color: white;
  padding: 0.6rem;
  border-radius: 0.3rem;
  outline: none;
  opacity: 0.4;
  font-weight: 600;
}

#reply-btn:hover,
#delete-btn:hover,
#edit-btn:hover {
  opacity: 1;
  transition: 0.2s ease-in-out;
}

#reply-here-text {
  margin: 1rem;
  font-size: 1.6rem;
  font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
  font-weight: 800;
  color: crimson;
}

.footer-credits {
  text-align: center;
  color: white;
  background-color: rgb(204, 204, 240);
  margin: 0;
  font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
  padding: 1.2rem;
  margin-top: 34.8rem;
}

.footer-credits a {
  color: coral;
  text-decoration: none;
  outline: none;
  cursor: pointer;
}
