body {
  margin: 0;
  padding: 0;
  height: 100dvh;              
  display: flex;               
  align-items: center;         
  justify-content: center;     
  background-image: url('images/snail.jpg');
  background-size: cover;
  background-position: center;
  background-color: #141218;
  color: #E2DED3;
  font-family: 'Roboto', sans-serif;
}

.content-container {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 1rem;
  overflow: hidden;
}

hr {
  border: none; 
  border-top: 1px solid rgba(255, 255, 255, 0.4);
}

a {
  color: inherit;
  text-decoration: none;
}

.content-box {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  background-color: rgba(0, 0, 0, 0.8);
  max-width: 600px;
  border-radius: 0;
  margin: 0;
  padding: 1.5rem;
  padding-top: 1rem;
}

.item-name {
  font-size: 2rem;
  font-style: italic;
}

.content-image {
  width: 200px;
  height: 200px;
  object-fit: cover;
  margin: -1.5rem;
  margin-right: 0rem;
  margin-bottom: -2rem;
}

.content-text {
  margin-bottom: 1.5rem;
}

.content-text h1, h2 {
  margin-top: 0;
  margin-bottom: 0.5rem;
}

.content-text h2 {
  margin-bottom: 0.25rem;
}

.content-text p {
  margin: 0;
  font-size: 1.2rem;
  line-height: 1.6rem;
}

.email-text {
  color: #D0BCFF;
  font-weight: bold;
  font-style: italic;
  text-decoration: none;
}

.loot {
  position: relative;
  width: 250px;
  padding: 0.5rem;
  margin-left: 2rem;
  margin-top: 2rem;
  margin-right: 0;
  border-top-left-radius: 30px;
  border-bottom-left-radius: 30px;
  background-image: linear-gradient(to right, rgba(0, 0, 0, 0.8) 60%, transparent);
}

.loot-name {
  margin: 0;
  margin-left: 4rem;
  font-style: italic;
}

.loot-image {
  position: absolute;
  width: 64px;
  height: 64px;
  top: -1.2rem;
  left: -1rem;
  filter: drop-shadow(0 0 0.5rem rgba(0, 0, 0, 1));
}

.contact {
  position: absolute;
  bottom: 0;
  right: 0;
  margin: 0.5rem;
  font-size: 1.2rem;
}

.text-icon {
  position: relative;
  top: 4px;
  line-height: 0 !important;
  color: inherit;
}

.loot .text-icon{
  margin-left: 0.5rem;
}

@media (min-width: 600px) {
  .content-box {
    flex-direction: row;
    border-radius: 10px;
    margin: 0 1rem;
    padding: 2.5rem;
  }

  .content-image {
    margin-bottom: -1.5rem;
  }

  .content-text {
    margin: 0;
  }

  .loot {
    width: 300px;
    margin-right: 1rem;
  }
}

@media (pointer: fine) {
  .grow-on-hover {
    display: inline-block;
    transition: transform 0.2s ease;
    transform-origin: bottom right;
  }

  .grow-on-hover:hover {
    transform: scale(1.1);
  }
}
