html {
    font-size: 14px;
}

body {
    background-image: url("../images/background.png");
    background-repeat: no-repeat;
    background-size: cover;
    background-position: top center;
    background-blend-mode: multiply;
}

.wrapper {
    width: 100%;
    max-width: 900px;
    margin: 0 auto;
    padding: 0 .5rem;
}   

header,
section,
footer {
    padding: 0 1rem;
}

.header {
    position: relative;
    padding-top: 1rem;
    padding-bottom: 1rem;
    z-index: 10;
    background: var(--yellow);
    position: sticky;
    top: 0;
}

.nav {
    margin: 0 auto;
    padding: 1rem 0;
    display: flex;
    justify-content: space-around;
}

.nav a {
    text-transform: uppercase;
    text-decoration: none;
    font-size: 1rem;
    font-weight: bold;
    color: var(--blue);
    margin-right: 0.5rem;
    margin-left: 0.5rem;
}

/* Intro */
.s-intro {
    padding: 2rem 0;
    overflow: hidden;
    text-align: center;
}

.s-intro img {
    margin: 20px 0;
}

.how-comments {
    margin: 20px 0;
    font-weight: 300;
    font-size: 1.1em;
    line-height: 1.14;
}

.how-comments a {
    color: inherit;
}

/*.gameend {
    margin: 4rem auto;
    padding: 2rem 3%;
    max-width: 61.5rem;
    border-radius: 10px;
    background-color: rgba(74, 92, 194, 0.5);
    text-align: center;
    font-size: 1.7rem;
    font-weight: 800;
    font-style: italic;
    line-height: 1.3;
    text-transform: uppercase;
}*/

/* Registration */
.s-registration {
    padding: 3rem 0;
}

.register {
    margin: 0 auto;
    padding: 1.75rem 1.5rem;
    width: 100%;
    max-width: 55rem;
    border-radius: 10px;
    background-color: var(--yellow3);
    text-align: center;
}

.register-heading {
    margin-bottom: 0.4em;
    font-size: 1.8rem;
    font-weight: 800;
    line-height: 1.1;
    color: var(--blue);
}

/* Form */
.register-note {
    margin-bottom: 1.25rem;
    display: flex;
    justify-content: center;
}

.register-error {
    margin: 0 0 1rem;
    padding: 1rem;
    border-radius: 10px;
    background-color: rgba(225, 114, 114, 0.5);
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 0.015rem;
    font-size: 0.9rem;
}

.register-form .form-group {
    position: relative;
    margin-bottom: 1.25rem;
    text-transform: uppercase;
}

.register-form .form-group label.positioned {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    left: 1rem;
    font-weight: 600;
    font-size: 1.25rem;
    color: var(--blue);
    transition: all .35s ease;
}

.register-form .form-group.input-focus label.positioned {
    font-size: 0.8rem;
    transform: translateY(-120%);
}

.register-form .form-group input {
    width: 100%;
    padding: 1.25rem 1rem .5rem;
    border-radius: 10px;
    border: 1px solid var(--white);
    color: var(--darkblue);
    font-size: 1.5rem;
    font-weight: 600;
    background-color: var(--white);
}

.register__button {
    margin-top: 1.25rem;
    border: none;
    border-radius: 10px;
    background: var(--blue);
    width: 100%;
    padding: 0.42em;
    text-transform: uppercase;
    font-family: inherit;
    font-weight: 800;
    font-size: 1.9rem;
    line-height: 1;
    color: var(--white);
}

.register__button:disabled,
.register__button[disabled] {
    opacity: 0.7;
    cursor: progress;
}

.form-check-input:focus {
    width: 1rem;
    height: 1rem;
    accent-color: red;
}

.has-error.form-group .form-control {
    border-color: var(--red );
}

.has-error.form-group .checkbox-custom.custom-control-label::before {
    border-color: var(--red );
}

.register-form .custom-checkbox {
    position: relative;
}

.register-form .custom-checkbox input[type=checkbox] {
    position: absolute;
    /*left: -99999px;*/
    /*right: auto;*/
    width: 1px;
    height: 1px;
    left: 0;
    top: 50%;
    opacity: 0;
}

.register-form .custom-checkbox input[type=checkbox] + label::before {
    content: "";
    width: 2.5rem;
    height: 1.65rem;
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    background: var(--white);
    border-radius: 10px;
    border: 1px solid var(--white);
}

.register-form .custom-checkbox label {
    display: flex;
    align-items: center;
    cursor: pointer;
    padding-left: 2.75rem;
    position: relative;
    user-select: none;
    line-height: 1.3;
    text-transform: uppercase;
    font-size: 1rem;
    font-weight: 300;
    text-align: left;
}

.register-form .custom-checkbox label a {
    color: inherit;
}

.register-form .custom-checkbox input[type=checkbox]:checked + label::after {
    content: "";
    width: 1rem;
    height: 1.125rem;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    left: 0.75rem;
    background: url(/images/check.svg);
    background-size: contain;
    background-repeat: no-repeat;
}

/* Prizes */
.s-prizes {
    padding: 2rem 0;
    text-align: center;
}

/* Winners */
.s-winners {
    padding: 0 0 1rem;
}

.winners__heading {
    margin-top: 0.5em;
    margin-bottom: 0.75em;
    font-size: 2.5rem;
    text-align: center;
    line-height: 1;
    color: var(--yellow2);
}

