*,
::before,
::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

:root {
    --yellow: #f3d119;
    --white: #f6f6f6;
    --gray: #5f5f5f;
    --black: #0a0b0d;
}

body {
    margin: 0;
    padding: 0;
    overscroll-behavior: none;
    scroll-behavior: smooth;
    user-select: none;
    cursor: url(/wp-content/themes/hello-elementor-child/assets/pointer.png) 20 20, auto;
}

body.page-id-1359 {
    /* overflow: hidden; */
}

button,
[type='button'],
[type='reset'],
[type='submit'] {
    -webkit-appearance: button;
    background-color: transparent;
    background-image: none;
}

button,
[role="button"] {
    cursor: pointer;
}

button,
select {
    text-transform: none;
}

button,
input,
optgroup,
select,
textarea {
    font-family: inherit;
    font-size: 100%;
    line-height: inherit;
    color: inherit;
    margin: 0;
    padding: 0;
}

.main-section {
    position: absolute;
    width: 100%;
    height: 100%;
    /* align-items: flex-end; */
    justify-content: center;
    z-index: 20;
    pointer-events: none;
    user-select: none;
    -webkit-user-select: none;
    display: flex;
    visibility: hidden;
}

.header {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    color: var(--white);
    padding: 0 1.5em 0 1em;
    padding-left: 4%;

    /* height: 120px; */
    align-self: flex-start;
    z-index: 2;
    position: absolute;
    top: 0;
    width: 100%;
    pointer-events: all;
}

.header .logo.ended {
    margin: 0;
}

.header .logo {
    transition: all 0.7s ease-in-out;
    z-index: 9;
    max-height: 80px;
}

.header .exit {
    padding: 17px 15px;
    background-color: var(--yellow);
    border-radius: 30px;
    font-size: 12px;
    margin-top: 40px;
    color: var(--white);
    transition: all 0.7s ease-in-out;
    pointer-events: all;
    z-index: 1;
    right: 50px;
    position: absolute;
    display: none;
    pointer-events: auto;
    cursor: pointer;
    line-height: 1;
}

.content.ended {
    /* pointer-events: auto; */
    opacity: 1;
}

.content {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    display: flex;
    opacity: 0;
    justify-content: center;
    align-items: flex-start;
    flex-direction: column;
    transition: all 0.7s ease-in-out;
    width: 100%;
    pointer-events: none;
    background: rgb(255, 255, 255);
    background: linear-gradient(270deg, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 1) 100%);
}

@media only screen and (max-width: 1200px) {
    .content p {
        font-size: 18px;
        line-height: 22px;
        width: 70%;
        font-weight: 400;
    }
}

.content--menu {
    left: 4%;
    font-size: 3vh;
}

.content--menu ul {
    padding: 0;
}

nav {
    position: fixed;
    display: flex;
    align-items: center;
    width: 25%;
    height: 100%;
}

nav li,
nav ul label.title,
nav ul,
nav a {
    width: 100%;
    display: block;
}

nav ul li {
    height: 3vh;
    overflow: hidden;
    transition: all .3s;
    margin-bottom: 30px;
    font-size: 1.5rem;
}

nav input[type="radio"] {
    display: none;
}

.menu-active {
    color: var(--yellow);
    pointer-events: none;
}

.content--menu nav ul li:hover {
    color: var(--yellow);
}

nav ul label {
    height: 35px;
    color: var(--black);
    cursor: pointer;
}

.menu--bottom {
    bottom: 70px;
    position: absolute;
    left: 4%;
    pointer-events: all;
    z-index: 5;
}

@media only screen and (max-width: 1200px) {
    .menu--bottom {
        display: none;
    }
}

.social--links--main {
    display: inline-flex;
    list-style: none !important;
    width: 200px;
    align-items: center;
    flex-direction: row;
    padding: 0 !important;
    line-height: 1 !important;
}

.social--links--main li {
    width: 32px;
    margin-right: 28px;
}

.social--links--main li a:hover svg {
    fill: #f1d11a;
}

