:root {

    /* Primary Colors */
    --gold-color-500: hsl(31, 77%, 52%);
    --cyan-color-800: hsl(184, 100%, 22%);
    --green-color-950: hsl(179, 100%, 13%);

    /* Neutral Colors */
    /* (paragraphs) */
    --transparent-white-color: hsla(0, 0%, 100%, 0.75);
    /* (background, headings, buttons) */
    --gray-color-100: hsl(0, 0%, 95%);
}

@font-face {
    font-family: 'Big Shoulders Display';
    src: url('../fonts/big-shoulders-display/BigShouldersDisplay-Bold.ttf') format('truetype');
    font-weight: 700;
    font-style: normal;
}

* {
    box-sizing: border-box;
    padding: 0;
    margin: 0;
}

html {
    font-family: "Lexend Deca", "Big Shoulders Display", sans-serif;
    background-color: var(--gray-color-100);
    color: var(--transparent-white-color);
    font-size: 15px;
    font-weight: 400;
}

.center-wrapper {
    display: grid;
    place-items: center;
    height: 100vh;
}

@media (max-width: 375px) {
    .center-wrapper {
        margin: 100px auto;
    }
}

.container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    overflow: hidden;
    margin: auto 300px;
    border-radius: 10px;
    -webkit-border-radius: 10px;
    -moz-border-radius: 10px;
    -ms-border-radius: 10px;
    -o-border-radius: 10px;
}

@media (max-width: 375px) {
    .container {
        margin: auto 20px;
        grid-template-columns: 1fr;
    }
}

.container .card {
    padding: 50px;
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.container .card img {
    width: 53px;
}

.container .card h1 {
    color: var(--gray-color-100);
    font-family: "Big Shoulders Display";
    font-weight: 700;
    text-transform: uppercase;
}

.container .card p {
    line-height: 1.6;
    letter-spacing: 0.2px;
    flex-grow: 1;
}

.container .card a {
    text-decoration: none;
    text-align: center;
    width: fit-content;
    background-color: var(--gray-color-100);
    padding: 15px 40px;
    margin-top: 40px;
    border-radius: 60px;
    -webkit-border-radius: 60px;
    -moz-border-radius: 60px;
    -ms-border-radius: 60px;
    -o-border-radius: 60px;
}

.container .card a:hover {
    color: var(--gray-color-100);
    background-color: transparent;
    border: 3px solid var(--gray-color-100);
}

.container .gold {
    background-color: var(--gold-color-500);
}

.container .gold a {
    color: var(--gold-color-500);
}

.container .cyan {
    background-color: var(--cyan-color-800);
}

.container .cyan a {
    color: var(--cyan-color-800);
}

.container .green {
    background-color: var(--green-color-950);
}

.container .green a {
    color: var(--green-color-950);
}

.attribution {
    text-align: center;
    margin: 20px 0;
    color: var(--cyan-color-800);
}

@media (max-width: 375px) {
    .attribution {
        margin-top: 800px
    }
}

.attribution a {
    color: var(--green-color-950);
    font-style: italic;
    font-weight: 700;
    text-decoration: none;
}