body {
    background-color: #FDE75F;
    font-family: "lato", sans-serif;
}

body h1 {
    font-weight: bold;
    font-size: 32px;
    margin-bottom: 20px;
    text-align: center;
}

p {
    font-size: 17px;
    line-height: 20px;
}

body header .lotto-header-wrapper,
.lotto-main-wrapper,
.lotto-footer-wrapper {
    width: 100%;
    max-width: 1140px;
    margin: 0 auto;
}

body .lotto-wrapper {
    width: 100%;
}

body header {
    width: 100%;
    background-color: #FEDE18;
    padding: 10px 0;
}

body header .lotto-header-wrapper {
    display: flex;
    justify-content: space-between;
}

.lotto-header-btns-action {
    display: flex;
    align-items: center;
}

body header nav ul {
    display: flex;
    align-items: center;
    gap: 40px;
}

.lotto-header-cart {
    margin-right: 20px;
    cursor: pointer;
}

.lotto-header-login,
.lotto-header-signup {
    background-color: #C80713;
    color: #fff;
    padding: 16px 30px;
    font-weight: bold;
    transition: 0.3s;
    cursor: pointer;
}

.lotto-header-login:hover {
    background-color: #92030C;
}

.lotto-header-signup {
    background-color: #6B6B6B;
}

.lotto-header-signup:hover {
    background-color: #989898;
}

/*header*/

/**************************/

/*main*/

body main {
    padding-top: 80px;
    background: url('/lotto-img/bg-main.webp') no-repeat bottom center;
    background-size: cover;
    padding-bottom: 80px;
}

main h2 {
    text-align: center;
    font-weight: bold;
    font-size: 32px;
}

.lotto-wrap-items {
    margin-top: 40px;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 40px;
    flex: 2;
}

.lotto-item {
    flex: 1 auto;
    width: 100%;
    min-width: 40%;
    max-width: 48%;
    display: flex;
    align-items: center;
    flex-direction: column;
    justify-content: center;
    border: 1px solid #1D1D1D;
    background: radial-gradient(circle, rgba(255, 255, 255, 1) 0%, rgba(254, 222, 24, 1) 100%);
}