.content h1 {
    line-height: 4rem;
    bottom: 65px;
    letter-spacing: -0.02em;
    color: transparent;
    -webkit-text-stroke: 2px var(--yellow);
    position: absolute;
    right: 10%;
    font-size: 5rem;
    padding: 0;
    margin: 0;
    text-align: right;
}

.explore-link {
    position: absolute;
    right: 5%;
    bottom: 70px;
    padding: 15px 17px !important;
    background-color: var(--yellow);
    border-radius: 30px;
    font-size: 12px;
    color: var(--white);
    transition: all 0.7s ease-in-out;
    pointer-events: all;
    cursor: pointer;
    line-height: 1;
}

.explore-link p {
    position: absolute;
    color: var(--white);
    top: -34px;
    width: 95px;
    opacity: 0;
    transition: all 0.2s ease-in-out;
    left: -20px;
    font-size: 11px;
}

.explore-link:hover {
    background-color: var(--black);
    transform: scale(1.2);
}

.explore-link:hover p {
    opacity: 1;
}

.credits {
    position: absolute;
    left: 4%;
    bottom: 20px;
    font-size: 10px;
    opacity: 0.3;
    pointer-events: all;
    z-index: 5;
}

.credits a {
    color: var(--black);
}

model-viewer {
    width: 100%;
    height: 100vh;
}


#wrapper--pages {
    position: absolute;
    overflow-x: hidden;
    width: 60%;
    height: 100%;
    right: 0;
    top: 0;
    background: #fffffff5;
    padding: 5% 5% 0 5%;
    z-index: 20;
    display: none;
    overflow-y: scroll;
    align-items: flex-start;
    transform: translate(100%, 0);
    transition: transform 0.4s, opacity 0.4s ease-in-out;
}


.close--pages {
    z-index: 230;
    position: fixed;
    top: 130px;
    right: 30px;
    width: 60px;
    display: none;
    cursor: pointer;
}

.page-id-312 #main-footer .container {
    display: none;
}

.view-button {
    background: var(--white);
    border-radius: 10px;
    border: none;
    box-sizing: border-box;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.25);
    color: var(--black);
    display: none;
    font-size: 16pt;
    line-height: 1.5;
    max-width: 250px;
    overflow-wrap: break-word;
    padding: 0.5em 1em;
    position: absolute;
    width: max-content;
    height: max-content;
    transform: translate3d(-50%, -50%, 0);
    cursor: pointer;
}

.view-button:hover {
    background: var(--yellow);
    color: var(--white);
}

#loading-text-intro {
    z-index: 24;
    position: absolute;
    width: 100vw;
    height: 100%;
    display: flex;
    align-content: center;
    justify-content: center;
    align-items: center;
    font-size: 14px;
    font-weight: 100;
    color: var(--black);
    background: white;
    flex-direction: column;
}

#loading-text-intro img {
    width: 100%;
    height: auto;
    object-fit: contain;
    max-width: 300px;
}

.circle {
    position: absolute;
    border: solid 2px #ccc;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    z-index: 1;
}

/* blog section */
.content-wrap {
    z-index: 25;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: none;
    width: fit-content;
    height: fit-content;
    max-width: 50vw;
    min-width: 50vw;
    margin: 0 auto;
    background-color: var(--white);
    padding: 40px;
    border-radius: 0;
}

.content-wrap-inner,
.about-inner,
.blog-inner,
.contact-inner {
    position: relative;
}

.blog-header {
    max-width: 32rem;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 4rem;
}

h2.blog-heading {
    text-align: center;
}

p.blog-description {
    text-align: center;
    line-height: 1.75rem;
    font-weight: 400;
    font-size: 1rem;
    line-height: 1.5rem;
    margin-top: 1.25rem;
}

.blog-row {
    display: grid;
    gap: 3rem;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    /* max-height: 600px; */
    /* overflow-y: scroll; */
    padding: 0;
}

.blog-img {
    overflow: hidden;
    display: block;
    line-height: 1;
    border-radius: 0.25rem;
}

