@import url('https://fonts.googleapis.com/css2?family=Barlow+Semi+Condensed:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&family=Big+Shoulders:opsz,wght@10..72,100..900&family=Figtree:ital,wght@0,300..900;1,300..900&family=Fraunces:ital,opsz,wght@0,9..144,100..900;1,9..144,100..900&family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&family=Lexend+Deca:wght@100..900&family=Montserrat:ital,wght@0,100..900;1,100..900&family=Outfit:wght@100..900&family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&family=Red+Hat+Display:ital,wght@0,300..900;1,300..900&family=Young+Serif&display=swap');

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

body {
    background-color: hsl(0, 0%, 95%);
    font-family: 'Big shoulders', sans-serif;
    font-size: 15px;
    min-height: 100vh;
    display: flex;
    align-items: center;
}

.container {
    max-width: 1030px;
    margin: 0 auto;
}

.card {
    min-height: 600px;
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    margin: 5em 1em;
}

.grid-items {
    display: flex;
    flex-direction: column;
    justify-content: space-evenly;
    padding: 0 50px 0 40px;
}

.grid-items img {
    max-width: 60px;
}


h1.title {
    color: hsl(0, 0%, 95%);
    text-transform: uppercase;
    font-size: 37px;
    font-weight: 400;
    padding-bottom: 30px;
}


.text-component p {
    font-family: 'Lexend deca', sans-serif;
    font-weight: 300;
    padding: 0px 0 50px 0;
    line-height: 32px;
    width: 85%;
    font-size: 15px;
}

.orange-box {
    background-color: hsl(31, 77%, 52%);
    color: hsl(0, 0%, 100%);
    border-radius: 7px 0 0 7px;
}
.orange-box p {
    color: hsl(30, 58%, 91%);;
}

.cyan-box {
    background-color: hsl(184, 100%, 22%);
    color: hsl(0, 0%, 100%);
}
.cyan-box p {
    color: hsl(184, 90%, 57%);
}

.darkcyan-box {
    background-color: hsl(179, 100%, 13%);
    color: hsl(0, 0%, 100%);
    border-radius: 0 7px 7px 0;
}
.darkcyan-box p {
    color: hsl(179, 83%, 45%);;
}

/*Button design & Active state*/
button {
    background-color: hsl(0, 0%, 95%);
    padding: 15px;
    border-radius: 35px;
    width: 65%;
    border: none;
    transition: background-color 0.3s, color 0.3s, border 0.3s;
}

.orange-box button {
    color: hsl(31, 77%, 52%);
    font-weight: 700;
}

.cyan-box button {
    color: hsl(184, 100%, 22%);
    font-weight: 700;
}

.darkcyan-box button {
    color: hsl(179, 100%, 13%);
    font-weight: 700;
}



.orange-box button:hover {
    background-color: hsl(31, 77%, 52%);
    color: hsl(0, 0%, 100%);
    border: 1px solid hsl(0, 0%, 100%);
    border-radius: 35px;
}

.cyan-box button:hover {
    background-color: hsl(184, 100%, 22%);
    color: hsl(0, 0%, 100%);
    border: 1px solid hsl(0, 0%, 100%);
    border-radius: 35px;
}

.darkcyan-box button:hover {
    background-color:  hsl(179, 100%, 13%);
    color: hsl(0, 0%, 100%);
    border: 1px solid hsl(0, 0%, 100%);
    border-radius: 35px;
}

.attribution {
    color: hsl(234, 12%, 34%);
    font-size: 12px;
    font-family: 'Lexend deca',sans-serif;
    width: 400px;
    text-align: center;
    margin: 0 auto;
    padding-bottom: 20px;
}

.attribution img {
    width: 14px;
    margin: 0 5px;
}

.attribution a {
    text-decoration: none;
    color: blue;
}

.attribution a:hover {
    color: hsl(212, 7%, 52%);
}


@media only screen and (max-width: 975px) {

    .card {
        grid-template-columns: 1fr 1fr;
    }

    .grid-items {
        padding: 35px;
    }
    .grid-items img {
        padding-bottom: 10px;
    }

    .orange-box {
        border-radius: 7px 0 0 0;
    }

    .cyan-box {
        border-radius: 0 7px 7px 0;
    }

    .darkcyan-box {
        border-radius: 0 0 7px 7px;
    }
}

@media only screen and (max-width: 600px) {

    .card {
        grid-template-columns: 1fr;
    }

    .grid-items {
        padding: 35px;
    }

    .grid-items img {
        padding-bottom: 30px;
    }

    .orange-box {
        border-radius: 7px 7px 0 0;
    }

    .cyan-box {
        border-radius: 0 0 0 0;
    }

    .darkcyan-box {
        border-radius: 0 0 7px 7px;
    }
}
