@import url('https://fonts.googleapis.com/css2?family=Figtree:ital,wght@0,300..900;1,300..900&family=Outfit:wght@100..900&display=swap');
*{
    font-family: "Figtree", sans-serif;
    padding: 0;
    margin: 0;
    box-sizing: border-box;
    
    transition: all ease 0.3s;
}

body{
    display: flex;
    width: 100%;
    height: 100vh;
    background: hsl(47, 88%, 63%);
    justify-content: center;
    align-items: center;
}

.card{
    display: flex;
    width: 360px;
    height: 480px;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background: hsl(0, 0%, 100%);
    border-radius: 20px;
    border: solid 1px rgb(24, 23, 23);
    box-shadow: 8px 8px 0 0 rgb(24, 23, 23);
}

.top-section{
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 20px 20px 0 20px;
}

.top-section img{
    width: 100%;
    border-radius: 20px ;
}

.mid-section button{
    width: 80px;
    height: 30px;
    border-radius: 5px;
    border: none;
    background: hsl(47, 88%, 63%);
    font-size: 14px;
    font-weight: 600;
}

.mid-section button:hover{
    cursor: pointer;
    background: hsla(0, 0%, 100%, 0.438);
    border: solid 2px hsl(47, 88%, 63%);
}

.mid-section{
    padding: 20px;
}

h1{
    display: inline;
    padding: 10px 0;
    color: hsl(0, 0%, 7%);
    font-family: 'Figtree', sans-serif;
    font-size: 23px;
    font-weight: 600;
}

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

h2 {
    padding: 10px 0;
    font-size: 15px;
    font-weight: 400;
    color: hsl(0, 0%, 42%);
}

h3 {
    padding: 10px 0;
    font-size: 15px;
    font-weight: 400;
    color: hsl(0, 0%, 0%);
}

footer{
    display: flex;
    padding: 20px 20px 40px 20px;
    justify-content:flex-start;
    align-items: center;
    width: 100%;
    height: 50px;
}

footer img{
    width: 30px;
    height: auto;
    margin-right: 10px;
}
footer a{
    font-size: 15px;
    font-weight: 600;
    color: hsl(0, 4%, 5%);
}


@media screen and (max-width: 375px) {

    .card{
        max-width: 300px;
        height: 440px;
    }
    .top-section{
        padding: 0;
    }

    .top-section img{
        width: 90%;
        border-radius: 20px ;
    }

    h1{
        font-size: 18px;
    }

    h2, h3 {
        font-size: 13px;
    }
    
}