.blog-thumbnail {
    transition-duration: 200ms;
    transition-property: all;
    transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
    -o-object-fit: cover;
    object-fit: cover;
    height: 100%;
    width: 100%;
    max-height: 150px;
    min-height: 150px;
}

.blog-item:hover .blog-thumbnail {
    transform: scale(1.1);
}

.blog-meta {
    align-items: center;
    display: flex;
    margin-top: 0;
    color: var(--black)
}

.blog-author {
    font-weight: 500;
    font-size: 0.875rem;
    line-height: 1.25rem;
    padding-bottom: 0;
}

.blog-author a {
    text-decoration: none;
    color: var(--black)
}

.blog-meta span,
.blog-date {
    margin-left: 0.5rem;
    font-weight: 500;
    font-size: 0.875rem;
    line-height: 1.25rem;
}


.blog-title {
    font-weight: 700;
    font-size: 1rem;
    line-height: 1.75rem;
    margin-top: 0;
}

.blog-title a {
    text-decoration: none;
    color: var(--black)
}

.blog-close,
.contact-close,
.about-close {
    position: absolute;
    top: 0;
    right: 0;
    width: 1.75rem;
    height: 1.75rem;
    background-color: transparent;
    background-image: none;
    line-height: 2;
    border: none;
    cursor: pointer;
    text-transform: none;
    transition-duration: .2s;
    transition-property: all;
    transition-timing-function: cubic-bezier(.4, 0, .2, 1);
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border-width: 0;
}

.blog-close svg,
.contact-close svg,
.about-close svg {
    color: var(--gray);
}


.content-wrap {
    z-index: 25;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: none;
    width: fit-content;
    height: fit-content;
    max-width: 50vw;
    margin: 0 auto;
    background-color: var(--white);
    padding: 40px;
    border-radius: 0;
}

.about-wrap>h2 {
    margin-bottom: 3rem;
}

#about-content {
    overflow-y: scroll;
    max-height: 600px;
}

/* 3 skills */
.principles {
    display: -ms-grid;
    display: grid;
    grid-auto-columns: 1fr;
    grid-column-gap: 32px;
    grid-row-gap: 32px;
    -ms-grid-columns: 1fr 1fr 1fr;
    grid-template-columns: 1fr 1fr 1fr;
    -ms-grid-rows: auto auto;
    grid-template-rows: auto auto;
    margin-top: 2rem
}

.principles-card {
    padding: 64px 24px;
    border-radius: 24px;
    background-color: var(--white);
    box-shadow: 0 1px 20px 0 rgba(0, 0, 0, .08), 0 1px 1px 0 rgba(0, 0, 0, .08);
}

.principles-card-content {
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    max-width: 360px;
    margin-right: auto;
    margin-left: auto;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -webkit-flex-direction: column;
    -ms-flex-direction: column;
    flex-direction: column;
    -webkit-box-align: center;
    -webkit-align-items: center;
    -ms-flex-align: center;
    align-items: center;
    text-align: center;
}

.principles-card-icon {
    width: 64px;
    height: 64px;
    margin-bottom: 24px;
}

.principles-description {
    margin-top: 16px;
    color: var(--gray);
    line-height: 1.75;
}

@media screen and (max-width:991px) {
    h3 {
        font-size: 42px;
    }

    .heading-small {
        font-size: 28px;
    }
}

@media screen and (max-width:767px) {
    .principles {
        -ms-grid-columns: 1fr;
        grid-template-columns: 1fr;
    }
}

@media screen and (max-width:479px) {
    h3 {
        font-size: 26px;
    }

    .heading-small {
        font-size: 26px;
    }

    .principles-card {
        padding-top: 32px;
        padding-bottom: 32px;
    }

    .principles-card-icon {
        width: 48px;
        height: 48px;
        margin-bottom: 20px;
    }

    .principles-description {
        font-size: 14px;
    }
}

/* 5 habits */
.works {
    max-width: 36rem;
    margin-top: 3rem;
    margin-left: auto;
    margin-right: auto;
}

.work-item {
    padding-bottom: 1.5rem;
    position: relative;
}

