@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&display=swap');

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

body {
    font-size: 18px;
}

.container {
    margin: 180px 0;
    display: flex;
    flex-direction: row;
    justify-content: center;
}

.cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
}

.card1 {
    background-color: #e28525;
    width: 400px;
    height: 580px;
    border-top-left-radius: 10px;
    border-bottom-left-radius: 10px;
}

.card1 img {
    width: 80px;
    margin: 50px;
}

.card1 h1 {
    margin: 0 50px;
    font-family: 'Lexend Deca', sans-serif;
    color: #fff;
    font-size: 34px;
}

.card1 p {
    font-family: 'Big Shoulders Display', cursive;
    margin: 50px;
    color: #fff;
    font-size: 20px;
    line-height: 34px;
    margin-bottom: 80px;
}

.card1 button {
    margin: 50px;
    border-radius: 28px;
    border: none;
    outline: none;
    width: 180px;
    height: 50px;
    font-size: 16px;
    font-weight: 600;
    color: #e28525;
    cursor: pointer;
}

.card2 {
    background-color: #016972;
    width: 400px;
    height: 580px;
}

.card2 img {
    width: 80px;
    margin: 50px;
}

.card2 h1 {
    margin: 0 50px;
    font-family: 'Lexend Deca', sans-serif;
    color: #fff;
    font-size: 34px;
}

.card2 p {
    font-family: 'Big Shoulders Display', cursive;
    margin: 50px;
    color: #fff;
    font-size: 20px;
    line-height: 34px;
    margin-bottom: 80px;
}

.card2 button {
    margin: 50px;
    border-radius: 28px;
    border: none;
    outline: none;
    width: 180px;
    height: 50px;
    font-size: 16px;
    font-weight: 600;
    color: #016972;
    cursor: pointer;
}

.card3 {
    background-color: #00403f;
    width: 400px;
    height: 580px;
    border-top-right-radius: 10px;
    border-bottom-right-radius: 10px;
}

.card3 img {
    width: 80px;
    margin: 50px;
}

.card3 h1 {
    margin: 0 50px;
    font-family: 'Lexend Deca', sans-serif;
    color: #fff;
    font-size: 34px;
}

.card3 p {
    font-family: 'Big Shoulders Display', cursive;
    margin: 50px;
    color: #fff;
    font-size: 20px;
    line-height: 34px;
    margin-bottom: 80px;
}

.card3 button {
    margin: 50px;
    border-radius: 28px;
    border: none;
    outline: none;
    width: 180px;
    height: 50px;
    font-size: 16px;
    font-weight: 600;
    color: #016972;
    cursor: pointer;
}

@media (max-width: 1600px) and (min-width: 1070px){
    .container {
        margin: 80px 0;
    }

    .card1,
    .card2,
    .card3 {
        width: 360px;
        height: 500px;
    }

    .card1 img,
    .card2 img,
    .card3 img {
        width: 60px;
        margin: 40px;
    }

    .card1 h1,
    .card2 h1,
    .card3 h1 {
        margin: 0 40px;
        font-size: 30px;
    }

    .card1 p,
    .card2 p,
    .card3 p {
        margin: 40px;
        font-size: 18px;
        margin-bottom: 60px;
    }

    .card1 button,
    .card2 button,
    .card3 button {
        margin: 40px;
        width: 160px;
    }
}

@media (max-width: 1070px) and (min-width: 800px) {
    .container {
        margin: 40px 0;
    }

    .card1,
    .card2,
    .card3 {
        width: 265px;
        height: 420px;
    }

    .card1 img,
    .card2 img,
    .card3 img {
        width: 55px;
        margin: 30px 0 25px 30px;
    }

    .card1 h1,
    .card2 h1,
    .card3 h1 {
        margin: 0 0 25px 30px;
        font-size: 28px;
    }

    .card1 p,
    .card2 p,
    .card3 p {
        margin: 30px;
        font-size: 16px;
        margin-bottom: 50px;
        line-height: 25px;
    }

    .card1 button,
    .card2 button,
    .card3 button {
        margin: 30px;
        width: 120px;
        height: 40px;
        font-size: 14px;
    }
} 

