@font-face {
    font-family: "TT Squares Bold";
    src: url("fonts/TT Squares Bold.otf") format("opentype");
}
@font-face {
    font-family: "Inter";
    src: url("fonts/Inter-VariableFont.ttf") format("truetype");
}
@font-face {
    font-family: "InterOtf";
    src: url("fonts/Inter-VariableFont.otf") format("opentype");
}


:root {
    --color-white: #ffffff;
    --pw: 8px; /* 8px */
    --mw: -8px;
    --mt: -16px;
    --pt: 16px;
}
:focus-visible {
    outline: none;
}
html {
    /* position: relative; */
    height: 100%;
    /* overflow: hidden; */
    overflow-x: hidden;
    overflow-y: hidden;
}
body {
    /* position: relative; */
    height: 100%;
    margin: 0;
    /* overflow: hidden; */
    overflow-x: hidden;
    overflow-y: hidden;
}
#fullpage {
    height: 100%;
    position: relative;
    touch-action: none;
    transform: translate3d(0px, 0px, 0px);
    transition: all 700ms ease-in-out 0s;
}
.fp-section.fp-table, .fp-slide.fp-table {
    display: table;
    table-layout: fixed;
    width: 100%;
    /* height: 100%; */
}
.fp-tableCell {
    display: table-cell;
    /* vertical-align: middle; */
    width: 100%;
    /* height: 100%; */
}
.wrapper {
    height: 100%;
    position: relative;
    overflow-x: hidden;
    overflow-y: hidden;
}
.section-full_page {
    height: 100%;
}
.section-full_page-2 {
    min-height: calc(100% - 80px - 20px);
    height: calc(100% - 80px - 20px);
    position: relative;
}
.section-full_page-2 .full-page-container {
    min-height: calc(100% - 80px);
}
.top-prev {
    display: flex;
    height: calc(100% - 80px);
    align-items: center;
    justify-content: center;
}
.bottom-prev {
    background: #af1015;
    height: 80px;
    position: relative;
}
.top-prev .logo {
    margin-bottom: 30px;
    font-size: 32px;
    font-weight: 800;
    text-transform: uppercase;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'TT Squares Bold';
    position: relative;
    width: fit-content;
    margin-left: auto;
    margin-right: auto;
    margin-top: calc(-48px / 3.5);
}
.logo img, .img-width {
    margin-right: 0.2em;
    width: 56px;
    height: 100%;
}
.top-prev .video {
    width: 300px;
    min-width: 300px;
    height: auto;
    margin: auto;
    position: relative;
}
.top-prev .video img {
    width: 100%;
    height: 100%;
}
.top-prev .video video {
    width: 100%;
    height: 100%;
    border: 1px solid #AF1015;
    /* box-shadow: 0 4px 4px 4px rgba(0, 0, 0, 0.05); */
}
.video-play-btn {
    position: absolute;
    width: 43px;
    height: 39px;
    top: calc(50% - (39px / 2));
    left: calc(50% - (43px / 2));
    cursor: pointer;
}
.full-box {
    height: 100%;
}
.color-white, a.color-white {
    color: var(--color-white);
}
.bottom-prev .decore {
    position: absolute;
    bottom: 2px;
    left: calc(0px - (87px / 2));
}
.bottom-prev-info {
    display: flex;
    align-items: center;
    justify-content: end;
    height: 100%;
}
.bottom-prev-info p {
    font-weight: 400;
    font-size: 18px;
    text-transform: uppercase;
    margin-right: 10px;
    width: 218px;
}
.bottom-prev-info p b {
    font-weight: 700;
}
.scroll_btn {
    width: 50px;
    height: 50px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 100%;
    border: 3px solid #fff;
    cursor: pointer;
    transition: all .18s ease-in-out;
    -webkit-transition: all .18s ease-in-out;
    text-decoration: none;

    left: 0px;
    transform: rotate(0deg);
    position: relative;
    /* animation: scroll_btn 6s 1s infinite; */
}
.scroll_btn img {
    position: relative;
    transition: all 0.15s ease-in-out;
    bottom: 0;
}
.scroll_btn_animation {
    animation: scroll_btn_scale 5s 1s infinite;
}
.scroll_btn_animation img {
    /* animation: scroll_btn 5s 1s infinite; */
}
.form-section-2 {
    margin-top: 20px;
    position: relative;
    z-index: 100;
}
.form_result {
    margin-top: 4rem;
    margin-left: 3rem;
    font-size: medium;
}

