@import url('reset.css');
@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Alkatra:wght@400..700&display=swap');

html {
    height: 100%;
}
 
body {
    height: 100%;
    font-family: "Montserrat", sans-serif;
    font-size: 20px;
    line-height: 32px; 
    min-height: 100%;
    overflow-x: hidden;
    background: #FFDC84;
    color: #292020;
}

.container {
    max-width: 1240px;
    width: 100%;
    margin: 0 auto;
    height: 100%;
}

.cw56b394c-main {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 100%;
}

/* Header */
.cw56b394c-heading {
	position: fixed;
	z-index: 99;
	top: 0;
	left: 0;
	right: 0;
	padding: 17px 20px;
    transition: .3s;
    background: #472623;
    color: #ffffff;
}

.cw56b394c-heading--navbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px 30px;
}

.cw56b394c-heading--box {
	display: flex;
	align-items: center;
	justify-content: space-between;
    gap: 20px 48px;
}

.cw56b394c-heading--blueprint {
	display: flex;
	align-items: center;
	font-size: 15px;
	line-height: 19px;
	text-transform: uppercase;
}

.cw56b394c-heading--item {
    position: relative;
    font-size: 16px;
    line-height: 20px;
    font-weight: 700;
	padding: 2px;
    transition: .3s;
}

.cw56b394c-heading--item::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 2px;
    right: 2px;
    height: 2px;
    transition: .3s;
}

.cw56b394c-heading--item.active::after {
    background: #F71C61;
}

.cw56b394c-heading--item:hover::after {
    background: #ffffff;
}

.cw56b394c-burger {
    display: none;
    position: absolute;
    z-index: 8;
    right: 20px;
    width: 22px;
    height: 16px;
    flex-direction: column;
    justify-content: space-between;
    cursor: pointer;
    top: 50%;
    transform: translateY(-50%);
}

.cw56b394c-burger .cw56b394c-lane {
    width: 100%;
    height: 2px;
    border-radius: 10px;
    background: #EDEEFD;
    transition: transform 0.2s ease-out;
}

.toggle .lane1 {
    background: #EDEEFD;
    transform: scale(0.9) rotateZ(-44deg) translate(-5px, 2.6px);
}

.toggle .lane2 {
    display: none;
}

.toggle .lane3 {
    background: #EDEEFD;
    transform: scale(0.9) rotateZ(45deg) translate(-8.7px, -6px);
}


/* Content */
.cw56b394c-topic {
    font-family: "Alkatra", system-ui;
    font-size: 74px;
    line-height: 80px;
    font-weight: 700;
    margin-bottom: 50px;
    text-align: center;
}

.cw56b394c-subtopic {
    font-family: "Alkatra", system-ui;
    font-size: 60px;
    line-height: 68px;
    font-weight: 700;
    margin-bottom: 30px;
    text-align: center;
}

.cw56b394c-button {
    font-family: "Montserrat", sans-serif;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    line-height: 34px;
    font-weight: 700;
    text-align: center;
    background: #F71C61;
    color: #ffffff;
    max-width: 320px;
    width: 100%;
    height: 62px;
    padding: 6px;
    transition: 0.5s;
    border-radius: 100px;
    border: none;
    cursor: pointer;
    user-select: none;
    margin: 0 auto;
}


