body {
    padding: 0;
    margin: 0;
    font-family: 'Ubuntu', sans-serif;
    font-weight: 400;
    font-size: 16px;
    color: #323232;
}

* {
    box-sizing: border-box;
}

ul, li {
    display: block;
    padding: 0;
    margin: 0;
}

h1 {
    padding: 0;
    margin: 0;
    font-weight: 700;
    line-height: 1.2em;
    color: #FFFFFF;
}

h1, h2, h3, h4, h5, h6 {
    padding: 0;
    margin: 0;
    font-weight: 700;
    line-height: 1.4em;
    color: #323232;
}

p {
    margin: 0;
    line-height: 1.4em;
}

.container {
    width: 1110px;
    margin: 0 auto;
}

.container_flex { 
    display: flex;
    align-items: center;
} 

a {
    text-decoration: none;
    color: #2BD828;
}

.btn {
    padding: 14px 0px;
    background: #2BD828;
    border-radius: 30px;
    color: #FFFFFF;
    font-size: 15px;
    font-weight: 400;
    display: block;
    width: 200px;
    transition: all 0.5s ease;
    text-align: center;
}

.btn:hover {
    background: #FF7629;
}

.header {
    background: linear-gradient(180deg, rgba(48, 73, 52, 0.63) 0%, rgba(55, 199, 78, 0) 100%), url('../img/header.jpg') no-repeat center top / cover;
    text-align: left;
    color: #fff;
    padding-bottom: 70px;
}

.nav {
    border-bottom: 1px solid rgba(255, 255, 255, 0.58);
}

.menu {
    display: flex;
}

.logo {
    background: url('../img/logo.svg');
    width: 84px;
    height: 42px;
    display: block;
    margin-right: 50px;
}

.menu__list {
    display: flex;
}

.menu__item a {
    color: #fff;
    font-size: 16px;
    padding: 32px 25px;
    display: block;
    border-bottom: 2px solid rgba(255,255,255,0);
    margin: 0 auto;
}

.menu__item a:hover {
    border-bottom: 2px solid #FFFFFF;
}

.menu__phone {
	color: #fff;
	font-size: 17px;
	font-weight: 700;
    transition: all 0.5s ease;
    display: block;
    padding-top: 35px;
    padding-left: 50px;
}

.menu__phone:hover {
	color: rgb(202, 247, 219);
}


.offer {
    padding: 139px 0px 0px 0px;
}

.offer__title {
    color: #FFFFFF;
    font-size: 47px;
    margin-bottom: 21px;
    width: 844px;
}

.offer__intro {
    margin-bottom: 23px;
    width: 550px;
}

.offer__btn {
    width: 230px;
    margin-bottom: 170px;

}

.arrow-down {
    background: url('../img/arrow down.svg') no-repeat left bottom;
    width: 16px;
    height: 24px;
    border: 0px solid #fff;
    display: block;
    opacity: 0.5;
    transition: all 0.5s ease;
}

.arrow-down:hover {
    opacity: 1;
}

.section-title {
    font-size: 36px;
}

.services {
    padding-bottom: 105px;
    padding-top: 103px;
}

.section-text {
    width: 561px;
    margin-top: 23px;
    margin-bottom: 78px;
    line-height: 1.4em;
}

.services__wrapper {
    display: flex;
    flex-wrap: wrap;
    max-width: 1110px;
    justify-content: space-between;
    padding: 0 auto;
}

.services__img {
    width: 210px;
    height: 144px;
    border-radius: 0px 10px 10px 10px;
}

.services__item {
    width: 525px;
    display: flex;
    flex-direction: row;
    margin-bottom: 50px;
}

.services__item:hover {
    box-shadow: 0px 0px 10px rgba(73, 228, 150, 0.25);
    border-radius: 0px 10px 10px 10px;
}

.services__block {
    margin-top: 14px;
    margin-left: 30px;
}

.services__title {
    font-size: 19px;
}

.services__text {
    width: 280px;
    margin: 13px 0px;
}

.services__price {
    color: #FF7629;
}

.btn_services {
    margin-top: 100px;
}

.publications {
    background: rgba(255, 253, 210, 0.34);
    padding-top: 103px;
    padding-bottom: 80px;
}

.publications__content {
    min-width: 1110px;
    display: flex;
    justify-content: space-between;
}

.publications__item {
    margin-top: 61px;
    display: inline-block;
}

.publications__text {
    margin-bottom: 40px;
    width: 325px;
    line-height: 1.4em;
}

.publications__card {
    position: relative;
    transition: all .5s ease-in;
}

