* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

ul,
p {
  margin-bottom: 1em;
}
li {
  margin-left: 2em;
}

html {
  height: 100%;
}

body {
  background-color: #fff;
  width: 98%;
  height: 100%;
}

main {
  display: flex;
  flex-direction: column;
  font-size: 1em;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Open Sans", "Helvetica Neue", sans-serif;
  color: #000;
  max-width: 970px;
  width: 98%;
  /*height: 100%;*/
  margin: 0 auto;
  background-color: #fff;
  padding: 0px 1.5%;
  box-shadow: 0 0 2em #ddd;
  line-height: 1.5em;
}

header {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  height: 60px;
  margin-bottom: 0.3em;
  padding: 0em 1em;
}

.logo {
  height: 50px;
  line-height: 0px;
}

.logo_image {
  height: 50px;
}

nav {
  font-size: 1.3em;
}

.intro {
  margin-bottom: 1em;
}

article {
  padding: 0em 1em;
}

footer {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  height: 2em;
}

h1 {
  font-size: 1.5em;
  margin-bottom: 1em;
}

h2 {
  font-size: 1.4em;
  margin-bottom: 1em;
  color: #d81900;
}

h3 {
  font-size: 1.2em;
  line-height: 1em;
  display: inline-block;
  margin-bottom: 1em;
}

h3 span {
  background-color: #1e90ff; /* #2a70fc; */
  display: inline-block;
  font-size: 1.4em;
  width: 1.5em;
  padding-top: 0.4em;
  padding-bottom: 0.3em;
  text-align: center;
  color: #fff;
}

h3 > strong {
  vertical-align: 0.15em;
}

a {
  text-decoration: none;
  color: #04b;
}
a:hover {
  color: #d00;
}

.photo {
  width: 100%;
  max-width: 100%;
  margin-bottom: 1em;
}

.lyrics {
  margin-bottom: 1em;
}

.remind-about-comment {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  width: 100%;
  font-size: 1.5rem;
  margin-bottom: 1rem;
  text-align: center;
}

/* Форма отправки комментариев */
.comment-form-wrapper {
  display: flex;
  flex-direction: column;
  margin-bottom: 1rem;
  gap: 1rem;
  margin: 0 1rem;
  padding: 1rem;
  border-radius: 3px;
  --forms-borders-color: #d9d7df;
  border: 1px solid var(--forms-borders-color);
  justify-content: flex-start;
  position: relative;
  z-index: 1;
}

.comment-form {
  display: flex;
  flex-direction: column;
  width: 100%;
  gap: 1rem;
}

.comment-form__title {
  font-size: 1.5em;
}
.comment-form__personal {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 1rem;
}
.comment-form__name,
.comment-form__email {
  height: 2rem;
  width: 15rem;
  outline: 0;
  border: 1px solid var(--forms-borders-color);
  font-size: 1.25rem;
  padding: 0 0.25rem;
  border-radius: 3px;
  font-weight: 100;
}

.comment-form__comment {
  width: 100%;
  height: 7rem;
  font-size: 1.25rem;
  padding: 0.25rem;
  outline: 0;
  border-radius: 3px;
  border: 1px solid var(--forms-borders-color);
  font-weight: 100;
}

.comment-form__name::placeholder,
.comment-form__email::placeholder,
.comment-form__comment::placeholder {
  color: #d9d7df;
}
.comment-form-submit {
  display: flex;
  flex-direction: row;
  justify-content: flex-start;
  align-items: center;
  gap: 1rem;
}
.comment-form__thanks {
  display: none;
}
.comment-form__thanks_visible {
  display: block;
}

.send-comment-button {
  width: fit-content;
  height: 2.5rem;
  background-color: #1e90ff;
  padding: 0 0.25rem;
  color: #fff;
  font-size: 1.25rem;
  border: 0;
  outline: 0;
  border-radius: 3px;
  font-weight: 100;
}
.send-comment-button:hover {
  cursor: pointer;
  background-color: #ff5e1e;
}

@media screen and (max-width: 800px) {
  .logo {
    height: 30px;
  }
  .logo_image {
    height: 30px;
  }
  main {
    font-size: 1.3em;
  }
}
