html {

    scrollbar-gutter: stable;

}

/* =====================================
   ЛОГОТИП
===================================== */

.logo-link {

    color: var(--text-color);

    display: flex;

    align-items: center;

    text-decoration: none;

}

.logo {

    width: 28px;

    height: 28px;

    display: block;

    transition: transform .25s ease;

}

.logo-link:hover .logo {

    transform: translateY(2px) scale(1.05);

}

/* =====================================
ROOT VARIABLES
===================================== */

:root {

    --text-color: #222222;
    --background-color: #f1efef;

    --primary-color: #36b51a;   /* основной зеленый */
    --nav-color: #368c42;       /* цвет ссылок меню */
    --accent-color: #59d874;    /* яркий зеленый */

}

body.dark-theme {

    --background-color: #021709;

    --text-color: #f4f4f4;

    --primary-color: #59d874;

    --nav-color: #59d874;

    --accent-color: #59d874;

}

/* =====================================
   RESET
===================================== */

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

/* =====================================
   CONTAINER
===================================== */

.hero-container {
    
    width: min(1200px, 90%);
    margin: 0 auto;

    display: flex;
    flex-direction: column;

    min-height: calc(100vh - 108px);
    position: relative;

    z-index: 1;
}

/* =====================================
   BODY
===================================== */

body {

    font-family: "Manrope", sans-serif;

    color: var(--text-color);

    background: var(--background-color);

}

/* =====================================
   HERO
===================================== */

.hero {

    min-height: calc(100vh - 108px);
    
    position: relative;

    overflow: hidden;

}

.hero::before {

    content: "";

    position: absolute;

    top: -90px;
    left: -90px;

    width: 500px;
    height: 500px;

    background: url("../svg/top-left.svg") no-repeat;

    background-size: contain;

    opacity: 0.5;

    pointer-events: none;

    z-index: 1;

}

.hero::after {

    content: "";

    position: absolute;

    right: 0;
    bottom: 0;

    transform: translateY(264px) translateX(5px);

    width: 700px;
    height: 700px;

    background: url("../svg/right-bottom.svg") no-repeat;

    background-size: contain;

    opacity: 0.5;

    pointer-events: none;

}

/* =====================================
   HERO CONTENT
===================================== */

.hero-content {

    display: flex;

    flex-direction: column;

    justify-content: center;

    align-items: center;

    flex: 1;

    text-align: center;

    position: relative;
    
    z-index: 2;

}

/* =====================================
   HERO TEXT
===================================== */

.hero-text {

    text-align: center;

}

/* =====================================
   HERO TYPOGRAPHY
===================================== */

.hero-text h1 {

    font-size: 72px;

    font-weight: 800;

    line-height: 1;

    letter-spacing: -0.03em;

    margin-bottom: 24px;

}

.hero-text p{

    font-size:20px;

    font-weight:300;

    line-height:1.5;

    color:#368c42;

}

/* =====================================
   HERO DIVIDER
===================================== */

.hero-divider {

    display: flex;

    justify-content: center;

    align-items: center;

    gap: 16px;

    margin-bottom: 24px;

}

.divider-line {

    width: 100px;

    height: 2px;

    background: var(--primary-color);

    opacity: 0.6;

}

.divider-dot {

    width: 8px;

    height: 8px;

    border-radius: 50%;

    background: var(--primary-color);

}

/* =====================================
   MOBILE
===================================== */

@media (max-width: 600px) {

   .hero::before {

    width: 450px;
    height: 450px;

}

.hero::after {

    width: 550px;
    height: 550px;

}

}