.form_top {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}
.form_top .form-input {
    border: 1px solid #d9d9d9;
    border-radius: 5px;
    width: 75%;
    height: 38px;
    padding-left: 14px;
    margin-bottom: 14px;
}
.form-group-checkbox {
    width: 75%;
}
.form_top .form-input::placeholder {
    font-weight: 400;
    font-size: 14px;
    color: #191919;
}
.form-bottom {
    width: 75%;
    margin: auto;
    display: flex;
    align-items: center;
    margin-top: 15px;
}
.form-bottom button {
    display: flex;
    justify-content: center;
    align-items: center;
    border: 2px solid #af1015;
    border-radius: 50px;
    width: 180px;
    height: 54px;
    background: #af1015;
    font-weight: 500;
    font-size: 16px;
    line-height: 140%;
    color: #f9f9f9;
    text-transform: uppercase;
    margin-right: 17px;
    transition: all .2s linear;
}
.form-bottom button ~ svg {
    position: relative;
    left: 0;
    transition: all 0.18s ease-in-out;
}
.bottom-section-2 {
    /* position: absolute; */
    display: none;
    width: 100%;
    /* bottom: 0; */
}
.bottom-section-2 .bottom-prev-info {
    justify-content: center;
    width: 100%;
}
.form-bottom button:focus {
    border: 2px solid #af1015;
    background: #ffffff;
    color: #af1015;
}
.form-error {
    width: 75%;
    margin: auto;
    color: #af1015;
    font-size: 14px;
    margin-top: 15px;
    display: none;
}
.form_top .form-input.input_error {
    box-shadow: 0 0 3px #af1015;
}
.posr {
    position: relative;
}
.container-decore {
    /* width: 120%; */
    width: 463px;
    position: absolute;
    /* right: calc(-120% / 2); */
    z-index: -1;
}
.container-decore-1 {
    /* top: calc(50% - 120% / 2 - 60px); */
    left: calc(100% - (463px / 2));
    top: calc(50% - (395px / 2));
}
.container-decore-2 {
    /* top: calc(50% - 120% / 2 + 120px); */
    left: calc(100% - (463px / 3));
    top: calc(50% - (395px / 5 * 4.6));
}

.mobile-block {
    /* height: calc((100vh - 100%) / 2); */
}



/* animation logo >>> */
.js-logo .logo-name::before {
    content: 'Agrodata';
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    /* width: 100%;  */
    /* background-color: #fff; */
    transition: all .4s linear;
    transition-delay: .5s;
    clip: rect(auto auto auto calc(1em*7.6));
    color: #000;
}
.js-logo.animation .logo-name::before {
    /* animation: logo 1s 1; */
    /* width: 0;  */
    clip: rect(auto auto auto 0px);
}
.js-logo p {
    position: relative;
    animation: logo-shadow .7s 1s 1;
    transform: scale(1, 0.9);
    letter-spacing: 2px;
    color: transparent;
}
.logo.js-logo img {
    opacity: 1;
    position: absolute;
    /* bottom: -110px;
    left: -110px;
    
    width: 52px; */
    z-index: 100;
    bottom: 0px;
    left: 0;
    margin-right: 0;
    /* width: 72px; */
}
.js-logo.animation img {
    animation: logo-img 1s 1, logo-img-rotate 7s 1s infinite;
}

.js-logo img.animation_rotate {
    animation: logo-img-rotate .7s 1s 1;
}

/* animation logo <<< */

