@import url('reset.css');
@import url('https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Kavoon&display=swap');

html {
    height: 100%;
}
 
body {
    height: 100%;
    font-family: "Inter", sans-serif;
    font-size: 18px;
    line-height: 32px; 
    min-height: 100%;
    overflow-x: hidden;
    background: #5B093A;
    color: #E0E0E0;
}

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

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

/* Header */
.j1vef-header {
	position: fixed;
	z-index: 99;
	top: 0;
	left: 0;
	right: 0;
	padding: 16px 20px;
    transition: .3s;
    background: #2C0027;
    border-bottom: 2px solid #FFC0394D;
}

.j1vef-header__navbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px 36px;
}

.j1vef-header__box {
	display: flex;
	align-items: center;
	justify-content: space-between;
    gap: 20px 48px;
}

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

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

.j1vef-header__item.active {
    color: #FFC039;
}

.j1vef-header__item:hover {
    color: #FFC039;
}

.j1vef-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%);
}

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

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

.toggle .lane2 {
    display: none;
}

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


/* Content */
.j1vef-topic {
    font-family: "Kavoon", serif;
    font-size: 60px;
    line-height: 70px;
    font-weight: 400;
    margin-bottom: 24px;
    text-align: center;
    color: #FFC039;
    text-shadow: 3px 3px 6px #000000CC;
}

.j1vef-subtopic {
    font-family: "Kavoon", serif;
    font-size: 48px;
    line-height: 58px;
    font-weight: 400;
    margin-bottom: 46px;
    text-align: center;
    color: #FFC039;
    text-shadow: 3px 3px 6px #000000CC;
}

.j1vef-button {
    font-family: "Inter", sans-serif;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    line-height: 34px;
    font-weight: 700;
    text-align: center;
    background: #FFC039;
    color: #2C0027;
    width: 100%;
    height: 61px;
    padding: 6px;
    transition: 0.5s;
    border-radius: 100px;
    border: none;
    cursor: pointer;
    user-select: none;
    text-transform: uppercase;
    margin: 0 auto;
}

.j1vef-button:hover {
    box-shadow: 10px 5px 5px #ffb63875;
}


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

.j1vef-welcome__block {
    height: 100%;
}

.j1vef-welcome__block p {
    text-align: center;
    width: 100%;
}

/* Game */
.j1vef-games {
    background: #5B093A;
    padding: 96px 20px;
}

.j1vef-games__canvas {
    position: relative;
    border-radius: 16px;
    /* overflow: hidden; */
    box-shadow: 0px 15px 40px 0px #00000066;
    margin-bottom: 96px;
    height: 600px;
}

.j1vef-games__canvas iframe {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.j1vef-games__box {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 24px 48px;
}

.j1vef-games__list p + p {
    margin-top: 20px;
}

.j1vef-games__list p strong {
    font-weight: 700;
}

.j1vef-games__item {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
    margin: 24px 0;
    padding: 0;
}

.j1vef-games__item li {
    font-family: "Kavoon", serif;
    background: #FFC0391A;
    border-radius: 12px;
    color: #FFC039;
    font-size: 25px;
    line-height: 30px;
    padding: 18px 20px 18px 36px;
    border: 1px solid #FFC03933;
    display: flex;
    align-items: center;
}

.j1vef-games__item li::before {
    content: '';
    min-width: 20px;
    width: 20px;
    height: 20px;
    display: inline-block;
    border-radius: 50%;
    background: #FFC039;
    margin-right: 20px;
}

.j1vef-games__photo {
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0px 15px 40px 0px #00000066;
}

.j1vef-games__photo img {
    width: 100%;
    height: 100%;
}


/* choose */
.j1vef-choose {
    background: #2C0027;
    padding: 96px 20px;
}

.j1vef-choose__block > p {
    text-align: center;
    margin-bottom: 68px;
}

.j1vef-choose__block > p strong {
    font-weight: 700;
}

.j1vef-choose__list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 40px;
    padding: 0;
}

.j1vef-choose__item {
    background: #FFC0391A;
    border: 2px solid #FFC03933;
    padding: 30px 24px 40px;
    border-radius: 10px;
    display: grid;
    grid-template-columns: 1fr;
    justify-items: center;
    gap: 20px;
    align-items: center;
    width: 31%;
    text-align: center;
}

.j1vef-choose__item strong {
    font-family: "Kavoon", serif;
    font-size: 25px;
    line-height: 30px;
    font-weight: 400;
    color: #FFC039;
}

/* description */
.j1vef-description {
    padding: 160px 20px 80px;
    background: #5B093A;
}

.j1vef-description__block .j1vef-button {
    margin-top: 30px;
}

.j1vef-description__block .j1vef-games__canvas {
    margin-top: 96px;
    margin-bottom: 0;
}

.j1vef-description__block .j1vef-games__canvas {
    display: none;
}

.j1vef-description__block .j1vef-games__canvas.is-active {
    display: block;
}

.j1vef-description__text {
    background: #FFC0391A;
    border: 1px solid #FFC03933;
    border-radius: 12px;
    padding: 18px 20px;
}

/* Testimonials */

.j1vef-testimonials {
    background: #2C0027;
    padding: 96px 20px;
}

.j1vef-testimonials .j1vef-choose__list {
    margin-bottom: 0;
}

/* Footer */

.j1vef-footer {
    border-top: 2px solid #FFC0394D;
    position: relative;
    color: #ffffff;
    background: #5B093A;
    padding: 62px 20px 24px;
}

.j1vef-footer__block {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    margin-bottom: 38px;
}

