/* ====== FONT ====== */
@font-face {
  font-family: "inter-font";
  src: url("assets/fonts/Inter-VariableFont_slnt/wght.ttf") format("truetype");
  font-weight: 500;
  font-style: normal;
}

/* ====== GLOBAL ====== */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: "inter-font", sans-serif;
  background-color: hsl(0, 0%, 8%);
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100vh;
  width: 100%;
}

/* ====== CONTAINER ====== */
.container {
  width: 340px;
  padding: 25px 35px 5px 35px; /* combine paddings */
  background-color: hsl(0, 0%, 12%);
  text-align: center;
  border-radius: 10px; /* optional for nicer look */
}

/* ====== AVATAR IMAGE ====== */
img {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  padding-bottom: 15px;
  object-fit: cover;
  display: block;
  margin: 0 auto;
}

/* ====== PROFILE INFO ====== */
.profile {
  color: white;
  font-size: x-large;
  padding-bottom: 5px;
}

.location {
  color: hsl(75, 94%, 57%);
  font-size: small;
  padding-bottom: 15px;
}

.profesional {
  color: hsl(0, 0%, 100%);
  font-size: small;
  padding-top: 10px;
  padding-bottom: 25px;
}

/* ====== SIDE BAR ====== */
.side-bar {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 15px;
  padding-bottom: 20px;
}

button {
  background-color: hsl(0, 0%, 20%);
  color: white;
  font-size: medium;
  padding: 10px 0;
  width: 280px;
  border: none;
  border-radius: 10px;
  cursor: pointer;
  transition: background-color 0.3s, color 0.3s; /* smooth hover */
}

button:hover {
  background-color: hsl(75, 94%, 57%);
  color: hsl(0, 0%, 20%);
}

/* ====== ATTRIBUTION ====== */
.attribution {
  font-size: 11px;
  padding-top: 10px;
}

.attribution a {
  color: hsl(228, 45%, 44%);
  text-decoration: none;
}

/* ====== MOBILE RESPONSIVE ====== */
@media (max-width: 375px) {
  body {
    height: 100%;
    padding: 10px;
  }

  .container {
    width: 90%;
    padding: 20px 15px 10px 15px;
  }

  img {
    width: 80px;
    height: 80px;
    padding-bottom: 10px;
  }

  .profile {
    font-size: large;
  }

  .location,
  .profesional {
    font-size: smaller;
  }

  .side-bar button {
    width: 100%;
    padding: 8px 0;
    font-size: small;
  }

  .attribution {
    font-size: 10px;
  }
}