.publications__overlay {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    height: 265px;
    width: 345px;
    border-radius: 15px;
    opacity: 0;
    visibility: none;
    transition: .5s ease;
    background-color: rgba(55, 97, 56, 0.45);
}

.publications__overlay-text {
    display: inline-flex;
    margin: 225px 0px 21px 175px;
    border: 0px solid #fff;
    transition: all 0.5s ease;
}

.publications__link {
    color: #fff;
    margin-right: 10px;
}

.arrow-right {
    background: url('../img/arrow right.svg') no-repeat left bottom;
    width: 24px;
    height: 16px;
}

.publications__card:hover .publications__overlay {
    opacity: 1;
}

.publications__img {
    width: 345px;
    height: 265px;
    border-radius: 15px;
}

.achievements {
    border-top: 1px solid #B8B8B8;
    margin-top: 85px;
    margin-bottom: 80px;
    padding-top: 50px;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}

.achievements__item {
    text-align: center;
    margin-left: 30px;
    margin-right: 30px;
}

.achievements__item:last-child {
    margin-right: 0;
}

.achievements__digit {
    font-size: 36px;
    font-weight: 700;
}

.question {
    background: #EAFFF2;
    border-radius: 15px;
    max-width: 801px;
    height: auto;
    text-align: center;
    margin-left: 155px;
    padding: 50px 20px 30px;
    display: block;
}

.question__heading {
    margin-bottom: 25px;
}

.question__text {
    max-width: 625px;
    text-align: center;
    margin: 0 auto;
    line-height: 1.4em;
}

.question__btn {
    margin: 0 auto;
    margin-top: 30px;
}

.video {
    padding-top: 103px;
    padding-bottom: 103px;
}

.video__wrapper {
    text-align: center;
    margin: 0 auto;
}

.video__wrapper-text {
    margin: 20px 0px 80px 265px;
    width: 580px;
}

.video-frame__border {
    width: 830px;
    height: 426px;
    margin: 0 auto;
    border-radius: 10px;
}

.video-frame {
    border-bottom: 1px solid #B8B8B8;
    padding-bottom: 60px;
    width: 830px;
    margin: 0 auto;
}

.footer {
    background: rgba(255, 253, 210, 0.34);
    display: flex;
    padding: 95px 0 95px 0;
}

.footer-content {
    display: flex;
    justify-content: space-between;
}

.footer-content__list {
    margin-top: 41px;
}

.footer-content__list-item {
    margin-bottom: 25px;
    font-size: 14px;
    color: #000000;
    max-width: 260px;
}

.footer-content__list-item a:hover {
    color: #FF7629;
}

.footer-content__list-item a {
    display: flex;
    font-size: 14px;
    color: #000000;
}

.footer-content__text {
    margin-top: 30px;
    font-size: 14px;
    color: #000000;
}

.footer-content__item {
    display: inline-block;
}

.footer-content__icon {
    margin-right: 17px;
}

.footer-content__item_friendly {
    margin-left: 65px;
}

.friendly {
    margin-top: 75px;
    display: flex;
}

.friendly__list {
    font-size: 14px;
    color: #FF7629;
    margin-right: 15px;
}

.friendly__list:hover {
    color: #2BD828;
}

.footer-content__item_subscribe {
    margin-top: 40px;
}

.subscribe {
    display: flex;
    margin-top: 18px;
    margin-bottom: 25px;
}

.subscribe__form-all {
    margin-top: 18px;
    margin-bottom: 25px;
}

.subscribe__form {
    width: 380px;
    display: flex;
    margin: 0 auto;
}

.subscribe__input {
    background: #FFFFFF;
    border: 1px solid #F2F2F2;
    box-sizing: border-box;
    box-shadow: 0px 0px 10px rgba(111, 111, 111, 0.25);
    font-family: 'Ubuntu', sans-serif;
    font-size: 13px;
    width: 390px;
    height: 45px;
    padding-left: 33px;
    border-radius: 30px;
    outline: none;
}

.subscribe__btn {
    background: #FF7629;
    transition: all 0.5s ease;
    width: 45px;
    height: 45px;
    border-radius: 100px;
    cursor: pointer;
    text-align: center;
    outline: none;
    border: none;
    margin-left: -45px;
}

.subscribe__btn:hover {
    background: #2BD828;
}

.send {
    width: 20px;
    height: 20px;
}

.footer-content__text {
    font-size: 13px;
    font-family: 'Ubuntu', sans-serif;
    line-height: 2.1em;
}

/* RESPONSIVE */

