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

html {
    height: 100%;
}
 
body {
    height: 100%;
    font-family: "Roboto", sans-serif;
    font-size: 20px;
    line-height: 30px;
    min-height: 100%;
    overflow-x: hidden;
    background: #EDEEFD;
    color: #56587D;
}

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

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

/* Header */
.ygw37aqxe-heading {
	position: fixed;
	z-index: 99;
	top: 0;
	left: 0;
	right: 0;
	padding: 24px 20px;
    transition: .3s;
    background: #37137D;
}

.ygw37aqxe-heading__main {
    background: transparent;
}

.ygw37aqxe-heading.scroll {
    background: #37137D;
}

.ygw37aqxe-heading__global {
    width: 100%;
}

.ygw37aqxe-heading__menu {
    display: flex;
    align-items: center;
    font-size: 16px;
    line-height: 20px;
    text-transform: capitalize;
    font-weight: 500;
    gap: 20px 48px;
    color: #ffffff;
}

.ygw37aqxe-heading__navbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

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

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

.ygw37aqxe-heading__item {
    position: relative;
	padding: 2px;
    transition: .3s;
}

.ygw37aqxe-heading__item::after {
    content: '';
    position: absolute;
    bottom: -6px;
    left: 0;
    right: 0;
    height: 3px;
    transition: .3s;
}

.ygw37aqxe-heading__item.active::after {
    background: #ffffff;
}

.ygw37aqxe-heading__item:hover::after {
    background: #ffffff;
}

.ygw37aqxe-heading .ygw37aqxe-button {
    max-width: 230px;
}

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

.ygw37aqxe-burger .ygw37aqxe-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.9px, -6px);
}


/* Content */
.ygw37aqxe-topic {
    font-size: 72px;
    line-height: 82px;
    font-weight: 800;
    margin-bottom: 42px;
}

.ygw37aqxe-subtopic {
    color: #582BBF;
    font-size: 48px;
    line-height: 56px;
    font-weight: 800;
    margin-bottom: 20px;
}

.ygw37aqxe-button {
    font-family: "Roboto", sans-serif;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    line-height: 20px;
    font-weight: 500;
    text-align: center;
    background: #ffffff;
    color: #56587D;
    width: 100%;
    height: 48px;
    padding: 6px;
    transition: 0.5s;
    border-radius: 100px;
    border: 2px solid #ffffff;
    cursor: pointer;
    user-select: none;
}

.ygw37aqxe-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    max-width: 240px;
}

.ygw37aqxe-link img {
    width: 100%;
    height: 100%;
}


/* curtain */
.ygw37aqxe-curtain {
    position: relative;
    background-image: url(../images/curtain-bg-ygw37aqxe.png);
    background-repeat: no-repeat;
    background-position: top;
    background-size: cover;
    min-height: 90vh;
    padding: 120px 20px 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    color: #F0F7FF;
}

.ygw37aqxe-curtain__block {
    max-width: 590px;
    height: 100%;
}

.ygw37aqxe-curtain__block p {
    margin-bottom: 42px;
}

/* ideals */

.ygw37aqxe-ideals {
    padding: 60px 20px 80px;
}

.ygw37aqxe-ideals__list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px 40px;
    margin-bottom: 40px;
}

.ygw37aqxe-ideals__item {
    background: #ffffff;
    border-radius: 10px;
    padding: 40px 40px 50px;
    border: 5px solid #8570FF;
}

