.credits_card {
    background-color: #f9f9f9;
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 16px;
    margin: 16px 0;
    max-width: 200px;
    max-height: 200px;
    min-width: 200px;
    min-height: 200px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.credits_card img {
    width: calc(100% - 30px);
    resize: both;
}

.credits_card p {
    margin-top: 8px;
    font-size: 14px;
    color: #555;
    text-decoration: none;
    cursor: pointer;
}

main a {
    display: inline-flex;
}

h1{
    justify-self: center;
    margin-bottom: 20px;
    font-family: 'open sans', sans-serif;
    font-weight: normal;
    font-style: italic;
    display: flex;
}

h1:hover{
    text-decoration: underline;
    cursor: default;
}