@charset "utf-8";

* {
    --red: #c20102;
    --darkred: #810a0a;
    --white: #fff;
    --yellow: #ffe5b1;
    --shadowcolor: 61, 0, 0;
    --redRGB: 194, 1, 2;
}

html {
    width: 100%;
    height: 100%;
    font-size: clamp(11px, min(1.481vh,0.833vw), 16px);

}
body {
    font-family: 'Avenir Next Condensed';
    font-size: 1rem;
    background-color: var(--red);
    color: var(--white);
}


/* typo*/

h1 {


}

h2 {
    font-size: min(12vw, 5.625rem);
    text-transform: uppercase;
    color: var(--yellow);
    font-weight: bold;
}


h3 {
    font-size: 1.25rem;
    text-transform: uppercase;
    font-weight: bold;
}

h4 {
    font-size: 1.794rem;
    text-transform: uppercase;
    font-weight: bold;
}

.btn {

}

.btn.btn-primary {
    font-size: 2.5rem;
    line-height: 1;
    padding: 0.7rem 2rem 0.4rem 2rem;
    border-radius: 1.375rem;
    font-weight: bold;
    text-transform: uppercase;
    color: var(--red);
    background-color: var(--white);
    --bs-btn-color: var(--red);
    --bs-btn-bg: var(--white);
    --bs-btn-border-color: var(--white);
    --bs-btn-hover-color: var(--red);
    --bs-btn-hover-bg: var(--white);
    --bs-btn-hover-border-color: var(--white);
    --bs-btn-active-color: var(--red);
    --bs-btn-active-bg: var(--white);
    --bs-btn-active-border-color: var(--white);
    --bs-btn-disabled-color: var(--red);
    --bs-btn-disabled-bg: var(--white);
    --bs-btn-disabled-border-color: var(--white);
    box-shadow: 0.25rem 0.25rem 0.75rem 0.25rem  rgba(var(--shadowcolor), 0.75);
}

.btn.btn-secondary {
    font-size: 1.875rem;
    line-height: 1;
    padding: 0.6rem 2rem 0.3rem 2rem;
    border-radius: 1.375rem;
    font-weight: bold;
    text-transform: uppercase;
    color: var(--red);
    background-color: var(--white);
    --bs-btn-color: var(--red);
    --bs-btn-bg: var(--white);
    --bs-btn-border-color: var(--white);
    --bs-btn-hover-color: var(--red);
    --bs-btn-hover-bg: var(--white);
    --bs-btn-hover-border-color: var(--white);
    --bs-btn-active-color: var(--red);
    --bs-btn-active-bg: var(--white);
    --bs-btn-active-border-color: var(--white);
    --bs-btn-disabled-color: var(--red);
    --bs-btn-disabled-bg: var(--white);
    --bs-btn-disabled-border-color: var(--white);
    min-width: 21.875rem;

}
.btn.btn-secondary.btn-small {
    text-transform: none;
    font-size: 1.706rem;
}

.btn.btn-link {

}

.content-section {
    padding-top: 5rem;
    padding-bottom: 5rem;
    position: relative;
}
section, .section {position: relative;}

.hook {
    top: -5rem;
    position: absolute;
}


/* navbar */

.navbar {
    background-color: rgba(var(--redRGB), 0);
    box-shadow: 0px 1px 0px rgba(var(--shadowcolor),0.0), 0px 0px 8px rgba(var(--shadowcolor),0.0);

    transition: all .3s ease-in-out;
}

.navbar.top-nav-collapse {
    background-color: rgba(var(--redRGB), 1);
    box-shadow: 0px 1px 0px rgba(var(--shadowcolor),0.05), 0px 0px 8px rgba(var(--shadowcolor),0.1), 0px 0px 2rem rgba(var(--shadowcolor),0.5);
    padding: 0;

    transition: all .3s ease-in-out;
}

.navbar:has(.navbar-collapse.show), .navbar:has(.navbar-collapse.collapsing) {
    background-color: rgba(var(--redRGB), 1);
    box-shadow: 0px 1px 0px rgba(var(--shadowcolor),0.05), 0px 0px 8px rgba(var(--shadowcolor),0.1), 0px 0px 2rem rgba(var(--shadowcolor),0.5);
}

@media (min-width: 992px) {
    .navbar-expand-lg .navbar-nav-scroll {
        overflow: visible;
    }
    .navbar-collapse.collapsing  {
        height: fit-content;
        overflow: visible;}

}



.navbar .container-fluid {
    max-width: 70.625rem;
}

