/*
Theme Name:     child-theme
Template:       jannah
*/

@import url("../jannah/style.css");

@font-face {
    font-style: normal;
    font-weight: 700;
    font-family: "Kelson Sans RU Bold";
    src: url('https://heidewitzka.com/wp-content/themes/child-theme/assets/fonts/Kelson-Sans-Bold.ttf');
    font-display: swap;
}
@font-face {
    font-style: normal;
    font-weight: 400;
    font-family: "Kelson Sans RU Regular";
    src: url('https://heidewitzka.com/wp-content/themes/child-theme/assets/fonts/Kelson-Sans-Regular.ttf');
    font-display: swap;
}

body {
    color: #fff;
    background: url(/images/back-page.jpg) center -20px no-repeat, #000;
    background-size: cover;
    padding-bottom: 30px;
}
.wheel-container {
    position: relative;
    margin: auto;
    max-width: 1085px;
    min-height: 800px;
}
.logo-block {
    position: relative;
    margin: auto;
    padding-top: 20px;
    margin-bottom: 30px;
    display: block;
    width: 236px;
    height: auto;
    z-index: 4;
}
.logo-block img {
    width: 100%;
    vertical-align: top;
}
.wheel-block {
    position: relative;
    top: 0;
    left: 0;
    right: 0;
    margin: 0 auto 10px auto;
}
.wheel-block h1 {
    text-indent: -9999px;
}
.wheel-block-img {
    position: absolute;
    bottom: 0;
    z-index: 4;
}
.wheel-block-img.left {
    left: 35px;
}
.wheel-block-img.right {
    right: 0;
    bottom: 50px;
}
.wheel-block-content {
    display: flex;
    justify-content: center;
}
.wheel-block-animate {
    position: relative;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background-size: contain;
    top: 0;
    margin-bottom: 100px;
    height: 551px;
}
.wheel-block-spinner {
    left: 0;
    right: 0;
    margin: 0 auto;
    top: 0;
    position: relative;
    overflow: hidden;
}
.wheel-img {
    width: 100%;
    position: relative;
    z-index: 3;
    height: 872px;
    animation: 2s spinner ease-in-out infinite;
}
.wheel-img-animated {
    animation: 2s spinner ease-in-out infinite;
}
.wheel-img-animated-1 {
    animation: 4s spinToOne ease-in-out 1;
}
.wheel-img-animated-2 {
    animation: 4.5s spinToTwo ease-in-out 1 forwards;
}
.wheel-img-animated-3 {
    animation: 4.5s spinToThree ease-in-out 1 forwards;
}
@keyframes spinner {
    0% {
        transform: rotate(-3deg)
    }
    50% {
        transform: rotate(3deg)
    }
    100% {
        transform: rotate(-3deg)
    }
}
@keyframes spinToOne {
    0% {
        transform: rotate(-80deg);
    }
    70% {
        transform: rotate(1063deg);
    }
    80% {
        transform: rotate(1054deg);
    }
    100% {
        transform: rotate(1060deg);
    }
}
@keyframes spinToTwo {
    0% {
        transform: rotate(1060deg);
    }
    70% {
        transform: rotate(1875deg);
    }
    80% {
        transform: rotate(1865deg);
    }
    100% {
        transform: rotate(1870deg);
    }
}
.wheel-block-btn {
    position: absolute;
    left: 0;
    top: 0;
    right: 0;
    bottom: 0;
    z-index: 4;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: auto;
    width: 180px;
    height: 190px;
}
.wheel-block-btn-pointer {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 5;
}
.btn {
    position: relative;
    z-index: 5;
    display: block;
    width: 125px;
    height: 125px;
    line-height: 132px;
    padding: 0;
    border: none;
    outline: none;
    cursor: pointer;
    font-size: 21px;
    font-weight: bold;
    color: #fff;
    text-transform: uppercase;
    background-repeat: no-repeat;
    background-position-x: -3px;
    background-position-y: -9px;
    background-color: unset;
    font-family: "Kelson Sans RU Bold";
}
.btn:hover {
    background-position-x: -145px;
}
.wheel-block-btn-pointer::after {
    position: absolute;
    width: 100%;
    height: 100%;
    content: '';
    display: block;
    top: 17px;
    left: 9px;
    margin: auto;
    bottom: 0;
    z-index: 2;
    background: url(https://heidewitzka.com/wp-content/uploads/point-btn.png) 4px 20px no-repeat;
    background-size: contain;
}
.wheel-block-footer {
    position: relative;
    left: 0;
    right: 0;
    bottom: 0;
}
.wheel-footer-content {
    margin: auto;
    width: 100%;
    max-width: 857px;
    height: 205px;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

.wheel-modal {
    position: fixed;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    z-index: 10;
    display: none;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    padding: 20px 0;
    background-color: rgba(0, 0, 0, 0.6);
}
.wheel-modal-block {
    display: none;
    align-items: center;
    position: relative;
    align-self: stretch;
    max-width: 600px;
}
.wheel-modal-content {
    position: relative;
    margin: auto;
    width: 100%;
    background: transparent;
}
.wheel-popup {
    position: relative;
    box-sizing: border-box;
    text-align: center;
    background: #eef0f3;
    padding: 0 0 30px;
    color: #8b8b8b;
    border-radius: 6px;
    border: 1px solid #6c88c3;
    width: 550px;
}
.wheel-popup-title {
    color: #fbae01;
    font-weight: 700;
    font-family: "Kelson Sans RU Bold";
    text-shadow: 2px 2px 0px #7f5500;
    display: block;
    padding: 25px 70px 18px 70px;
    background: #1b47a1;
    position: relative;
    line-height: 1.25;
    font-size: 38px;
    margin-bottom: 26px;
    margin-top: 0;
}
.wheel-popup-title::after {
    content: '';
    display: block;
    width: 100%;
    position: absolute;
    bottom: -14px;
    height: 20px;
    left: 0;
    background: url(/images/border-title.png) center repeat-x;
}
.wheel-popup-text {
    font-size: 73px;
    text-transform: uppercase;
    line-height: 76px;
    color: #c32524;
    font-family: "Kelson Sans RU Bold";
}
.wheel-popup img {
    margin: 10px 0 14px;
}
.wheel-popup-link {
    font-size: 16px;
    line-height: 18px;
    margin-bottom: 16px;
    font-family: "Kelson Sans RU Regular";
}
.wheel-popup-btn {
    font-size: 26px;
    background: #3cae3a;
    color: #fff;
    text-decoration: none;
    font-family: "Kelson Sans RU Bold";
    border-radius: 5px;
    padding: 16px 50px 12px 50px;
    display: inline-block;
    line-height: 27px;
    transition: .3s linear;
    cursor: pointer;
}
.wheel-popup-btn:hover {
    background: #46c143;
    color: #fff;
}
#modal-2 {
    display: none;
}

@media screen and (max-width: 1200px) {
    .wheel-block {
        margin: 0 auto 50px auto;
    }
    .wheel-block-img {
        max-width: 240px;
        bottom: 45px;
    }
}
@media screen and (max-width: 900px) {
    .wheel-img {
        height: 700px;
        width: 700px;
        margin: 0 auto;
        left: auto;
    }
    .wheel-block-btn {
        transform: scale(0.65);
        width: 115px;
        height: 115px;
    }
    .wheel-block-btn-pointer {
        transform: scale(0.85);
    }
    .btn {
        font-size: 20px;
        transform: scale(0.65);
        background-position: -6px -10px;
        line-height: 132px;
    }
    .wheel-block-btn-pointer::after {
        background-position: 0px 6px;
    }
}
@media screen and (max-width: 768px) {
    body {
        min-height: 100%;
        overflow-x: hidden;
        background-position-y: -80px;
    }
    .wheel-block {
        top: -70px;
        max-width: 478px;
        margin: 0 auto 0px auto;
    }
    .wheel-container {
        min-height: 100%;
        max-width: 100%;
    }
    .logo-block {
        width: 90px;
        max-width: 86px;
        padding-top: 5px;
        margin-bottom: 6px;
    }
    .wheel-block-footer {
        top: -35px;
    }
    .wheel-footer-content {
        height: 150px;
        max-width: 95%;
    }
    .wheel-block-img {
        max-width: 130px;
        bottom: auto;
        top: 112px;
    }
    .wheel-block-animate {
        height: auto;
        top: 5px;
        margin-bottom: 0;
    }
    .wheel-img {
        height: 350px;
        width: 350px;
        margin: 0 auto;
        left: auto;
    }
    .wheel-block-btn {
        transform: scale(0.65);
        width: 115px;
        height: 115px;
    }
    .wheel-block-btn-pointer {
        transform: scale(0.85);
    }
    .btn {
        font-size: 20px;
        transform: scale(0.65);
        background-position: -6px -10px;
        line-height: 132px;
    }
    .wheel-modal {
        align-items: flex-start;
    }
    .wheel-modal-block {
        width: 100%;
        max-width: 370px;
    }
    .wheel-popup {
        padding-bottom: 11px;
        max-width: 450px;
        width: 100%;
        margin: 0 auto;
    }
    .wheel-popup-title {
        font-size: 25px;
        padding: 9px 20px 2px 20px;
        margin-bottom: 20px;
        line-height: 30px;
    }
    .wheel-popup-text {
        font-size: 28px;
        line-height: 27px;
    }
    .wheel-popup img {
        max-width: 70px;
        margin: 5px auto;
    }
    .wheel-popup-link {
        font-size: 12px;
        line-height: 15px;
        margin-bottom: 4px;
    }
    .wheel-block-btn-pointer::after {
        background-position: 0px 6px;
    }
}
@media screen and (max-width: 500px) {
    .wheel-block {
        max-width: 100%;
        max-height: 100%;
        top: 0;
    }
    .wheel-block-img {
        display: none;
    }
    .wheel-block-animate {
        top: 0;
        height: 345px;
    }
    .wheel-img {
        height: auto;
        width: 140%;
    }
    .wheel-block-btn {
        transform: scale(0.8);
    }
    .logo-block {
        width: auto;
        max-width: 150px;
        top: 0;
        margin-bottom: 40px;
    }
    .wheel-block-footer {
        top: auto;
    }
}

.footer-block-btn {
	z-index: 5;
	position: fixed;
	right: 0;
	bottom: 0;
	left: 0;
	height: 80px;
	padding-right: 16px;
	padding-left: 16px;
	width: 100%;
	left: 50%;
	transform: translate(-50%, 0);
	display: none;
	justify-content: center;
	align-items: center;
	background-color: #fff
}

.footer-block-btn .buttons .logButton {
    position: relative;
    width: auto;
    padding: 0 26px;
    height: 46px;
    background-color: #f3f3fa;
    color: #1b204f;
    font-weight: 700;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 13px;
    border-radius: 30px;
    transition: all .3s;
    text-transform: uppercase;
}

.footer-block-btn .buttons .regButton {
    padding: 0 26px;
    height: 46px;
    background: #ff5823;
    color: #fff;
    font-weight: 700;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 13px;
    transition: all .3s;
    text-transform: uppercase;
    border-radius: 30px;
}

.footer-block-btn .buttons {
	display: flex;
	justify-content: center;
	width: 100%
}

.footer-block-btn .buttons .regButton {
	padding: 0 26px;
	height: 46px;
	background: #ff5823;
	color: #fff;
	font-weight: 700;
	display: flex;
	justify-content: center;
	align-items: center;
	font-size: 13px;
	transition: all .3s;
	text-transform: uppercase;
	border-radius: 30px
}

.footer-block-btn .buttons .regButton:hover {
	opacity: .8
}

.footer-block-btn .buttons .logButton {
	position: relative;
	width: auto;
	padding: 0 26px;
	height: 46px;
	background-color: #f3f3fa;
	color: #1b204f;
	font-weight: 700;
	display: flex;
	justify-content: center;
	align-items: center;
	font-size: 13px;
	border-radius: 30px;
	transition: all .3s;
	text-transform: uppercase
}

.footer-block-btn .buttons .logButton:hover {
	opacity: .8
}

@media(max-width: 1250px) {
	.footer {
		padding: 20px 0 100px 0px
	}

	.footer-block-btn {
		display: flex
	}
}

@media(max-width: 450px) {
	.footer .footerInner .menu {
		grid-template-columns: repeat(1, 1fr)
	}

	.footer-block-btn .buttons .regButton,
	.footer-block-btn .buttons .logButton {
		font-size: 11px;
		padding: 0 10px;
		white-space: nowrap
	}
}