:root{
    --main-font: 'Rubik', sans-serif;
    --primary-color: #BE9E78;
    --secondary-color: #1D3523;
    --text-color: #111111;
    --green: #8AC43F;
    --white: #FFFFFF;
    --section-distance: 80px;
    --size-1: 12px;
    --size-2: 24px;
    --size-3: 48px
}


/* common styles */

*{
    margin: 0;
    padding: 0;
    box-sizing: border-box
}
html{
    font-size: 10px
}
body{
    font-size: 1.8rem;
    font-family: var(--main-font);
    font-weight: 400;
    line-height: 1.6;
    color: var(--text-color);
    background-color: #FEFEFE
}
address{
    font-style: normal
}
.container{
    width: 100%;
    max-width: 1324px;
    padding: 0 var(--size-1);
    margin: 0 auto
}
a{
    text-decoration: none
}
section a:not(.btn, address a){
    color: var(--green)
}

h1{
    font-size: 5.5rem;
    font-weight: 600;
    line-height: 1.2;
    text-transform: uppercase
}

h2{ 
    font-size: 3.8rem;
    line-height: 1.2;
    font-weight: 600;
    text-transform: uppercase;
    text-align: center;
    margin-bottom: var(--size-2)
}

h3{
    font-size: 2.2rem;
    line-height: 1.2;
    font-weight: 600
}
h3:not(:first-child){
    margin-top: var(--size-2)
}
section ul:not(:first-child){
    margin-top: var(--size-2)
}
ul li{
    list-style: none
}
ul li:not(nav ul li){
    padding-left: 20px;
    position: relative
}
ul li:not(nav ul li):before{
    content: '';
    width: 8px;
    height: 8px;
    position: absolute;
    left: 0;
    top: 10px;
    background-color: var(--primary-color);
    transform: rotate(90deg)
}
ul li:not(nav ul li):not(:first-child), ol li:not(:first-child){
    margin-top: 8px
}

ol{
    counter-reset: item
}
ol li{
    list-style: none;
    padding-left: 27px;
    position: relative;
    counter-increment: item
}
ol li:before{
    content: counter(item)'.';
    color: var(--primary-color);
    position: absolute;
    left: 0;
    font-weight: 600
}
::selection {
    background: var(--primary-color);
    color: white
}
section p:not(:first-child), blockquote:not(:first-child){
    margin-top: var(--size-2)
}
blockquote{
    padding: 18px 109px;
    height: fit-content;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative
}
blockquote p{
    font-size: 14px;
    text-transform: uppercase;
    font-weight: 500;
    text-align: center;
    margin-top: 0!important;
    position: relative
}
blockquote img{
    position: absolute;
    height: 100%;
    width: 100%
}
address a{
    display: block;
    position: relative;
    padding-left: 30px;
    color: var(--text-color)
}

.social{
    display: flex;
    align-items: center;
    gap: var(--size-1)
}
.social a{
    color: var(--secondary-color);
    width: 32px;
    height: 32px;
    display: block
}

.social a.f{
    background: url('../img/icons/f.svg') no-repeat;
    background-size: 100%
}
.social a.yt{
    background: url('../img/icons/yt.svg') no-repeat;
    background-size: contain
}



/* end of common styles */



/* common class styles */

/* buttons */
.btn, input[type="button"]{
    padding: 0 36px;
    font-size: 2.2rem;
    line-height: 1;
    border-radius: 6px;
    text-transform: uppercase;
    font-weight: 500;
    text-decoration: none;
    text-align: center;
    height: 50px;
    display: flex;
    justify-content: center;
    align-items: center;
    width: fit-content;
    background-color: var(--white);
    color: var(--primary-color);
    transition: 0.3s
}
.btn:hover{
    cursor: pointer
}

/* end of buttons */


.none{
    display: none!important
}


.img-container{
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden
}
.img-container img, .img-container video{
    object-fit: cover;
    width: 100%;
    height: 100%
}
.grid-2{
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--size-2)
}

.grid-3{
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: var(--size-2)
}
.grid-5{
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: var(--size-2)
}

.bg-wrap{
    position: relative
}
.bg{
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: cover;
    top: 0;
    left: 0
}
.slider-nav{
    display: flex;
    align-items: center;
    gap: 24px;
    width: fit-content;
    position: absolute;
    left: calc(50% - 50px);
    bottom: var(--size-2);
    z-index: 1
}
.slider-nav .prev, .slider-nav .next{
    width: 38px;
    height: 38px;
    border-radius: 4px;
    background: url('../img/icons/arrow-left-slider.svg') no-repeat center;
    background-size: 12px;
    background-color: var(--white);
    cursor: pointer
}
.slider-nav .next{
    transform: rotate(180deg)
}

/* end of common class styles */



/* header */
header{
   position: fixed;
   width: 100%;
   z-index: 4
}
header.scroll{
    background-color: #fefefe
}
.logo.scroll{
    display: none
}
header.scroll .logo.scroll{
    display: block
}
img.logo{
    height: 46px
}

.main-menu a{
    font-family: var(--main-font);
    font-size: 1.6rem;
    color: var(--secondary-color);
    text-transform: uppercase
}
.main-menu a:hover{
    color: var(--primary-color)
}

.main-menu >nav >ul{
    display: flex;
    align-items: center;
    gap: var(--size-2)
}
.header{
    padding: var(--size-1) 0
}
.header .container{
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: var(--size-2)
}

/* end of header */



/* footer */

footer{
    padding: var(--size-2) 0
}
footer p{
    text-align: center
}
footer a{
    color: var(--primary-color)
}
footer a:hover{
    text-decoration: underline
}


/* end of footer */