/* animation >>> */
.item-el_favorite:hover svg {
    /* height: 25px;
    width: 25px; */
    /* animation: none; */
    animation: animate_heart 0.7s 1;
}
.footer-social a:hover svg {
    animation: animate_heart 0.5s 1;
}
a.item_favorite_btn:hover svg {
    animation: animate_heart_6 0.7s 1;
}

/* animation <<< */

/* page menu >>> */


/* page menu <<< */


/* горизонтальный размер >>> */

/* @media screen and (max-width: 1023px) and (orientation: landscape) {

    body {
        position: relative;
        height: 100vw;
        overflow-x: hidden;
    }
    .section-full_page {
        height: 100vw;
    }
    .section-full_page-2 {
        min-height: calc(100vw - 80px - 40px);
        height: calc(100vw - 40px);
        position: relative;
    }
    .section-full_page-2 .full-page-container {
        min-height: calc(100vw - 80px);
    }
    .top-prev {
        display: flex;
        height: calc(100vw - 80px);
        align-items: center;
        justify-content: center;
    }

} */

@media screen and (min-width: 576px) and (max-width: 1023px) and (orientation: landscape) {
    /* .section-full_page.section-full_page-2{
        padding-bottom: 20px;
    } */
    .bottom-section-2 {
        display: flex;
    }
    #bottom-prev.bottom-section-1 .scroll_btn {
        display: none!important;
    }
    .container-decore {
        width: 510px !important;
    }
    .container-decore.container-decore-1 {
        left: calc(100% - (510px / 3* 2));
        top: calc(50% - (435px / 2));  
    }
    .container-decore.container-decore-2 {
        left: calc(100% - (510px / 3* 2));
        top: calc(50% - (435px / 2));  
    }
}
@media screen and (max-width: 1023px) and (orientation: landscape) {

    /* .top-prev {
        padding-top: 230px;
        padding-bottom: 230px;
    } */
    html, body {
        height: auto;
    }
    .section-full_page {
        height: auto;
    }
    .top-prev {
        padding-top: 35px;
        padding-bottom: 25px;
    }
    #bottom-prev .scroll_btn {
        display: none;
    }
    .section-full_page.section-full_page-2 {
        height: auto;
        min-height: auto;
    }
    .top-prev .logo { 
        margin-top: 0!important;
    }
    .section-full_page-2 .full-page-container {
        min-height: auto;
    }
    .container-decore.container-decore-1 {
        /* top: calc((70% / 2) - 168px); */
        /* width: 70%; */
        position: absolute;
        /* right: calc(-82% / 2); */
    }
    .container-decore.container-decore-2 {
        /* top: calc((70% / 2) - 168px); */
        /* width: 70%; */
        position: absolute;
        /* right: calc(-82% / 2); */
    }
    .bottom-section-2 {
        margin-top: 40px;
    }
    .scroll_btn:hover img {
        bottom: 0 !important;
    }
}

/* горизонтальный размер <<< */

/* media hover >>> */
/* для desktop */
@media (hover: hover) {
    
}

@keyframes logo-img {
    0% {
        bottom: 58px;
        left: -10px;
        padding: 13px;
        /* width: 52px; */
    }
    5% {
        opacity: 1;
    }
    50% {
        padding: 0;
        bottom: 0px;
        left: 94%;
        /* width: 72px; */
        opacity: 1;
    }
    100% {
        left: 0;
        opacity: 1;
    }
}
@keyframes logo-shadow {
    /* 0% {
        text-shadow: #a5a5a5 4px 4px 8px;
    }
    25% {
        text-shadow: #a5a5a5 4px -4px 8px;
    }
    50% {
        text-shadow: #a5a5a5 -4px -4px 8px;
    }
    75% {
        text-shadow: #a5a5a5 -4px 4px 8px;
    }
    100% {
        text-shadow: #a5a5a5 4px 4px 8px;
    } */
    0% {
        text-shadow: #a9a9a9 0px 0px 0px; 
    }
    50% {
        text-shadow: #a9a9a9 2px 0px 8px; 
    }
    100% {
        text-shadow: #a9a9a9 0px 0px 0px; 
    }
}
@keyframes logo-img-rotate {
    0% {
        transform: rotate(0deg);
    }
    10% {
        transform: rotate(-360deg);
    }
    /* 50% {
        transform: rotate(180deg);
    }
    75% {
        transform: rotate(270deg);
    } */
    100% {
        transform: rotate(-360deg);
    }
}

