:root {
    --kolor-bialy: #ffffff;
    --fs-small: 16px;
    --fs-medium: 16px;
    --fs-normal: 18px;
    --fs-large: 37px;
    --m-40: 40px auto;
    --m-30: 30px auto;
    --m-10: 10px auto;
    --m-50: 50px auto;
}

html {
    font-size: 16px;
}

.fs-large {
    font-size: var(--fs-large);
    font-weight: 800;
    font-style: normal;
}

.fs-normal {
    font-size: var(--fs-normal);
    font-weight: 400;
    font-style: normal;
    font-size: 29px;
}

.fs-small {
    font-size: var(--fs-small);
    font-weight: 400;
    font-style: normal;
}

.fs-medium {
    font-size: var(--fs-medium);
    font-weight: 500;
    font-style: normal;
}

.fs-29 {
    font-size: 29px;
}

.m30 {
    margin: var(--m-30);
}

.m40 {
    margin: var(--m-40);
}

.m50 {
    margin: var(--m-50);
}

.m10 {
    margin: var(--m-10);
}


html,
body {
    margin: 0;
    padding: 0;
    height: 100%;
    width: 100%;
    display: flex;
    flex-direction: column;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: "gotham", sans-serif;
}

main {
    background-color: #FFD843;
    flex: 1;
    height: max-content;
    display: flex;
    padding: 30px 0 10px;

}

/* header */
header {
    background-color: #FFD843;
    width: 100%;

}

header .wrapperHeaderImage {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    gap: 0 40px
}





/* header */
.fs-upper {
    text-transform: uppercase;
}

h1,
h2,
h3 {
    color: #123670;
    text-align: center;
}

main .content,
main section {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    flex-direction: column;
}

/* rewards */
.rewards {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0 20px;
    flex-wrap: wrap;
}

.rewards .reward {
    display: flex;
    flex-direction: column;
    align-items: center;

}

.rewards .reward1 p,
.rewards .reward2 p {
    width: 111px;
    height: 111px;
    border-radius: 100%;
    background-color: #E23618;
    color: #ffffff;

}

.rewards .reward3 p span:first-of-type {
    color: #ffffff;
}

.reward1 .rewardmain {
    position: absolute;
    top: 95px;
    left: -12px;
}

.reward-img {
    width: 250px;
    height: 250px;
    object-fit: contain;
}

.rewards p {
    display: flex;
    justify-content: center;
    align-items: center;
    position: absolute;
}

.reward1 p {
    top: -8px;
    left: -13px;
}

.reward2 p {
    top: -8px;
    left: -16px;
}

.reward3 p {
    top: -8px;
    left: -6px;
}

.reward3 span:nth-child(2) {
    color: #E23618;
    position: relative;
    left: 3px;
}

.rewards p span:first-of-type {
    font-size: 73px
}

.rewards .reward3 span:first-of-type {
    width: 111px;
    height: 111px;
    border-radius: 100%;
    background-color: #E23618;
    display: flex;
    justify-content: center;
}

.rewards p span:last-of-type {
    font-size: 36px;
}

.rewards .reward-container {
    position: relative;
}

.rewards .button-reward {
    text-transform: uppercase;
    font-size: 19px;
    font-family: "gotham", sans-serif;
    font-weight: 800;
    padding: 6px 22px;
    background: #123670;
    color: #ffffff;
    border: 3px solid #ffffff;
    border-radius: 10px;
    transition: background 0.3s ease;
    position: relative;
    top: -36px;
    opacity: 0;
    visibility: hidden;
}

.rewards .reward:hover .button-reward {
    opacity: 1;
    visibility: visible;
    transition: opacity 0.7s ease;
}

.rewards .button-reward:hover {
    background: #E23618;

}

.rewards .reward3 span:first-of-type,
.rewards .reward:not(.reward3) p {
    transition: background 0.7s ease;
}

.rewards .reward:not(.reward3):hover p {
    background: #123670;

}

.rewards .reward3:hover span:first-of-type {
    background: #123670;
}

.rewards .reward3:hover span:nth-of-type(2) {
    color: #123670;
    transition: color 0.7s ease;
}

.rewards .reward:not(.reward3) .reward-img {
    border-radius: 50%;
    border: 3px solid transparent;
}

.rewards .reward:not(.reward3):hover .reward-img {
    border: 3px solid #123670;
    transition: border 0.7s ease;
}