.winners-wrapper {
    margin: 0 auto;
    max-width: 62rem;
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    align-items: center;
    font-size: 1.14rem;
}

.winners-item {
    margin-bottom: 3em;
    text-align: center;
    width: 26rem;
    max-width: 90%;
}

.winners-item img {
    display: block;
    margin: 0 auto 30px;
}

.winners-dyson {
    width: 69.12%;
}

.winners-irobot {
    width: 100%;
}

.winners-products {
    width: 54.674%;
}

.winners-comment {
    margin-bottom: 2em;
    font-size: 1.6em;
    text-align: center;
}
.winners-soon{
    text-align: center;
    font-size: 2.5rem;
    font-weight: bold;
    line-height: 1.14;
    margin-bottom: 30px;

}

/* Footer */
.footer {
    padding-top: 1rem;
    padding-bottom: 1rem;
    background: var(--yellow2);
}

.footer img {
    display: block;
    margin: auto;
}

.footer .logos {
    position: relative;
}

.footer .logos a {
    position: absolute;
    top: 0;
    bottom: 0;
}

.footer .logos a.cif {
    width: 7%;
}

.footer .logos a.facebook {
    width: 40%;
}

.footer .logos a.instagram {
    width: 30%;
    left: 47%;
}

.footer .logos a.omo {
    width: 9%;
    right: 0;
}

.bottom-bar {
    background: var(--yellow);
    text-align: center;
    color: var(--blue);
}

.bottom-bar a {
    color: inherit;
}

/* popup */
.mfp-content {
    text-align: center;
}

.mfp-close-btn-in .mfp-close {
    color: var(--blue);
}

.mfp-close-btn-in .mfp-close:hover,
.mfp-close-btn-in .mfp-close:focus {
    color: var(--darkblue);
}

.response-popup {
    margin: 20px auto;
    padding: 8vw 0 10vw;
    position: relative;
    background:var(--lightblue);
    width: auto;
    max-width: 50rem;
    min-height: 60vh;
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
}

.response-popup .mfp-close {
    opacity: 1;
    font-size: 3rem;
}

.response-popup .popup-wrapper {
    padding: 0 10%;
    overflow: hidden;
}

.response-popup .container {
    margin: 0 auto;
    /*max-width: calc(12% + 13.7em);*/
    text-align: center;
    font-size: 6.25vw;
    line-height: 1.3;
}

.response-popup .p-message {
    margin-bottom: 1em;
    padding: 0.35em 0.65em;
    border-radius: 10px;
    background: var(--yellow3);
    color: var(--lightblue);
    display: inline-block;
    font-size: 1.15em;
    font-weight: 800;
}

.response-popup .p-descr {
    margin: 0 auto 0.75em;
    max-width: 49rem;
    font-size: 0.87em;
    font-weight: 700;
}

.response-popup .p-comment {
    font-size: 0.75em;
    font-weight: 300;
}

@media (min-width: 500px) {
    .wrapper {
        padding: 0 1rem;
    }

    .winners__heading {
        font-size: 3rem;
    }
}

@media (min-width: 768px) {
    .wrapper {
        padding: 0 1.5rem;     
    }

    header,
    section,
    footer {
        padding: 0 1.5rem;
    }

    .nav a {
        font-size: 1.285714rem;
    }

    .nav a:hover {
        text-decoration: underline;
    }

    .s-intro {
        padding-bottom: 3rem;
    }

    .how-comments {
        font-size: 1.4em;
    }

    .s-registration {
        padding: 0rem 0;
    }

    .form-row {
        display: flex;
        justify-content: space-between;
    }

    .form-col {
        flex-grow: 1;
    }

    .register {
        padding: 2rem 2.5rem;
    }

    .register-heading {
        font-size: 2.7rem;
    }

    .register-note {
        padding-left: 1.25rem;
    }

    .register__button {
        margin-top: 0.5rem;
        padding-right: 1.5em;
        padding-left: 1.5em;
        width: auto;
        font-size: 2.15rem;
    }

    .s-prizes {
        padding: 3rem 0;
    }

    .winners__heading {
        font-size: 4.25rem;
    }

    .winners-wrapper {
        flex-direction: row;
        align-items: flex-start;
        font-size: 1.5rem;
    }

    .winners-item {
        width: 33.33%;
    }

    .response-popup {
        padding: 4.5rem 0 6.5rem;
    }

    .response-popup .popup-wrapper {
        padding: 0 5rem;
    }

    .response-popup .container {
        font-size: 2.8rem;
    }
}

@media (min-width: 1024px) {
    .nav a {
        font-size: 1.42857rem;
    }
}

@media (min-width: 1300px) {
    header,
    section,
    footer {
        padding: 0 3rem;
    }

    .nav a {
        font-size: 1.5rem;
    }

    .register {
        padding: 2.1875rem 4.1875rem;
    }

    .register-heading {
        font-size: 3.7rem;
    }

    .register__button {
        font-size: 2.38rem;
    }

    .winners__heading {
        font-size: 5rem;
    }

    .winners-wrapper {
        font-size: 1.75rem;
    }
}

@media (min-width: 1700px) {
    .wrapper {
        padding: 0 2rem;     
    }

    header,
    section,
    footer {
        padding: 0 5rem;
    }

    .nav a {
        font-size: 1.625rem;
    }

    .winners__heading {
        font-size: 6rem;
    }

    .winners-wrapper {
        font-size: 2rem;
    }
}



