:root {
  --small-text: 16px;
  --lead-text: 20px;

  --h-padding1: 5%;
  --h-padding2: 15%;

  --white-color: #fff;
  --black-color: #000;
  --grey-color: #999;
  --blue-color: #1E5BB8;
  --red-color: #FF0000;
}

* {
    margin: 0;  
    padding: 0;
    font-size: 0;
    box-sizing: border-box;
}

body {
    font-family: "Roboto", "Arial", sans-serif;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  border: 0;
  clip: rect(0 0 0 0);
}

/* header start */

.header {
    width: 100%;
    display: flex;
    flex-direction: column;
}
.header__logo img{
    width: 130px;
}

.header__top {
    width: 100%;
    height: 10vh;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 25px;
    padding-bottom: 25px;
    padding-left: var(--h-padding1);
    padding-right: var(--h-padding1);
    background-color: var(--black-color);
}

.header__adress-block {
    display: flex;
    align-items: center;
}

.header__contacts-block {
    display: flex;
    align-items: center;
}

.header__adress-link {
    display: flex;
    font-size: var(--small-text);
    text-decoration: none;
    color: var(--white-color);
    transition: color 0.3s ease 0s;
}

.header__adress-link:hover {
    color: var(--blue-color);
}

.header__adress-link::before {
    content: '';
    width: 16px;
    height: 16px;
    background-size:contain;
    background-repeat: no-repeat;
    background-position: center;
    margin-right: 10px;
}

.header__phone-link::before {
    background-image: url('./media/images/headerPhone.svg');
}

.header__address-link::before {
    background-image: url('./media/images/headerMap.svg');
}

.header__adress-link:nth-child(1) {
    margin-right: 25px;
}

.header__social-link {
    display: inline-block;
    width: 25px;
    height: 25px;
    font-size: 0;
    text-decoration: none;
    background-position: center;
    background-size: contain;
    background-repeat: no-repeat;
    margin-right: 15px;
}

.header__social-link:nth-child(2) {
    margin-right: 25px;
}

.header__telegram-link {
    background-image: url('./media/images/telegram.svg');
}

.header__whatsapp-link {
    background-image: url('./media/images/whatsapp.svg');
}

.header__call-link {
    font-size: var(--small-text);
    text-decoration: none;
    padding: 10px 15px;
    border-radius: 10px;
    color: var(--white-color);
    background-color: var(--blue-color);
    transition: all 0.3s ease 0s;
}

.header__call-link:hover {
    box-shadow: 0px 0px 30px var(--blue-color);
}

.header__bottom {
    position: absolute;
    z-index: 2;
    width: 100%;
    top: 10vh;
    padding-left: var(--h-padding1);
    padding-right: var(--h-padding1);
}

.header__nav {
    width: 100%;
    height: 100%;
    padding-top: 25px;
    padding-bottom: 25px;
    border-top: 1px solid #99999970;
}

.header__nav-list {
    width: 100%;
    position: relative;
    display: flex;
    justify-content: flex-end;
    align-items: center;
}

.header__nav-item {
    list-style: none;
}
.header__nav-item:nth-child(1) {
    position: absolute;
    left: 0;
}

.header__nav-item:nth-child(3) a {
    margin: 0 25px;
}

.header__logo {
    display: flex;
    align-items: center;
}

.header__nav-link {
    text-decoration: none;
    color: var(--white-color);
    font-size: var(--small-text);
    transition: color 0.3s ease 0s;
}

.header__nav-link:hover {
    color: var(--blue-color);
}

/* header end */

/* main start */

/* start-home start */

