*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

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

body {
    background-color: hsl(212, 45%, 89%);
    text-align: center;
    font-family: 'Outfit', monospace;
}

main {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.white {
    background-color: white;
    padding-top: 10px;
    padding-bottom: 5px;
    border-radius: 12px;
    box-shadow: 0 0 20px 0px rgba(0,0,0,0.15);
    transition: 300ms linear;
}

.white:hover {
    box-shadow: 0 0 20px 0px rgba(0,0,0,0.35);
}

img {
    max-width: 12.2rem;
    border-radius: 8px;
    margin-top: 1px;
    box-shadow: 0 0 20px 0px rgba(0,0,0,0);
    transition: 500ms linear;
}

img:hover {
    box-shadow: 0 0 20px 0px rgba(0,0,0,0.25);
    transform: scale(1.01);
}

.heading {
    font-size: 14px;
    font-weight: 700;
    padding: 10px 10px 4px 10px;
    color: hsl(218, 44%, 22%);
}

.text {
    font-size: 10px;
    padding: 2px 15px 16px 15px;
    color: hsl(220, 15%, 55%);
}

.attribution {
    font-size: 10px;
    padding-top: 5px;
}

a {
    transition: 500ms linear;
}

a:visited {
    color: #ED2C49;
}

a:hover {
    color: #3E54A3;
}

@media (max-width: 1440px) {
    .white {
        max-width: 200px;
    }

    img {
        max-width: 182px;
    }
}

@media (max-width: 375px) {
    .white {
        max-width: 310px;
    }

    img {
        max-width: 282px;
    }

    .text {
        font-size: 15px;
        padding: 5px 25px 30px 25px;
        color: hsl(220, 15%, 55%);
    }

    .heading {
        font-size: 22px;
        font-weight: 700;
        padding: 15px 20px 8px 20px;
        color: hsl(218, 44%, 22%);
    }
}