.work-item-content {
    position: relative;
    overflow: hidden;
    padding: 1rem;
    border: none;
    border-radius: 1rem;
    background-color: var(--white);
    box-shadow: 0 1px 20px 0 rgba(0, 0, 0, .08),
        0 1px 1px 0 rgba(0, 0, 0, .08);
}

@media (min-width: 640px) {
    .work-content-inner {
        align-items: center;
    }
}

.work-content-inner {
    align-items: flex-start;
    display: flex;
    align-items: center;
}

.work-number {
    --tw-text-opacity: 1;
    color: var(--gray);
    background-color: var(--yellow);
    font-weight: 700;
    font-size: 1.25rem;
    line-height: 1.75rem;
    border-radius: 50rem;
    justify-content: center;
    align-items: center;
    flex-shrink: 0;
    width: 3.5rem;
    height: 3.5rem;
    display: inline-flex;
}

.work-title {
    color: var(--black);
    font-weight: 500;
    font-size: 1.25rem;
    line-height: 1.75rem;
    margin-left: 1.5rem;
}

.content-wrap>h2 {
    text-align: center;
}


/* contact */
.contact-wrap {
    padding-top: 3rem;
    padding-bottom: 3rem;
    background-color: var(--white);
}

@media (min-width: 640px) {
    .contact-wrap {
        padding-top: 4rem;
        padding-bottom: 4rem;
    }
}

@media (min-width: 1024px) {
    .contact-wrap {
        padding-top: 5rem;
        padding-bottom: 5rem;
    }

    .blog-thumbnail {
        max-height: 0;
        min-height: 0;
    }
}


.contact-inner {
    padding-left: 1rem;
    padding-right: 1rem;
    max-width: 80rem;
    margin-left: auto;
    margin-right: auto;
}

@media (min-width: 640px) {
    .contact-inner {
        padding-left: 1.5rem;
        padding-right: 1.5rem;
    }
}

@media (min-width: 1024px) {
    .contact-inner {
        padding-left: 2rem;
        padding-right: 2rem;
    }
}

.contact-row {
    row-gap: 3rem;
    grid-template-columns: repeat(1, minmax(0, 1fr));
    display: grid;
}

