@font-face {
  font-family: "Inter";
  src: url("./assets/fonts/Inter-VariableFont_sInt,wght.ttf") format("truetype");
  font-display: swap;
}

body {
  font-family: "Inter", sans-serif;
  width: 100vw;
  height: 100vh;
  margin: 0;
  padding: 0;
  background-color: #141414;
}

main {
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.card-container {
  background-color: #1f1f1f;
  display: flex;
  flex-direction: column;
  width: 22%;
  /* height: 62%; */
  height: auto;
  border-radius: 15px;
  align-items: center;
  justify-content: space-between;
  padding: 40px;
}

.image-container {
}

.avatar-image {
  width: 80px;
  height: 80px;
}

.text-container {
  margin-top: 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  h1 {
    margin: 0;
    color: white;
    font-size: 24px;
    font-weight: 700;
  }
  .location-text {
    color: #c4f82a;
    font-size: 14px;
    font-weight: 600;
  }
  .description-text {
    color: white;
    font-size: 14px;
    font-weight: 400;
  }
}

.buttons-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  height: 100%;
  button {
    margin-top: 10px;
    width: 100%;
    height: 45px;
    background-color: #333333;
    size: 14px;
    font-weight: 600;
    color: white;
    border-radius: 12px;
    border: none;
    transition: ease 0.7s;
    font-family: "Inter", sans-serif;
    &:hover {
      background-color: #c4f82a;
      color: #333333;
      cursor: url("./assets/images/handcursor.svg"), auto;
    }
  }
}

/* ---------------- Media Queries ----------------- */

@media (max-width: 768px) {
  .card-container {
    width: 75%;
    padding: 20px;
  }
}

/* Small Phones */
@media (max-width: 375px) {
  .card-container {
    padding: 20px;
  }
  .text-container {
    h1 {
      font-size: 20px;
    }
    .location-text {
      font-size: 12px;
    }
    .description-text {
      font-size: 12px;
    }
  }
  .buttons-container {
    button {
      height: 40px;
      font-size: 12px;
    }
  }
  .avatar-image {
    width: 60px;
    height: 60px;
  }
}

/* Tablets */
@media (min-width: 768px) and (max-width: 1024px) {
  .card-container {
    width: 35%;
    padding: 30px;
  }
}
/* Large Desktops */
@media (min-width: 1600px) {
  .card-container {
    width: 15%;
  }
}
