* {
    box-sizing: border-box;
}

body {
    text-align: center;
    margin: auto;
    max-width: 100vw;
    position: relative;
}

section.main {
    background-color: hsl(212, 45%, 89%);
    margin: 10vh;
    padding: 10vw;

}

div.card {
    margin: auto;
    border-radius: 1vw;
    background-color: hsl(0, 0%, 100%);
    width: 300px;
    height: 450px;
    padding: 12px;
    box-shadow: 10px 10px 35px hsl(212, 28%, 79%);
}


div {
    font-family: 'Outfit', sans-serif;
    font-size: 15px;
}

h2 {
    color: hsl(218, 44%, 22%);
    font-size: 20px;
    margin-bottom: 3px;
    padding: 0 10px;
}

p {
    margin-top: 3px;
    padding: 12px;
    color:grey;
}

img {
    width: 99%;
    height: 60%;
    border-radius: 10px;
}

.attribution {
    font-size: 11px;
    position: absolute;
    bottom: 0;
    width: 100vw;
}

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

@media screen and (min-device-width: 300px) and (max-device-width: 600px) {
    body {
        text-align: center;
        margin: auto;
    }

    section.main {
        margin: 0;
        padding: 25vh 0 10vh 0;
        height: 100vh;
    }
} 