.navbar .navbar-nav .nav-link {
    color: var(--white);
    text-transform: uppercase;
    font-size: 1.423rem;
    padding: 1rem;
    text-align: center;
}


.navbar .navbar-brand {
    padding: 0;
    margin: 0;
}

.navbar .navbar-brand .logo {
    width: 7.25rem;
    height: auto;
    transition: all .3s ease-in-out;
}
.navbar.top-nav-collapse .navbar-brand .logo {
    width: 4rem;
    height: auto;
    transition: all .3s ease-in-out;
}

.navbar .navbar-nav .nav-link:focus, .navbar .navbar-nav .nav-link:hover, .navbar .navbar-nav .nav-link.active {
    color: #eceaeb;
}

/* hamburger  */



.navbar-toggler {
    padding: 10px;
    border: 0;
}


.navbar-toggler-icon {
    background-image: none;
    position: relative;
    width: 23px;
    height: 16px;
    padding: 0;
}

button:focus, .navbar-toggler:focus  {
    outline: 0 !important;
    box-shadow: 0 0 0 0;
}

.navbar-toggler-icon .bar {
    height: 2px;
    background-color: var(--white);
    border-radius: 1px;
    position: absolute;
    left: 0;
    right: 0;
    transition: all 0.5s ease;
}


.navbar-toggler.collapsed .bar.bar1 {
    top:0;
    transform: rotate(0deg);
}

.navbar-toggler.collapsed .bar.bar2 {
    transform: rotate(0deg);
    opacity: 1;
}

.navbar-toggler.collapsed .bar.bar3 {
    bottom:0;
    transform: rotate(0deg);
}


.navbar-toggler-icon .bar.bar1 {
    top: calc(50% - 1px);
    transform: rotate(45deg);
}

.navbar-toggler-icon .bar.bar2 {
    top: calc(50% - 1px);
    transform: rotate(45deg);
    opacity: 0;
}
.navbar-toggler-icon .bar.bar3 {
    bottom:calc(50% - 1px);
    transform: rotate(-45deg);
}


.polec-znajomym {
    position: fixed;
    right: 2rem;
    bottom: 0;
    width: min(50vw, 17.5rem);
    height: auto;
    z-index: 3;
}

.polec-znajomym img {
    width: 100%;
    height: auto;
}



/* Home  */

.home {
    background-image: url("../img/bg_01-pMMLTHL.jpg");
    background-repeat: no-repeat;
    background-size: 100% 100%;
    padding: 7.25rem 0 2.5rem 0;
}

.home h1 {
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
    align-items: center;
    font-size:  min(21.648vw, 10.427rem);
    font-weight: bold;
    font-stretch: condensed;
    letter-spacing: -0.033em;
    line-height: 1;

    text-shadow: 0px 0.25rem 0.5rem  rgba(var(--shadowcolor), 1);
}
.home h1 .kup-i-wygraj {
    color: var(--yellow);
    transform: rotate(-2.28deg);
    font-size: min(13.264vw, 6.389rem);
    letter-spacing: 0;

    text-shadow: 0px 0.25rem 0.5rem  rgba(var(--shadowcolor), 0.75);
}

.home h1 small {
    font-size: min(8.398vw, 4.045rem);
    font-weight: 500;
    letter-spacing: -0.008em;

    text-shadow: 0px 0.25rem 0.5rem  rgba(var(--shadowcolor), 0.27);
}

.hero {
    position: relative;
    z-index: 1;
    text-align: center;
    padding-top: 1.5rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    margin-left: auto;
    margin-right: auto;
    max-width: 550px;
}

.hero img {
    pointer-events: none;
}

.home .btn.btn-primary {
    position: relative;
    z-index: 2;
}

@media (min-width: 768px) {
    .hero {
        flex-direction: row;
        align-items: flex-start;
        max-width: 100%;
    }
}



.hero .hero-milka {
    width:  40.25rem;
    max-width: 80%;
    height: auto;
    position: relative;
    margin: 0  auto auto 0 ;
}
@media (min-width: 768px) {
    .hero .hero-milka {
        margin: 0 -4.5rem auto auto;
    }
}

.hero .hero-7days {
    width: 39.625rem;
    max-width: 80%;
    height: auto;
    position: relative;
    margin: -25% 0 auto auto;
}

@media (min-width: 768px) {
    .hero .hero-7days {
        margin: 6.25rem auto -3rem -4.5rem;
    }

}

.hero .szukaj-kodu {
    width:  10.313rem;
    height: auto;

}

