body {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  padding: 0;
  margin: 0;
  font-family: "Lora", serif;
  font-style: normal;
}

/* General Styles */

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: "Abril Fatface", serif;
  font-style: normal;
}

.form-container {
  background-color: #fff;
  border-radius: 5px;
  border: 1px solid #4f7077;
  box-shadow: 12px 12px 2px 1px #7fb1bc;
}

.container {
  width: 90%;
}

/* Navbar */
.navbar,
.navbar-brand .nav-link {
  background-color: #4f7077 !important;
}

.brand-title {
  display: inline;
}

.login-container a {
  text-decoration: none;
}

@media screen and (min-width: 1200px) {
  .navbar,
  .nav-link,
  .navbar-brand {
    font-size: 1.2rem;
    font-weight: 600;
  }
}

/* Hero section - Artworks Page */
#hero-image {
  background-image: url(/static/images/hero_imageResized.webp);
  background-repeat: no-repeat;
  background-position: left;
  background-size: cover;
  height: 650px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: end;
  padding: 50px;
}

.hero-text-container {
  color: #fff;
  background-color: rgba(0, 0, 0, 0.6);
  border-radius: 5px;
}

/* Artworks - cards*/

.card-link {
  text-decoration: none;
}

.artwork-image {
  height: 270px;
  object-fit: contain;
}

.text-bg-success {
  background-color: bisque !important;
  color: black !important;
}

span > small {
  font-weight: 700;
}

.hero-text-container h1 {
  font-size: 2.5rem;
}

/*Profiles Page */

.form {
  display: block;
}

.profile-header {
  height: 45vh;
  background-color: #7fb1bc;
}

.profile-header-content > h2,
.profile-header-content > h2 > span {
  font-size: 2.4rem;
  color: #fff;
  line-height: 1.3;
  text-transform: uppercase;
}

.profile-header-content > h2 {
  font-weight: 300;
}

.profile-header-content > h2 > span {
  font-weight: 700;
  color: #553f34;
}

/* Artist Card Styles */
.artist-card img {
  object-fit: cover;
  height: 150px;
  width: 150px;
  border-radius: 50%;
  margin-bottom: 1rem;
}

.artist-card {
  text-align: center;
  transition: transform 0.2s ease-in-out;
  background-color: #ffffff;
  padding: 1.5rem;
  border-radius: 10px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.artist-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

/* Artist Profile Page*/

.bg-container {
  position: relative;
  height: 40vh;
}

.profile-bg {
  height: 20%;
  width: 100%;
}

.artist-img {
  position: absolute;
  width: 200px;
  border-radius: 50%;
  top: 15%;
  left: 50%;
  right: 50%;
  transform: translateX(-50%);
}

.artist-social i {
  font-size: 1.4em;
}

.artwork-thumbnail {
  width: 200px;
  height: 250px;
}

.artwork-title a {
  text-decoration: none;
}

/* Single-Artwork */

.user-profile {
  text-decoration: none;
  color: #000;
}

.carousel-inner img {
  border-radius: 10px;
  width: 500px;
  object-fit: cover;
}

/* Add Artwork Form*/

.form-container {
  max-width: 70%;
  margin: 2rem auto;
  border: 1px solid #4f7077;
  box-shadow: 12px 12px 2px 1px #7fb1bc;
}

.input {
  min-width: 10rem;
  width: 100%;
  padding: 0.8rem;
  border-radius: 0.5rem;
  border: 2px solid #e5e7eb;
}

#id_tags {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  align-items: self-start;
  margin-left: 2em;
}

/* Inbox */
.inbox {
  height: 90vh;
}

.messages {
  list-style: none;
  padding: 0.5rem 3rem;
  border: 2px solid #7fb1bc;
  border-radius: 0.7rem;
}

.message {
  padding: 1.5rem 0;
}

.message-unread a span {
  font-weight: 700;
  color: #553f34;
}

.message > a span {
  font-size: 1.1rem;
  font-weight: 500;
}

.message:not(:last-child) {
  border-bottom: 2px solid #7fb1bc;
}

.message > a {
  display: flex;
  gap: 1rem;
}

.message-author,
.message-date {
  flex-basis: 25%;
}

.message-subject {
  flex-basis: 50%;
}

.message-date {
  text-align: right;
}

.message-box {
  width: 70%;
  margin: 2rem auto;
  border: 1px solid #4f7077;
}

/* Footer */
footer {
  margin-top: auto;
  background-color: #4f7077;
  color: #fff;
}

#social-links a {
  text-decoration: none;
}

footer i {
  font-size: 1.3em;
}
