html, body { 
    color: #000;
    font-family: "Arial",sans-serif;
    margin: 0;
    height: 100%;
    width: 100%;
}

body > div{
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
}

@media screen and (min-width: 751px){
    .header .logo{
        margin-right: 32px;
    }

    .footer > div > nav > ul{
        column-count: 2;
    }

    .footer .box{
        width: 7rem;
        margin: 0;
    }

    .payment-content > div{
        min-width: 500px;
        width: 50%;
    }

    .payment-message img{
        height: 125px;
    }
}

@media screen and (min-width: 526px) and (max-width: 750px){
    .header .logo{  
        display: none;
    }

    .footer > div > nav{
        display: flex;
        flex-direction: column;
    }

    .footer .box{
        margin: 15px 0;
    }

    .payment-content > div{
        width: 75%;
        min-width: 265px;
    }

    .payment-message img{
        height: 75px;
    }
}

@media screen and (max-width: 525px){
        .header .logo{  
        display: none;
    }

    .footer > div > nav{
        display: flex;
        flex-direction: column;
    }

    .footer .box{
        margin: 15px 0;
    }

    .payment-content > div{
        width: 75%;
        min-width: 265px;
    }

    .form div div em{
        display: none;
    }

    .payment-message img{
        height: 50px;
    }
}

.header{
    display: flex;
    justify-content: left;
    align-items: center;
    padding: 32px 0;
    margin: 0 32px;
    border-bottom: 1px solid #dddddd;
}

.header .logo{
    width: 224px;
    margin-right: 80px;
}

.payment-content {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 32px 0px;
    margin: 0px 32px;
    border-bottom: 1px solid #dddddd;
}

.form > div:not(.submit){
    display: flex;
    justify-content: space-between;
    border-bottom: 1px solid #a6e1f4;
    align-items: center;
}

.form > div:first-of-type{
    border-top: 1px solid #a6e1f4;
    margin-top: 30px;
}

.form p{
    text-align: right;
    width: 40%;
}

.small-line{
    border-top: 1px solid #a6e1f4;
    width: 100%;
}

input{
    border: 1px solid #ebebeb;
    height: 25px;
}

.input-text{
    width: 55%;
    min-width: 146px;
}

.submit{
    display: flex;
    justify-content: center;
}

.submit-btn{
    border: none;
    padding: 2px 10px;
    border-bottom: 2px solid #00a9e0;
    background-color: white;
    font-size: 16px;
}

.submit-btn:hover{
    background-color: #cceef9;;
}

.big-line{
    border-top: 3px solid #00a9e0;
    width: 100%;
    padding-bottom: 15px;
}

.footer{
    background-color: #e1e2e5;
    position: relative;
    width: 100%;
    margin-top: 7rem;
    margin-bottom: 0;
}

.footer div{
    max-width: 1600px;
    padding: 2rem 2rem 1rem;
    margin: 0 auto;
    position: relative;
}

.footer div nav{
    display: flex;
    justify-content: space-between;
}

.footer p {
    margin: 0;
    font-size: 15px;
    font-style: italic;
    display: block;
    line-height: 1.5;
}

.footer > div ul {
    list-style: none;
    padding-left: 0;
    margin: 0;
}

.footer div > nav > ul{
    column-gap: 5rem;
    margin-top: 2.5rem;
    line-height: 1.5; 
}

.footer div .box{
    align-items: flex-end;
    background-color: #ccced3;
    padding: 1rem;
}

.footer div ul li a{
    color: #000;
    text-decoration: none;
    font-weight: 300;
    padding: .125rem .3rem;
    border: 0;
    line-height: 1.6;
    font-size: 15px;
}

.footer a:hover, .footer button:hover{
    background-color: #f3f3f4;
    cursor: pointer;
}

.footer > div ul li::before { 
    font-style: normal;
    font-weight: normal;
    font-variant: normal;
    text-transform: none;
    content: '\2013';
    padding-right: .3rem;
}

.footer > div ul li button {
    font-weight: 300;
    padding: .125rem .3rem;
    border: 0;
    background-color: #e1e2e5;
    cursor: pointer;
    font-size: 15px;
}

/* css for failed.html and success.html */

.payment-message{
    text-align: left;
    background-color: #a6e1f4;
    font-size: 19px;
    font-weight: 600;
    padding: 1rem;
    margin-bottom: 4rem;
    display: flex;
    flex-direction: row;
    align-items: center;
}

.payment-message img{
    margin: 25px 50px 25px 25px;
    filter: invert(61%) sepia(89%) saturate(3912%) hue-rotate(161deg) brightness(96%) contrast(101%); /* changes color from black to #00a9e0*/
}

.payment-message a{
    text-decoration: none;
    border-bottom: 2px solid #00a9e0;
    color: #000;
}

.payment-message a:hover{
    background-color: #00a9e0;
}

.payment-content .redirect{
    font-size: 14px;
}