@keyframes logo {
    0% {
        width: 100%; 
    }
    100% {
        width: 0; 
    }
}

@keyframes scroll_btn {
    0% {
        /* left: 0px; */
        bottom: 0px;
        /* transform: rotate(0deg); */
    }
    5% {
        /* transform: rotate(-10deg); */
        /* left: 3px; */
        bottom: -4px;
    }
    10% {
        /* transform: rotate(10deg); */
        /* left: -3px; */
        bottom: 0px;
    }
    15% {
        /* left: 0px; */
        bottom: 0px;
        /* transform: rotate(0deg); */
    }
    100% {
        /* left: 0px; */
        bottom: 0px;
        /* transform: rotate(0deg); */
    }
}
@keyframes scroll_btn_scale {
    0% {
        scale: 1;
    }
    5% {
        scale: 1.15;
    }
    10% {
        scale: 1;
    }
    15% {
        scale: 1;
    }
    100% {
        scale: 1;
    }
}

@keyframes pulse {
  0% { box-shadow: 0 0 0 0 #ffffff; }
}

@keyframes animate_heart {
	0% {
		padding: 2px;
	}
	50% {
		padding: 0px;
	}
	100% {
		padding: 2px;
	}
}
@keyframes animate_heart_6 {
	0% {
		padding: 6px;
	}
	50% {
		padding: 0px;
	}
	100% {
		padding: 6px;
	}
}
@keyframes animate_btn {
	0% {
        opacity: 0;
        left: 0%;
	}
	50% {
		opacity: 1;
        /* left: 50%; */
	}
    /* 95% {
        opacity: 0;
    } */
	100% {
		opacity: 0;
        left: 95%;
	}
}


/* для mobile */
@media (hover: none) {
    .scroll_btn:hover img {
        bottom: 0;
    }
    .form-bottom button:hover ~ svg {
        left: 0;
    }
    .form-bottom button:hover {
        border: 2px solid #af1015;
        background: #af1015;
        color: #f9f9f9;
    }
}
/* media hover <<<  */

@media (min-height: 360px) and (max-height: 550px) {
    .top-prev {
        height: 100%;
        margin: 20px 0 20px 0;
        /* padding-top: 120px; */
    }
}

/* sm */
@media (min-width: 576px) {
    .top-prev .logo {
        font-size: 42px;
        margin-top: calc(-63px / 3.5);
    }
    .logo img, .img-width {
        width: 73px;
    }
    .top-prev .video {
        width: 75%;
    }
    .container-decore-1 {
        left: calc(100% - (463px / 3* 2));
    }
    .container-decore-2 {
        left: calc(100% - (463px / 3* 2));
    }
    
    
}

/* md */
@media (min-width: 768px) {
    :root {
        --pw: 16px;
        --mw: -16px;
    }
    .top-prev .logo {
        font-size: 75px;
        margin-left: -28px;
        margin-top: calc(-112px / 3.5);
    }
    .logo img, .img-width {
        width: 115px;
    }
    .bottom-prev-info {
        justify-content: space-between;
        width: calc(50% + 25px);
    }
    .bottom-prev-info p {
        padding-left: 20px;
        margin-right: 10px;
        width: auto;
    }
    .form_top {
        max-width: 535px;
        justify-content: space-between;
    }
    .form_top .form-input {
        width: 253px;
        height: 46px;
        margin-bottom: 15px;
    }
    .form-group-checkbox {
        width: 253px;
    }
    .form-bottom {
        width: 253px;
        margin-left: 0;
    }
    .section-full_page-2 {
        height: calc(100% - 80px - 60px);
    }
    .section-full_page-2 {
        min-height: calc(100% - 80px - 60px);
    }
    .form-section-2 {
        margin-top: 60px;
    }

    .scroll_btn:hover img {
        bottom: -3px;
    }
    .form-bottom button:hover ~ svg {
        left: -10px;
    }
    .form-bottom button:hover {
        border: 2px solid #af1015;
        background: #ffffff;
        color: #af1015;
    }
    .form-error {
        width: 253px;
        margin-left: 0;
        margin-top: 0;
    }
    .bottom-section-2 {
        display: flex;
    }

    .container-decore {
        /* width: 90%; */
        position: absolute;
        /* right: calc(-95% / 2); */
        width: 550px;

    }
    .container-decore-1 {
        /* top: calc((70% / 2) - 180px); */
        left: calc(100% - (550px / 3 * 2));
        top: calc(50% - (469px / 2) + 25px);
    }
    .container-decore-2 {
        /* top: calc((70% / 2) - 180px); */
        left: calc(100% - (550px / 3* 2));
        top: calc(50% - (469px / 3* 2));
    }
    .top-prev .video {
        width: 70%;
    }
    .form_top .form-input {
        
    }

}

/* lg */
@media (min-width: 992px) {
    body {
        overflow: hidden;
    }
    .top-prev .video {
        width: 59.2%;
    }
    .top-prev .logo {
        font-size: 86px;
        margin-left: 25px;
        margin-bottom: 48px;
        margin-top: calc(-129px / 3.5);
    }
    .logo img, .img-width {
        width: 145px;
    }
    .container-decore {
        /* width: 70%; */
        position: absolute;
        /* right: calc(-68.5% / 2); */
        width: 649px;
    }
    .container-decore-1 {
        left: calc(100% - (649px / 3* 2));
        top: calc(50% - (554px / 2) + 35px);    
    }
    .container-decore-2 {
        left: calc(100% - (649px / 3* 2));
        top: calc(50% - (554px / 2) - 60px);    
    }
}

/* xl */
@media (min-width: 1200px) {
    .top-prev .logo {
        font-size: 103px;
        margin-left: 49px;
        margin-top: calc(-154px / 3.5);
    }
    .logo img, .img-width {
        width: 155px;
    }
    .container-decore {
        width: 690px;
    }
    .container-decore-1 {
        /* top: calc((70% / 4) - 140px); */
        left: calc(100% - (690px / 3* 2));
        top: calc(50% - (589px / 2) + 13px);  
    }
    .container-decore-2 {
        /* top: calc((70% / 4) - 140px); */
        left: calc(100% - (690px / 3* 2));
        top: calc(50% - (589px / 2) - 60px); 
    }
}
/* Application form validation. */
.fz_wrap .custom-control-input.input_error ~ .custom-control-label::before {
    border: 2px solid #af1015 !important;
    box-shadow: 0 0 3px #af1015 !important;
}
form.validate label.input_error {
    display: block;
    width: 100%;
    color: #af1015;
    font-size: 12px;
    margin: 4px 0 8px;
}

/* Attach validation messages to their fields. */
.form_top .form-field { width:75%; margin-bottom:14px; }
.form_top .form-field .form-input { display:block; width:100%; margin-bottom:0; }
form.validate .form-field label.input_error { width:100%; margin:3px 0 0; text-align:left; line-height:1.35; }
form.validate .form_top > label.input_error { width:75%; margin:3px 0 14px; text-align:left; }
@media(min-width:768px) {
 .form_top .form-field { width:253px; margin-bottom:15px; }
 form.validate .form_top > label.input_error { width:253px; }
}

.form_top .form-consent { width:75%; margin-bottom:14px; }
.form-consent .form-group-checkbox { width:100%; }
form.validate .form-consent label.input_error { width:100%; margin:3px 0 0; text-align:left; }
@media(min-width:768px) { .form_top .form-consent { width:253px; margin-bottom:15px; } }
