@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@100..900&display=swap');
.centered-image {
    text-align: center;
    margin-top: 0;
}

.centered-image img {
    width: 300px;
    border-radius: 0 50px 0 50px;

}

.column {
    display: flex;
    flex-direction: row;
    justify-content: center;
}

/* import google font family */
@import url('https://fonts.googleapis.com/css2?family=Open+Sans:ital,wght@0,600;1,600&display=swap');

/* selecting everything */
* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
}

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: #888;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #555;
}

:root {
    --border: .1rem solid rgba(0, 0, 0, .2);
    --bg-color: #F5F5F5;
    --button-color: #1B3764;
    --button-text-color: #FFFFFF;
    --second-bg-color: #323946;
    --text-color: #fff;
    --main-color: #0ef;
    --input-field: #E0E0E0;
    --input-field-text: #000000;
    --header-background: #1B3764;
    --card-background: #E0E0E0;
}

body {
    font-family: Outfit;
    font-weight: 400;
    font-size: 14px;
    /* body background image */
    background-color: var(--bg-color);
    /* background-attachment: fixed;
 background-size: cover;
 padding: 0; */

    height: 100vh;
}

.section {
    height: 100vh;
    margin: 0;
    display: flex;
    justify-content: center;
    align-items: center;
}

.header {
    position: -webkit-sticky;
    position: sticky;
    top: 0;
    left: 0;
    width: 100%;
    height: 70px;
    padding: 2rem;
    background: var(--header-background);
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 100;
}

.header img {
    width: 12rem;
    height: auto;
}

.header .sticky {
    border-bottom: 1rem solid rgba(0, 0, 0, .2);
}

.navbar a {
    font-size: 16px;
    color: white;
    margin-left: 15px;
    transition: .3s;
    text-decoration: none;
}

.navbar a:hover,
.navbar a:active {
    color: white;
}

#menu-icon {
    display: none;
    font-size: 24px;
    cursor: pointer;
}

.container {
    display: flex;
    justify-content: center;
    align-items: center;


}

#paymentForm {
    display: grid;
    grid-template-columns: 1fr 1fr;
    justify-content: center;
    align-items: center;
    row-gap: 15px;
    /* margin: 20px 0; */
    width: 70vw;
    background: transparent;
    border-radius: 15px;
}

#paymentForm .main-column {
    display: grid;
    grid-template-columns: 1fr;
    justify-content: center;
    align-items: center;
    row-gap: 15px;
}

#paymentForm input,
button {
    font-family: Outfit;
}

#paymentForm h1 {
    font-size: 35px;
    font-weight: bold;
    text-align: center;
    color: var(--second-bg-color);
}

#paymentForm h3 {
    margin: 5px 0px 15px;
    text-align: center;
}


fieldset {
    border: medium none !important;
    margin: 0 0 10px;
    min-width: 100%;
    width: 80%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

#paymentForm input {
    outline: none;
    width: 70%;
    font-size: 14px;
    background: transparent;
    margin: 0;
    outline: none;
    margin-top: 5px;
    padding: 17px;
    border: none;
    border-bottom: 1px solid var(--button-color);
    transition: box-shadow 0.15s;
    transition: 0.2s ease;
}

#paymentForm input:focus {
    border-bottom: 3px solid var(--button-color);
}

.centered-image p:first-of-type {
    margin-top: 30px;
    font-size: 20px;
    font-weight: bold;
    color: var(--button-color);
}

input[type="radio"] {
    width: 10% !important;
}

#paymentForm .row .radio {
    border: 1px solid rgb(150, 150, 150);
    background-color: white;
    margin: 7px 0 10px;
    padding: 5px;
}

#paymentForm .row .idCard {
    display: flex;
    height: 45px !important;
    margin: 5px 0;
}

#paymentForm .row .idCard :first-child {
    width: 80px;
}

#paymentForm .row .idCard :last-child {
    width: 40px;
}

#paymentForm .row #phone {
    max-width: 100% !important;
    padding-right: 80px;
}

#button {
    outline: none;
    border: none;
    padding: 10px;
    font-size: 17px;
    font-weight: bold;
    width: 150px;
    border-radius: 50px;
    cursor: pointer;
    transition: box-shadow 0.15s;
    transition: 0.2s ease;
    display: inline-block;
    background: var(--button-color);
    box-shadow: 0 0 10px var(--button-color);
    color: var(--button-text-color);
    letter-spacing: .1rem;
    font-weight: 600;
    transition: .3s ease;
}

#button:hover {
    box-shadow: none;
}

/* mobile responsive mode */
@media screen and (max-width: 580px) {
    .row {
        flex-direction: column;
    }

    .row .column {
        width: 90% !important;
    }

    #paymentForm .row #phone {
        padding-right: 180px;
    }
}




@media only screen and (max-width:414px) {
    .text {
        visibility: collapse;
    }

    .phonetext {
        visibility: visible;
    }
}

@media (max-width: 768px) {
    .header {
        padding: 1rem;
    }


    .navbar {
        display: none;
        flex-direction: column;
        gap: 10px;
        background-color: var(--header-background);
        position: absolute;
        top: 60px;
        right: 0;
        width: 150px;
        padding: 10px 0;
        justify-content: center;
        align-items: center;
    }



    .navbar a {
        padding: 10px 20px;
        color: white;
        margin-left: 0;
    }

    .header img {
        max-width: 150px;
    }

    .navbar a:hover {
        color: white;
    }

    #menu-icon {
        display: block;
        font-size: 30px;
        color: #fff;
    }

    .navbar.show {
        display: flex;
    }

    .slide-down {
        display: flex;
        animation: slideDown 0.5s forwards;
    }

    .slide-up {
        animation: slideUp 0.5s forwards;
    }

    @keyframes slideDown {
        from {
            max-height: 0;
            opacity: 0;
        }

        to {
            max-height: 200px;
            opacity: 1;
        }
    }

    @keyframes slideUp {
        from {
            max-height: 200px;
            opacity: 1;
        }

        to {
            max-height: 0;
            opacity: 0;
        }
    }

    .container {
        width: 100%;
        height: 100dvh;
        flex-direction: column;
        justify-content: flex-start;
    }

    #paymentForm {
        grid-template-columns: 1fr;
        width: 100%;
        margin-top: 0;
        position: relative;
    }

    #paymentForm input {
        width: 100%;
    }

    .centered-image {
        text-align: left;
        position: fixed;
        top: 70px;
        width: 100%;
        left: 0;
        z-index: 1;
        background-color: var(--bg-color);
    }

    .centered-image img {
        width: 100%;
        max-height: 300px;
        border-radius: 0 0 50px 0;
        box-shadow: 10px 10px 10px rgba(0, 0, 0, 0.1);
        object-fit: cover;
        object-position: top;
    }

    .centered-image p {
        margin-inline: 25px;
    }

    #paymentForm .main-column {
        margin-inline: 25px;
        margin-top: 370px;
    }

    .section {
        padding: 0;
        margin: 0;
        width: 100%;
    }
}