@media (min-width: 768px) {
    .hero .szukaj-kodu {
        position: absolute;
        left: calc(50% + 16.875rem);
        top: -1rem;
    }
}

/* Form */

.form {
    --form-content-width: 33.125rem;
    background-image: url("../img/bg_02-FnxVjua.jpg");
    background-repeat: no-repeat;
    background-size: 100% 100%;
    padding: 4.375rem 0 0 0;
}



.form .form-control.is-invalid {
    background-image: none;
    background-color: #ff0000;
    color: #fff;
}

.form .form-control.is-invalid::placeholder {
    color: #fff;
}

.form .invalid-feedback {
    margin-top: 3px !important;
    padding: 0 1.125rem;
    padding-top: 0 !important;
    background: transparent;
    color: #ffbcc3 !important;
    font-size: 1rem;
    font-weight: 600;
    line-height: 1.3;
    border: 0;
    border-image: none !important;
    text-shadow: none !important;
}

.form .alert.alert-danger {
    --bs-alert-color: #fff;
    --bs-alert-bg: #93000f;
    --bs-alert-border-color: transparent;
    width: 100%;
    margin: 0 0 1.25rem;
    padding: 0.875rem 1.25rem;
    border-radius: 1.25rem;
    background-color: #93000f !important;
    color: #fff !important;
    font-size: 1.125rem;
    font-weight: 600;
    line-height: 1.3;
    text-align: center;
    border: 0;
    box-shadow: white 0 0 30px -20px;
}

.form  .input-group {
    transition: all 0.5s ease-in-out;

}

.form  .small-field {
    margin-top: 4px;
}


.form  .form-container {
    position: relative;
    width: 100%;
    max-width: var(--form-content-width);
    box-sizing: border-box;
    margin-left: auto;
    margin-right: auto;
}

.form .form-container > h3,
.form .form-container > .alert,
.form .form-container > .regular-input,
.form .form-container > .ktora-nagroda,
.form .form-container > .zgody,
.form .form-container > .row {
    width: 100%;
}

.form .form-container > .wpiszkod {
    width: 100%;
    max-width: 16.5rem;
    margin-left: auto;
    margin-right: auto;
}

.regular-input,
.zgody {
    max-width: none;
    margin-left: 0;
    margin-right: 0;
}

.wpiszkod {
    width: 100%;
    max-width: 16.5rem;
    margin-left: auto;
    margin-right: auto;
}

.form-container .form-control {
    width: 100%;
    border-radius: 1.25rem;
    border: 0;
    color: #000;
    font-size: 1.25rem;
    padding:  0px 1.125rem;
    height: 2.5rem;
}

.form-container .wpiszkod .form-control  {
    width: 100%;
    font-size: 2.407rem;
    text-align: center;
    border-radius: 0.875rem;
    height: 4.375rem;
}

.form-container label {
    font-family: 'Avenir Next Condensed Demi';
    font-weight: 600;
    font-size: 1.125rem;
    letter-spacing: -0.01em;
    line-height: 1.2;
    padding:  0px 1.125rem;
}

.form-container .wpiszkod label {
    font-family: 'Avenir Next Condensed';
    font-weight: bold;
    font-size: 1.875rem;
    width: 100%;
    text-align: center;
    text-transform: uppercase;
    color: var(--yellow);
    margin-bottom: 1.25rem;
    padding: 0;
}

.ktora-nagroda  {
    width: 100%;
}

.form-container .ktora-nagroda.mb-3,
.form-container .ktora-nagroda > div {
    display: flex;
    flex-direction: column;
    flex-wrap: nowrap;
    justify-content: center;
    align-items: center;
    gap: 0.75rem;
}

@media (min-width: 768px) {

    .form-container .ktora-nagroda.mb-3,
    .form-container .ktora-nagroda > div {
        flex-direction: row;
        gap: 2rem;
    }

}

.form-container .ktora-nagroda .form-check,
.form-container .ktora-nagroda .form-check-inline {
    display: inline-flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    width: auto;
    min-width: 0;
    flex: 0 0 auto;
    margin-bottom: 0;
    margin-right: 0;
    padding-left: 0;
    float: none;
    gap: 0.625rem;
}

@media (max-width: 575.98px) {

    .ktora-nagroda label.form-check-label {
        font-size: 0.875rem;
    }

    .ktora-nagroda .form-check-input {
        width: 1.25rem;
        height: 1.25rem;
    }

}

.ktora-nagroda label.form-check-label {
    color: var(--white);
    font-family: 'Avenir Next Condensed', sans-serif;
    font-size: 1.25rem;
    font-weight: bold;
    text-align: center;
    text-transform: uppercase;
    line-height: 1.1;
    padding: 0;
    margin: 0;
}