@media (min-width: 1024px) {
    .contact-row {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (min-width: 1024px) {
    .contact-row {
        -moz-column-gap: 4rem;
        column-gap: 4rem;
    }
}

.contact-left {
    text-align: left;
}

.contact-left h2 {
    text-align: left;
    font-size: 1.875rem;
    line-height: 2.25rem;
    color: var(--black);
    letter-spacing: -0.025em;
    font-weight: 600;
}

@media (min-width: 1024px) {
    .contact-left h2 {
        font-size: 3rem;
        line-height: 1;
    }
}

@media (min-width: 640px) {
    .contact-left h2 {
        font-size: 2.25rem;
        line-height: 2.5rem;
    }
}

.contact-left p {
    color: var(--black);
    line-height: 1.75rem;
    font-weight: 400;
    font-size: 1rem;
    line-height: 1.5rem;
    margin-top: 1rem;
}

@media (min-width: 1024px) {
    .contact-left p {
        margin-top: 1.5rem;
    }
}

@media (min-width: 1024px) {
    .contact-left p {
        font-size: 1.125rem;
        line-height: 1.75rem;
    }
}

@media (min-width: 1024px) {
    .contact-left p {
        line-height: 2rem;
    }
}

.contact-info {
    gap: 2rem;
    grid-template-columns: repeat(1, minmax(0, 1fr));
    display: grid;
    margin-top: 3rem;
}

@media (min-width: 1024px) {
    .contact-info {
        margin-top: 2rem;
    }
}

.contact-info h3 {
    color: var(--yellow);
    letter-spacing: 0.1em;
    text-transform: uppercase;
    font-weight: 500;
    font-size: 0.75rem;
    line-height: 1rem;
}

.contact-info p {
    color: var(--black);
    font-weight: 500;
    font-size: 1rem;
    line-height: 1.5rem;
    margin-top: 1.25rem;
}

.contact-right {
    --tw-shadow: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
    --tw-shadow-colored: 0 20px 25px -5px var(--tw-shadow-color), 0 8px 10px -6px var(--tw-shadow-color);
    box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);
    background-color: var(--white);
    border-radius: 1rem;
}

@media (min-width: 640px) {
    .contact-right-inner {
        padding: 2.5rem;
    }
}

.contact-right-inner {
    padding: 1.5rem;
}

.contact-form label {
    color: var(--black);
    font-weight: 500;
    font-size: 1rem;
    line-height: 1.5rem;
}

.form-item>div {
    margin-top: 0.5rem;
}

.form-item input {
    color: var(--black);
    font-size: 1rem;
    line-height: 1.5rem;
    padding-top: 1rem;
    padding-bottom: 1rem;
    padding-left: 1rem;
    padding-right: 1rem;
    background-color: white;
    border-color: var(--white);
    border-width: 1px;
    border-radius: 0.5rem;
    width: 100%;
    display: block;
    border-style: solid;
}

.contact-form> :not([hidden])~ :not([hidden]) {
    --tw-space-y-reverse: 0;
    margin-top: calc(1.5rem * calc(1 - var(--tw-space-y-reverse)));
    margin-bottom: calc(1.5rem * var(--tw-space-y-reverse));
}


.form-item textarea {
    color: var(--black);
    font-size: 1rem;
    line-height: 1.5rem;
    padding-top: 1rem;
    padding-bottom: 1rem;
    padding-left: 1rem;
    padding-right: 1rem;
    background-color: white;
    border-color: var(--white);
    border-width: 1px;
    border-radius: 0.5rem;
    resize: vertical;
    width: 100%;
    display: block;
}

.form-submit {
    transition-duration: 200ms;
    transition-property: all;
    transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
    transition-duration: 150ms;
    color: white;
    font-weight: 500;
    font-size: 1rem;
    line-height: 1.5rem;
    padding-top: 1rem;
    padding-bottom: 1rem;
    padding-left: 3rem;
    padding-right: 3rem;
    background-color: var(--yellow);
    border-color: transparent;
    border-width: 1px;
    border-radius: 0.75rem;
    justify-content: center;
    align-items: center;
    display: inline-flex;
}

#menu-toggle {
    display: none;
}

.menu-button-container {
    display: none;
    height: 100%;
    width: 30px;
    margin-top: -6px;
    cursor: pointer;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    transition: all 0.7s ease-in-out;
    z-index: 9;
}

.menu-button,
.menu-button::before,
.menu-button::after {
    display: block;
    background-color: var(--yellow);
    position: absolute;
    height: 4px;
    width: 30px;
    transition: transform 400ms cubic-bezier(0.23, 1, 0.32, 1);
    border-radius: 2px;
}

.menu-button::before {
    content: "";
    margin-top: -8px;
}

.menu-button::after {
    content: "";
    margin-top: 8px;
}

#menu-toggle:checked+.menu-button-container .menu-button::before {
    margin-top: 0px;
    transform: rotate(220deg);
}

#menu-toggle:checked+.menu-button-container .menu-button {
    background: rgba(255, 255, 255, 0);
}

#menu-toggle:checked+.menu-button-container .menu-button::after {
    margin-top: 0px;
    transform: rotate(-220deg);
}

@media (max-width:1200px) {
    .menu-button-container {
        display: flex;
    }
}

.menu-mobile {
    position: fixed;
    top: 0;
    bottom: 0;
    left: 4%;
    right: 0;
    pointer-events: all;
}

.menu-mobile ul {
    padding: 0;
}

#menu-toggle:checked~.menu-mobile {
    display: flex;
}

