* {
    box-sizing: border-box;
    padding: 0;
    margin: 0;
    font-family: "Montserrat", sans-serif;
}

html {
    font-size: 62.5%;
    height: 100%;
}

body {
    height: 100vh;
    min-width: 280px; /*375*/
    min-height: 960px;
    text-align: center;
    border: 0 solid #d4d4d4;
}

.header {
    background: #7d46ec;
    color: white;
    padding: 2.4rem;
    text-align: center;
    width: 100vw;
    height: 20rem;
}

.header > p {
    text-align: center;
    font-size: 1.2rem;
    font-weight: 400;
}

.header > picture img:nth-child(1) {
    width: 12rem;
    margin-bottom: 1.6rem;
}

main {
    width: 100%;
    height: calc(100% - 30rem);
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 95rem;
    padding: 1rem;
}

.payments__maincontainer {
    text-align: center;
    max-width: 450px;
    margin: 0 auto;
}

.payments__maincontainer > p:nth-child(1) {
    text-align: left;
    font-size: 2.8rem;
    font-weight: 600;
    margin-bottom: 2rem;
    color: #333366;
}

.payments__maincontainer > p:nth-child(2) {
    text-align: left;
    font-size: 1.4rem;
    font-weight: 500;
    margin-bottom: 0.8rem;
    color: #333366;
}

.payments__maincontainer > picture > img {
    width: 100%;
}

.payments__creditCards {
    text-align: left;
    margin-bottom: 1rem;
    margin-left: -0.3rem;
}

.payments__creditCards > picture > img {
    width: 6rem;
}

.payments__iframe {
    /* max-width: -webkit-fill-available; */
    margin-bottom: 4rem;
    overflow: hidden;
    width: 100%;
    border: 0;
}

footer {
    background: #7d46ec;
    color: white;
    text-align: center;
    padding: 1rem;
    width: 100vw;
    height: 10rem;
}

.payments__links--contitionsandrestrictions {
    display: flex;
    justify-content: center;
}

.payments__links--contitionsandrestrictions > a {
    text-decoration: none;
    color: white;
    margin: 0 1rem;
}

footer > picture > img {
    width: 8rem;
    margin: 1rem;
}