/* rewards */
/*info*/
.info-text {
    text-align: center;
    padding: 10px;
    width: 100%;
    background-color: #FFD843;
    font-size: 10px;
    color: red;
}

.info {
    position: absolute;
    top: 120px;
    right: 40px;
    z-index: 1000;
    color: #123670;
    font-size: 16px;
}



.info .infoBox {
    background-color: #FFD843;
    display: none;
    border-radius: 12px;
    border: #123670 3px solid;
    gap: 20px;
    padding: 20px 10px;
    overflow: hidden;
    margin-top: 43px;
    margin-right: 46px;
    position: relative;
    z-index: 99;
}

.info .infoBox .infoText {
    display: flex;
    flex-direction: column;
    align-items: center;
    line-height: 1.1;

}

.info .infoBox .infoText p {
    margin: 0;
    text-align: left;
    color: #123670;
}



.info:hover .infoBox {
    display: block;
    height: 80px;
    width: initial;

}

.info:hover>.infoIcon {
    right: 0;
    top: 0;
    position: absolute;
}

/*info*/
/*buttons*/
.page404 {
    padding: 100px 20px;
}

.start.sec-404 {
    max-width: 591px;
    margin: 40px 0;
}




.start,
form input[type="submit"] {
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    background: #E23618 !important;
    max-width: 400px;
    text-transform: uppercase;
    padding: 10px 39px;
    border: 5px solid #ffffff !important;
    border-radius: 50px !important;
    width: 100%;
    margin: 0 auto;
    transition: background 0.7s ease;
    color: #ffffff !important;
    cursor: pointer;
    text-align: center;
}


form input[type="submit"]:hover {
    background-color: #274597 !important;
    color: #ffffff;

}

form .textVal {
    font-size: 17px;
}

.start:hover {
    background: #123670 !important
}

.start span {
    font-size: 29px;
}


/*buttons*/

.left {
    text-align: left;
    line-height: 1.4;
    width: 100%;
    margin: 20px 0;
    font-size: 16px;
}


a {
    color: inherit;
    text-decoration: none;
}

img {
    display: block;
    max-width: 100%;
    height: auto;
}

main .container {
    width: 100%;
    max-width: 1750px;
    margin: 0 auto;

}

/*paragon*/
.wrapper-container-receipt {
    position: relative;
}

.wrapper-receipt {
    top: 0px;
    position: absolute;
    transform: translate(calc(100% - 105px));
    width: 350px;
}

.wrapper-receipt .receipt {
    display: none;
    border-radius: 50px;
    font-size: 24px;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    display: flex;
    overflow: hidden;
    z-index: 100;
    padding: 55px 25px 0px;
    margin-bottom: 10px;
    width: 100%;
    max-width: 370px;
    bottom: 41px;
    position: absolute;
    transition: background-color .3s;
}

.wrapper-receipt .receipt .info-receipt {
    position: relative;
    margin-left: 30px;
}

.wrapper-receipt .receipt .icon-close {
    position: absolute;
    right: -35px;
    top: -4px;
    cursor: pointer;
}

.wrapper-receipt .receipt-text {
    cursor: pointer;
    display: flex;
    color: #E23618
}

.wrapper-receipt .receipt-text img {
    align-self: center;
}

.wrapper-receipt .receipt-text span {
    margin: 24px 0px 20px 7px;

}

/*paragon*/


/*form*/