.j1vef-footer__list {
    display: flex;
    align-items: center;
    gap: 20px 40px;
}

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

.j1vef-footer__item:hover {
    color: #FFC039;
}

.j1vef-footer__item.active {
    color: #FFC039;
}

.j1vef-footer__coperight {
    color: #E0E0E0;
    font-size: 16px;
    line-height: 24px;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px 30px;
    border-top: 1px solid #FFC0394D;
    padding-top: 20px;
}

.j1vef-disclaimer__item {
    padding: 18px 32px;
    background: #2C0027;
    border-radius: 12px;
    border: 2px solid #FFC039;
    text-align: center;
    margin-bottom: 38px;
}

.j1vef-disclaimer__warning {
    background: #FFC039;
    border-radius: 100px;
    color: #2C0027;
    font-size: 18px;
    line-height: 24px;
    font-weight: 700;
    padding: 8px 16px;
    display: inline-block;
}

/* Contacts */

.j1vef-contacts {
    background: #2C0027;
    padding: 160px 20px 80px;
}

.j1vef-contacts__item {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 30px;
}

.j1vef-contacts__pic {
    display: flex;
    align-items: center;
    justify-content: center;
}

.j1vef-contacts__info {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.j1vef-contacts__union {
    position: relative;
    background: #FFC0390D;
    border-left: 4px solid #FFC039;
    border-radius: 10px;
    padding: 16px 16px 16px 80px;
}

.j1vef-contacts__union::before {
    content: '';
    background-size: contain;
    background-position: center;
    width: 50px;
    height: 50px;
    position: absolute;
    top: 8px;
    left: 16px;
}

.j1vef-contacts__union:nth-child(1)::before {
    background-image: url(../images/icons/address-j1vef.svg);
}

.j1vef-contacts__union:nth-child(2)::before {
    background-image: url(../images/icons/phone-j1vef.svg);
}

.j1vef-contacts__union:nth-child(3)::before {
    background-image: url(../images/icons/email-j1vef.svg);
}

.j1vef-contacts__union h3 {
    font-size: 16px;
    line-height: 22px;
    font-weight: 700;
    margin-bottom: 4px;
    color: #FFC039;
}

.j1vef-contacts__union p {
    font-size: 14px;
    line-height: 22px;
}

.j1vef-contacts__union a {
    font-size: 14px;
    line-height: 22px;
}

.j1vef-contacts__union a:hover {
    text-decoration: underline;
}

.j1vef-contacts__box .j1vef-subtopic {
    text-align: left;
}

/* Info */

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

.j1vef-information h1 {
    font-family: "Kavoon", serif;
    color: #FFC039;
    text-shadow: 3px 3px 6px #000000CC;
    position: relative;
    z-index: 2;
    font-size: 48px;
    line-height: 58px;
    font-weight: 400;
    margin-bottom: 30px;
    text-align: center;
}

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

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

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

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

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

.j1vef-information a {
    display: inline-block;
    color: #FFC039;
}


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

    .j1vef-header {
        padding: 14px 20px;
    }

    .j1vef-burger {
        display: flex;
    }

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

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

    .j1vef-header__navbar {
        flex-direction: column;
        padding: 60px 20px 40px;
    }

    .j1vef-header__item {
        text-align: center;
        padding: 10px 20px;
    }
    
    .j1vef-topic {
        font-size: 30px;
        line-height: 44px;
        margin-bottom: 24px;
    }

    .j1vef-welcome__block p {
        font-size: 16px;
        line-height: 26px;
    }

    .j1vef-subtopic {
        font-size: 26px;
        line-height: 36px;
        margin-bottom: 24px;
    }

    .j1vef-games__box {
        grid-template-columns: 1fr;
    }

    .j1vef-choose {
        padding: 40px 20px 60px;
    }

    .j1vef-description {
        padding: 120px 20px 60px;
    }

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

    .j1vef-contacts {
        padding: 120px 20px 40px;
    }

    .j1vef-choose__list {
        gap: 24px;
    }

    .j1vef-choose__item {
        width: 46%;
    }
    
    .j1vef-information {
        padding: 120px 20px 60px;
    }

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

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

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

    .j1vef-footer {
        padding: 40px 20px 24px;
    }
}


@media (max-width: 860px) {

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

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

    .j1vef-games {
        padding: 40px 20px;
    }

    .j1vef-games__item li {
        padding: 18px 20px;
        font-size: 20px;
        line-height: 24px;
    }

    .j1vef-games__item li::before {
        width: 14px;
        height: 14px;
        min-width: 14px;
        margin-right: 10px;
    }

    .j1vef-choose__block > p {
        margin-bottom: 40px;
    }

    .j1vef-choose__item {
        width: 100%;
    }

    .j1vef-games__canvas {
        margin-bottom: 40px;
    }

    .j1vef-choose__item strong {
        font-size: 20px;
        line-height: 24px;
    }

    .j1vef-disclaimer__item {
        margin-bottom: 24px;
    }

    .j1vef-footer__block {
        margin-bottom: 24px;
    }

    .j1vef-footer__list {
        flex-direction: column;
    }

    .j1vef-footer__coperight {
        font-size: 14px;
        line-height: 20px;
        flex-direction: column;
    }

    .j1vef-contacts__item {
        grid-template-columns: 1fr;
    }

    .j1vef-contacts__box {
        grid-row: 1;
    }

    .j1vef-contacts__union::before {
        width: 40px;
        height: 40px;
        left: 12px;
    }

    .j1vef-games__canvas {
        height: 420px;
    }

    .j1vef-contacts__union {
        padding: 16px 16px 16px 64px;
    }
}
