@charset "utf-8";

a:visited,
a:link,
a:active {
    color: black;
    text-decoration: none;
}

a[href^="tel:"] {
    text-decoration: inherit;
    color: inherit;
}

@media screen and (max-width: 4500px) and (min-width: 1101px) {

    html,
    body {
        width: 100%;
        height: auto;
        margin: 0px;
        padding: 0px;
    }

    body {
        background: url('../images/register_bg.jpg');
        background-position: center top;
    }

    #navigation {
        display: none;
    }

    #nav_scrolled {
        width: 100%;
        height: 92px;
        top: 0px;
        left: 0;
        right: 0;
        margin: 0 auto;
        position: fixed;
        background: url('../images/menu.png');
        z-index: 10;
    }

    #nav_scrolled_inner {
        width: 1100px;
        height: 92px;
        margin: 0 auto;
    }

    #nav_logo {
        width: 124.5px;
        height: auto;
        float: left;
        clear: both;
        margin-top: 15px;
    }

    #menu_scrolled {
        padding-left: 30px;
    }

    #nav_scrolled ul {
        float: right;
        margin-top: 25px;
    }

    #nav_scrolled ul > li {
        display: inline-block;
        margin-left: 20px;
    }

    #nav_scrolled ul > li > a {
        display: block;
        text-align: center;
        font-family: "Congenial";
        font-size: 18px;
        text-decoration: none;
        color: white;
        cursor: pointer;
        border: 0px;
        padding: 10px;
        padding-top: 12px;

    }

    #nav_scrolled ul > li > a:hover {
        background: #AAE0FA;
        border-radius: 50px;
        color: #3B2774;
    }

    #register {
        width: 1100px;
        height: auto;
        margin: 0 auto;
        
    }

    #register_box {
        width: 920px;
        height: auto;
        overflow: auto;
        background: #7D69AB;
        margin-top: 150px;
        padding: 40px;
        padding-top: 30px;
        border-radius: 20px;
        margin-left: 50px;
        display: inline-block;
    }

    #register_img {
        width: 286px;
        height: auto;
        float: left;
        clear: both;
        margin-left: 60px;
    }

    #register_form_box {
        width: 440px;
        height: auto;
        float: right;
        margin-top: 20px;
    }

    #register_title1 {
        width: 100%;
        color: white;
        font-size: 60px;
        font-family: "neue-kabel";
        font-weight: 800;
        float: left;
        clear: both;
    }

    #register_title2 {
        width: 100%;
        color: white;
        font-size: 24px;
        font-family: "Congenial";
        font-weight: 400;
        float: left;
        clear: both;
    }

    .form-wrapper {
        width: 100%;
        display: flex;
        flex-direction: column;
        gap: 0;
        float: left;
        clear: both;
        margin-top: 25px;
    }

    .field {
        margin-bottom: 20px;
    }

    .field label {
        display: block;
        color: #fff;
        font-size: 18px;
        font-family: "Congenial-Light";
        font-weight: 600;
        margin-bottom: 6px;
    }

    .field label span {
        font-size: 15px;
    }

    .input-wrap {
        position: relative;
    }

    .field input[type="text"],
    .field input[type="email"],
    .field input[type="tel"],
    .field input[type="password"] {
        width: calc(100% - 20px);
        height: 48px;
        background: #fff;
        padding-left: 20px;
        border: none;
        border-radius: 4px;
        font-size: 18px;
        font-family: "Congenial";
        font-weight: 400;
        color: #7D69AB;
        outline: none;
    }

    .field input:focus {
        box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.5);
    }

    .toggle-password {
        position: absolute;
        right: 14px;
        top: 50%;
        transform: translateY(-50%);
        background: none;
        border: none;
        cursor: pointer;
        padding: 0;
        display: flex;
        align-items: center;
        color: #9b6eb0;
    }

    .toggle-password svg {
        width: 22px;
        height: 22px;
    }
    #password_reset_button {
        color: white;
        font-size: 16px;
        font-family: "Congenial";
        font-weight: 400;
        text-decoration: underline;
        text-underline-offset: 8px;
        float: left;
        clear: both;
        margin-top: 0px;
    }
    /* Wiersz: przycisk + komunikat błędu obok siebie */
        .submit-row {
            display: flex;
            align-items: center;
            height: 57px;
            gap: 16px;
            float: left;
            clear: both;
            width: 100%;
            margin-top: 25px;
        }

        #button_send {
            display: inline-block;
            width: 140px;
            height: 42px;
            background: #9CDBF6;
            color: #3B2774;
            flex-shrink: 0;
            font-family: 'Congenial', Arial, sans-serif;
            font-weight: 600;
            border-radius: 50px;
            text-align: center;
            font-size: 16px;
            cursor: pointer;
            border: 0;
            outline: 0;
        }

        /* Komunikat błędu obok przycisku */
        .login-error {
            display: none;
            align-items: center;
            gap: 10px;
            background: #fde8e8;
            border-radius: 8px;
            padding: 10px 14px;
            flex: 1;
        }

        .login-error.visible {
            display: flex;
        }

        .login-error .error-icon {
            flex-shrink: 0;
            width: 24px;
            height: 24px;
            background: #e53935;
            color: #fff;
            border-radius: 50%;
            font-size: 15px;
            font-weight: bold;
            display: flex;
            align-items: center;
            justify-content: center;
            font-family: Arial, sans-serif;
        }

        .login-error .error-text {
            color: #c0392b;
            font-size: 14px;
            font-family: "Congenial", Arial, sans-serif;
            font-weight: 700;
            line-height: 1.3;
        }

        #register_button {
            color: white;
            font-size: 16px;
            font-family: "Congenial", Arial, sans-serif;
            font-weight: 400;
            text-decoration: underline;
            text-underline-offset: 8px;
            float: left;
            clear: both;
            margin-top: 40px;
        }
    
    #kontakt {
        width: 1100px;
        height: 360px;
        margin: 0 auto;
        padding-top: 100px;
    }

    #kontakt_title {
        display: block;
        color: white;
        font-family: "neue-kabel";
        font-size: 60px;
        float: left;
        width: 100%;
        text-align: center;
    }

    #kontakt_company {
        display: block;
        color: white;
        font-family: "congenial-light";
        font-size: 18px;
        font-weight: 600;
        line-height: 25px;
        letter-spacing: 4%;
        float: left;
        width: 100%;
        text-align: center;
        margin-top: 30px;
    }

    #kontakt_phone {
        text-align: center;
        display: block;
        color: white;
        font-family: "congenial-light";
        font-size: 18px;
        font-weight: 600;
        line-height: 25px;
        margin-left: 280px;
        margin-top: 50px;
        letter-spacing: 4%;
        float: left;
        clear: both;
    }

    #foot_email {
        text-align: center;
        display: block;
        color: white;
        font-family: "congenial-light";
        font-size: 18px;
        font-weight: 600;
        line-height: 25px;
        margin-left: 85px;
        margin-top: 50px;
        letter-spacing: 4%;
        float: left;
    }

    #foot_link {
        text-align: center;
        display: block;
        color: white;
        font-family: "congenial-light";
        font-size: 18px;
        font-weight: 600;
        line-height: 25px;
        letter-spacing: 4%;
        margin-top: -25px;
        margin-left: 490px;
        float: left;
        clear: both;
    }

    #kontakt_address {
        text-align: center;
        display: block;
        color: white;
        font-family: "congenial-light";
        font-size: 18px;
        font-weight: 600;
        line-height: 25px;
        letter-spacing: 4%;
        float: left;
        margin-top: -50px;
        margin-left: 675px;
    }

    #kontakt_rules_download {
        width: 140px;
        color: white;
        font-family: "congenial";
        font-size: 16px;
        float: left;
        clear: both;
        text-decoration: underline;
        text-align: center;
        margin-left: 480px;
        margin-top: 40px;
    }
    #footer_bg{
        width: 100%;
        height: 92px;
        background: #3B2774;
    }
    #footer_inner{
        width: 1100px;
        height: auto;
        margin: 0 auto;
    }
    #kontakt_logo {
        width: 210px;
        height: auto;
        float: left;
        clear: both;
        margin-top: 20px;
    }

    #kontakt_text {
        color: white;
        font-family: "congenial";
        font-size: 16px;
        float: right;
        text-align: center;
        margin-left: 0px;
        margin-top: 40px;
    }
    
}

