@import url('https://use.typekit.net/dms5kuc.css');

/* Your styles here */
* {
    box-sizing: border-box;
}

:root {
    --red: #e30512;
    --purple: #3b0073;
    --yellow: #ffdd00;
    --white: #ffffff;
    --gibson: 'canada-type-gibson', sans-serif;
}

body {
    background: var(--purple);
    color: var(--white);
    font-family: var(--gibson);
}
input[type='text'],
select,
textarea,
button {
    font-family: var(--gibson);
}

.container {
    max-width: 650px;
}

.fullHeight {
    padding-bottom: 7.5vw;
}

.screenHeightPurpleNav {
    min-height: 14vw;
    height: 100%;
    background-color: var(--purple);
}

.screenHeightPurple {
    min-height: 100%;
    background-color: var(--purple);
}

.screenHeightRed {
    overflow-x: clip;
    min-height: 100%;
    background-color: var(--red);
    padding-bottom: 1px;
}

/* text */
.textWhite {
    color: var(--white);
}

.textYellow {
    color: var(--yellow);
}

.textPurple {
    color: var(--purple);
}

/* top red nav */

.topRedSwirl {
    padding-bottom: 14%;
    position: absolute;
    right: 0px;
    width: 75%;
    display: block;
    background: url(../img/topRed.svg) no-repeat top right;
    background-size: contain;
}

.cremeEggLogo {
    padding-bottom: 11.5%;
    position: relative;
    width: 100%;
    top: 8px;
    max-width: 140px;
    margin: 0 auto;
    max-height: 110px;
    display: block;
    background: url(../img/cadburyCremeEggLogo.png) no-repeat center;
    background-size: contain;
}

.eggOne {
    padding-bottom: 2%;
    background: url(../img/eggOne.svg) no-repeat center;
    width: 100%;
    margin: 0 auto;
    max-width: 65px;
    min-width: 45px;
    min-height: 55px;
    background-size: contain;
}

/* bottom Section one swirl */

.bottomPurpleSectionOne {
    padding-bottom: 10.8%;
    position: relative;
    top: -1.2vw;
    width: 105%;
    bottom: 0px;
    display: block;
    background: url(../img/bottomPurpleSectionOne.svg) no-repeat bottom;
    background-size: cover;
}

.cremeEggSectionOne {
    padding-bottom: 4%;
    position: relative;
    width: 100%;
    max-width: 410px;
    min-height: 150px;
    margin: 0 auto;
    display: block;
    background: url(../img/cremeEggSectionOne.png) no-repeat center;
    background-size: contain;
}

.barcodeImg {
    background: url(../img/barcode.png) center no-repeat;
    /* padding-bottom: 65%; */
    max-width: 250px;
    min-height: 250px;
    border: solid 8px var(--yellow);
    margin: 0 auto;
    border-radius: 50%;
    width: 100%;
    background-size: cover;
}

/* section two */
.eggTwo {
    padding-bottom: 2%;
    background: url(../img/eggTwo.svg) no-repeat center;
    width: 100%;
    margin: 0 auto;
    max-width: 65px;
    min-width: 45px;
    min-height: 55px;
    background-size: contain;
}

/* section three */

.purpleSectionThree {
    padding-bottom: 13.1%;
    position: relative;
    right: 0px;
    top: 0.2vw;
    width: 105%;
    display: block;
    background: url(../img/purpleTopSectionThree.svg) no-repeat top right;
    background-size: cover;
}

.conditional-message {
    padding-block: 64px;
    text-align: center;
}

.text-center {
    text-align: center;
}

.eggThree {
    padding-bottom: 2%;
    background: url(../img/eggThree.svg) no-repeat center;
    width: 100%;
    margin: 0 auto;
    max-width: 65px;
    min-width: 45px;
    min-height: 55px;
    background-size: contain;
}

/* form */
.formContainer input[type='text'] {
    border: solid 3px var(--purple);
    border-radius: 8px;
    background: unset;
    color: black;
    padding-top: 13px;
}

.formContainer .floatingLabel input[type='text'],
.formContainer .floatingLabel textarea,
.formContainer .floatingLabel select {
    padding-top: 10px;
    padding-bottom: 10px;
}

.formContainer select {
    border: solid 3px var(--purple);
    border-radius: 8px;
}

.formContainer {
    position: relative;
    margin: 0 auto;
}

.formContainer .field {
    margin: 20px auto;
    margin-bottom: 35px;
    padding: 0 20px;
}

.formContainer .floatingLabel label {
    position: relative;
    top: 0;
    left: 0;
    color: var(--white);
    pointer-events: none;
    width: 100%;
    padding: 10px 10px 0 10px;
    padding-left: 0;
    box-sizing: border-box;
    z-index: 1;
    transition: all 0.2s ease;
}

.formContainer .checkboxContainer {
    padding: 0px 0 0 35px;
}

.formContainer .formContainer label {
    position: relative;
    display: block;
    margin-bottom: 5px;
    padding-right: 25px;
}

.formContainer .floatingLabel.active > label {
    font-size: 1em;
    opacity: 1;
}