@media (min-width: 501px) and (max-width: 800px) {
    .container {
        margin: 50px 0;
    }

    .card1,
    .card2,
    .card3 {
        width: 170px;
        height: 340px;
    }

    .card1 img,
    .card2 img,
    .card3 img {
        width: 45px;
        margin: 25px 0 25px 25px;
    }

    .card1 h1,
    .card2 h1,
    .card3 h1 {
        margin: 0 0 0 25px;
        font-size: 22px;
    }

    .card1 p,
    .card2 p,
    .card3 p {
        margin: 25px 5px 15px 25px;
        font-size: 15px;
        line-height: 16px;
    }

    .card1 button,
    .card2 button,
    .card3 button {
        margin: 40px 0 25px 25px;
        width: 100px;
        height: 35px;
        font-size: 16px;
    }
}

@media (min-width: 361px) and (max-width: 500px) {
    .container {
        margin: 10px !important;
        display: flex;
        flex-direction: column;
        flex-wrap: wrap;
    }

    .cards {
        display: flex !important;
        flex-direction: column;
        align-items: center;
    }

    .card1 {
        width: 350px !important;
        height: 360px !important;
        border-bottom-left-radius: 0px !important;
        border-top-right-radius: 10px !important;
    }

    .card2 {
        width: 350px !important;
        height: 360px !important;
    }

    .card3 {
        width: 350px !important;
        height: 360px !important;
        border-top-right-radius: 0px !important;
        border-bottom-left-radius: 10px !important;
    }

    .card1 img,
    .card2 img,
    .card3 img {
        margin: 30px 0 10px 30px !important;
        width: 70px !important;
    }

    .card1 h1,
    .card2 h1,
    .card3 h1 {
        margin: 20px 30px !important;
        font-size: 30px !important;
    }

    .card1 p,
    .card2 p,
    .card3 p {
        font-family: Arial, Helvetica, sans-serif;
        margin: 30px !important;
        font-size: 18px !important;
        line-height: 18px !important;
        margin-bottom: 40px !important;
    }

    .card1 button,
    .card2 button,
    .card3 button {
        margin: 0px 20px !important;
        border-radius: 28px;
        width: 140px !important;
        height: 40px !important;
        font-size: 16px !important;
        font-weight: 900 !important;
    }

}

@media (min-width: 280px) and (max-width: 360px) {
    .container {
        margin: 10px !important;
        display: flex;
        flex-direction: column !important;
        flex-wrap: wrap;
    }

    .cards {
        display: flex !important;
        flex-direction: column;
        align-items: center;
    }

    .card1 {
        width: 240px !important;
        height: 280px !important;
        border-bottom-left-radius: 0px !important;
        border-top-right-radius: 10px !important;
    }

    .card2 {
        width: 240px !important;
        height: 280px !important;
    }

    .card3 {
        width: 240px !important;
        height: 280px !important;
        border-top-right-radius: 0px !important;
        border-bottom-left-radius: 10px !important;
    }

    .card1 img,
    .card2 img,
    .card3 img {
        margin: 20px 0 10px 20px !important;
        width: 46px !important;
    }

    .card1 h1,
    .card2 h1,
    .card3 h1 {
        margin: 10px 20px !important;
        font-size: 20px !important;
    }

    .card1 p,
    .card2 p,
    .card3 p {
        font-family: Arial, Helvetica, sans-serif;
        margin: 20px !important;
        font-size: 14px !important;
        line-height: 16px !important;
        margin-bottom: 20px !important;
    }

    .card1 button,
    .card2 button,
    .card3 button {
        margin: 5px 20px !important;
        border-radius: 28px;
        width: 90px !important;
        height: 30px !important;
        font-size: 12px !important;
        font-weight: 800 !important;
    }

}