main form {
    flex: 1;
    display: flex;
    justify-content: center;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

/* form .singleCheckbox {
    width: 100%;
    text-align: left;
} */

.submit-content {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0 20px;
    flex-wrap: wrap;
    margin-top: 20px;
}

form .singleCheckbox {
    width: 100%;
}

form textarea,
form input:not([type="checkbox"]) {
    background: #ffffff;
    border: 0;
    border-radius: 12px;
    color: #E23618;
    padding: 12px 26px !important;
    margin: 5px;
    border: 2px solid #E23618;

}

form textarea,
form input[type="text"],
form input[type="email"] {
    font-size: 19px;
    font-family: "gotham", sans-serif;
}

form input[type="checkbox"],
form input[type="submit"] {
    -webkit-appearance: none;
    appearance: none;
    position: relative;

}


form input:not([type="checkbox"]) {
    width: 380px;


}


form ::placeholder {
    color: #E23618;
    font-size: 16px;
    font-family: "gotham", sans-serif;
}

form h3 {
    margin: 20px 0 10px;
}

form .red-text {
    font-weight: 700;
    color: #E23618;
    margin: 0 0 10px;
    max-width: 724px;
}

form .form__file .file__wrap label {
    box-sizing: border-box;
    width: 380px;
    padding: 9px 20px;
    border-radius: 12px;
    background-color: transparent;
    border: 2px solid #E23618;
    display: flex;
    cursor: pointer;
    justify-content: center;
    align-items: center;
    text-transform: var(--upperCase);
    font-weight: 400;
    transition: 0.5s;
    color: #E23618;
    transition: background 0.3s ease, border 0.3s ease, color 0.3s ease, font-weight 0.3s ease;
}



.file__wrap .fs-upper {
    font-size: 24px;
}

form .form__file .file__wrap>span {
    color: #123670;
    display: block;
    margin: 2px;
    padding: 5px 0;
}



form .file__wrap {
    position: relative;
}

form .file__wrap .back-file-wrap img {
    position: absolute;
    right: -28px;
    top: -7px;
    cursor: pointer;
    opacity: 0.6;
    transition: 0.5s;
    display: none;
}

form .file__wrap .back-file-wrap img {
    opacity: 0.6;
}

form .file__wrap .back-file-wrap:hover img {
    opacity: 1;
}



/*
.form [type="checkbox"]:checked{
    background-color: var(--kolor-bialy);
}
*/
form .textVal {
    padding: 0px 0 0 40px;
    text-align: left;
    display: inline-block;
    line-height: 1.3;
    text-align: left;
    max-width: 700px;
}

form input[type=checkbox]::before {
    content: '';
    position: absolute;
    top: -8px;
    left: -16px;
    width: 40px;
    height: 40px;
    border: 2px solid #E23618;
    border-radius: 12px;
    /* transform: translateY(-50%); */
}

form input[type=checkbox]:checked::before {
    background-color: #ffffff;
    ;
}

form textarea {
    width: 786px;
}


form .form__file {
    margin: 20px auto 10px;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}


form .form__file .chosen__files {
    display: flex;
    justify-content: flex-end;
    width: 100%;
    max-width: 380px;
    text-align: right;
    margin: 10px 0;
}



.checkboxes {
    max-width: 800px;
    margin: 30px 0;
}

.checkboxes label {
    display: flex;
    width: 100%;
    padding-left: 40px;
    line-height: 1.3;
    text-align: left;
    max-width: 700px;
}

.checkboxes .error-msg {
    display: block;
    color: red;
    margin-top: 10px;
    font-size: 16px;
}

.checkboxes p {
    margin: 10px 0;
}

.checkboxes .left {
    color: #E23618;
    padding-left: 79px;
}

form .singleCheckbox .error-msg {
    text-align: center;
    padding: 10px 0;
}

/* 404 */
.page404 .start {
    margin: 30px 0
}

.page404 h1,
.page404 h2 {
    text-transform: uppercase;
}


/* 404 */

/*stopka*/
footer {
    background-color: #D9000D;
    padding: 10px 0;
    position: relative;
}

footer .footerContainer .footerLinks {
    display: flex;
    justify-content: center;
    gap: 0px 130px;
    list-style-type: none;
    align-items: center;
}

footer .footerContainer {
    padding: 0 10px;
}

footer .footerContainer .footerLinks li {
    text-align: center;
}

footer .footerContainer .footerLinks li a {
    color: #ffffff;


}

@media (min-width: 1370px) {
    .submit-content .kiri {
        position: relative;
        top: 21px;
        right: 41px;
    }
}

@media (max-width: 1369px) {

    .submit-content .kiri,
    .submit-content .stitch {
        display: none;
    }

}

@media (max-width: 1181px) {
    .wrapper-receipt {
        position: unset;
        transform: translate(0);
    }

    .wrapper-receipt .receipt {
        position: unset;
        padding: 25px 25px 0;
    }

}

@media (max-width: 1181px) and (orientation: portrait) {

    .page-template-page-rejestracja .textarea-p,
    form textarea {
        width: 100%;
    }
}

@media(min-width:561px) and (max-width:1366px) {
    .info {
        position: absolute;
        top: 260px;
    }
}

@media(max-width:991px), (min-width: 768px) and (max-width: 1024px) {
    main {
        padding: 30px 20px;
    }

}


/* @media only screen and (min-device-width: 768px) and (max-device-width: 1024px) and (orientation: landscape) and (-webkit-min-device-pixel-ratio: 2) {
    form input[type="submit"] {
        border-radius: 50px !important;
    }

} */


@media(min-width:768px) and (max-width:1024px) and (orientation:portrait) {
    footer .footerContainer .footerLinks {
        gap: 0px 31px;
        text-align: center;
    }
}

@media (max-width: 767px),
(max-width: 932px) and (orientation: landscape) {

    .contentRejestracja form,
    .contentRejestracja form p:not(.left),
    body .contentRejestracja input:not([type="submit"]),
    .contentRejestracja form textarea,
    form .form__file .file__wrap label,
    form .file__wrap {
        width: 100%;
        align-items: center;
        display: flex;
        flex-direction: column;
    }


    form input[type="text"]+br,
    form input[type="email"]+br {
        display: none;
    }

    body .contentRejestracja .checkboxes input[type="checkbox"] {
        width: auto;
    }

    main .content,
    main section {
        display: block;
    }




}

@media(max-width: 932px) and (orientation:landscape) {
    form input[type=checkbox]::before {
        top: -9px;
    }

    .pre .center,
    .home .center,
    .page404 .center-img {
        display: flex;
        justify-content: center;
    }

    footer .footerContainer .footerLinks {
        gap: 0px 60px;
    }

    .info {
        top: 238px;
    }

    .info-img-section {
        display: flex;
        justify-content: center;
    }

    form .textVal {
        font-size: 18px !important;
        -webkit-text-size-adjust: 100%;
    }



    header .wrapperHeaderImage .main-img2 {
        max-width: 100%;
        min-width: 440px;
    }

    header .wrapperHeaderImage .main-img1,
    header .wrapperHeaderImage .main-img3 {
        max-width: 100%;
    }
}

@media(max-width:767px) and (orientation:portrait) {

    .info {
        top: 160px;
        right: 9px;
    }

    .page-template-page-rejestracja .info {
        top: 0px;
    }
}

@media(max-width:560px) {

    header .wrapperHeaderImage {
        gap: 0 20px
    }

    .info {
        top: -20px;
        right: 9px;
    }

    footer .footerContainer .footerLinks {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 10px 15px;
    }

    .info-img-section {
        position: relative;
    }

    footer .footerContainer .footerLinks li {
        text-align: center;
    }

    footer .footerContainer .footerLinks li a {
        line-height: 1.2;
        display: block;
    }

    .fs-large {
        font-size: 29px;
    }

    .fs-small {
        font-size: 12px;
    }

    .buttonLink .start {
        max-width: 400px;
        padding: 15px 15px;

    }

    form input[type="submit"] {
        font-size: 19px;
        width: 100%;
        padding: 15px 40px;
    }

    .buttonLink .start span {
        font-size: 19px;
    }

    .error404 .info-img-section .info {
        right: 15px;
    }

    .info-img-section .info>img {
        max-width: 55px;
    }

    .info .infoBox {
        margin-top: 31px;
        margin-right: 38px;
    }

    form input[type=checkbox]::before {
        top: -3px;
    }

    .checkboxes label {
        padding-left: 16px;
    }

    form .red-text {
        font-size: 26px;
        line-height: 1.3;
    }

    form .file__wrap .fs-upper {
        font-size: 21px;
    }
}

@media(max-width:412px) {
    footer .footerContainer .footerLinks {
        gap: 8px 3px;
    }
}

@media(max-width:360px) {


    /* form input[type="submit"] {
        font-size: 16px;
    } */

    .wrapper-receipt {
        width: 100%;
    }


    .info:hover .infoBox {
        height: 70px;
    }

    .info .infoBox {
        margin-top: 43px;
        margin-right: 29px;
    }

    .infoText p,
    .infoText a {
        font-size: 10px;
    }

    form .file__wrap .fs-upper {
        font-size: 12px;

    }

    .reward-img {
        width: 100%;
        height: 100%;
        /* object-fit: contain; */
    }

    .rewards .reward1 p,
    .rewards .reward2 p,
    .rewards .reward3 span:first-of-type {
        width: 86px;
        height: 86px;
    }

    .rewards p span:first-of-type {
        font-size: 56px;
    }

    .fs-29 {
        font-size: 22px;
    }

    .info {
        right: -3px;
    }

    /* .fs-29,
    .fs-large {

        font-size: 11vw;
    }

    .fs-large {
        font-size: 9vw;
    } */
}

@media(max-width:280px) {
    form input[type="submit"] {
        font-size: 16px;
        width: 100%;
        padding: 15px 40px;
    }

    .buttonLink .start span {
        font-size: 16px;
    }
}