* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    width: 100vw;
    height: 100vh;
    background-color: #D9D9D9;
}

section {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    align-items: center;
    width: 100%;
    height: 50vh;
    margin-bottom: 10px;
}

.section1 {
    width: 30%;
    border-radius: 15px;
    background-color: #fff;
    display: flex;
    flex-direction: column;
    margin-top: 5%;
    margin-bottom: 20px;
}

.section1 h1 {
    font-size: 20px;
    color: #868693;
    text-align: center;
    margin-top: 10%;
    margin-bottom: 15%;

}

.section1 button {
    /* qalınlıq vacibdir */
    border-radius: 15px;
    display: inline-block;
    width: 70%;
    margin-top: 5%;
    margin: 20px auto;
    margin-bottom: 40px;
    padding: 40px 40px;
    border: 1px solid transparent;
    /* mütləq lazımdır */
    background:
        linear-gradient(#fff, #fff) padding-box,
        /* iç hissə */
        linear-gradient(to right, #0088FF, #D766DD) border-box;
    /* border */

}

.section1 button a {
    text-decoration: none;
    font-size: 20px;
    color: #868693;
    text-align: center;
    margin-top: 10%;
    margin-bottom: 4%;


}

.section2 {
    width: 30%;
    height: 65vh;
    display: flex;
    flex-direction: column;
    background-color: #fff;
    border-radius: 15px;
    padding-top: 70px;
    margin-top: 40px;

}

.card-wrapper {
    border-radius: 10px;
    width: 300px;

    justify-content: center;
    margin: 20px auto;
    margin-left: 10%;
    /* yuvarlaq künc */
    padding: 2px;
    /* border qalınlığı */
    background: linear-gradient(to right, #0088FF, #D766DD);
    display: inline-block;
}

.card-number {
    display: block;
    text-align: center;
    border: none;
    outline: none;
    padding: 20px;
    border-radius: 8px;
    /* wrapper-in iç radiusu */
    width: 100%;
    font-size: 26px;
}


.inputs-row {
    display: flex;
    justify-content: space-around;
    margin: 20px auto;
}

.month label,
.cvv label {
    font-size: 20px;
    color: #D9D9D9;
    display: block;
    text-align: center;
    margin-bottom: 2px;
}

.inputs-row input {
    width: 100%;
    padding: 10px 15px;
    border: 1px solid #73AFF3;
    border-radius: 10px;
    outline: none;

}


.month,
.cvv {
    display: flex;
    flex-direction: column;
    width: 40%;

}

.pay-btn {
    display: block;
    text-align: center;
    background: linear-gradient(to right, #5C17FC, #0088FF);
    border: none;
    border-radius: 35px;
    color: #fff;
    width: 60%;
    padding: 20px;
    cursor: pointer;
    font-size: 1rem;
    margin: 60px auto;
}
.pay-btn a{
     color: #fff;
     text-decoration: none;
     font-size: 20px;
     font-weight: 700;
}

.section3 {
    width: clamp(200px, 70%, 300px);
    height: 67vh;
    border-radius: 15px;
    background-color: #fff;
    display: flex;
    flex-direction: column;
    margin-top: 5%;
    margin-bottom: 20px;
    box-shadow: 10px 20px 120px 20px #3285e4;

}

.basic h1 {
    color: #fff;
    font-size: 26px;
    font-weight: 700;
    padding: 10px;
    width: 80px;
    border-radius: 10px;
    background: linear-gradient(to right, #73AFF3, #0088FF);
    margin-left: 30px;
    margin-top: 10%;
}

.section3 p {
    color: #868693;
    font-size: 20px;
    padding: 5px 10px;
    background-color: #DCDCDC;
    border-radius: 10px;
    margin: 30px auto;
    justify-content: center;
    width: 230px;
    
}

.section3 h2 {
    font-size: 26px;
    font-weight: 700;
    text-align: center;
}

.section3 span {
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 26px;
    color: #868693;
    text-align: center;
}

.section3 ul {
    margin-left: 25px;
    color: #868693;
    margin-top: 10px;
    margin-bottom: 20px;
}

.section3 ul li::marker {
    color: #009951;
    font-size: 16px;
}

.section3 p {
    color: #868693;
    font-size: 20px;
    padding: 5px 10px;
    background-color: #DCDCDC;
    border-radius: 10px;
    margin-top: 10px;
    margin-bottom: 10%;
    justify-content: center;
    text-align: center;
    width: 230px;
}


.section3 h3 {
    font-size: 16px;
    text-align: center;
    margin: 30px 20px;
    margin: 20px 40px;
}

.section3 button {
    border: none;
    border-radius: 25px;
    background-image: linear-gradient(to right, #0088FF, #D766DD);
    font-size: 20px;
    padding: 10px 70px;
    margin-left: 40px;
    margin-top: 20px;

}

.section3 button a {
    text-decoration: none;
    color: #fff;
    font-weight: 700;
    /* text-shadow: 0 0 2px #fff; */
}

.back  button{
    width: 100px;
    display: block;
    box-shadow: 0 0 15px 4px #5C17FC;
    background-color: #73AFF3;
    margin-left: 10%;
    margin-top: 22%;
    margin-bottom: 30px;
    height: 40px;
    border-radius: 35px;
    cursor: pointer;
    border: none;
    outline: none;
  
    

    
}
.back button a{
   font-size: 20px;
   text-decoration: none;
   color: #fff;

}


@media (max-width: 1024px) {
    section {
        flex-direction: column;
        align-items: center;
    }

    .section1,
    .section2,
    .section3 {
        width: 80%;
        /* genişliyi ekran ölçüsünə uyğunlaşdırır */
        margin-top: 20px;
        margin-bottom: 20px;
    }

    .card-wrapper {
        width: 90%;
        /* card input daha elastik olsun */
    }

    .inputs-row {
        flex-direction: column;
        /* yan-yana input-lar alt-alta */
        width: 90%;
        margin: 10px auto;
    }

    .month,
    .cvv {
        width: 100%;
        /* input bloklarını tam genişlikdə göstərir */
        margin-bottom: 10px;
    }

    .section1 button,
    .section3 button,
    .pay-btn {
        width: 90%;
        /* button-lar ekran ölçüsünə uyğun */
        padding: 12px 0;
        font-size: 1rem;
    }

    .section3 p,
    .section3 span,
    .section3 ul {
        width: 90%;
        margin: 10px auto;
        text-align: center;
    }
}

@media (max-width: 600px) {

    .section1 h1,
    .section3 h2,
    .section3 span,
    .inputs-row h1 {
        font-size: 1rem;
        /* başlıqları kiçildir */
    }

    .card-number {
        font-size: 1.5rem;
        /* input text daha kiçik */
        padding: 8px;
    }

    .inputs-row input {
        font-size: 0.9rem;
        padding: 8px 10px;
    }

    .pay-btn {
        font-size: 0.9rem;
        padding: 10px 0;
    }

    .section1 button,
    .section3 button {
        font-size: 0.9rem;
        padding: 10px 0;
    }
}