@media screen and (max-width: 1100px) and (min-width: 200px) {

    html,
    body {
        width: 100%;
        height: auto;
        margin: 0px;
        padding: 0px;
    }

    body {
        background:#3c2774 url('../images/register_bg_mobiile.jpg');
        background-position: center top;
    }

    a[href^=tel] {
        text-decoration: inherit;
        color: inherit;
    }
    #nav_scrolled {
        display: none;
    }
    #logo_nav_mobile{
        width: 90px;
        height: 45px;
        background: url('../images/logo_milka.png');
        background-repeat: no-repeat;
        background-size: contain;
        float: left;
        margin-top: 12px;
        margin-left: 10px;
    }
    #burger {
        display: none;
    }

    #burger + #nav_cross {
        position: fixed;
        top: 11px;
        right: 5px;
        height: 46px;
        width: 46px;
        z-index: 5;
        border-radius: 50px;
    }

    #burger + #nav_cross .cross {
        position: absolute;
        width: 20px;
        height: 3px;
        top: 22px;
        left: 13px;
        display: block;
        background: white;
        transition: .5s;
    }

    #burger + #nav_cross .cross:first-child {
        top: 16px;
    }

    #burger + #nav_cross .cross:last-child {
        top: 28px;
    }

    #nav_cross:hover {
        cursor: pointer;
    }

    #burger:checked + #nav_cross .cross {
        opacity: 0;
        top: 48%;
    }

    #burger:checked + #nav_cross .cross:first-child {
        opacity: 1;
        transform: rotate(405deg);
    }

    #burger:checked + #nav_cross .cross:last-child {
        opacity: 1;
        transform: rotate(-405deg);
    }

    #burger ~ nav {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 69px;
        z-index: 3;
        transition: .5s;
        transition-delay: .5s;
        overflow: hidden;
        background: url('../images/menu_mobile.png');
    }

    #burger ~ nav > ul {
        list-style: none;
        text-align: center;
        position: absolute;
        top: 15%;
        left: 0;
        right: 0;
        margin-left: auto;
        margin-right: auto;
        padding: 0px;
    }

    #burger ~ nav > ul > li {
        opacity: 0;
        transition: .5s;
        transition-delay: 0s;
        cursor: pointer;
    }

    #burger ~ nav > ul > li > a {
        text-decoration: none;
        text-transform: uppercase;
        color: white;
        font-weight: 800;
        font-size: 20px;
        font-family: "Myriad Pro Bold";
        display: block;
        padding: 15px;
    }

    #burger:checked ~ nav {

        background: url('../images/menu_mobile.png');
        height: 100%;
        transition-delay: 0s;
    }

    #burger:checked ~ nav > ul > li {
        opacity: 1;
        transition-delay: .5s;
    }

    #menu_click {
        display: none;
    }

    /* Animated menu end */
    #register {
        width: 320px;
        height: auto;
        margin: 0 auto;
        
    }

    #register_box {
        width: 280px;
        height: auto;
        overflow: auto;
        background: #7D69AB;
        margin-top: 95px;
        padding: 20px;
        padding-top: 25px;
        padding-bottom: 30px;
        border-radius: 20px;
        margin-left: 0px;
        display: inline-block;
    }

    #register_img {
        width: 122px;
        height: auto;
        float: left;
        clear: both;
        margin-left: 88px;
    }

    #register_form_box {
        width: 100%;
        height: auto;
        float: left;
    }
    #register_title1 {
        width: 100%;
        color: white;
        font-size: 32px;
        line-height: 100%;
        font-family: "neue-kabel";
        font-weight: 800;
        margin-top: 20px;
        float: left;
        clear: both;
    }

    #register_title2 {
        width: 100%;
        color: white;
        font-size: 20px;
        font-family: "Congenial";
        font-weight: 400;
        margin-top: 15px;
        float: left;
        clear: both;
    }

    .form-wrapper {
        width: 100%;
        display: flex;
        flex-direction: column;
        gap: 0;
        float: left;
        clear: both;
        margin-top: 20px;
    }

    .field {
        margin-bottom: 20px;
    }

    .field label {
        display: block;
        color: #fff;
        font-size: 18px;
        font-family: "Congenial-Light";
        font-weight: 600;
        margin-bottom: 6px;
    }

    .field label span {
        font-size: 15px;
    }

    .input-wrap {
        position: relative;
    }

    .field input[type="text"],
    .field input[type="email"],
    .field input[type="tel"],
    .field input[type="password"] {
        width: calc(100% - 20px);
        height: 48px;
        background: #fff;
        padding-left: 20px;
        border: none;
        border-radius: 4px;
        font-size: 18px;
        font-family: "Congenial";
        font-weight: 400;
        color: #7D69AB;
        outline: none;
    }

    .field input:focus {
        box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.5);
    }

    .toggle-password {
        position: absolute;
        right: 14px;
        top: 50%;
        transform: translateY(-50%);
        background: none;
        border: none;
        cursor: pointer;
        padding: 0;
        display: flex;
        align-items: center;
        color: #9b6eb0;
    }

    .toggle-password svg {
        width: 22px;
        height: 22px;
    }
    #password_reset_button {
        color: white;
        font-size: 16px;
        font-family: "Congenial";
        font-weight: 400;
        text-decoration: underline;
        text-underline-offset: 8px;
        float: left;
        clear: both;
        margin-top: 0px;
    }
    /* Wiersz: przycisk + komunikat błędu obok siebie */
        .submit-row {
            display: flex;
            align-items: center;
            height: auto;
            gap: 16px;
            flex-wrap: wrap;
            float: left;
            clear: both;
            width: 100%;
            margin-top: 25px;
        }

        #button_send {
            display: inline-block;
            width: 140px;
            height: 42px;
            background: #9CDBF6;
            color: #3B2774;
            flex-shrink: 0;
            font-family: 'Congenial', Arial, sans-serif;
            font-weight: 600;
            border-radius: 50px;
            text-align: center;
            font-size: 16px;
            cursor: pointer;
            border: 0;
            outline: 0;
        }

        /* Komunikat błędu obok przycisku */
        .login-error {
            display: none;
            align-items: center;
            gap: 10px;
            background: #fde8e8;
            border-radius: 8px;
            padding: 10px 14px;
            flex: 1;
        }

        .login-error.visible {
            display: flex;
        }

        .login-error .error-icon {
            flex-shrink: 0;
            width: 24px;
            height: 24px;
            background: #e53935;
            color: #fff;
            border-radius: 50%;
            font-size: 15px;
            font-weight: bold;
            display: flex;
            align-items: center;
            justify-content: center;
            font-family: Arial, sans-serif;
        }

        .login-error .error-text {
            color: #c0392b;
            font-size: 14px;
            font-family: "Congenial", Arial, sans-serif;
            font-weight: 700;
            line-height: 1.3;
        }

        #register_button {
            color: white;
            font-size: 16px;
            font-family: "Congenial", Arial, sans-serif;
            font-weight: 400;
            text-decoration: underline;
            text-underline-offset: 8px;
            float: left;
            clear: both;
            margin-top: 30px;
        }
    #kontakt {
        width: 320px;
        height: auto;
        margin: 0 auto;
        padding-top: 30px;
        overflow: auto;
        padding-bottom: 45px;
    }

    #kontakt_title {
        display: block;
        color: white;
        font-family: "neue-kabel";
        font-size: 26px;
        float: left;
        width: 100%;
        text-align: center;
    }

    #kontakt_company {
        display: block;
        color: white;
        font-family: "congenial-light";
        font-size: 18px;
        font-weight: 600;
        line-height: 25px;
        letter-spacing: 4%;
        float: left;
        width: 100%;
        text-align: center;
        margin-top: 25px;
    }

    #kontakt_phone {
        text-align: center;
        display: block;
        color: white;
        font-family: "congenial-light";
        font-size: 18px;
        font-weight: 600;
        line-height: 25px;
        width: 100%;
        margin-top: 25px;
        letter-spacing: 4%;
        float: left;
        clear: both;
    }

    #foot_email {
        text-align: center;
        display: block;
        color: white;
        font-family: "congenial-light";
        font-size: 18px;
        font-weight: 600;
        line-height: 25px;
        margin-left: 96px;
        margin-top: 25px;
        letter-spacing: 4%;
        float: left;
    }

    #foot_link {
        text-align: center;
        display: block;
        color: white;
        font-family: "congenial-light";
        font-size: 18px;
        font-weight: 600;
        line-height: 25px;
        letter-spacing: 4%;
        margin-top: 0px;
        margin-left: 98px;
        float: left;
        clear: both;
    }

    #kontakt_address {
        text-align: center;
        display: block;
        color: white;
        font-family: "congenial-light";
        font-size: 18px;
        font-weight: 600;
        line-height: 25px;
        letter-spacing: 4%;
        float: left;
        width: 100%;
        margin-top: 25px;
        margin-left: 0px;
    }

    #kontakt_rules_download {
        width: 140px;
        color: white;
        font-family: "congenial";
        font-size: 16px;
        float: left;
        clear: both;
        text-decoration: underline;
        text-align: center;
        margin-left: 90px;
        margin-top: 40px;
    }
    #footer_bg{
        width: 100%;
        height: 116px;
        background: #3B2774;
    }
    #footer_inner{
        width: 320px;
        height: auto;
        margin: 0 auto;
    }
    #kontakt_logo {
        width: 210px;
        height: auto;
        float: left;
        clear: both;
        margin-top: 10px;
        margin-left: 55px;
    }

    #kontakt_text {
        width: 100%;
        color: white;
        font-family: "congenial";
        font-weight: 500;
        font-size: 16px;
        float: right;
        text-align: center;
        margin-left: 0px;
        margin-top: 20px;
    }
}