* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    color: hsl(0, 0%, 7%);
}

html {
    height: 100%;
    width: 100%;
}  

body {
    background-color: hsl(47, 88%, 63%);
    font-family: 'Figtree', sans-serif;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100%;
}

main {
    display: flex;
    flex-direction: column;
    background-color: white;
    border-radius: 15px;
    border: 1px solid black;
    padding: 20px;
    width: 380px;
    box-shadow: 10px 10px;
}

svg {
    border-radius: 10px;
    width: 100%; 
    height: 100%;
}

button {
    background-color: hsl(47, 88%, 63%);
    border: none;
    border-radius: 5px;
    color: hsl(0, 0%, 7%);
    padding: 5px 0; 
    text-align: center;
    font-size: 14px;
    font-weight: 800; 
    width: 80px;
    margin: 25px 0 15px;
}

.date {
    font-size: 14px;
}

h1 {
    font-size: 24px;
    margin: 15px 0;
}

.description {
    font-size: 16px;
    color: hsl(0, 0%, 42%);
    line-height: 1.5;
}

img {
    width: 2rem;
    height: auto;
}

.avatar {
    display: flex;
    align-items: center;
    margin: 25px 0 0;
}

.name {
    margin-left: 10px;
    font-size: 14px;
    font-weight: 800;
}

h1:active {
    color: hsl(47, 88%, 63%);
    cursor: pointer;
}

@media screen and (max-width: 375px) {
    main {
        width: 320px;
    }
    .name {
        font-size: 12px;
    }
    h1 {
        font-size: 20px;
    }
    .description {
        font-size: 14px;
    }
    .date {
        font-size: 12px;
    }
    button {
        font-size: 12px;
    }
}