.start-home {
    position: relative;
    width: 100%;
    height: 90vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding-left: var(--h-padding2);
    padding-right: var(--h-padding2);
    background-image: url('./media/images/mainBg.jpg');
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

.start-home::after {
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    background-color: #000;
    opacity: 0.9;
}

.start-home__text-block {
    z-index: 2;
}

.start-home__title {
    /* text-align: center; */
    font-size: 70px;
    font-weight: 700;
    color: var(--white-color);
}

.start-home__lead {
    font-size: var(--lead-text);
    color: var(--grey-color);
    margin: 50px 0;
}

.start-home__link {
    z-index: 2;
    display: flex;
    align-items: center;
    font-size: var(--small-text);
    color: var(--white-color);
    padding: 15px 20px;
    background-color: var(--blue-color);
    text-decoration: none;
    border-radius: 10px;
    margin-top: 20px;
    transition: all 0.3s ease 0s;
}

.start-home__link:hover {
    box-shadow: 0px 0px 50px var(--blue-color);
}

.start-home__link::after {
    content: '';
    width: 16px;
    height: 16px;
    background-image: url('./media/images/rightArrow.svg');
    background-size:contain;
    background-repeat: no-repeat;
    background-position: center;
    margin-left: 10px;

}

.start-home__advantages-block {
    display: flex;
    padding-left: var(--h-padding1);
    padding-right: var(--h-padding1);
    position: absolute;
    bottom: 0;
    z-index: 2;
    justify-content: space-between;
    width: 100%;
    padding-bottom: 25px;
}

.start-home__advantages-lead {
    position: relative;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    font-size: var(--small-text);
    color: var(--white-color);
    flex: 1 1 auto;
}
.start-home__advantages-lead:nth-child(1) {
    justify-content: flex-start;
}
.start-home__advantages-lead:nth-child(2) {
    justify-content: center;
    flex: 2 1 auto;
}
.start-home__advantages-lead:nth-child(3) {
    justify-content: center;
    flex: 2 1 auto;
}

.start-home__advantages-lead::before {
    content: "";
    position: absolute;
    left: 0;
    height: 100%;
    border-left: 2px solid var(--grey-color);
}
.start-home__advantages-lead:nth-child(1)::before {
    border-left: 0;
}

.start-home__advantages-lead span {
    display: flex;
    font-size: 40px;
    font-weight: 400;
    align-self: flex-end;
    margin-right: 25px;
}

/* start-home end */

/* tutorial start */

.tutorial {
    width: 100%;
    padding-top: 100px;
    padding-bottom: 100px;
    padding-left: var(--h-padding2);
    background-image: url('./media/images/tutorialBg.jpg');
    background-size: contain;
    background-position: right;
    background-repeat: no-repeat;
}

.tutorial__title {
    font-size: 36px;
    font-weight: 900;
    color: var(--black-color);
}

.tutorial__list {
    display: flex;
    flex-direction: column;
}

.tutorial__item {
    display: flex;
    margin-top: 50px;
}

.tutorial__item::before {
    content: "";
    width: 25px;
    height: 25px;
    margin-right: 25px;
    background-size:contain;
    background-repeat: no-repeat;
    background-position: center;
}

.tutorial__item:nth-child(1)::before {
    background-image: url('./media/images/tutorialIcon1.svg');
}

.tutorial__item:nth-child(2)::before {
    background-image: url('./media/images/tutorialIcon2.svg');
}

.tutorial__item:nth-child(3)::before {
    background-image: url('./media/images/tutorialIcon3.svg');
}

.tutorial__item-title {
    font-size: var(--lead-text);
    font-weight: 700;
    color: var(--black-color);
}

.tutorial__item-lead {
    margin-top: 15px;
    font-size: var(--lead-text);
    font-weight: 400;
    color: var(--grey-color);
}

/* tutorial end */

/* reviews start */

.reviews {
    position: relative;
    display: flex;
    align-items: center;
    flex-direction: column;
    width: 100%;
    background-color: var(--black-color);
}

.reviews::before {
    content: "";
    position: relative;
    width: 150px;
    height: 50px;
    margin-top: 50px;
    background-image: url("./media/images/reviewsStars.svg");
    background-position: center;
    background-repeat: no-repeat;
    background-size: contain;
}

.reviews__list {
    width: 50%;
    padding: 100px 0;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}
.reviews__item {
    opacity: 0;
    display: flex;
    flex-direction: column;
    position: absolute;
    text-align: center;
    transition: opacity 1s ease 0s;
}

.reviews__item--active {
    opacity: 1;
    transition: opacity 1s ease 0s;
}

.reviews__title {
    order: 2;
    font-size: var(--lead-text);
    color: var(--grey-color);
    padding-top: 25px;
}
.reviews__lead {
    order: 1;
    font-size: var(--lead-text);
    color: var(--white-color);
    padding-top: 50px;
}

.reviews__btns {
    display: flex;
    justify-content: space-between;
    padding: 50px 0;
}

.reviews__btn {
    display: flex;
    align-items: center;
    width: 40px;
    height: 20px;
    margin: 10px;
    cursor: pointer;
}

.reviews__btn.reviews__btn--active  .reviews__btn-content {
    opacity: 1;
}

.reviews__btn-block {
    width: 100%;
    height: 2px;
    background-color: var(--grey-color);
}

.reviews__btn-content {
    opacity: 0;
    width: 100%;
    height: 2px;
    background-color: var(--red-color);
    transition: opacity 0.3s ease 0s;
}


/* reviews end */

/* contacts start */

.contacts {
    width: 100%;
}

.contacts__list {
    display: flex;
    justify-content: space-between;
    padding-top: 100px;
    padding-bottom: 100px;
    padding-left: var(--h-padding2);
    padding-right: var(--h-padding2);
}

.contacts__item {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.contacts__item::before {
    content: "";
    width: 80px;
    height: 80px;
    margin-right: 25px;
    border-radius: 50%;
    background-size: 40%;
    background-repeat: no-repeat;
    background-position: center;
    background-color: var(--black-color);
}

.contacts__item:nth-child(1)::before {
    background-image: url("./media/images/contactsIcon1.svg");
}

.contacts__item:nth-child(2)::before {
    background-image: url("./media/images/contactsIcon2.svg");
}

.contacts__item:nth-child(3)::before {
    background-image: url("./media/images/contactsIcon3.svg");
}

.contacts__item p {
    display: flex;
    flex-direction: column;
    font-size: var(--small-text);
    font-weight: 700;
    color: var(--black-color);
}

.contacts__item span {
    font-size: var(--small-text);
    font-weight: 400;
    color: var(--black-color);
    margin-top: 25px;
}

/* contacts end */

/* main end */

/* footer start */

footer {
    display: flex;
    justify-content: center;
    width: 100%;
    padding: 25px 0;
    background-color: var(--black-color);
}

.copyright {
    font-size: 14px;
    font-weight: 400;
    color: var(--white-color);
}

/* footer end */

/* .btn-top {
    position: fixed;
    bottom: 0;
    right: 0;
    width: 50px;
    height: 50px;
    background-color: red;
} */


@media (min-width: 993px) and (max-width: 1200px) {

    :root {
        --small-text: 16px;
        --lead-text: 20px;
        
        --h-padding1: 5%;
        --h-padding2: 10%;
    }

    .contacts__item::before {
        width: 80px;
        height: 80px;
        margin-right: 10px;
    }

}
 
@media (min-width: 769px) and (max-width: 992px) {
    :root {
        --small-text: 14px;
        --lead-text: 16px;
      
        --h-padding1: 5%;
        --h-padding2: 5%;
    }

    .start-home__title {
        font-size: 50px;
    }
    
    .start-home__advantages-lead span {
        font-size: 24px;
    }

    .tutorial__item {
        margin-top: 25px;
    }

    .tutorial__item::before {
        width: 20px;
        height: 20px;
    }

    .contacts__item::before {
        width: 60px;
        height: 60px;
        margin-right: 10px;
    }

    .copyright {
        font-size: 12px;
    }
}

@media (min-width: 577px) and (max-width: 768px) {
    :root {
        --small-text: 12px;
        --lead-text: 14px;
      
        --h-padding1: 5%;
        --h-padding2: 5%;
    }

    .header__logo img {
        width: 80px;
    }

    .header__adress-block {
        flex-direction: column;
        justify-content: center;
        align-items: flex-start;
    }

    .header__adress-link:nth-child(1) {
        margin-bottom: 10px;
    }

    .header__social-link {
        width: 20px;
        height: 20px;
    }

    .start-home {
        height: 60vh;
    }

    .start-home__title {
        font-size: 35px;
    }

    .start-home__lead {
        margin: 25px 0;
    }
    
    .start-home__advantages-lead span {
        font-size: 16px;
        margin-right: 10px;
    }

    .tutorial {
        padding-top: 50px;
        padding-bottom: 50px;
        /* background-image:none; */
    }

    .tutorial__list {
        width: 55vw;
    }

    .tutorial__title {
        font-size: 24px;
    }

    .tutorial__item {
        margin-top: 25px;
    }

    .tutorial__item::before {
        width: 20px;
        height: 20px;
    }

    .reviews::before {
        width: 100px;
        margin-top: 25px;
    }

    .reviews__list {
        width: 90%;
        padding: 75px 0;
    }

    .reviews__lead {
        padding-top: 25px;
    }

    .reviews__btns {
        padding: 25px 0;
    }

    .reviews__btn {
        width: 25px;
        margin: 5px;
    }


    .contacts__list {
        padding-top: 50px;
        padding-bottom: 50px;
    }

    .contacts__item {
        flex-direction: column;
        justify-content: center;
        align-items: center;
        text-align: center;
    }
    .contacts__item::before {
        width: 50px;
        height: 50px;
        margin-right: 0;
    }

    .contacts__item p {
        margin-top: 25px;
    }
    .contacts__item span {
        margin-top: 10px;
    }

    .copyright {
        font-size: 9px;
    }
}

@media (min-width: 0px) and (max-width: 576px) {
    :root {
        --small-text: 14px;
        --lead-text: 16px;
      
        --h-padding1: 5%;
        --h-padding2: 5%;
    }

    .start-home__advantages-block{
        flex-wrap: wrap;
        /* opacity: .5; */
    }

    /* .start-home__advantages-block{
        display: none;
    } */

    .header__logo img {
        width: 50px;
    }

    .header__call-link {
        display: none;
    }

    .header__adress-block {
        flex-direction: column;
        justify-content: center;
        align-items: flex-start;
    }

    .header__adress-link:nth-child(1) {
        margin-bottom: 10px;
    }

    .header__social-link:nth-child(2) {
        margin-right: 0px;
    }

    .header__nav-item:nth-child(3) a {
        margin: 0 10px;
    }


    /* .header__social-link {
        width: 20px;
        height: 20px;
    } */

    .start-home {
        height: none;
        min-height: 600px;
    }

    .start-home__title {
        text-align: center;
        font-size: 24px;
    }

    .start-home__lead {
        margin: 15px 0;
        font-size: 14px;
    }

    .start-home__link {
        margin: 0;
        width: 100%;
        justify-content: center;
    }
    
    .start-home__advantages-lead  {
        width: 50%;
        font-size: 12px;
        justify-content: center;
    }

    .start-home__advantages-lead span {
        font-size: 14px;
        margin-right: 10px;
        align-self: center;
    }

    .start-home__advantages-lead:nth-child(1){
        justify-content: center;
    }

    .start-home__advantages-lead:nth-child(3){
        margin-top: 12px;
    }

    .start-home__advantages-lead:nth-child(4){
        margin-top: 12px;
    }

    .start-home__advantages-lead:nth-child(3)::before{
        border-left: 0;
    }

    .tutorial {
        padding-top: 50px;
        padding-bottom: 50px;
        background-image: none;
    }

    .tutorial__title {
        font-size: 24px;
    }

    .tutorial__item {
        margin-top: 25px;
    }

    .tutorial__item::before {
        width: 15px;
        height: 15px;
        margin-right: 10px;
    }

    .reviews::before {
        width: 100px;
        margin-top: 25px;
    }

    .reviews__list {
        width: 90%;
        padding: 75px 0;
    }

    .reviews__lead {
        padding-top: 25px;
    }

    .reviews__btns {
        padding: 25px 0;
    }

    .reviews__btn {
        width: 25px;
        margin: 5px;
    }


    .contacts__list {
        flex-direction: column;
        padding-top: 50px;
        padding-bottom: 50px;
    }

    .contacts__item {
        flex-direction: column;
        justify-content: center;
        align-items: center;
        text-align: center;
        margin-top: 25px;
    }

    .contacts__item:nth-child(1) {
        margin-top: 0;
    }

    .contacts__item::before {
        width: 50px;
        height: 50px;
        margin-right: 0;
    }


    .contacts__item p {
        margin-top: 25px;
    }
    .contacts__item span {
        margin-top: 10px;
    }

    .copyright {
        font-size: 12px;
    }
}


@font-face {
    font-family: "Roboto";
    src: url("./fonts/Roboto-Regular.ttf") format("truetype"); 
    font-style: normal; 
    font-weight: normal; 
    } 