.hero,
body {
    min-height: 100vh
}

:root {
    --color-bg: #A8D5E2;
    --color-accent: #8B2B2B;
    --color-button: #D2691E;
    --color-button-shadow: #9e4f16;
    --color-text-dark: #000000;
    --color-text-body: #333333;
    --color-yellow-wave: #FFF7AD;
    --color-number-dark: #3E1010;
    --color-bg-dark: #2F363E;
    --font-number: 'Libre Baskerville', serif;
    --font-hand: 'Patrick Hand', cursive;
    --font-comic: 'Comic Neue', cursive;
    --font-golos: 'Golos Text', sans-serif
}

* {
    box-sizing: border-box
}

html {
    font-size: 100%;
    scroll-behavior: smooth
}

body {
    width: 100%;
    font-family: var(--font-golos);
    background-color: var(--color-bg);
    overflow-x: hidden
}

img {
    max-width: 100%;
    height: auto;
    display: block
}

.logo-img {
    height: 2.5rem;
    width: auto
}

.footer-logo-size {
    height: 3rem;
    margin-bottom: 0.5rem
}

.highlight-text {
    font-weight: 600;
    color: inherit
}

.btn-pop,
.logo-link {
    display: inline-block
}

.btn-pop,
.footer__link,
.nav__link {
    text-decoration: none;
    font-family: var(--font-comic)
}

.btn-pop {
    background-color: var(--color-button);
    color: #fff;
    padding: 1rem 3rem;
    border-radius: 0.5rem;
    font-size: 1.3rem;
    border: none;
    cursor: pointer;
    margin-top: 1.5rem;
    font-weight: 700;
    transform: translateY(0);
    transition: transform .4s ease-out, background-color .4s
}

.globes,
.this-you {
    min-height: 100vh;
    background-color: var(--color-bg)
}

.hero,
.nav,
.nav__list {
    display: flex
}

.btn-pop:hover {
    transform: translateY(-.2rem);
    background-color: #e67e30;
    box-shadow: 0 0.625rem 1.25rem rgba(0, 0, 0, .15)
}

.btn-pop:active {
    transform: translateY(.1rem)
}

.header {
    position: absolute;
    width: 100%;
    z-index: 100;
    padding: 2.5rem 5%
}

.nav {
    justify-content: space-between
}

.nav__list {
    align-items: center;
    gap: 3.5rem
}

.hero,
.tip-section--2 .tip-section__visuals {
    justify-content: center
}

.footer__link,
.nav__link {
    font-size: 1.25rem;
    color: var(--color-number-dark);
    position: relative;
    padding: 0.2rem 0;
    transition: color 0.3s;
    font-weight: 700
}

.footer__link {
    color: var(--color-text-body);
    font-size: 1rem
}

.footer__link::before,
.nav__link::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 0.18rem;
    bottom: 0;
    left: 0;
    background-color: var(--color-button);
    visibility: hidden;
    transform: scaleX(0);
    transition: 0.3s ease-in-out;
}

.footer__link:hover,
.nav__link:hover {
    color: var(--color-button)
}

.footer__link:hover::before,
.nav__link:hover::before {
    visibility: visible;
    transform: scaleX(1)
}

.this-you__text-item:hover,
.tutorial__item:hover .tutorial__number {
    transform: translateY(-5px)
}

.hero {
    align-items: center;
    position: relative
}

.hero__content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    padding: 0 5%
}

.hero__text-block {
    text-align: right;
    z-index: 10;
    position: absolute;
    right: 25%;
    top: 6rem
}

.hero__title {
    font-family: var(--font-hand);
    font-size: 4.5rem;
    color: var(--color-accent);
    line-height: 1.1;
    margin-bottom: 1rem;
    padding-right: 7rem
}

.hero__here {
    display: block;
    font-size: 8rem;
    color: #333;
    margin-top: -.625rem;
    padding-left: 38rem
}

.hero__description {
    font-size: 1rem;
    line-height: 1.6;
    font-family: var(--font-golos);
    margin-bottom: 2rem;
    max-width: 20rem;
    margin-left: 38rem;
    text-align: left
}

.hero__image--outhouse {
    position: absolute;
    top: 11rem;
    left: 1%;
    width: 55%;
    max-width: 52rem
}

.hero__image--paper {
    position: absolute;
    top: 11rem;
    right: -6%;
    max-width: 25%
}

.hero__text-block .btn-pop {
    margin-left: 38rem;
    display: block;
    width: fit-content
}