.lotto-item .lotto-item-wrap {
    padding: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.lotto-item.EUROJACKPOT {
    background: radial-gradient(circle, rgba(255, 255, 255, 1) 0%, rgba(201, 201, 201, 1) 100%);
}

.lotto-item.EUROJACKPOT .to-play-btn {
    background: linear-gradient(to left, #DFDFDF, #EEEEEE, #DFDFDF);
}

.lotto-item.BINGO {
    background: radial-gradient(circle, rgba(255, 255, 255, 1) 0%, rgba(116, 176, 3, 1) 100%);
}

.lotto-item.BINGO .to-play-btn {
    background: linear-gradient(to left, #ACD068, #B0D370, #ACD068);
}

.lotto-item.GlucksSpirale {
    background: radial-gradient(circle, rgba(255, 255, 255, 1) 0%, rgba(229, 4, 79, 1) 100%);
}

.lotto-item.GlucksSpirale .to-play-btn {
    background: linear-gradient(to left, #EF6895, #F7ADC6, #EF6895);
}

.lotto-item.TOTO {
    background: radial-gradient(circle, rgba(255, 255, 255, 1) 0%, rgba(0, 136, 68, 1) 100%);
}

.lotto-item.TOTO .to-play-btn {
    background: linear-gradient(to left, #66B88F, #ADD9C3, #66B88F);
}

.lotto-item.KENO {
    background: radial-gradient(circle, rgba(255, 255, 255, 1) 0%, rgba(112, 20, 95, 1) 100%);
}

.lotto-item.KENO .to-play-btn {
    background: linear-gradient(to left, #C179B3, #DEB8D7, #C179B3);
}

.lotto-item h3 {
    font-size: 32px;
    font-weight: bold;
    margin: 40px 0;
}

.to-play-btn {
    width: 100%;
    display: flex;
    justify-content: center;
    border-top: 1px solid #1D1D1D;
    margin-top: 20px;
    background: linear-gradient(to right, #FEEB74, #FFF5B5, #FEEB74);
}

.to-play-btn a {
    background-color: #C80713;
    color: #fff;
    padding: 16px 30px;
    font-weight: bold;
    margin: 20px 0;
    transition: 0.3s;
}

.to-play-btn a:hover,
.spielerschutz:hover {
    background-color: #92030C;
}

/*block-rules*/

.lotto-rules {
    display: flex;
    background-color: #C9C9C9;
    align-items: center;
    margin-top: 40px;
    padding: 20px;
    gap: 40px;
}

.lotto-rules p {
    display: flex;
    background-color: #C9C9C9;
    align-items: center;
    margin-top: 40px;
}

.spielerschutz {
    background-color: #C80713;
    color: #fff;
    font-weight: bold;
    width: 100%;
    text-align: center;
    padding: 16px 0;
    margin-top: 20px;
    transition: 0.3s;
}

/************************/

/*support*/

.lotto-support-wrap {
    height: 380px;
    width: 100%;
    background: url('/lotto-img/bg.webp');
    display: flex;
    align-items: end;
    justify-content: center;
}

.lotto-support h2 {
    margin: 40px 0;
}

.lotto-support-wrap a {
    padding: 16px 0;
    width: 100%;
    max-width: 490px;
    background-color: #fff;
    color: #C80713;
    margin: 0 auto;
    height: 48px;
    font-weight: bold;
    margin-bottom: 20px;
    text-align: center;
    transition: 0.3s;
}

.lotto-support-wrap a:hover {
    color: #fff;
    background-color: #92030C;
}

/****************/

/*subscribe*/

section h2 {
    margin: 40px 0;
}

.lotto-subscribe-wrap {
    display: flex;
    justify-content: space-between;
    background-color: #FFFFFF;

}

.lotto-subscribe-wrap div {
    padding: 40px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    gap: 20px;
}

.lotto-subscribe-wrap div form {
    display: flex;
    width: 100%;
    gap: 0 20px;
    flex-wrap: wrap;
}

.lotto-subscribe-wrap div form input {
    width: 100%;
    height: 48px;
    border: 1px solid #6B6B6B;
    padding: 0 10px;
    flex: 2;
}

.lotto-subscribe-wrap div form input::placeholder {
    color: #C9C9C9;
}

.lotto-subscribe-wrap div form button {
    width: 100%;
    height: 48px;
    background-color: #FEDE18;
    flex: 1;
    transition: 0.3s;
}

.lotto-subscribe-wrap div form button:hover {
    background-color: #FFEB6C;
}

/************************/

/*odds*/

.odds {
    background: radial-gradient(circle, rgba(255, 255, 255, 1) 0%, rgba(254, 222, 24, 1) 100%);
    margin-top: 40px;
    border: 1px solid #1D1D1D;
}

.odds p {
    padding: 40px;
}

/*********************/

/*footer**/

footer {
    background-color: #C9C9C9;
    padding: 40px 0;
}

/*lotto-blocks-to-pay*/

.lotto-blocks-to-pay {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}

.lotto-blocks-to-pay h3 {
    font-size: 14px;
    font-weight: bold;
    text-align: center;
    margin-bottom: 40px;

}

.lotto-blocks-to-pay section div, .lotto-blocks-to-pay section ul{
    display: flex;
    justify-content: space-between;
    gap: 40px;
}

footer .mail:hover {
    text-decoration: underline;
}

/********************/

/*lotto-footer-additional-info*/

.lotto-footer-additional-info {
    margin-top: 40px;
    display: flex;
    justify-content: space-between;
    gap: 40px;
    align-items: center;
    flex-wrap: wrap;
}

.lotto-footer-additional-info div {
    display: flex;
    gap: 20px;
    flex: 1 3;
}

.lotto-footer-additional-info div p {
    font-size: 14px;
}

.lotto-footer-additional-info div a {
    text-decoration: underline;
}

.lotto-footer-additional-info div a:hover {
    text-decoration: unset;
}

/************************/

/*lotto-contacts*/

.lotto-contacts {
    display: flex;
    justify-content: space-between;
    gap: 40px;
    align-items: self-start;
    margin-top: 40px;
}

.lotto-contacts-info {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.lotto-contacts-info a,
.lotto-contacts-info p {
    display: flex;
    gap: 10px;
    align-items: center;
}

.lotto-contacts-info .phone:before {
    content: url('/lotto-img/phone-icon.webp');
    width: 25px;
    height: 25px;
    display: block;
}

.lotto-contacts-info .shedule:before {
    content: url('/lotto-img/clock-icon.webp');
    width: 25px;
    height: 25px;
    display: block;
}

.lotto-contacts-info .mail:before {
    content: url('/lotto-img/mail-icon.webp');
    width: 25px;
    height: 25px;
    display: block;
}

.participation {
    display: flex;
    align-items: center;
    gap: 20px;
}

.participation:before {
    content: '18+';
    font-size: 20px;
    font-weight: bold;
    border: 2px solid #1D1D1D;
    border-radius: 50%;
    padding: 10px;
    display: block;
    width: 60px;
    height: 60px;
    text-align: center;
    line-height: 35px;
}

.lotto-contacts h3 {
    font-size: 14px;
    font-weight: bold;
    margin-bottom: 20px;
}

.lotto-contacts p {
    font-size: 14px;
}

.lotto-contacts div {
    flex: 1 3;
}

/*lotto-links*/

.lotto-links {
    margin-top: 40px;
    display: flex;
    justify-content: space-between;
}

.lotto-links a {
    text-decoration: underline;
    font-size: 14px;
}


/*****************************************************/

/*Spielerschutz*/

.lotto-spielerschutz {
    background: #C9C9C9;
    padding: 32px;
}

.lotto-spielerschutz {
    display: flex;
    gap: 80px;
}

.lotto-spielerschutz h1 {
    font-weight: bold;
    font-size: 32px;
    text-align: center;
    margin-bottom: 20px;
}

.lotto-spielerschutz p {
    line-height: 24px;
}

/*lotto-faq*/

.lotto-faq {
    margin-top: 40px;
}

.lotto-faq details {
    background: #C9C9C9;
    padding: 32px;
    font-weight: bold;
    font-size: 17px;
    margin-bottom: 10px;
    transition: 0.3s;
}

.lotto-faq details summary {
    cursor: pointer;
    list-style: none;
    position: relative;
    display: flex;
    align-items: center;
}

details summary::after {
    content: '+';
    display: inline-block;
    font-size: 50px;
    font-weight: normal;
    position: absolute;
    right: 0;
    transition: 0.3s;
}

details[open] summary::after {
    transform: rotate(90deg);
}

.lotto-faq details:open summary {
    margin-bottom: 20px;
}

.lotto-faq details:open summary:after {
    transform: rotate(45deg);
}

/*lottery numbers*/



.tab-btn-active {
    pointer-events: none;
    background-color: #C9C9C9;
}

.tab-pane:not(.tab-pane-show) {
    display: none;
}

.lotto-lottery .tab {
    display: flex;
    background: #fff;
    justify-content: space-between;
}

.lotto-lottery .tab>div {
    width: 50%;
    padding: 20px;
}

.lotto-lottery .tab .tab-nav {
    display: flex;
    flex-direction: column;
    align-items: start;
}

.lotto-lottery .tab .tab-nav button {
    display: flex;
    flex-direction: column;
    align-items: start;
    width: 100%;
    border-bottom: 1px solid #6B6B6B;
    font-size: 17px;
    padding: 10px;
    cursor: pointer;
}

.lotto-lottery .tab-content {
    background: #C9C9C9;
}

.lotto-lottery .choose-date {
    display: flex;
    gap: 20px;
}

.lotto-lottery .tab-content select {
    height: 32px;
    width: 100%;
    text-indent: 10px;
    border: 1px solid #3C3C3C;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
}

.select {
    position: relative;
    display: inline-block;
    width: 100%;
    flex: 1;
}

.select:after {
    content: "▼";
    background-color: #C9C9C9;
    font-size: 12px;
    position: absolute;
    right: 1px;
    top: 2px;
    z-index: 1;
    text-align: center;
    width: 32px;
    height: 29px;
    pointer-events: none;
    box-sizing: border-box;
    line-height: 32px;
}

.long {
    flex: 2;
}

.lotto-lottery .tab-content span {
    display: block;
    width: 32px;
    height: 32px;
    background-color: #fff;
    border-radius: 50%;
    text-align: center;
    line-height: 32px;
}

.lotto-lottery .tab-content span.gray {
    background-color: #6B6B6B;
    color: #fff;
}

.lotto-lottery .tab-content a {
    background: #C80713;
    color: #fff;
    width: 100%;
    height: 48px;
    text-align: center;
    line-height: 48px;
    transition: 0.3s;
}

.lotto-lottery .tab-content a:hover {
    background: #92030C;
}

.tab-pane {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
}

.lotto-lottery-numbers {
    display: flex;
    gap: 40px;
    align-items: center;
}

.usually-chance {
    display: flex;
    gap: 5px;
    flex-wrap: wrap;
}

.usually-chance p,
.super-chance p {
    width: 100%;
}

.super-chance {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 5px;
}

.super-chance p {
    font-size: 14px;
}

.lotto-lottery-numbers-glücksspirale {
    display: flex;
    flex-direction: column;
    gap: 20px;

}

.lotto-lottery-numbers-glücksspirale div {
    display: flex;
    flex: 1 50%;
    align-items: baseline;
    width: 100%;
}

.lotto-lottery-numbers-KENO {

    display: flex;
    align-items: unset;
    justify-content: center;
    flex-direction: column;
    gap: 20px;
}

.lotto-lottery-numbers-totto {
    display: flex;
    flex-direction: column;
    align-items: unset;
}

.lotto-lottery-numbers {
    margin: 40px 0;
}

.wrapper-totto {
    display: flex;
    gap: 20px;
}

.wrapper-totto .super-chance,
.wrapper-totto .usually-chance {
    width: 100%;
}


/*lotto-support*/

.lotto-support h1 {
    font-weight: bold;
    font-size: 32px;
    text-align: center;
    margin-bottom: 20px;
}

.lotto-support form {
    padding: 20px;
    display: flex;
    background-color: #C9C9C9;
    gap: 20px;
}

.lotto-support form input {
    width: 100%;
    height: 48px;
    text-indent: 20px;
    border: 1px solid #999999;
    margin: 10px 0 20px 0;
}

.lotto-support form input::placeholder {
    color: #999999;
}

.lotto-support textarea {
    width: 100%;
    height: 100px;
    padding: 20px;
    margin-top: 10px;
    border: 1px solid #999999;
}

.lotto-support #question::placeholder {
    color: #999999;
}

.lotto-support button {
    background-color: #C80713;
    color: #fff;
    width: 100%;
    height: 48px;
    transition: 0.3s;
    cursor: pointer;
    margin-top: 20px;
}

.lotto-support button:hover {
    background-color: #92030C;
}

.lotto-other-main {
    background: url('/lotto-img/bg-other.webp') no-repeat;
    background-position: 37%;
    background-size: cover;
}

/*fonts*/

 @font-face {

    font-family: "lato";
    src: url("/lotto-fonts/lato-regular.ttf") format("truetype");
    font-style: normal;
    font-weight: normal;
}

@font-face {

    font-family: "lato";
    src: url("/lotto-fonts/lato-bold.ttf") format("truetype");
    font-style: normal;
    font-weight: bold;
} 

@font-face {
    font-family: 'lato';
    src: url('/lotto-fonts/lato-regular.woff2') format('woff2');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'lato';
    src: url('/lotto-fonts/lato-regular.woff2') format('woff2');
    font-weight: bold;
    font-style: normal;
}

/****POPUP******/

.popupauth {
    position: fixed;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 8;
    overflow: auto;
    opacity: 0;
    visibility: hidden;
    background-color: rgba(0, 0, 0, 0.4);
    transition: opacity 0.3s ease-in-out, visibility 0.3s ease-in-out;
}

.popupauth.active {
    opacity: 1;
    visibility: visible;
}

.popupauth__close {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.popupauth__input {
    height: 48px;
    line-height: 48px;
    text-indent: 10px;
    margin-top: 10px;
}

.popupauth__input::placeholder {
    color: #6B6B6B;
    font-size: 14px;
}

.popupauth__button {
    width: 100%;
    background-color: #C80713;
    color: #fff;
    height: 48px;
    line-height: 48px;
    margin-top: 10px;
}

.popupauth__link {
    text-decoration: underline;
    text-align: center;
    width: 100%;
}

.popupauth__content {
    width: 500px;
    overflow: auto;
    position: relative;
    z-index: 2;
    margin: auto;
    padding: 32px;
    background-color: #FEDE18;
    text-align: center;
}

.popupauth__content h2 {
    font-weight: bold;
    font-size: 24px;
}

@media (max-width: 600px) {
    .popupauth__content {
        padding: 24px 16px;
        width: 95%;
    }
}

.popupauth__links {
    justify-content: center;
}

.popupauth__item {
    display: none;
}

.popupauth__item.active {
    display: block;
}

.popupauth__form.isresult .popupauth__result {
    display: block;
}

.popupauth__error {
    display: none;
    color: var(--red);
}

.popupauth__label {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.popupauth__link {
    display: block;
    width: 100%;
    border-bottom: 2px solid var(--white);
    font-size: 14px;
    margin: 10px 0 5px 0;
    transition: border-color 0.3s ease-in-out, color 0.3s ease-in-out;
}

.popup-auth-send__text {
    margin-top: 10px;
}

.popupauth__link:active {
    transition-duration: 0.1s;
}

.popupauth__boti {
    display: flex;
    justify-content: center;
    gap: 5px;
}

.popupauth__boti button {
    transition: color 0.3s ease-in-out;
}

@media (any-hover: hover) {
    .popupauth__boti button:hover {
        color: var(--hover);
    }
}

.popupauth__boti button:focus-visible {
    color: var(--hover);
}

.popupauth__boti button:active {
    color: var(--active);
    transition-duration: 0.1s;
}

.popupauth__exit {
    display: block;
    width: 24px;
    height: 24px;
    margin-left: auto;
    background-position: center;
    background-repeat: no-repeat;
    background-size: contain;
    transition: opacity 0.3s ease-in-out;
}

@media (max-width: 991px) {
    .popupauth__exit {
        width: 22px;
        height: 22px;
    }
}

@media (max-width: 600px) {
    .popupauth__exit {
        width: 20px;
        height: 20px;
    }
}

@media (any-hover: hover) {
    .popupauth__exit:hover {
        opacity: 0.5;
    }
}

.popupauth__exit:focus-visible {
    opacity: 0.5;
}

.popupauth__exit:active {
    opacity: 0.5;
    transition-duration: 0.1s;
}

.popupauth__result {
    display: none;
    border: 1px solid var(--white);
    padding: 10px;
}

.lotto-login-form .login {
    width: 100%;
    background: #C80713;
    color: #fff;
    height: 48px;
    margin-top: 20px;
    transition: 0.3s;
}

.lotto-login-form .login:hover {
    background: #92030C;
}

/*popup login*/

.lotto-login-form {
    max-width: 540px;
    text-align: center;
}

.lotto-login-form h2 {
    font-weight: bold;
    font-size: 24px;
    margin: unset;
}

.lotto-login-form h2 {
    margin: 10px 0;
}

.lotto-login-form a {
    text-decoration: underline;
}

.lotto-login-form form input {
    width: 100%;
    height: 48px;
    text-indent: 20px;
    margin-top: 10px;

}

.lotto-login-form form input::placeholder {
    color: #6B6B6B;
}

.status {
    margin-top: 15px;
    padding: 10px;
    background-color: var(--blue);
    display: none;
    background: #70a100;
    color: #fff;
}


.form.active .status {
    display: block;
}

.close-form {
    font-size: 39px;
    transform: rotate(45deg);
    display: block;
    width: max-content;
    position: absolute;
    right: 26px;
    top: 21px;
    cursor: pointer;
}

.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: -1px;
    padding: 0;
    overflow: hidden;
    border: 0;
    clip: rect(0 0 0 0);
}