/* Variables */

:root {
    --black: #000;
    --dark: rgb(35, 35, 35);
    --green: rgb(137, 150, 60);
}

img {
    max-width: 100%;
}

a {
    text-decoration: none;
}

body {
    font-family: 'Gotham Pro';
}

/* HEADER */
.header {
    position: sticky;
    top: 0;
    background-color: #fff;
    z-index: 9;
}

.nav {
    display: flex;
    align-items: center;
    max-width: 1760px;
    width: 100%;
    margin: 0 auto;
    padding: 36px 20px;
}

.nav .logo {
    max-width: 182px;
}

.nav .menu {
    display: flex;
    margin-left: auto;
}

.nav .menu a {
    font-size: 22px;
    line-height: 30px;
    font-weight: 700;
    color: var(--black);
    transition: color 240ms;
}

.nav .menu a:hover,
.nav .menu a.active {
    color: var(--green);
}

.nav .menu a + a {
    margin-left: 80px;
}

.lang_switcher {
    position: relative;
    margin-left: 80px;
}

.lang_switcher .current_lang {
    display: flex;
    align-items: center;
    padding-left: 16px;
}

.lang_switcher .current_lang:after {
    content: "";
    width: 16px;
    height: 16px;
    margin-left: 10px;
    background: url(../images/menu_arr.png) no-repeat 50% 50% / contain;
    transition: transform 300ms;
}

.lang_switcher:hover .current_lang:after {
    transform: rotate(-180deg);
}

.lang_switcher span {
    font-size: 22px;
    line-height: 30px;
    font-weight: 700;
    color: var(--black);
    cursor: pointer;
}

.lang_switcher .langs span {
    margin-bottom: 6px;
    transition: color 240ms;
}

.lang_switcher .langs span:hover {
    color: var(--green);
}

.lang_switcher .langs {
    position: absolute;
    top: 36px;
    display: flex;
    flex-direction: column;
    padding: 9px 40px 10px 16px;
    background-color: #fff;
    box-shadow: 6px 6px 20px 0 rgba(126, 126, 126, 0.16);
    border-radius: 6px;
    opacity: 0;
    transition: opacity 300ms;
    visibility: hidden;
}

.lang_switcher:hover .langs {
    visibility: visible;
    opacity: 1;
}


/* MEEBOOR MAIN */

.meebur_main {
    margin-bottom: 216px;       
}

.meebur_main_top_wrap {
    position: relative;
    margin: 120px auto;
}

.meebur_main_top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1760px;
    width: 100%;
    margin: 0 auto;
    padding: 0 20px;
}

.meebur_main_text {
    width: 50%;
}

.meebur_main_text h1 {
    margin-bottom: 60px;
    font-family: 'Museo Sans Cyrl';
    font-size: 80px;
    line-height: 106px;
}

.meebur_main_text h1 .yellow {
    color: #F5C554;
}

.meebur_main_text h1 .green {
    color: var(--green);
}

.meebur_main_text p {
    margin-bottom: 60px;
    font-size: 24px;
    line-height: 32px;
}

.meebur_main_text button {
    height: 60px;
    font-size: 16px;
    line-height: 21px;
    font-weight: 700;
    color: #FFF;
    background-color: #FFC437;
    padding: 0 61px;
    border: 0;
    border-radius: 10px;
    cursor: pointer;
}

.meeboor_anim {
    width: 40%;
}

.meeboor_anim_wrap {
    position: relative;
}

.animation_img_first {
    transition: transform 100ms;
}

.animation_img_wrap {
    position: relative;
    top: -4px;
    display: inline-block;
    transition: transform 100ms;
}

.animation_img_nuts {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    transition: transform 100ms;;
}

.animation_img_second {
    position: relative;
    z-index: 3;
}

.slide_block {
    position: absolute;
    top: 30px;
    right: 0;
    overflow: hidden;
}

.slide {
    position: relative;
    margin-bottom: 38px;
    transform: translateX(84px);
    transition: transform 240ms;
    border-radius: 10px 0px 0px 10px;
    overflow: hidden;
    cursor: pointer;
}

