/* Reset default margins and paddings. */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* Body Styling */
body {
  min-height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: hsl(47, 88%, 63%);
  font-family: "Inter", sans-serif;
}

/* Container Styling */
.container {
  width: 380px;
  background-color: hsl(0, 0%, 100%);
  border: 1.5px solid hsl(0, 0%, 7%);
  border-radius: 20px;
  box-shadow: 5px 5px hsl(0, 0%, 7%);
  padding: 1.25rem;
}

/* Image Card Styling */
.card-img {
  margin-bottom: 1.25rem;
  border-radius: 13px;
  width: 100%;
}

/* Button Styling */
.first-button {
  padding: 0.4rem 0.9rem;
  border: none;
  border-radius: 5px;
  margin-bottom: 1rem;
  background-color: hsl(47, 88%, 63%);
  font-weight: bold;
  color: hsl(0, 0%, 7%);
}

.first-button:hover {
    background-color: hsl(47, 82%, 59%);
  transform: scale(1.05);
}

/* Profile Image and Name Styling */
.profile {
  display: flex;
  align-items: center;
  gap: 10px;
}

.profile-img {
  width: 40px;
  height: 40px;
}

.name {
  font-size: 1rem;
  font-weight: 600;
}

/* Headings and Paragraphs Styling */

h1 {
  font-size: 1.45rem;
  font-weight: 800;
  margin-bottom: 1rem;
}

p {
  font-size: 1rem;
  font-weight: 500;
  margin-bottom: 1rem;
  color: hsl(0, 0%, 42%);
  list-style: 1.5;
}

/* Used Media Queries to tweak the webpage better at larger screen sizes. */
@media (min-width: 1440px) {
  .container {
    max-width: 22rem;
  }
}
