@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@400;700&display=swap');

/* Colors Variable */
:root {
    --grayblue: hsl(220, 15%, 55%);
    --darkblue: hsl(218, 44%, 22%);
    --lightgray: hsl(212, 45%, 89%);
    --oldblue: hsl(228, 45%, 44%);
    --white: hsl(0, 0%, 100%);
}


* {
    padding: 0;
    margin: 0;
    font-family: 'Outfit', sans-serif;
}

.container {
    width: 100%;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    background: var(--lightgray);
}

.card {
    width: 360px;
    height: 580px;
    border-radius: 20px;
    -webkit-border-radius: 20px;
    -moz-border-radius: 20px;
    -ms-border-radius: 20px;
    -o-border-radius: 20px;

    background-color: var(--white);
    padding: 20px;

    box-shadow: 0px 23px 60px 0px rgba(0,0,0,0.11);
    -webkit-box-shadow: 0px 23px 60px 0px rgba(0,0,0,0.11);
    -moz-box-shadow: 0px 23px 60px 0px rgba(0,0,0,0.11);
}

.card img {
    width: 100%;
    border-radius: 10px;
    -webkit-border-radius: 10px;
    -moz-border-radius: 10px;
    -ms-border-radius: 10px;
    -o-border-radius: 10px;
}

.card .title-card {
    margin: 30px 0 0 0;
    padding: 0 30px;
}

.card .title-card h2 {
    display: inline-block;
    color: var(--darkblue);
    text-align: center;
    font-size: 1.65rem;
}

.card .typography {
    margin: 20px 0 0 0;
    padding: 0 30px;
}

.card .typography span {
    font-size: 18px;
    text-align: center;
    color: var(--grayblue);
    display: block !important;
    margin: 0px !important;
    border: 0px !important;
    padding: 0px !important;
}

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

.attribution a {
    color: var(--oldblue);
}


@media only screen and (max-width: 600px) {
    .card {
        width: 280px;
        height: 480px;
    }

    .card .title-card {
        margin: 30px 0 0 0;
        padding: 0 15px;
    }

    .card .title-card h2 {
        font-size: 1.38rem;
    }
    
    .card .typography {
        margin: 20px 0 0 0;
        padding: 0 15px;
    }

    .card .typography span {
        font-size: 16px;
    }
}