.slide:before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    display: block;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0, 0);
    z-index: 3;
}

.slide:hover {
    transform: translateX(54px);
}

.slide:hover:before {
    background-color: rgba(0,0,0, .2);
    transition: background-color 240ms;
} 

.meebur_main_bottom_wrap {
    height: 1080px;
    background-color: rgba(255, 196, 55, .62);
    box-shadow: 0 3px 6px 0 rgba(0, 0, 0, 0.16);
}

.meebur_main_bottom {
    display: flex;
    justify-content: space-between;
    max-width: 1280px;
    width: 100%;
    height: 100%;
    margin: 0 auto;
    padding: 340px 20px 90px;
}

.left_block,
.right_block {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    max-width: 400px;
}

.left_block {
    text-align: right;
}

.left_block p,
.right_block p {
    font-size: 25px;
    line-height: 35px;
    color: #232323;
}

.left_block .left_top_txt,
.left_block .left_middle_txt,
.left_block .left_bottom_txt {
    position: relative;
}

.left_block .left_top_txt img,
.left_block .left_middle_txt img,
.left_block .left_bottom_txt img {
    position: absolute;
}

.left_block .left_top_txt p {
    padding-right: 30%;
}

.left_block .left_top_txt img {
    right: -30px;
    bottom: -80px;
}

.left_block .left_middle_txt p {
    padding-right: 35%;
}

.left_block .left_middle_txt img {
    right: -10px;
    top: -28px;
}

.left_block .left_bottom_txt p {
    padding-right: 4%;
}

.left_block .left_bottom_txt img {
    right: -10px;
    top: -95px;
}

.right_block {
    margin: 80px 0 60px;
}

.right_block .right_top_txt,
.right_block .right_bottom_txt {
    position: relative;
}

.right_block .right_top_txt img,
.right_block .right_bottom_txt img {
    position: absolute;
}

.right_block .right_top_txt p {
    padding-left: 20%;
}

.right_block .right_top_txt img {
    left: -23px;
    top: 60px;
}

.right_block .right_bottom_txt p {
    padding-left: 7%;
}

.right_block .right_bottom_txt img {
    top: -35px;
    left: -80px;
}

/* PRODUCTS */

.products {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    max-width: 1655px;
    width: 100%;
    margin: 0 auto 232px;
}

.products .nuts {
    max-width: 308px;
    max-height: 512px;
    margin: 0 47px 47px;
}

.products .nuts > .img_wrap {
    width: 100%;
    margin-bottom: 40px;  
    transform: rotate(-3deg);
    overflow: hidden;
    cursor: pointer;
    transition: transform 200ms linear;
}

.products .nuts > .img_wrap:hover {
    animation: products_hover 300ms linear;
    transform: rotate(0deg);
}

.products .nuts > h5 {
    width: 68%;
    margin: 0 auto;
    font-size: 30px;
    line-height: 40px;
    font-weight: 700;
    text-align: center;
}

/* PRODUCTS INFO */

.meeboor {
    padding: 140px 0;   
}

.meeboor_inner {
    display: flex;
    align-items: center;
    max-width: 1680px;
    width: 100%;
    margin: 0 auto;
    padding: 0 20px;
}

.meeboor_img_anim {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 800px;
    flex-basis: 50%;
    overflow: hidden;
}

.meeboor_img_anim > img {
    position: absolute;
    transform: translateY(-130%);
    transition: transform 500ms 200ms linear;
}

.meeboor_img_anim:before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    display: block;
    width: 100%;
    height: 100%;
    transform: scaleY(0);
    transform-origin: bottom;
    transition: transform 500ms 200ms linear;
}

.meeboor.animation .meeboor_img_anim > img {
    transform: translateY(0);
}

.meeboor.animation .meeboor_img_anim:before {
    transform: scaleY(1);
}

.meeboor_hazelnuts {
    background-color: rgba(165, 175, 109, .1);
}