.formContainer .checkboxContainer label {
    color: var(--purple);
    text-align: left;
    padding-top: 5px;
}

.buttonContainer a,
.buttonContainer button {
    display: block;
    margin: 0 auto;
    background: var(--red);
    color: #fff;
    border-radius: 16px;
}

.formContainer .screenHeightRed .buttonContainer a,
.screenHeightRed .buttonContainer button {
    background: var(--purple);
}

.formContainer .error {
    margin-top: 5px;
}

.formContainer .selectContainer i.arrow {
    color: var(--purple);
    padding: 0;
    display: flex;
    justify-content: center;
    align-items: center;
}

::placeholder {
    color: var(--white);
}

.formContainer select {
    color: black;
    background: transparent;
}
.formContainer select option {
    color: black;
}

.formContainer .checkboxContainer.checked > a i {
    color: black;
}

.formContainer .focused {
    /* color: #000; */
}

.formContainer .checkboxContainer > a {
    border: solid 2px var(--purple);
    border-radius: 4px;
    background: transparent;
}

/* footer */
footer {
    overflow-x: clip;
}

.footerPurple {
    background: var(--purple);
}

.footerRed {
    background: var(--red);
}

.containerLarge {
    position: relative;
    width: 100%;
    max-width: 1500px;
    padding: 20px 40px;
    margin: 0 auto;
    box-sizing: border-box;
}

.footerWhiteTop {
    padding-bottom: 6%;
    position: relative;
    right: 0px;
    top: 1px;

    /* margin: 0 auto; */
    width: 105%;
    display: block;
    background: url(../img/whiteTopFooter.svg) no-repeat top right;
    background-size: cover;
}

.screenHeightWhite {
    height: 100%;
    background: var(--white);
    color: var(--purple);
}

.mondelezLogo {
    padding-bottom: 12%;
    background: url(../img/mondelezLogo.svg) no-repeat center;
    width: 100%;
    max-width: 400px;
    background-size: contain;
}

.footerLargeFlex {
    display: flex;
    justify-content: space-between;
}

.footerLargeFlexReverse {
    display: flex;
    justify-content: space-between;
}

.flex {
    display: flex;
    margin: 20px 20px;
    justify-content: center;
}

.facebook {
    background: url(../img/facebook.svg) no-repeat center;
    width: 32px;
    height: 32px;
    margin: 0 auto;
    background-size: contain;
    margin: auto 10px;
    display: none;
}

.instagram {
    background: url(../img/instagram.svg) no-repeat center;
    width: 32px;
    height: 32px;
    margin: 0 auto;
    background-size: contain;
    margin: auto 10px;
    display: none;
}

.twitter {
    background: url(../img/twitter.svg) no-repeat center;
    width: 32px;
    height: 32px;
    margin: 0 auto;
    background-size: contain;
    margin: auto 10px;
    display: none;
}

.tictok {
    background: url(../img/ticktok.svg) no-repeat center;
    width: 32px;
    height: 32px;
    margin: 0 auto;
    background-size: contain;
    margin: auto 10px;
    display: none;
}

.purpleBreakLine {
    width: 100%;
    background: var(--purple);
    height: 3px;
}

.ul {
    margin: 0;
}

footer ul {
    margin: 0;
}

/* mobile  */
@media screen and (max-width: 450px) {
    /* footer */

    .footerLargeFlex {
        flex-direction: column;
    }

    .flex {
        justify-content: space-between;
    }

    .mondelezLogo {
        padding-bottom: 20%;
    }

    .purpleBreakLine {
        margin: 20px auto;
    }
}

@media screen and (max-width: 975px) {
    /* footer */
    .footerLargeFlexReverse {
        flex-direction: column-reverse;
    }
}

/* success */

.openCremeEgg {
    background: url(../img/openOpenCremeEgg.png) no-repeat center;
    width: 100%;
    max-width: 197px;
    max-height: 214px;
    min-height: 210px;
    margin: 0 auto;
    background-size: contain;
}

/* 4k */

@media screen and (min-width: 3000px) {
    .cremeEggLogo {
        padding-bottom: 11.5%;
        position: relative;
        width: 100%;
        top: 0;
        max-width: 400px;
        margin: 0 auto;
        max-height: 110px;
        display: block;
        background: url(../img/cadburyCremeEggLogo.png) no-repeat center;
        background-size: contain;
    }
}

.form-background-container {
    max-width: 700px;
    margin: 50px auto;
    background-color: white;
    border-radius: 20px;
    padding: 20px 0;
    position: relative;
    z-index: 1;
}
.form-background-container > * {
    max-width: 70%;
    margin: 0 auto;
}

.inputContainer input::placeholder {
    color: gray;
}
.formContainer .inputContainer > label {
    color: var(--purple);
    font-size: 1.2em;
    text-transform: uppercase;
    font-weight: 700;
}
@media screen and (max-width: 750px) {
    .form-background-container {
        margin: 50px 20px;
    }
}
@media screen and (max-width: 600px) {
    .form-background-container > * {
        max-width: 100%;
    }
}
[data-method='modulus'].error.active {
    color: #ff6c00;
}
.hidden {
    display: none;
}