@media screen and (max-width: 1200px) {
    .view-button {
        padding: 0.25em 0.2em;
        max-width: 120px;
        font-size: 12pt;
    }

    nav ul label {
        font-size: 1.5rem;
    }

    .menu-mobile {
        display: none;
        background: rgb(255 255 255 / 90%);
        left: 0;
    }

    .content-wrap {
        width: 90vw;
        max-width: 90vw;
        padding: 40px;
    }

    .contact-info {
        grid-template-columns: 1fr 1fr;
    }

    .blog-row {
        gap: 1rem;
        grid-template-columns: 1fr 1fr;
        margin-top: 1.25rem;
        /* max-height: 500px; */
    }

    .blog-title {
        font-weight: 600;
        font-size: 0.8rem;
        line-height: 1.5;
        margin-top: 0;
    }

    .blog-meta {
        display: flex;
        justify-content: space-between;
    }

    .blog-meta span {
        display: none;
    }

    .blog-author {
        font-size: 0.75rem;
        line-height: 1.25rem;
    }

    .blog-date {
        margin-left: 0rem;
        font-size: 0.75rem;
    }

    p.blog-description {
        font-size: 0.8rem;
    }

    .blog-close,
    .contact-close,
    .about-close {
        line-height: 1.75;
        width: 1.5rem;
        height: 1.5rem;
        margin-top: -30px;
        margin-right: -30px;
    }

    .contact-inner {
        padding-left: 0rem;
        padding-right: 0rem;
        max-width: 100%;
    }

    .contact-info {
        gap: 1rem;
        display: grid;
        margin-top: 1rem;
    }

    .form-item input,
    .form-item textarea {
        font-size: 0.75rem;
        line-height: 1.2rem;
        padding-top: 0.5rem;
        padding-bottom: 0.5rem;
        padding-left: 1rem;
        padding-right: 1rem;
    }

    .form-submit {
        line-height: 1.5rem;
        padding-top: 0.75rem;
        padding-bottom: 0.75rem;
        padding-left: 2rem;
        padding-right: 2rem;
    }

    .contact-row {
        row-gap: 2rem;
    }

    .contact-info p {
        font-size: 0.8rem;
        line-height: 1.5rem;
        margin-top: 0.5rem;
    }

    .contact-right-inner {
        padding: 1.25rem;
    }

    nav {
        align-items: center;
        width: 100%;
        height: 100%;
        text-align: center;
    }

    .header {
        padding-left: 1em;
    }

    .header .exit {
        padding: 17px 15px;
        margin-top: 45px;
        right: 30px;
    }

    .credits {
        display: none;
    }

    .content h1 {
        line-height: 2rem;
        left: 5%;
        font-size: 2.25rem;
        letter-spacing: -0.01em;
        right: unset;
        bottom: 13%;
        -webkit-text-stroke: 1px #f1d11a;
    }

    .explore-link {
        bottom: 12%;
        right: 10%;
        padding: 10px 11px !important;
    }

    .explore-link p {
        top: -34px;
        opacity: 1;
        transition: all 0.2s ease-in-out;
        left: -27px;
    }

    #cursor {
        display: none;
    }

    .content {
        background: transparent;
    }

    .content--menu {
        left: 0;
        font-size: 3vh;
        right: 0;
        top: 0;
        bottom: 0;
        width: 100%;
        height: 100%;
        background-color: var(--white);
    }

    .principles-card-icon {
        width: 48px;
        height: 48px;
        margin-bottom: 20px;
        margin-top: -20px;
        background: white;
        border-radius: 50rem;
        box-shadow: 0 1px 20px 0 rgba(0, 0, 0, .08), 0 1px 1px 0 rgba(0, 0, 0, .08);
    }

    .principles-card {
        padding-top: 0;
        padding-bottom: 20px;
    }

    .content--menu {
        display: none;
    }

    .header {
        display: flex;
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        color: white;
        padding: 0 1.5em 0 1em;
        width: 100%;
    }

    .blog-thumbnail {
        max-height: 100px;
        min-height: 100px;
    }

    #about-content {
        max-height: 500px;
    }

    .about-wrap>h2 {
        margin-bottom: 1rem;
    }
}