.meeboor_hazelnuts .meeboor_img_anim:before {
    background-color: rgba(134, 147, 59, .74);
}

.meeboor_walnuts {
    background-color: rgba(246, 205, 108, .1);
}

.meeboor_walnuts .meeboor_img_anim:before {
    background-color: rgba(245, 197, 84, .86);
}

.meeboor_almonds {
    background-color: rgba(222, 138, 108, .1);
}

.meeboor_almonds .meeboor_img_anim:before {
    background-color: rgba(217, 119, 83, .86);
}

.meeboor_nuts {
    background-color: rgba(165, 175, 109, .1);
}

.meeboor_nuts .meeboor_img_anim:before {
    background-color: rgba(170, 161, 76, .86);
}

.meeboor_inner .meeboor_info_desc {
    width: 50%;
}

.meeboor_info_desc h6 {
    margin-bottom: 16px;
    font-size: 30px;
    line-height: 30px;
    font-weight: 500;
    color: var(--dark);
    opacity: 0;
    transition: opacity 300ms 300ms linear;
}

.meeboor_info_desc h4 {
    margin-bottom: 35px;
    font-size: 60px;
    font-weight: 700;
    color: var(--dark);
    opacity: 0;
    transition: opacity 300ms 350ms linear;
}

.meeboor_info_desc p {
    margin-bottom: 30px;
    font-size: 24px;
    line-height: 32px;
    color: var(--black);
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    text-overflow: ellipsis;
    overflow: hidden;
    opacity: 0;
    transition: opacity 300ms 450ms linear;
}

.meeboor_info_desc a {
    display: flex;
    align-items: center;
    font-size: 24px;
    line-height: 30px;
    color: var(--dark);
    opacity: 0;
    transition: opacity 300ms 800ms linear;
}

.meeboor_info_desc a:after {
    content: "";
    width: 50px;
    height: 25px;
    margin-left: 30px;
    background: url(../images/arrow_right.png) no-repeat center / contain;
}

.meeboor.animation .meeboor_info_desc h6 {
    opacity: 1;
}

.meeboor.animation .meeboor_info_desc h4 {
    opacity: 1;
}

.meeboor.animation .meeboor_info_desc p {
    opacity: 1;
}

.meeboor.animation .meeboor_info_desc a {
    opacity: 1;
}

.left_img .meeboor_info_desc {
    order: 2;
    padding-left: 120px;
}

.right_img .meeboor_info_desc {
    order: -1;
    padding-right: 120px;
}

.footer {
    background-color: #0F1316;
}

.footer_inner {
    display: flex;
    justify-content: space-between;
    max-width: 1760px;
    width: 100%;
    margin: 0 auto;
    padding: 60px 20px 40px;    
}

.footer_left,
.footer_right {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.footer_logo {
    max-width: 166px;
    margin-bottom: 110px;
}

.footer_left p {
    font-size: 18px;
    line-height: 26px;
    color: #FFF;
}

.footer_contacts {
    padding-right: 40px;
}

.footer_contacts p {
    display: flex;
    align-items: center;
}

.footer_address,
.footer_contacts a {
    display: flex;
    align-items: center;
    font-size: 20px;
    line-height: 40px;
    color: #fff;
}

.footer_address img,
.footer_contacts a img {
    margin-right: 20px;
}

.powered_by {
    text-align: right;
}

.powered_by p {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    font-size: 18px;
    line-height: 24px;
    color: #fff;
}

.powered_by span {
    display: inline-flex;
    align-items: center;
    margin-left: 16px;
}

.powered_by img {
    max-height: 19px;
    margin-right: 8px;
}

.box_shadow .animation_img_second {
    filter: drop-shadow(20px 20px 40px rgba(75, 75, 75, 0.16));
}

@keyframes products_hover {
   0% {
       transform: rotate(-3deg);
   }
   70% {
        transform: rotate(2deg);
    }
    100% {
        transform: rotate(0deg);
    }
}
