@import url('https://fonts.googleapis.com/css2?family=Kanit:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');

body {
    background-color: #000;
    color: #fff;
    text-align: center;
    font-family: 'Kanit', sans-serif;
    min-width: 360px;
}

p {
    font-size: 1.25em;
}

h2 {
    color: #d4b962;
    font-weight: 400;
}

button {
    background-color: #333;
    color: #fff;
    font-size: 12px;
    border: 0;
}

.header {
    background-color: #000;
    padding: 20px 0;
}

.container {
    background: #12141d;
    padding: 60px;
    border-radius: 30px;
    margin: 30px auto;
}

.main-section {
    height: auto;
    padding-top: 75px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    background: center/cover no-repeat;
}

.main-section a {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    display: block;
    z-index: 10;
}

.main-promo {
    position: relative;
    z-index: 5;
    height: 60%;
}

#main-logo {
    width: 320px;
    height: 60px;
    background: url('HeritageSportsLogo.svg') center no-repeat;
    margin: 0 auto;
}

.partner-logo {
    position: absolute;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: block;
    z-index: 5;
    height: 60px;
}

.promo-code {
    font-size: 32px;
    font-weight: 400;
    margin-bottom: 0;
    color: #d4b962;
    text-transform: uppercase;
}

#promoCode {
    color: #ffffff;
}

.copy-btn {
    cursor: pointer;
    margin-left: 10px;
}

.join-now {
    background: #d4b962;
    color: black;
    font-weight: bold;
    padding: 20px 60px;
    border: none;
    font-size: 2em;
    cursor: pointer;
    border-radius: 100px;
    text-decoration: none;
    text-transform: uppercase;
    display: inline-block;
	margin: 20px;
}

.terms {
    margin-top: 50px;
    font-size: 14px;
    cursor: pointer;
    text-decoration: underline;
    color: #999;
}

.terms-text {
    display: none;
    font-size: 12px;
    margin-top: 10px;
    color: #cecece;
    white-space: pre-line;
}


@media (max-width: 640px) {

    .container {
        padding: 40px 20px;
        border-radius: 0;
        margin: 0;
        max-width: 100%;
    }
    .container p {
        font-size: 1em;
    }

    .partner-logo {
        height: 40px;
    }

    .promo-code {
        font-size: 24px;
    }

    .join-now {
        padding: 15px 50px;
    }

    .terms-text {
        padding: 0 20px;
    }

}