.zgody {
    width: 100%;
}

.zgody label.form-check-label {
    font-family: 'Avenir Next Condensed';
    font-size: 1.125rem;
    font-weight: normal;
    padding: 0;
    text-align: justify;
}

.form-container .zgody .form-check {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    padding-left: 0;
}

.form-container .zgody .form-check-input {
    float: none;
    margin-left: 0;
    margin-top: 0.15rem;
    flex-shrink: 0;
}

.form-container .zgody label.form-check-label {
    flex: 1;
    padding-right: 1.5rem;
}

.form-container label a {
    color: inherit;
}


.form-container  .form-check {
    position: relative;
}

.form-container  .form-check-input {
    border-radius: 50%;
    border: solid 0.25rem #fff;

}
.form-check-input:checked {
    border: solid 0.25rem #fcbd13;}

.form-check-input:checked[type=checkbox],
.form-check-input:checked[type=radio]  {
    background-image: none;
}
.form-container .form-check-input:checked {
    background-color: var(--red);
}

.form-container .ktora-nagroda .form-check-input {
    appearance: none;
    -webkit-appearance: none;
    width: 1.5rem;
    height: 1.5rem;
    margin: 0;
    flex-shrink: 0;
    border-radius: 50%;
    background-color: var(--white);
    border: 0.25rem solid var(--white);
    background-image: none;
    box-shadow: none;
}

.form-container .ktora-nagroda .form-check-input:checked {
    background-color: var(--red);
    border: 0.25rem solid #fcbd13;
    box-shadow: inset 0 0 0 0.125rem var(--white);
}


.form-container .zgody .collapseBtn {
    cursor: pointer;
    transition: all 0.5s ease-in-out;
    z-index: 3;
    position: absolute;
    right: -5px;
    top: 5px;
}

.form-container .zgody .collapseBtn.collapsed {
    -ms-transform: rotate(180deg); /* IE 9 */
    -webkit-transform: rotate(180deg); /* Safari 3-8 */
    transform: rotate(180deg);
    transition: all 0.5s ease-in-out;
}

.form-container .more-btn {
    fill: #031d4f;
}

.form-container .zgody .collapseBtn.collapsed .more-btn {
    fill: #fff;
}

.form-container .zgody .collapseBtn.collapsed .more-btn {
    fill: #fff;
}

.form-container .zgody .collapse, .form-container .zgody .collapsing {
    background-color: #fff;
    color:#031d4f;
    font-size: 11px;
    padding: 20px 50px 20px 25px;

    -webkit-box-shadow: 3px 3px 7px 0px rgba(0,0,0,0.35);
    -moz-box-shadow: 3px 3px 7px 0px rgba(0,0,0,0.35);
    box-shadow: 3px 3px 7px 0px rgba(0,0,0,0.35);
    position: absolute;

    z-index: 2;
    top: 0;
    right: -15px;

    width: 100%;
}

.popover-body {
    padding: 5px 0; }
.popover-body img {
    width: 100%;
    height: auto;
}


/* Zasady */

.zasady {
    background-image: url("../img/bg_03-e58oIxx.jpg");
    background-repeat: no-repeat;
    background-size: 100% 100%;
    padding: 3rem 0 4.5rem 0;
}
.zasady .steps {
    max-width: 74.375rem;
    margin-left: auto;
    margin-right: auto;
}

.zasady .steps .number {
    font-size: 2rem;
    font-weight: bold;
    color: var(--darkred);
    background-color: var(--yellow);
    border: solid 0.25rem var(--darkred);
    border-radius: 50%;
    width: 5.125rem;
    height: 5.125rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    margin: 0 auto 1.5rem auto;
}

.zasady  .steps p {
    font-size: 1.75rem;
    letter-spacing: -0.022em;
    line-height: 1.2;
    text-align: center;
}

.zasady p {
    font-size: 1.25rem;
    line-height: 1.2;
}

/* nagrody  */

.nagrody {
    background-image: url("../img/bg_04-tfcV5sF.jpg");
    background-repeat: no-repeat;
    background-size: 100% 100%;
    padding: 4.5rem 0 0 0;

    margin-bottom: -1px;
}

.img-nagrody {
    width: 62.938rem;
    max-width: 100%;
    height: auto;
    transform: rotate(-1.37deg);
    border-radius: min(7vw, 3.938rem);
    box-shadow: 1.39rem 2.52rem 3.06rem 0.92rem rgba(var(--shadowcolor), 0.5);
    margin-bottom: 5rem;
}

.nagrody  h3 {
    font-size: 2.5rem;
}

.nagordy-specjalne-row  {
    font-size: 1.469rem;
    line-height: 1.2;
    font-weight: bold;
    text-align: center;
}

.nagordy-specjalne-row img {
    width: 18.125rem;
    max-width: 100%;
    height: auto;
    margin-bottom: 0.5rem;
}


/* Zwycięzcy  */

.zwyciezcy {
    background-image: url("../img/bg_05-6ETfasr.jpg");
    background-repeat: no-repeat;
    background-size: 100% 100%;
    padding: 2.75rem 0 6.25rem 0;
}

.zwyciezcy h3 {
    color: var(--yellow);
    font-size: 2.5rem;
}

.zwyciezcy .carouselMonth h3 {
    color: var(--white);
}

.zwyciezcy .table {
    background-color: transparent;
    color: #fff;
    max-width: 33.667rem;
    width: 80%;
    margin-left: auto;
    margin-right: auto;
}

.zwyciezcy .carousel-item h2 {
    max-width: 33.667rem;
    width: 80%;
    margin-left: auto;
    margin-right: auto;
    text-align: left;
    margin-bottom: 0;
    padding-left: 1.25rem;
}

.zwyciezcy .table>:not(caption)>*>* {
    padding: .25rem .5rem;
    color: #fff;
    background-color: transparent;
    border-bottom-width:0;
}

.zwyciezcy .table th {
    font-size: 0.6rem;
}

.zwyciezcy .table td {
    font-size: 1rem;
}

@media (min-width: 768px) {

    .zwyciezcy .table th {
        font-size: 1rem;
    }

    .zwyciezcy .table td {
        font-size: 2rem;
        color: rgba(255,255,255,1);
    }

}

.zwyciezcy .table td:last-child {
    font-weight: bold;
}

.zwyciezcy  .btn-table {
    color: #fff;
    text-decoration: none;
    position: relative;
    display: inline-block;
    z-index: 2;
    cursor: pointer;
}

.zwyciezcy  .btn-table.active::before {
    content: '';
    display: block;
    width: 1.5em;
    height: 1.5em;
    border-radius: 50%;
    border: solid 0.25rem var(--yellow);
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    z-index: -1;

}

.carousel-control-next, .carousel-control-prev {
    opacity: 1;
}

@media (max-width: 767.98px) {

    .carouselMonth .carousel-control-next, .carouselMonth .carousel-control-prev {
        opacity: 1;
        height:  min(10vw, 3rem);
    }

}

.zwyciezcy  .carousel-control-next img, .zwyciezcy  .carousel-control-prev img {
    width: 2.188rem;
    height: auto;
}

.zwyciezcy  .carousel {
    max-width: 42.667rem;
    margin-left: auto;
    margin-right: auto;
}


.zwyciezcy-specjalne-row {
    max-width: 80rem;
    margin-left: auto;
    margin-right: auto;
}

.zwyciezcy  .winner {
    background-color: var(--white);
    color: var(--red);
    font-size: 1.875rem;
    text-align: center;
    width: 100%;
    max-width: 21.188rem;
    margin-left: auto;
    margin-right: auto;
    border-radius: 1.375rem;
    font-weight: bold;
    padding: 0.4rem;
}

.zwyciezcy p {
    font-size: 1.596rem;
    font-weight: bold;
}

.carousel.carouselWinner {
    max-width: 38rem;
    margin-left: auto;
    margin-right: auto;
}


/* produkty */

.produkty {
    background-image: url("../img/bg_06-_PkvcXf.jpg");
    background-repeat: no-repeat;
    background-size: 100% 100%;
    padding: 6.25rem 0 1.875rem 0;
}
.produkty p {
    text-transform: uppercase;
    font-size: 1.392rem;
}

.produkty  .carousel-control-next img, .produkty .carousel-control-prev img {
    width: 1.375rem;
    height: auto;
}

.produkty .carousel-control-prev {
    position: relative;
    width: 50%;
    text-align: right;
    justify-content: flex-end;
    padding: 0.8rem;
}

.produkty .carousel-control-next {
    position: relative;
    width: 50%;
    text-align: right;
    justify-content: flex-start;
    padding: 0.8rem;
}

.produkty h3 {
    font-size: 3.084rem;
}

.produkty .btn.kup {
    min-width: fit-content;
}

/* kontakt */


.kontakt {
    background-image: url("../img/bg_07-XCA6WxD.jpg");
    background-repeat: no-repeat;
    background-size: 100% 100%;
    padding: 5rem 0 8.125rem 0;
}



.contact-form  {
    max-width: 560px;
    margin: 0 auto;
}

.contact-form  textarea.form-control {
    height: 13.75rem;
}

.contact-form  .form-check {
    max-width: 100%;
}

.contact-form label.form-check-label {
    font-family: 'Avenir Next Condensed';
    font-weight: 500;
    font-size: 0.813rem;
    line-height: normal;
    padding: 0;
    text-align: justify;
}

.contact-form .form-check .form-check-input[type=checkbox] {
    margin-top: 0;
}

footer {
    background-color: var(--darkred);
    padding: 1.5rem 0 3rem 0;
    font-size: 11px;
    text-transform: uppercase;
}

footer .nav-link,
footer .nav-link:focus,
footer .nav-link:hover  {
    color: var(--white);
    padding: 0;
}

footer .nav li {
    padding: 0.5rem;
    font-size: 1rem;
    text-transform: uppercase;
}


/* modal  */

.modal-backdrop.show {
    opacity: 0;
}

.modal-content {
    background-color: rgba(255,255,255,0.95);
    border-radius: 1rem;
    border: 0;
    padding: 0.75rem;
}


.modal-header {
    border: 0;
    background-color: transparent;
}

.modal-header .btn-close {
    padding: 0;
    width: 1.967rem;
    height: 1.967rem;
    opacity: 1;
    background-image: none;
}

.modal-header .btn-close img {
    width: 100%;
    height: auto;

}

.modal-body {
    padding-bottom: 3rem;
}

.modal-body h2 {
    text-align: center;
    color: var(--red);
    font-size: 1.784rem;
}

.winnersModal .modal-dialog {
    max-width: 42.5rem;
}

.winnersModal .modal-content {
    box-shadow: 0.25rem 0.25rem 1rem 0.5rem  rgba(var(--shadowcolor), 0.75);
    text-align: center;
}

.winnersModal  h3 {
    font-size: 2rem;
}

.winnersModal .winner {

    color: var(--red);
    font-size: 3.125rem;
    text-align: center;
    width: 100%;
    margin-left: auto;
    margin-right: auto;
    font-weight: bold;
    text-transform: uppercase;

}

/* Polec znajomym - trigger + share modal */

.polec-znajomym {
    cursor: pointer;
}

.polec-znajomym:focus-visible {
    outline: 0.1875rem solid var(--yellow);
    outline-offset: 0.375rem;
    border-radius: 0.5rem;
}

.modal.share-modal {
    --bs-modal-width: 31rem;
    --bs-modal-bg: var(--white);
    --bs-modal-border-radius: 2rem;
    color: var(--red);
}

.modal.share-modal .modal-content {
    border: 0.25rem solid var(--white);
    border-radius: 2rem;
    padding: 3.25rem 2.25rem 2.5rem;
    box-shadow: 0.25rem 0.25rem 1rem 0.5rem rgba(var(--shadowcolor), 0.75);
    overflow: hidden;
}

.modal.share-modal .modal-header {
    border: 0;
    padding: 0;
    min-height: 0;
    position: relative;
}

.modal.share-modal .modal-header .share-modal-close {
    align-items: center;
    background: transparent;
    border: 0;
    box-shadow: none;
    color: #000;
    display: flex;
    font-family: Arial, sans-serif;
    font-size: 2.25rem;
    font-weight: 400;
    height: 3rem;
    justify-content: center;
    line-height: 1;
    opacity: 1;
    padding: 0;
    position: absolute;
    right: 1.25rem;
    top: -2.25rem;
    width: 3rem;
    z-index: 10;
}

.modal.share-modal .modal-header .share-modal-close:hover,
.modal.share-modal .modal-header .share-modal-close:focus {
    color: var(--red);
    opacity: 1;
}

.modal.share-modal .modal-header .share-modal-close:focus-visible {
    outline: 0.1875rem solid var(--yellow);
    outline-offset: 0.125rem;
}

.modal.share-modal .modal-header .share-modal-close span {
    display: block;
    transform: translateY(-0.125rem);
}

.modal.share-modal .modal-body {
    padding: 0;
    text-align: center;
}

.modal.share-modal .share-modal-title {
    font-size: 2.75rem;
    line-height: 0.85;
    color: var(--red);
    margin: 0.5rem 0 1rem;
}

.modal.share-modal .share-modal-subtitle {
    color: var(--darkred);
    font-size: 1.125rem;
    line-height: 1.2;
    margin: 0 auto 1.75rem;
    max-width: 22rem;
}

.modal.share-modal .share-native {
    font-size: 1.4rem;
    margin-bottom: 1.5rem;
    min-width: 0;
}

.share-options {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1.25rem;
    margin-bottom: 1.75rem;
}

.share-option {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    width: 4.5rem;
    text-decoration: none;
    color: var(--red);
    font-size: 0.8125rem;
    font-weight: 600;
}

.share-option:hover,
.share-option:focus {
    text-decoration: none;
    color: var(--red);
}

.share-option .share-icon {
    width: 3.5rem;
    height: 3.5rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    box-shadow: 0 0.5rem 1rem rgba(var(--shadowcolor), 0.18);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.share-option .share-icon svg {
    width: 1.75rem;
    height: 1.75rem;
    fill: currentColor;
}

.share-option:hover .share-icon,
.share-option:focus-visible .share-icon {
    transform: translateY(-0.25rem) scale(1.06);
    box-shadow: 0 0.75rem 1.25rem rgba(var(--shadowcolor), 0.28);
}

.share-facebook .share-icon { background: #1877f2; }
.share-whatsapp .share-icon { background: #25d366; }
.share-x .share-icon { background: var(--darkred); }
.share-email .share-icon { background: var(--red); }

.share-copy {
    display: flex;
    align-items: stretch;
    border: 0.125rem solid var(--yellow);
    border-radius: 1.625rem;
    background: #fff7e7;
    overflow: hidden;
}

.share-copy-input {
    flex: 1 1 auto;
    border: 0;
    background: transparent;
    padding: 0.85rem 1.25rem;
    font-size: 0.95rem;
    color: var(--red);
    min-width: 0;
    text-overflow: ellipsis;
}

.share-copy-input:focus {
    outline: none;
}

.share-copy-btn {
    flex: 0 0 auto;
    border: 0;
    border-radius: 1.625rem;
    padding: 0.85rem 1.5rem;
    font-family: 'Avenir Next Condensed';
    font-size: 1rem;
    font-weight: 700;
    color: var(--red);
    background: var(--yellow);
    white-space: nowrap;
    cursor: pointer;
    transition: filter 0.2s ease, background 0.2s ease;
}

.share-copy-btn:hover {
    filter: brightness(1.05);
}

.share-copy-btn.is-copied {
    color: var(--white);
    background: var(--red);
}

@media (max-width: 575.98px) {
    .modal.share-modal .modal-content {
        padding: 1rem 1.25rem 2rem;
    }

    .modal.share-modal .share-modal-title {
        font-size: 2.25rem;
    }

    .share-options {
        gap: 0.75rem;
    }

    .share-option {
        width: 4rem;
    }
}

/* thx */

.thx {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.thx .ok {
    width: 8.733rem;
    max-width: 50%;
    height: auto;
}

.thx h1 {
    color: #fff;
    text-transform: none;
    font-size: min(5vw, 1.667rem);
    line-height: normal;
    font-weight: bold;
    width: 100%;
}

.thx {
    background-image: url("../img/thx-bg-BqVHiDu.jpg");
    background-repeat: no-repeat;
    background-size: 100% 100%;
    padding: 7.25rem 0 2.5rem 0;
}

.thx h1 {
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
    align-items: center;
    font-size:  min(18vw, 10.427rem);
    font-weight: bold;
    font-stretch: condensed;
    letter-spacing: -0.033em;
    line-height: 1;

    text-shadow: 0px 0.25rem 0.5rem  rgba(var(--shadowcolor), 1);
}
.thx h1 .wygrana {
    color: var(--yellow);
    transform: rotate(-2.28deg);
    font-size: min(13.264vw, 6.389rem);
    letter-spacing: 0;

    text-shadow: 0px 0.25rem 0.5rem  rgba(var(--shadowcolor), 0.75);
}

.thx h1 small {
    font-size: min(8.398vw, 4.045rem);
    font-weight: 500;
    letter-spacing: -0.008em;

    text-shadow: 0px 0.25rem 0.5rem  rgba(var(--shadowcolor), 0.27);
}

.thx h3 {
    font-size: 3rem;
}

.thx p {
    font-size: 1.5rem;
}


/* form laureat  */


.form-laureat-container {
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.form-check-l {
    max-width: 100%;
}

.custom-file {
    max-width: 190px;
    margin: auto;
    cursor: pointer;
    position: relative;
}

.custom-file .custom-file-label::after {
    display: none;
}


.custom-file-input {
    position: absolute;
    z-index: 2;
    width: 100%;
    margin: 0;
    opacity: 0;
    cursor: pointer;
}
.custom-file-label {
    position: absolute;
    top: 0;
    right: 0;
    left: 0;
    z-index: 1;

    cursor: pointer;
}

.upload-file {
    color: var(--yellow);
    font-size: 1rem;

}

.upload-file .btn.btn-secondary {
    min-width: 5.467rem;
    max-width: 100%;
    width: auto;
    margin-left: auto;
    margin-right: auto;
    margin-top: 0.6rem;
    background-color: var(--yellow);
    border-color: var(--yellow);;
}

.photo-prev {
    width: 208px;
    height: 112px;
    border: solid 0.25rem var(--darkred);
    margin-left: auto;
    margin-right: auto;
    background-position: center center;
    background-size: cover;
    background-repeat: no-repeat;
    border-radius: 5px;

}

.info-about-send {
    color: var(--yellow);
    font-size: 2rem;
    text-align: center;
}


/* zaślepka */


.zaslepka {
    min-height: 100vh;
    display: flex;
    padding-bottom: 0;
    align-items: flex-end;
}

.zaslepka h1 .kup-i-wygraj {
    font-size: min(16vw, 13.555rem);
}


.zaslepka  .informujemy h3 {
    font-size: 2.121rem;
    letter-spacing: -0.033em;
    color: var(--yellow);
    text-transform: uppercase;
    margin-bottom: 0;
}

.zaslepka  .informujemy p {
    background-color: var(--yellow);
    color: var(--red);
    font-size: 1.51rem;
    padding: 0.25rem 1rem 3.75rem 1rem;
    margin-bottom: 0;
    font-weight: bold;
}

.zaslepka  .informujemy .btn.btn-primary {
    font-size: 1.478rem;
    box-shadow: 0.25rem 0.25rem 0.75rem 0.25rem rgba(var(--shadowcolor), 0.19);
    color: var(--red);
}

/* parallax  */

.page-wrapper {
    overflow: hidden;
}


/* amimacje */

.polec-znajomym {

    animation: shareAnime 2s ease 0s infinite normal forwards;
}



@keyframes shareAnime {
    0%,
    100% {
        transform: rotate(0deg);
        transform-origin: 50% 100%;
    }

    10% {
        transform: rotate(2deg);
    }

    20%,
    40%,
    60% {
        transform: rotate(-4deg);
    }

    30%,
    50%,
    70% {
        transform: rotate(4deg);
    }

    80% {
        transform: rotate(-2deg);
    }

    90% {
        transform: rotate(2deg);
    }
}
.hero-milka {
    animation: hero-milka 3s ease-in-out 0s infinite alternate forwards;

    transform-origin: 50% 50%;
}


@keyframes hero-milka {
    0% {
        transform: rotate(0);

    }

    50% {
        transform:  rotate(4deg);
    }

    100% {
        transform:  rotate(0);

    }
}

.hero-7days {
    animation: hero-7days 3s ease-in-out 0s infinite alternate forwards;

    transform-origin: 50% 50%;
}


@keyframes hero-7days {
    0% {
        transform: rotate(0);

    }

    50% {
        transform:  rotate(-4deg);
    }

    100% {
        transform:  rotate(0);

    }
}

.szukaj-kodu {
    animation: szukaj-kodu 3s ease-in-out 0s infinite alternate forwards;

    transform-origin: 50% 50%;
}

@keyframes szukaj-kodu {
    0% {
        transform: translate(0, 0) rotate(0);

    }

    50% {
        transform: translate(-10%, 10%) rotate(-4deg);
    }

    100% {
        transform: translate(0, 0) rotate(0);

    }
}


.nagrody-anime.trig{ animation: jump 2s ease 0s 1 normal forwards; }
.nagroda01.nagrody-anime.trig{ animation: jump 2s ease 0.3s 1 normal forwards; }
.nagroda02.nagrody-anime.trig{ animation: jump 2s ease 0.6s 1 normal forwards; }
.nagroda03.nagrody-anime.trig{ animation: jump 2s ease 0.9s 1 normal forwards; }

@keyframes jump {
    0% {
        animation-timing-function: ease-out;
        transform: scale(1);
        transform-origin: center center;
    }

    10% {
        animation-timing-function: ease-in;
        transform: scale(0.91);
    }

    17% {
        animation-timing-function: ease-out;
        transform: scale(0.98);
    }

    33% {
        animation-timing-function: ease-in;
        transform: scale(0.87);
    }

    45% {
        animation-timing-function: ease-out;
        transform: scale(1);
    }
}
