@import url('https://fonts.googleapis.com/css2?family=Lexend+Deca&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Big+Shoulders+Display:wght@700&family=Lexend+Deca&display=swap');

body {
    margin: 0;
    padding: 0;
    height: 100%;
    font-family: 'Lexend Deca', sans-serif;
    /* font-family: 'Big Shoulders Display', cursive; */
}

.container {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    padding-top: 17%;
}

.box {
    display: flex;
    width: 40em;
    height: 21em;
}

.card1 {
    background-color: hsl(31, 77%, 52%);
    border-radius: 0.3em 0 0 0.3em;
}

.card2 {
    background-color: hsl(184, 100%, 22%);
}

.card3 {
    background-color: hsl(179, 100%, 13%);
    border-radius: 0 0.3em 0.3em 0;
}

.icon {
    padding: 2em 2em 0;
}

img {
    width: 2.5em;
    height: auto;
}

.title {
    font-family: 'Big Shoulders Display', cursive;
    color: hsl(0, 0%, 95%);
    font-size: 24px;
    padding-left: 1.3em;
}

.text {
    font-size: 10px;
    color: hsla(0, 0%, 100%, 0.75);
    line-height: 1.6em;
    padding: 0.5em 4em 5em 3em;
}

button {
    font-size: 10px;
    font-weight: 400;
    width: 10em;
    margin-left: 3em;
    padding: 1em;
    border-radius: 2em;
    border-style: none;
    background-color: white;
}

button:hover {
    box-shadow: 0px 5px 10px wheat;
    cursor: pointer;
}

.btn1 {
    color: hsl(31, 77%, 52%);
}

.btn2 {
    color: hsl(184, 100%, 22%);
}

.btn {
    color: hsl(179, 100%, 13%);
}

footer {
    margin-top: 2em;
    color: hsl(224, 23%, 55%);
}

.attribution a {
    color: hsl(179, 100%, 13%);
}

@media only screen and (max-width: 375px){
    .container {
        height: 100%;
    }
    .box {
        flex-direction: column;
        width: 13em;
    }

    .card1 {
        border-radius: 0.3em 0.3em 0 0;
    }

    .card3 {
        border-radius: 0 0 0.3em 0.3em;
    }

    .text {
        padding: 0.5em 2em 2em 3em;
    }

    button {
        margin-bottom: 30px;
    }

    footer {
        margin-top: 35em;
        color: hsl(224, 23%, 55%);
    }
    
    .attribution a {
        color: hsl(179, 100%, 13%);
    }
}