*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
body{
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 90vh;
    background-color:  hsl(47, 88%, 63%);
    padding: 1rem;
    font-family: "Figtree", sans-serif;
}
main{
    max-width: 23rem;
    padding: 1.5rem;
    line-height: 1.4;
}
@media (prefers-reduced-motion: no-preference) {
  .main:hover {
    transform: scale(0.9);
    transition: transform 0.3s ease;
  }
}

.card-layout{
    display: flex;
    flex-direction: column;
    background-color: hsl(0, 0%, 100%);
   padding: clamp(1rem, 1.3vw, 1.5rem);
    width: 100%;
    max-width: 23rem;
    border-radius: 0.9rem;
    gap: 1.2rem;
    border-top: 1px solid hsl(0, 0%, 7%);
    border-left: 1px solid hsl(0, 0%, 7%);
    border-right: 8px solid hsl(0, 0%, 7%);
    border-bottom: 8px solid hsl(0, 0%, 7%);
    
}
.card_pic{
   border-radius: 0.5rem;
}
img{
    width: 100%;
    height: auto;
}
.btnWrapper{
    text-align: left;
}
button{
    background-color: hsl(47, 88%, 63%);
    padding: 0.4rem 0.7rem 0.4rem 0.7rem;
    border-radius: 0.2rem;
    border: none;
    font-weight: 800;
}
.btn:hover{
 background-color: hsl(0, 0%, 7%);
 color:  hsl(47, 88%, 63%);
 transform: scale(1.05);
}
button:focus {
  outline: none;
  box-shadow: 0 0 0 2px rgba(0, 123, 255, 0.5);
}
h1{
    font-size: 1rem;
    color: hsl(0, 0%, 7%);;
    font-weight: 800;
}
p{
    font-size: 0.8rem;
    color: hsl(0, 0%, 42%);
}
.user{
    display: flex;
    align-items: center;
    gap: 1rem;
}
.user img{
    width: 2rem ;
}
.user-name{
    color: hsl(0, 0%, 7%);;
    font-size:0.8rem;
    font-weight: 800;
}