.globes {
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    position: relative;
    margin-bottom: 5rem
}

.globes__container {
    max-width: 40rem;
    z-index: 10;
    position: relative
}

.globe--left,
.globe--right {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 40rem;
    z-index: 1
}

.globe--left {
    left: -15rem
}

.globe--right {
    right: -15rem
}

.globes__text-content {
    text-align: center;
    padding: 0 2rem
}

.globes__title {
    font-family: var(--font-hand);
    font-size: 2.2rem;
    color: var(--color-accent);
    margin-bottom: 2.5rem;
    max-width: 28rem
}

.globes__description {
    font-family: var(--font-golos);
    max-width: 25rem;
    font-size: 1rem;
    line-height: 1.5;
    margin: 0 auto
}

.this-you {
    padding-top: 5rem;
    background-image: url("../assets/img/laba11.svg");
    background-size: cover;
    background-position: center 14rem;
    background-repeat: no-repeat;
    display: flex;
    flex-direction: column;
    position: relative
}

.this-you__container {
    max-width: 90rem;
    margin: 0 auto;
    padding: 0 2rem;
    z-index: 10;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    width: 100%
}

.this-you__title {
    text-align: center;
    font-family: var(--font-hand);
    font-size: 5rem;
    color: #333;
    padding-left: 7rem;
    margin-top: 3rem
}

.this-you__brush {
    position: absolute;
    top: -8rem;
    right: 4%;
    width: 6em;
    transform: rotate(90deg)
}

.this-you__boat {
    position: absolute;
    z-index: 15;
    width: 7rem;
    bottom: 3rem;
    left: 35%;
    transform: rotate(5deg) scaleX(-1)
}

.this-you__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    flex-grow: 1
}

.this-you__col-text {
    grid-column: 2;
    display: flex;
    flex-direction: column;
    gap: 3rem;
    justify-content: center;
    margin-bottom: 6rem
}

.this-you__text-item {
    transition: transform .3s
}

.this-you__heading {
    color: var(--color-accent);
    font-family: var(--font-comic);
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1rem
}

.this-you__desc {
    font-family: var(--font-golos);
    color: var(--color-text-body);
    font-size: 1rem;
    line-height: 1.5;
    max-width: 26rem
}

.tip-section {
    background-color: var(--color-yellow-wave);
    position: relative;
    z-index: 4;
    margin-top: -1px
}

.section-main-title {
    font-family: var(--font-hand);
    font-size: 4rem;
    color: #333;
    text-align: center;
    margin-bottom: 8rem
}

.tip-section__title {
    font-family: var(--font-comic);
    color: var(--color-accent);
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1rem
}

.tip-section__desc {
    font-family: var(--font-golos);
    font-size: 1rem;
    line-height: 1.5;
    color: #000;
    max-width: 27rem
}

.tip-section__sign {
    position: absolute;
    z-index: 20;
    width: 8rem;
    height: auto;
    opacity: 0;
    transition: opacity .5s ease-in-out
}

.poster-wrapper:hover .poster-overlay,
section:hover .tip-section__bird-left,
section:hover .tip-section__bird-right,
section:hover .tip-section__img-tree,
section:hover .tip-section__img-cloud-1,
section:hover .tip-section__img-cloud-2,
section:hover .tip-section__img-cloud-3,
section:hover .tip-section__img-fire,
section:hover .tip-section__img-squirrel,
section:hover .tip-section__deco-rock,
section:hover .tip-section__sign,
section:hover .tip-section__silhouette {
    opacity: 1
}

.tip-section__bird-left,
.tip-section__bird-right,
.tip-section__img-cloud-1,
.tip-section__img-cloud-2,
.tip-section__img-cloud-3,
.tip-section__deco-rock,
.tip-section__silhouette {
    transition: opacity .5s;
    opacity: 0
}

/* --- TIP 1 STYLES --- */
.tip-section--1 {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 5rem 0 8rem
}

.tip-section--1 .tip-section__sign {
    top: 26rem;
    right: 9%
}

.tip-section--1 .tip-section__content-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    max-width: 87.5rem;
    gap: 2rem;
    padding: 0 5%
}

.tip-section__silhouette img {
    height: 18.75rem;
    width: auto
}

.tip-section--1 .tip-section__text-block {
    max-width: 25rem;
    text-align: left;
    padding: 0 2rem
}

.tip-section__action-img img {
    height: 15.625rem;
    width: auto
}