/* welcome */
.cw56b394c-welcome {
    position: relative;
    background-image: url(../images/welcome-bg-cw56b394c.jpg);
    background-repeat: no-repeat;
    background-position: center 40px;
    background-size: cover;
    min-height: 100vh;
    padding: 160px 20px 140px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.cw56b394c-welcome--block {
    max-width: 900px;
    width: 100%;
    height: 100%;
    margin: 0 auto;
}

.cw56b394c-welcome--block p {
    margin: 0 auto 50px;
    text-align: center;
}

/* rules */
.cw56b394c-rules {
    padding: 80px 20px;
}

.cw56b394c-rules--block {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 30px;
}

.cw56b394c-rules--list p + p {
    margin-top: 20px;
}

.cw56b394c-rules--list h2 {
    font-family: "Alkatra", system-ui;
    font-size: 38px;
    line-height: 48px;
    font-weight: 700;
    margin-bottom: 28px;
}

.cw56b394c-rules--item {
    border: 2px solid #ffffff;
    background: #FFFFFF33;
    border-radius: 30px;
    padding: 20px 30px;
}

.cw56b394c-rules--item p + p {
    margin-top: 10px;
}

.cw56b394c-rules--photo {
    display: flex;
    align-items: center;
    justify-content: center;
}

.cw56b394c-rules--photo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

/* Why */
.cw56b394c-why {
    background: #FFA3BB;
    padding: 80px 20px;
}

.cw56b394c-why--block > p {
    text-align: center;
    margin-bottom: 50px;
}

.cw56b394c-why--block > p strong {
    font-weight: 700;
}

.cw56b394c-why--list {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
    margin-bottom: 50px;
}

.cw56b394c-why--item {
    border: 2px solid #ffffff;
    padding: 22px 32px;
    border-radius: 30px;
    display: grid;
    grid-template-columns: 170px 1fr;
    gap: 30px;
    align-items: center;
    background: #FFFFFF33;
}

.cw56b394c-why--item strong {
    font-size: 24px;
    line-height: 32px;
    font-weight: 700;
    display: inline-block;
    margin-bottom: 10px;
}

.cw56b394c-why--icon {
    display: flex;
    align-items: center;
    justify-content: center;
}

.cw56b394c-why--text {
    text-align: center;
    margin-bottom: 0 !important;
}

/* Testimonials */

.cw56b394c-testimonials {
    background: #FFA3BB;
    padding: 80px 20px;
}

.cw56b394c-testimonials .cw56b394c-why--list {
    margin-bottom: 0;
}

/* Footer */

.cw56b394c-footer {
    position: relative;
    color: #ffffff;
    background: #472623;
    padding: 30px 20px 40px;
}

.cw56b394c-footer--block {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 30px;
}

.cw56b394c-footer--list {
    display: flex;
    align-items: center;
    gap: 20px 30px;
}

.cw56b394c-footer--item {
    position: relative;
    font-size: 16px;
    line-height: 20px;
    font-weight: 600;
    padding: 2px;
    transition: .3s;
}

.cw56b394c-footer--item::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 2px;
    right: 2px;
    height: 2px;
    transition: .3s;
}

.cw56b394c-footer--item:hover::after {
    background: #ffffff;
}

.cw56b394c-footer--item.active::after {
    background: #F71C61;
}

.cw56b394c-footer--middle {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px 40px;
    margin-bottom: 30px;
}

.cw56b394c-footer--coperight {
    font-size: 16px;
    line-height: 24px;
    text-align: center;
}

.cw56b394c-footer--middle .cw56b394c-rules--item {
    background: #DA252C1A;
    border: 2px solid #F71C61;
    font-size: 18px;
    line-height: 28px;
}

/*  */

.cw56b394c-contacts {
    padding: 160px 20px 80px;
}

.cw56b394c-contacts--item {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 24px 48px;
}

.cw56b394c-contacts--union {
    background: #FFFFFF33;
    border: 2px solid #FFFFFF;
    border-radius: 30px;
    padding: 20px 30px;
}

.cw56b394c-contacts--pic {
    display: flex;
    align-items: center;
    justify-content: center;
}

.cw56b394c-contacts--union + .cw56b394c-contacts--union {
    margin-top: 30px;
}

.cw56b394c-contacts--union h3 {
    font-size: 24px;
    line-height: 34px;
    font-weight: 700;
    margin-bottom: 12px;
}

.cw56b394c-contacts .cw56b394c-subtopic {
    text-align: left;
}

.cw56b394c-contacts--union a:hover {
    text-decoration: underline;
}

/* Info */

.cw56b394c-information {
    padding: 160px 20px 120px;
}

.cw56b394c-information h1 {
    position: relative;
    z-index: 2;
    font-size: 50px;
    line-height: 58px;
    font-weight: 700;
    margin-bottom: 30px;
    text-align: center;
}

.cw56b394c-information h2 {
    font-size: 30px;
    line-height: 38px;
    font-weight: 700;
    margin-bottom: 30px;
}

.cw56b394c-information h3 {
    font-size: 24px;
    line-height: 32px;
    font-weight: 700;
    margin-bottom: 30px;
}

.cw56b394c-information p {
    margin-bottom: 20px;
}

.cw56b394c-information ul {
    list-style-type: disc;
    padding-left: 24px;
}

.cw56b394c-information li {
    margin-bottom: 14px;
}