.reasons-row {
    display: grid;
    margin-left: auto;
    margin-right: auto;
    margin-top: 1rem;
    grid-template-columns: repeat(1, minmax(0, 1fr));
    gap: 0.5rem;
    overflow-y: scroll;
    max-height: 500px;
}

.reasons-item {
    /* background-color: var(--white); */
    background-color: #00000057;
    border-radius: 0;
    transition: transform .2s, background-color 1s;
}

.reasons-item:hover {
    transform: scale(1.1) translateZ(0) !important;
    background-color: var(--black);
}

.reasons-item-inner {
    padding-top: 0.5rem;
    padding-bottom: 0.5rem;
    padding-left: 1rem;
    padding-right: 1rem;
}

.reasons-title {
    color: var(--white);
    font-weight: 600;
    font-size: 1.25rem;
    line-height: 1.75rem;
    padding-top: 1.5rem;
    padding-left: 1rem;
    padding-right: 1rem;
}

.reasons-img {
    -o-object-fit: cover;
    object-fit: cover;
    border-radius: 0.75rem;
    margin-top: 1rem;
}

.reasons-highlight {
    color: var(--yellow)
}

@media screen and (min-width: 640px) {
    .reasons-row {
        gap: 1.5rem;
        margin-top: 4rem;
    }

    .reasons-item-inner {
        padding: 1.5rem;
    }
}

@media screen and (min-width: 1024px) {
    .reasons-row {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 2rem;
        max-height: 100%;
        overflow-y: visible;
    }

    .reasons-item-inner {
        padding-top: 1.25rem;
        padding-bottom: 1.25rem;
        padding-left: 1rem;
        padding-right: 1rem;
    }

    .reasons-img {
        margin-top: 3rem;
    }
}

#post-content {
    max-height: 500px;
    overflow-y: scroll;
}

#back-to-list {

    margin-bottom: 2rem;
}

#back-to-list .button {
    transition-duration: 200ms;
    transition-property: all;
    transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
    transition-duration: 150ms;
    color: var(--black);
    line-height: 1.25rem;
    font-weight: 600;
    font-size: 0.875rem;
    line-height: 1.25rem;
    padding-top: 0.5rem;
    padding-bottom: 0.5rem;
    padding-left: 1.5rem;
    padding-right: 1.5rem;
    background-color: white;
    border-color: var(--white);
    border-width: 1px;
    border-radius: 0.375rem;
    justify-content: center;
    align-items: center;
}

.abtract-element {
    position: absolute;
    overflow: hidden;
    z-index: 9;
}

.abtract-element.top-left {
    top: 0;
    left: 0;
    margin-top: -40px;
    margin-left: -40px;
}

.abtract-element.bottom-right {
    bottom: 0;
    right: 0;
    margin-bottom: -50px;
    margin-right: -40px;
}

.abtract-element.bottom-left {

    bottom: 0;
    right: 0;
    margin-bottom: -50px;
    margin-right: -120px;
    z-index: 0;
}

.abtract-element img {
    width: 200px;
    height: auto;
}

.abtract-element.bottom-left img {
    width: 320px;

}

#nam-habits.content-wrap {
    background-color: var(--white);
    background-image: url(/wp-content/themes/divi-child/assets/abstract-background-2.png);
    background-position: 100% -100%;
    overflow: hidden;
}

#ba-reasons.content-wrap {
    background-color: #5f5f5fc4;
    background-image: url(/wp-content/themes/divi-child/assets/abstract-background-1.png);
}

#nam-habits h2 {
    padding: 10px 30px;
    background-color: var(--yellow);
    width: 727px;
    font-size: 30px;
    text-align: end;
}

#nam-habits .work-item-content {
    border-radius: 0;
    /* background-color: var(--gray); */
    background-color: #0a0b0da3;
}

#nam-habits .work-title {
    color: var(--white);
}

#ba-reasons h2 {
    text-align: end;
    padding-right: 10%;
    line-height: 1.2;
    color: var(--white);
}

#ba-reasons .blog-close svg,
#nam-habits .blog-close svg {
    color: #c1c1c1;
}


#nam-habits .abtract-element.bottom-right {
    display: none;
}