.ygw37aqxe-ideals__item ul {
    list-style-type: disc;
    padding-left: 22px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.ygw37aqxe-ideals__box {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.ygw37aqxe-ideals__box p {
    font-size: 24px;
    line-height: 32px;
    font-weight: 800;
    color: #582BBF;
}

/* gamers */

.ygw37aqxe-gamers {
    padding: 80px 20px;
}

.ygw37aqxe-gamers__list {
    position: relative;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.ygw37aqxe-gamers__list::before,
.ygw37aqxe-gamers__list::after {
    content: '';
    width: 400px;
    height: 540px;
    border: 5px solid #8570FF;
    position: absolute;
    border-radius: 10px;
    z-index: -1;
    pointer-events: none;
}

.ygw37aqxe-gamers__list::before {
    top: -60px;
    left: -60px
}

.ygw37aqxe-gamers__list::after {
    bottom: -60px;
    right: -60px;
}

.ygw37aqxe-gamers__item {
    border-radius: 10px;
    overflow: hidden;
    border: 5px solid #8570FF;
}

.ygw37aqxe-gamers__item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* duties */

.ygw37aqxe-duties {
    padding: 80px 20px;
}

.ygw37aqxe-duties__block {
    display: grid;
    grid-template-columns: 290px 1fr;
    align-items: center;
    gap: 24px 60px;
}

.ygw37aqxe-duties__list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.ygw37aqxe-duties__item {
    position: relative;
}

.ygw37aqxe-duties__photo {
    box-shadow: 0px 25px 50px -12px #00000040;
    border-radius: 50px;
}


/* Passions */
.ygw37aqxe-boundary {
    position: relative;
    padding: 80px 20px 160px;
}

.ygw37aqxe-boundary::after {
    content: '';
    position: absolute;
    z-index: -1;
    top: 0;
    left: 0;
    right: 0;
    bottom: -76px;
    background-image: url(../images/boundary-bg-ygw37aqxe.png);
    background-position: top;
    background-repeat: no-repeat;
    background-size: cover;
}

.ygw37aqxe-boundary__list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 34px;
}

.ygw37aqxe-boundary__item {
    background: #ffffff;
    border-radius: 10px;
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
    padding: 30px 30px 40px;
    border: 5px solid #8570FF;
}

.ygw37aqxe-boundary__item h3 {
    color: #582BBF;
    font-size: 32px;
    line-height: 34px;
    font-weight: 700;
    font-style: italic;
}

.ygw37aqxe-boundary__item h3 span {
    font-weight: 400;
}


/* guidance */
.ygw37aqxe-guidance {
	padding: 180px 20px 100px;
    flex-grow: 1;
}

.ygw37aqxe-guidance__block {
    display: grid;
    grid-template-columns: 620px 1fr;
    align-items: center;
    gap: 24px 40px;
}

.ygw37aqxe-form {
    border-radius: 10px;
    position: relative;
    width: 100%;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    padding: 40px 40px 50px;
    border: 5px solid #8570FF;
    background: #ffffff;
}

.ygw37aqxe-form__item.form-message {
    grid-column: 1/3;
    margin-bottom: 26px;
}

.ygw37aqxe-form .ygw37aqxe-subtopic {
    grid-column: 1/3;
    margin-bottom: 10px;
}

.ygw37aqxe-form__input {
    font-family: "Roboto", sans-serif;
    display: block;
    width: 100%;
    height: 60px;
    background: #F9F0FF;
    color: #56587D;
    outline: none;
    padding: 6px 24px;
    border-radius: 10px;
    font-size: 16px;
    line-height: 20px;
    font-weight: 400;
    border: 2px solid #582BBF40;
}

.ygw37aqxe-form__input::placeholder {
    color: #56587D;
}

.ygw37aqxe-form__input.error {
    border-color: #e00000;
}

label.error {
    display: none !important;
}

textarea.ygw37aqxe-form__input {
    height: 160px;
    padding: 12px 20px;
}

.ygw37aqxe-form .ygw37aqxe-button {
    grid-column: 1/3;
    background: #582BBF;
    color: #FFFFFF;
    height: 70px;
    font-size: 24px;
    line-height: 30px;
    border: none;
}

/* workflows */

.ygw37aqxe-workflows {
    padding: 180px 20px 100px;
}

.ygw37aqxe-workflows__box {
    background: #ffffff;
    padding: 40px 40px 50px;
    border-radius: 10px;
    border: 5px solid #8570FF;
}

.ygw37aqxe-workflows__box p + p {
    margin-top: 16px;
}

.ygw37aqxe-workflows__item {
    display: grid;
    grid-template-columns: 290px 1fr;
    align-items: center;
    gap: 24px 40px;
}

.ygw37aqxe-workflows__photo {
    box-shadow: 0px 25px 50px -12px #00000040;
    border-radius: 50px;
}


/* Footer */

.ygw37aqxe-lasting {
    position: relative;
    color: #ffffff;
    background: #37137D;
    padding: 24px 20px;
    font-size: 16px;
    line-height: 24px;
    font-weight: 400;
}

.ygw37aqxe-lasting::before {
    content: '';
    background: #F0F7FF40;
    height: 1px;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    max-width: 1440px;
    width: 100%;
    margin: 0 auto;
}

.ygw37aqxe-lasting__main {
    background: transparent;
}

.ygw37aqxe-lasting__block {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.ygw37aqxe-lasting__list {
    display: flex;
    align-items: center;
    gap: 20px 32px;
    color: #B9A5FF;
}

.ygw37aqxe-lasting__item {
    padding: 2px;
    transition: .3s;
}

.ygw37aqxe-lasting__item:hover {
    color: #F7EAFF;
}

/* Info */

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

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

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

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

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

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

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

.ygw37aqxe-information a {
    display: inline-block;
    font-weight: 700;
}



@media (max-width: 1300px) {
    .ygw37aqxe-heading__filter {
        gap: 30px;
    }

    .ygw37aqxe-button img {
        width: 30px;
    }

    .ygw37aqxe-curtain {
        background-position: center;
    }

    .ygw37aqxe-gamers__list::before, 
    .ygw37aqxe-gamers__list::after {
        width: 320px;
        height: 440px;
    }
}



@media (max-width: 1060px) {

    body {
        font-size: 18px;
        line-height: 28px;
    }

    .ygw37aqxe-gamers__list::before,
    .ygw37aqxe-gamers__list::after {
        border: 3px solid #8570FF;
        width: 200px;
        height: 320px;
    }

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

    .ygw37aqxe-burger {
        display: flex;
    }

    .ygw37aqxe-heading__global {
        display: none;
        position: absolute;
        z-index: 2;
        top: 0;
        right: 0;
        bottom: 0;
        height: 100vh;
        background: #37137D;
        width: 70%;
        overflow-y: auto;
    }

    .ygw37aqxe-heading__menu {
        flex-direction: column;
    }

    .ygw37aqxe-heading__navbar {
        flex-direction: column;
        padding: 60px 20px 40px;
    }

    .ygw37aqxe-heading__item {
        text-align: center;
        width: 100%;
        padding: 10px 20px;
    }
    
    .ygw37aqxe-topic {
        font-size: 48px;
        line-height: 56px;
        margin-bottom: 30px;
    }

    .ygw37aqxe-curtain {
        background-position: center;
    }

    .ygw37aqxe-curtain__block p {
        font-size: 16px;
        line-height: 26px;
        margin-bottom: 30px;
    }

    .ygw37aqxe-curtain__box:nth-child(2) {
        margin-left: 0;
    }

    .ygw37aqxe-subtopic {
        font-size: 30px;
        line-height: 38px;
    }

    .ygw37aqxe-ideals {
        padding: 40px 20px 60px;
    }

    .ygw37aqxe-ideals__list {
        margin-bottom: 30px;
        gap: 24px;
    }

    .ygw37aqxe-ideals__item {
        padding: 30px 30px 40px;
        border: 3px solid #8570FF;
    }

    .ygw37aqxe-ideals__box p {
        font-size: 20px;
        line-height: 28px;
    }

    .ygw37aqxe-duties {
        padding: 40px 20px 60px;
    }

    .ygw37aqxe-duties__list {
        gap: 24px;
    }

    .ygw37aqxe-boundary {
        padding: 40px 20px 60px;
    }

    .ygw37aqxe-boundary__list {
        gap: 24px;
    }

    .ygw37aqxe-boundary__item {
        padding: 30px 20px;
        border: 3px solid #8570FF;
        gap: 16px;
    }

    .ygw37aqxe-duties__item::before {
        width: 3px;
    }

    .ygw37aqxe-guidance {
        padding: 140px 20px 60px;
    }

    .ygw37aqxe-guidance__block {
        grid-template-columns: 420px 1fr;
        gap: 40px;
    }

    .ygw37aqxe-form {
        padding: 30px 30px 40px;
    }

    .ygw37aqxe-form__input {
        height: 52px;
    }

    .ygw37aqxe-workflows {
        padding: 140px 20px 60px;
    }

    .ygw37aqxe-boundary__item span {
        font-size: 24px;
        line-height: 32px;
    }

    .ygw37aqxe-gamers {
        padding: 40px 20px 60px;
    }

    .ygw37aqxe-gamers__list {
        gap: 24px;
    }

    .ygw37aqxe-gamers__item {
        border: 3px solid #8570FF;
    }

    .ygw37aqxe-duties__block {
        grid-template-columns: 240px 1fr;
        gap: 40px;
    }

    .ygw37aqxe-workflows__box {
        padding: 30px 30px 40px;
        border: 3px solid #8570FF;
    }

    .ygw37aqxe-workflows__item {
        gap: 40px;
    }
    
    .ygw37aqxe-information {
        padding: 120px 20px 60px;
    }

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

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

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

    .ygw37aqxe-lasting {
        font-size: 14px;
        line-height: 22px;
    }
}


@media (max-width: 860px) {

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

    .ygw37aqxe-gamers__list::before,
    .ygw37aqxe-gamers__list::after {
        content: none;
    }

    .ygw37aqxe-curtain {
        background-position: left;
    }

    .ygw37aqxe-boundary__list {
        grid-template-columns: 1fr;
    }

    .ygw37aqxe-curtain__box:nth-child(2) {
        grid-row: auto;
        grid-column: auto;
    }

    .ygw37aqxe-ideals__list {
        grid-template-columns: 1fr;
    }

    .ygw37aqxe-ideals__box {
        flex-direction: column;
        align-items: flex-start;
    }

    .ygw37aqxe-guidance__block {
        grid-template-columns: 1fr;
    }

    .ygw37aqxe-form {
        grid-template-columns: 1fr;
    }

    .ygw37aqxe-guidance__photo {
        max-width: 400px;
        grid-row: 2;
    }

    .ygw37aqxe-form .ygw37aqxe-subtopic {
        grid-column: auto;
    }

    .ygw37aqxe-form__item.form-message {
        grid-column: auto;
        margin-bottom: 10px;
    }

    .ygw37aqxe-form .ygw37aqxe-button {
        grid-column: auto;
        height: 60px;
    }

    .ygw37aqxe-lasting__block {
        flex-direction: column-reverse;
    }

    .ygw37aqxe-heading__navbar .ygw37aqxe-button {
        max-width: 100%;
    }

    .ygw37aqxe-gamers__list {
        grid-template-columns: 1fr;
    }

    .ygw37aqxe-lasting__list {
        flex-direction: column;
        gap: 10px;
    }

    .ygw37aqxe-duties__block {
        grid-template-columns: 1fr;
    }

    .ygw37aqxe-duties__photo {
        border-radius: 60px;
        max-width: 310px;
    }

    .ygw37aqxe-workflows__item {
        grid-template-columns: 1fr;
    }

    .ygw37aqxe-workflows__photo {
        border-radius: 60px;
        max-width: 260px;
        grid-row: 2;
    }

    .ygw37aqxe-boundary::after {
        bottom: -234px;
    }

    .ygw37aqxe-lasting {
        font-size: 14px;
        line-height: 22px;
    }
}