/* --- TIP 2 STYLES --- */
.tip-section--2 {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 6rem
}

.tip-section--2 .tip-section__sign {
    top: 25rem;
    left: 27%;
    transform: scaleX(-1)
}

.tip-section__header {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    gap: 1.5rem;
    max-width: 27rem;
    padding: 0 2rem
}

.tip-section--2 .tip-section__visuals {
    position: relative;
    width: 100%;
    max-width: 75rem;
    min-height: 25rem;
    display: flex;
    align-items: flex-end
}

.tip-section--2 .tip-section__img-main {
    position: absolute;
    top: -7rem;
    right: 6%;
    width: 80%;
    max-width: 62rem
}

.tip-section__deco-rock {
    position: absolute;
    top: 18rem;
    right: 12%;
    width: 4rem;
    z-index: 1
}

/* --- TIP 3 STYLES --- */
.tip-section--3 {
    display: flex;
    justify-content: center;
    padding: 14rem 0 16rem
}

.tip-section--3 .tip-section__sign {
    top: 21rem;
    right: 38%;
    transform: scaleX(-1)
}

.tip-section--3 .tip-section__content-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    max-width: 75rem;
    gap: 4rem;
    padding: 0 5%
}

.tip-section--3 .tip-section__text-content {
    flex: 1;
    max-width: 32rem;
    padding-left: 12rem;
    padding-bottom: 3rem
}

.tip-section--3 .tip-section__visuals {
    flex: 1;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center
}

.tip-section--3 .tip-section__img-main {
    width: 100%;
    max-width: 13rem;
    position: relative;
    z-index: 2
}

.tip-section__img-cloud-1,
.tip-section__img-cloud-2,
.tip-section__img-cloud-3 {
    position: absolute;
    transform: rotate(20deg)
}

.tip-section__img-cloud-1 {
    top: -7rem;
    right: 36%;
    width: 15rem;
    z-index: -1
}

.tip-section__img-cloud-2 {
    top: 1rem;
    right: -10%;
    width: 13rem;
    z-index: 2
}

.tip-section__img-cloud-3 {
    top: -4.5rem;
    right: 101%;
    width: 37rem;
    z-index: -1
}

/* --- TIP 4 STYLES --- */
.tip-section--4 {
    display: flex;
    justify-content: center;
    padding: 5rem 0 16rem
}

.tip-section--4 .tip-section__sign {
    top: 25rem;
    right: 45%
}

.tip-section--4 .tip-section__content-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    max-width: 75rem;
    gap: 4rem;
    margin-left: 8rem
}

.tip-section--4 .tip-section__visuals {
    flex: 1;
    position: relative;
    height: 28rem;
    display: flex;
    justify-content: center;
    align-items: center
}

.tip-section--4 .tip-section__text-content {
    flex: 1;
    max-width: 31.25rem
}

.tip-section__img-squat {
    position: absolute;
    z-index: 10;
    width: 12rem;
    height: 24rem;
    bottom: -3rem;
    transform: scaleX(-1);
    right: 13rem
}

.tip-section__img-tree,
.tip-section__img-fire,
.tip-section__img-squirrel {
    opacity: 0;
    transition: opacity .5s;
    position: absolute
}

.tip-section__img-tree {
    z-index: -1;
    max-width: 14rem;
    right: 29rem
}

.tip-section__img-squirrel {
    z-index: 3;
    width: 8rem;
    bottom: 0;
    transform: scaleX(-1);
    right: 28rem
}

.tip-section__img-fire {
    bottom: -1rem;
    left: 50%;
    transform: translateX(-50%);
    max-width: 22rem;
    z-index: 1
}

/* --- TIP 5 STYLES --- */
.tip-section--5 {
    display: flex;
    justify-content: center
}

.tip-section--5 .tip-section__sign {
    top: 20rem;
    right: 64%;
    max-width: 7rem
}

.tip-section__content-vertical {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    width: 100%;
    max-width: 62.5rem
}

.tip-section__img-sober {
    margin-bottom: 8rem;
    width: 100%;
    max-width: 71rem
}

.tip-section__bird-left,
.tip-section__bird-right {
    position: absolute;
    max-width: 5rem
}

.tip-section__bird-left {
    top: 8rem;
    left: 22%
}

.tip-section__bird-right {
    bottom: 15rem;
    right: 25%;
    transform: rotate(-24deg)
}

