@font-face {
  font-family: ravi;
  src: url("../fonts/RaviFaNum-Regular.woff2");
}

@font-face {
  font-family: ravi-bold;
  src: url("../fonts/RaviFaNum-Bold.woff");
}

body {
  margin: 0;
  font-family: ravi;
}

.main {
  width: 100%;
  height: 100vh;
  background: #2a7b9b;
  /* background: linear-gradient(90deg, #0cc0df 0%, #ffde59 100%); */
  background-image: url(../img/sitter-profile.jpg);
  background-repeat: no-repeat;
  background-size: cover;
  display: flex;
  justify-content: center;
  align-items: center;
}

.card-container {
  padding: 20px;
  width: 80%;
  height: auto;
  background-color: #ffffffb5;
  border-radius: 16px;
  box-shadow: 0 0 20px 5px #0000002e;
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.card-header {
  display: flex;
  justify-content: center;
  height: 25%;
}

.card-header img {
  width: 100px;
}

.card-content {
  height: 50%;
  display: flex;
  align-items: center;
}
.card-content p {
  text-align: justify;
  margin: 0 20px;
  font-size: 1rem;
}

.card-footer {
  height: 25%;
  display: flex;
  justify-content: space-between;
  margin: 0 20px;
  align-items: flex-end;
  flex-direction: column;
  gap: 10px;
}

.btn {
  width: 100%;
    height: 80px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 16px;
    color: #ffffff;
    text-decoration: unset;
    font-size: 1.2rem;
    transition: all 0.5s;
    font-family: ravi-bold;
}

a.btn.sitter-btn {
  color: #fff;
  background-color: #5bd8bc;
}

a.btn.owner-btn {
  color: #fff;
  background-color: #fd850e;
}

a.btn:hover {
  box-shadow: 0px 3px 11px 4px #45454530;
  transition: all 0.5s;
}

@media (min-width: 768px) {
  .card-container {
    width: 570px;
  }
  .card-header img {
    width: 100px;
  }
  .card-content p {
    font-size: 1rem;
  }
  .card-footer {
    flex-direction: row;
  }
  .btn {
    width: 48%;
    font-size: 1.5rem;
    height: 100px;
  }
}