/* Large: 992px - 1199px */
@media (max-width: 1199px) {
    .container {
        max-width: 960px;
    }
    .logo {
        margin-right: 0;
    }
    .menu__item a {
        padding: 32px 35px;
    }
    .menu__phone {
       display: none;
    }
    .container_flex {
        display: flex;
        justify-content: space-between;
    }
    .services__wrapper {
        display: block;
    }
    .publications__content {
        min-width: 0;
        display: flex;
        justify-content: flex-start;
        flex-wrap: wrap;
    }
    .publications__item {
        margin-right: 50px;
    }
    .achievements__item:first-child {
        margin-left: 0;
    }
    .question {
        margin: 0 auto;
    }
    .section-title_video {
        margin-left: 0;
    }
    .video__wrapper-text {
        margin: 20px 0px 80px 190px;
        width: 580px;
    }
}

/* Medium: 768px - 991px */
@media (max-width: 991px) {
    .container {
        max-width: 720px;
    }
    .header {
        background: linear-gradient(180deg, rgba(48, 73, 52, 0.63) 0%, rgba(55, 199, 78, 0) 100%), url('../img/header tablet.png') no-repeat center top / cover;
    }
    .menu__item a {
        padding: 32px 15px;
    }
    .offer__title {
        font-size: 40px;
        width: 720px;
    }
    .achievements__item {
        margin-left: 60;
        margin-right: 0;
    }
    .video__wrapper-text {
        margin: 20px 0px 80px 70px;
    }
    .question__btn {
        margin-top: 20px;
    }
    .video-frame, .video-frame__border {
        width: 720px;
    }
    .footer-content {
        flex-wrap: wrap;
    }
    .footer-content__item_subscribe {
        margin-top: 75px;
    }
}

/* Small: 576px - 767px */
@media (max-width: 767px) {
    .container {
        max-width: 540px;
    }
    .header {
        background: linear-gradient(180deg, rgba(48, 73, 52, 0.63) 0%, rgba(55, 199, 78, 0) 100%), url('../img/header mobile.png') no-repeat center top / cover;
    }
    .nav {
        padding: 25px 0 20px;
    }
    .menu__phone {
        color: #fff;
        font-size: 17px;
        font-weight: 700;
        transition: all 0.5s ease;
        padding-top: 35px;
        padding-left: 50px;
    }
    .menu {
        display: none;
    }
    .offer__title {
        font-size: 38px;
        width: 540px;
    }
    .offer {
        padding: 105px 0px 0px 0px;
    }
    .offer__intro {
        margin-bottom: 20px;
        width: 450px;
    }
    .section-title {
        font-size: 28px;
        width: 450px;
    }
    .section-text {
        width: 450px;
    }
    .services {
        padding: 100px 0;
    }
    .publications {
        padding-top: 100px;
    }
    .achievements {
        justify-content: space-around;
    }
    .achievements__item {
        margin-left: 45px;
        margin-bottom: 20px;
    }
    .video {
        padding-top: 50px;
        padding-bottom: 100px;
    }
    .video__wrapper-text {
        margin: 20px 0px 55px 50px;
        width: 80%;
    }
    .video-frame, .video-frame__border {
        width: 540px;
    }
}

/* Extra small: 0px (320px) - 575px */
@media (max-width: 575px) {
    .container {
        padding: 0 15px;
        width: 100%;
    }
    .offer__title {
        font-size: 30px;
        width: 100%;
    }
    .offer__intro, .section-text {
        width: 100%;
    }
    .section-title {
        font-size: 25px;
        width: 100%;
    }
    .services__item {
        display: block;
        width: 290px;
    }
    .services__block {
        margin-left: 0;
    }
    .services__text {
        width: 260px;
    }
    .publications__text {
        width: 290px;
    }
    .publications__card, .publications__img, .publications__overlay {
        width: 290px;
        height: 230px;
    }
    .publications__overlay-text {
        margin: 190px 0px 23px 175px;
    }
    .achievements__item {
        margin-left: 2px;
        width: 33%;
    }
    .question {
        height: auto;
        margin: 0 auto;
    }
    .video__wrapper-text {
        margin: 20px 0px 55px 2px;
        width: 100%;
    }
    .video-frame, .video-frame__border {
        width: 290px;
        height: 250px;
    }
    .footer {
        padding: 90px 0;
    }
    .friendly {
        margin-top: 40px;
    }
    .footer-content__item_friendly {
        margin: 66px 0 83px;
    }
    .footer-content__item_subscribe {
        margin-top: 0;
    }
    .subscribe__input {
        width: 290px;
    }
}
