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

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Manrope', sans-serif;
}

:root {
    --Light-Cyan: hsl(193, 38%, 86%);
    --Neon-Green: hsl(150, 100%, 66%);
    --Grayish-Blue: hsl(217, 19%, 38%);
    --Dark-Grayish-Blue: hsl(217, 19%, 24%);
    --Dark-Blue: hsl(218, 23%, 16%);
}

body {
    display: flex;
    width: 100%;
    height: 100vh;
    justify-content: center;
    align-items: center;
    background: var(--Dark-Blue);
}

main {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 0 15px;
}

.card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    width: 500px;
    background: var(--Dark-Grayish-Blue);
    border: none;
    border-radius: 20px;
    padding: 20px;
    margin: 0 15px;
}

.card h2 {
    font-size: 18px;
    font-weight: 400;
    color: var(--Neon-Green);
    letter-spacing: 2px;
}

.card p {
    font-size: 28px;
    font-weight: 800;
    color: var(--Light-Cyan);
    margin: 20px 0;
}

.card .img {
    background-image: url(images/pattern-divider-desktop.svg);
    background-repeat: no-repeat;
    margin-top: 10px;
    margin-bottom: 40px;
    z-index: 10;
    width: 100%;
    height: 20px;
    position: relative;
    left: 8px;
}

main a {
    width: 60px;
    height: 60px;
    background: var(--Neon-Green);
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    bottom: 20px;
}

main a:hover {
    box-shadow: 0 0 50px 2px var(--Neon-Green);
}

@media only screen and (max-width: 375px){
    .card  {
        width: 350px;
    }
    .card .img {
        width: 300px;
        background-image: url(images/pattern-divider-mobile.svg);
        background-repeat: no-repeat;
        left: 0;
    }
    .card p {
        font-size: 25px;
    }
}


.attribution {
    position: fixed;
    font-size: 11px;
    text-align: center;
    bottom: 10px;
}

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