@font-face {
    font-family: "BigNoodle";
    src: url("./BigNoodle.ttf") format("truetype");
    font-style: normal;
    font-weight: 100;
}

* {
    margin: 0;
    padding: 0;
    font-family: Arial, Helvetica, sans-serif;
}

html,
body {
    height: 100vh;
    width: 100vw;
    background-color: #1e1e1e;
    color: #ffffff;
    background-image: url(stripes.png);
    background-repeat: repeat;
    background-size: 200px;
}

header {
    display: flex;
    flex-direction: column;
    padding: 16px;
    color: whitesmoke;
    text-align: center;
}

header img {
    padding-top: 40px;
    width: 90px;
    height: 90px;
    margin: auto;
}

header h1 {
    font-family: 'BigNoodle';
    letter-spacing: 1px;
    font-size: 55px;
    color: #c1a972;
}

#loading-content {
    text-transform: uppercase;
    font-size: 16px;
    padding: 16px 0;
    text-align: center;
    color: whitesmoke;
    display: flex;
    justify-content: center;
    align-items: center;
}

#error-content, #pay-failure-container {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 16px;
    margin: 0 auto;
    text-align: center;
    color: #58151c;
    background-color: #f8d7da;
    max-width: 80%;
    margin-top: 20px;
}

#error-content h1, #pay-failure-container h1, #pay-success-container h1 {
    font-family: 'BigNoodle';
    font-size: 40px;
    margin-bottom: 8px;
    letter-spacing: 1px;
}

#pay-failure-container button:active {
    opacity: 0.7;
}

#pay-success-container {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 16px;
    margin: 0 auto;
    text-align: center;
    color: #0a3622;
    background-color: #d1e7dd;
    ;
    max-width: 80%;
    margin-top: 20px;
}

#payfast-frame {
    width: 100vw;
    height: calc(100vh - 90px);
}

#pay-failure-container button {
    margin-top: 32px;
    padding: 12px 32px;
    border: none;
    background-color: #1e1e1e;
    color: whitesmoke;
    text-transform: uppercase;
    font-size: 18px;
    font-weight: bold;
    letter-spacing: 1px;
    cursor: pointer;
    transition: all 0.1s ease;
}

@media (max-width: 768px) {
    #error-content {
        width: 100%;
    }

    #payfast_div_container {
        position: static !important;
        overflow: auto !important;
    }
}