.morning-section,
.toiletman-section,
.tutorial-section {
    background-color: var(--color-bg-dark);
    z-index: 5;
    position: relative;
    margin-top: -1px
}

.tutorial-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 6rem 0 10rem;
    color: #fff
}

.section-main-title-dark {
    font-family: var(--font-hand);
    font-size: 4rem;
    color: #fff;
    text-align: center
}

.tutorial__container {
    width: 100%;
    max-width: 87.5rem;
    padding: 0 5%;
    margin-top: 4rem;
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 2rem;
    flex-wrap: wrap
}

.tutorial__item {
    flex: 1;
    min-width: 18.75rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    cursor: default
}

.tutorial__visual {
    width: 100%;
    height: 18.75rem;
    display: flex;
    justify-content: center;
    align-items: flex-end;
    margin-bottom: 2rem
}

.tutorial__img {
    max-height: 100%;
    width: auto;
    object-fit: contain
}

.tutorial__text-group {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    text-align: left;
    width: 100%;
    max-width: 25rem
}

.tutorial__number {
    font-family: var(--font-number);
    font-size: 5rem;
    line-height: .8;
    color: #fff;
    font-weight: 700;
    transition: transform .3s
}

.tutorial__step-title {
    font-family: var(--font-comic);
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: .5rem;
    color: #fff;
    transition: .3s
}

.tutorial__desc-text {
    font-family: var(--font-golos);
    font-size: .95rem;
    line-height: 1.5;
    color: #e0e0e0
}

.tutorial__item:hover .tutorial__step-title {
    color: var(--color-button);
    text-shadow: 0 0 10px rgba(210, 105, 30, .5)
}

.morning-section,
.toiletman-section {
    padding: 5rem;
    display: flex;
    justify-content: center;
    align-items: center
}

.morning__container,
.toiletman__container {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    max-width: 75rem;
    gap: 6rem;
    padding: 0 5%
}

.morning__title-col,
.toiletman__title-col {
    flex: 1;
    max-width: 28rem;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: left
}

.morning__title,
.toiletman__title {
    font-family: var(--font-comic);
    font-size: 2.5rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 1.5rem;
    line-height: 1.2
}

.footer__copy,
.footer__disclaimer,
.overlay__desc {
    font-family: var(--font-golos)
}

.morning__desc,
.toiletman__desc {
    font-family: var(--font-golos);
    font-size: 1rem;
    line-height: 1.6;
    color: #e0e0e0
}

.poster-wrapper {
    flex: 1;
    position: relative;
    display: flex;
    justify-content: center;
    max-width: 27rem;
    cursor: pointer
}

.img-morning,
.img-toiletman {
    height: auto;
    transition: transform .4s;
    max-width: 100%
}

.poster-overlay {
    position: absolute;
    width: 100%;
    height: 100%;
    background-color: rgba(30, 30, 30, .9);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 2rem;
    opacity: 0;
    transition: opacity .4s ease-in-out;
    text-align: center;
    border: 0.0625rem solid rgba(255, 255, 255, .1)
}

.overlay__desc {
    color: #fff;
    transform: translateY(1rem);
    transition: transform .4s;
    line-height: 1.6
}

.poster-wrapper:hover .overlay__desc {
    transform: translateY(0)
}

.poster-wrapper:hover img {
    transform: scale(1.02) rotate(0)
}

.tree-transition-wrapper {
    background-color: var(--color-bg-dark);
    position: relative;
    padding-top: 2rem;
    margin-bottom: -0.0625rem
}

.tree-line {
    width: 100%;
    height: 7.625rem;
    background-image: url('../assets/img/koks7.svg');
    background-repeat: repeat-x;
    background-position: bottom left;
    background-size: contain;
    bottom: -0.625rem;
    z-index: 10;
    position: relative
}

.footer {
    background-color: var(--color-yellow-wave);
    padding: 4rem 5%;
    color: var(--color-text-body);
    z-index: 5;
    border-top: none;
    position: relative
}

.footer__container {
    max-width: 90rem;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: flex-start
}

.footer__brand {
    text-align: left
}

.footer__nav {
    text-align: right
}

.footer__links {
    display: flex;
    gap: 2rem;
    list-style: none;
    margin-bottom: 1rem;
    justify-content: flex-end
}

.footer__copy {
    font-size: 0.85rem;
    color: #555
}

.footer__disclaimer {
    font-size: 0.75rem;
    opacity: 0.6;
    margin-top: 0.5rem
}