html {
    font-size: 100%; /* Default: 16px */
}

body{
    background-color: hsl(47, 88%, 63%);
    font-family: Figtree, sans-serif;
    display: flex; /* Enable Flexbox */
    justify-content: center; /* Center horizontally */
    align-items: center; /* Center vertically */
    height: 100vh; /* Make the body take the full viewport height */
    margin: 0; /* Remove default margin */
    font-size: 1rem; /* 16px */
}

.card{
    background-color: #ffffff;
    border-radius: 20px;
    box-shadow: 10px 10px rgba(0, 0, 0, 1);
    padding: 1rem;
    justify-content: center;
    display: flex;
    flex-direction: column;
    width: 300px;
    border: 1px solid black; /* Add a black border */

}

.text-card {
    margin-top: 20px;
    background-color: hsl(47, 88%, 63%);
    padding: 2px 5px; /* Optional: Adjust padding for a tighter fit */
    border-radius: 5%; /* Keeps rounded corners */
    width: 70px;
    text-align: center;
    font-weight: bold;
    font-size: 0.875rem; /* 14px */
}

.illustration{
    border-radius: 5%;
}   

.author{
    display: flex;
    align-items: center; /* Center vertically */
    margin-bottom: 30px;
    font-weight: bold;
}

.icon {
    width: 30px; /* Prevent scaling down */
    height: 30px; /* Maintain aspect ratio */
    padding-right: 10px;

}

h2{
    font-size: 1.5rem; /* 24px */
    text-align: left;
    line-height: 0;
    transition: color 0.3s ease, text-shadow 0.3s ease; /* Smooth transition for hover effect */
    cursor: pointer;
}

h2:hover {
    color: hsl(47, 88%, 63%); /* Change text color on hover */
}

p{
    font-size: 1rem; /* 16px */
    text-align: left;
    color: hsl(0, 0%, 42%)
}

.attribution { font-size: 11px; text-align: center; }

.attribution a { color: hsl(228, 45%, 44%); }