.cw56b394c-information a {
    font-weight: 700;
    display: inline-block;
    color: #F71C61;
}


@media (max-width: 1060px) {
    body {
        font-size: 18px;
        line-height: 28px;
    }

    .cw56b394c-heading {
        padding: 14px 20px;
    }

    .cw56b394c-burger {
        display: flex;
    }

    .cw56b394c-button {
        font-size: 22px;
        line-height: 30px;
        height: 54px;
    }

    .cw56b394c-heading--global {
        display: none;
        position: absolute;
        z-index: 2;
        top: 0;
        right: 0;
        bottom: 0;
        height: 100vh;
        background: #472623;
        width: 60%;
        overflow-y: auto;
    }

    .cw56b394c-heading--navbar {
        flex-direction: column;
        padding: 60px 20px 40px;
    }

    .cw56b394c-heading--item {
        text-align: center;
        padding: 10px 20px;
    }
    
    .cw56b394c-topic {
        font-size: 40px;
        line-height: 50px;
        margin-bottom: 24px;
    }

    .cw56b394c-welcome--block p {
        font-size: 16px;
        line-height: 26px;
        margin-bottom: 30px;
    }

    .cw56b394c-subtopic {
        font-size: 34px;
        line-height: 42px;
    }

    .cw56b394c-contacts .cw56b394c-subtopic {
        text-align: center;
    }

    .cw56b394c-rules {
        padding: 60px 20px 40px;
    }

    .cw56b394c-rules--block {
        grid-template-columns: 1fr;
    }

    .cw56b394c-rules--list h2 {
        font-size: 24px;
        line-height: 34px;
        margin-bottom: 20px;
    }

    .cw56b394c-why {
        padding: 40px 20px 60px;
    }

    .cw56b394c-testimonials {
        padding: 40px 20px 60px;
    }

    .cw56b394c-contacts {
        padding: 120px 20px 40px;
    }
    
    .cw56b394c-information {
        padding: 120px 20px 60px;
    }

    .cw56b394c-information h1 {
        font-size: 34px;
        line-height: 42px;
    }

    .cw56b394c-information h2 {
        font-size: 22px;
        line-height: 28px;
        margin-bottom: 20px;
    }

    .cw56b394c-information h3 {
        font-size: 18px;
        line-height: 26px;
        margin-bottom: 20px;
    }
}


@media (max-width: 860px) {

    body {
        font-size: 16px;
        line-height: 26px;
    }

    .cw56b394c-welcome {
        background-position: left;
        padding: 120px 20px 60px;
    }

    .cw56b394c-why--item {
        grid-template-columns: 1fr;
    }

    .cw56b394c-why--item strong {
        font-size: 20px;
        line-height: 28px;
    }

    .cw56b394c-why--text {
        font-size: 14px;
        line-height: 20px;
    }

    .cw56b394c-why--list {
        margin-bottom: 30px;
    }

    .cw56b394c-why--icon img {
        width: 120px;
    }

    .cw56b394c-rules--item {
        padding: 16px;
    }

    .cw56b394c-footer--middle .cw56b394c-rules--item {
        font-size: 14px;
        line-height: 26px;
    }

    .cw56b394c-footer--block {
        flex-direction: column;
    }

    .cw56b394c-footer--list {
        flex-direction: column;
    }

    .cw56b394c-footer--middle  {
        flex-direction: column-reverse;
    }

    .cw56b394c-footer--coperight {
        font-size: 14px;
        line-height: 20px;
    }

    .cw56b394c-contacts--item {
        grid-template-columns: 1fr;
    }

    .cw56b394c-contacts--box {
        grid-row: 1;
    }

    .cw56b394c-contacts--union h3 {
        font-size: 20px;
        line-height: 28px;
        margin-bottom: 6px;
    }
}

/* Game */

body.is-visible {
    overflow: hidden;
}

#y3d0h14cw-game-container canvas {
    display:block;
    margin: 0;
    object-fit: contain;
}

#y3d0h14cw-game-wrapper {
    display: none;
    position: absolute;
    z-index: 9999;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(71, 38, 35, 0.9);
}

#y3d0h14cw-game-container {
    width: 100%;
    height: 100%;
    position: relative;
}

.y3d0h14cw-close {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 26px;
    height: 26px;
    z-index: 99;
}

.y3d0h14cw-close img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

