@font-face {
  font-family: "Cause";
  src: url(../fonts/Cause.ttf);
}

@font-face {
  font-family: "Poppins";
  src: url(../fonts/Poppins.ttf);
}

h1,
h2,
h3,
h4 {
  font-family: Cause;
}

label,
input,
textarea,
h5,
h6,
p,
.button,
.badge,
a {
  font-family: Poppins;
}

a {
  text-decoration: none;
}

h1 {
  font-size: 96px;
  font-style: normal;
  font-weight: 700;
  line-height: 100%;
}

h2 {
  font-size: 64px;
  font-style: normal;
  font-weight: 700;
  line-height: 100%;
}

h3 {
  font-size: 40px;
  font-style: normal;
  font-weight: 500;
  line-height: 100%;
}

h4 {
  font-size: 28px;
  font-style: normal;
  font-weight: 500;
  line-height: 100%;
}

h5,
label {
  font-size: 20px;
  font-style: normal;
  font-weight: 500;
  line-height: 155%;
}

p,
a {
  font-size: 18px;
  font-style: normal;
  font-weight: 400;
  line-height: 155%;
}

.button,
.badge,
input,
textarea {
  font-size: 18px;
  font-style: normal;
  font-weight: 500;
  line-height: normal;
}

/* Colors */
.white-bg {
  background-color: #f8f8f8;
}

.black-bg {
  background-color: #0d0000;
}

.accent-bg {
  background-color: #fa0d0d;
}

.light-gray-bg {
  background-color: #dfdfdf;
}

.slytherin-bg {
  background-color: #02a829;
}
.ravenclaw-bg {
  background-color: #1e46ca;
}

.griffindor-bg {
  background-color: #ca1e1e;
}

.hufflepuff-bg {
  background-color: #ca8e1e;
}

.dark-gray-bg {
  background-color: #393939;
}

.white {
  color: #f8f8f8;
}

.light-gray {
  color: #dfdfdf;
}

.black {
  color: #0d0000;
}

.accent {
  color: #fa0d0d;
}

.slytherin {
  color: #02a829;
}
.ravenclaw {
  color: #1e46ca;
}

.griffindor {
  color: #ca1e1e;
}

.hufflepuff {
  color: #ca8e1e;
}

.dark-gray {
  color: #393939;
}

/* Button styles */
.button {
  border: none;
  border-radius: 12px;
}

.log-in-btn,
.sign-up-btn,
.contact-btn {
  padding: 12px 36px;
  align-items: center;
}

.post-btn-hover {
  padding: 12px 36px;
  align-items: center;
  width: fit-content;
  align-self: center;
}

.contact-btn {
  width: fit-content;
}

.log-in-btn {
  background: none;
  border: 1px solid #fa0d0d;
}

.theme-btn {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 40px;
  width: 40px;
  font-size: 20px;
}

.lang-btn {
  background: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  padding: 0;
}

.lang-btn img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.submit-btn {
  height: 60px;
  align-items: center;
  margin-top: 20px;
}

.file-input-wrapper input[type="file"] {
  display: none;
}

.posts-grid:not(#books-grid):not(#movies-grid) .post-img,
[data-user-posts-grid] .post-img {
  max-height: 240px;
  object-fit: cover;
}

.profile-btn {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 40px;
  width: 40px;
  font-size: 20px;
}
