_footer.scss 8.73 KB
@import "../vars";

.footer {
  background-color: $vmainGrey;
}

.footer__wrapper {
    padding-top: 39px;
    padding-bottom: 43px;
    color: $vMain3;
    font-size: 14px;
    line-height: 16px;
    letter-spacing: -0.01em;
    padding-left: 10px;
    padding-right: 10px;
    display: flex;
    flex-wrap: no-wrap;
    flex-direction: column;

    @media screen and (min-width: $b480) {
        padding-top: 60px;
        padding-bottom: 128px;
        }

        @media screen and (min-width: $b640) {
                flex-direction: row;
                flex-wrap: wrap;
                padding-left: 0px;
                padding-right: 0px;
            }

            @media screen and (min-width: $b780) {
               padding-top: 110px;
               flex-wrap: nowrap;
             }
}

      .footer__left {
        max-width: 281px;
        width: 100%;
        margin-right: 30px;
        position: relative;
        order: 1;

        @media (min-width: $b640) {
                order: 0;
            }

            @media (min-width: $b1024) {
                    margin-right: 165px;
                }

                @media (min-width: $b1024) {
                        margin-right: 190px;
                    }

                    @media (min-width: $b1200) {
                        margin-right: 277px;
                    }


        &-logo {
          max-width: 205px;
          width: 100%;
          max-height: 31px;
          height: 100%;
          margin-bottom: 32px;
        }

        &-numbers {
          margin-top: 32px;
          display: flex;
          flex-direction: column;
          font-family: 'Muller';
          font-weight: 500;
          font-size: 15px;
          line-height: 21px;
          color: #E7EAEE;

            @media (min-width: $b640) {
                    margin-top: 40px;
            }

          .number-2 {
            margin-top: 8px;
          }
        }

        &-socials {
          margin-top: 24px;
          display: flex;

          >* {
            width: 26px;
            height: 26px;
          }

          :not(:last-child) {
            margin-right: 20px;
          }
        }

        &-rating {
          display: flex;
          flex-direction: column;
          font-family: 'Muller';
          color: #FFFFFF;
          font-size: 11.25px;
          line-height: 21px;
          position: absolute;
          bottom: 0px;
          right: 0px;

        @media (min-width: $b640) {
                bottom: 54px;
                right: 19px;;
            }

            @media (min-width: $b1024) {
                    bottom: 7px;
                    right: -99px;
                }

          .yandex {
            font-weight: 400;
          }

          .stars-wrapper {
            display: flex;
            align-items: center;

            .svg-star {
              width: 15px;
              height: 15px;
            }

            .yandex-rating {
              margin-left: 8px;
              font-weight: 400;
            }
          }
        }
      }

      .footer__centre {
        display: flex;
        flex-direction: column;
        position: relative;
        margin-right: 30px;
        margin-top: 40px;
        order: 3;

        @media (min-width: $b480) {
               flex-direction: row;
            }

            @media (min-width: $b640) {
                    order: 0;
                }

                @media (min-width: 720px) {
                        margin-top: 0px;
                    }

                    @media (min-width: $b1024) {
                            margin-right: 70px;
                        }

                        @media (min-width: $b1200) {
                            margin-right: 167px;
                        }

        &-col {
          font-size: 14px;
          line-height: 16px;
          letter-spacing: -0.01em;

          &-title {
            font-weight: 600;
            font-size: 16px;
            line-height: 20px;
            letter-spacing: -0.01em;
            color: #E7EAEE;
            margin-bottom: 12px;
            text-transform: uppercase;

            @media (min-width: $b480) {
                    text-transform: none;
                }

                @media (min-width: $b1200) {
                        margin-bottom: 20px;
                    }
          }

          &-nav {

            &-item {
              margin-top: 12px;
            }
          }
        }

        .footer__centre-col-1 {
          margin-right: 40px;

            @media (min-width: $b1024) {
                    margin-right: 100px;
                }
        }

        .centre__bottom {
            position: static;
            right: -264px;
            bottom: -109px;
            display: flex;
            flex-direction: column;
            width: 509px;
            margin-top: 41px;

        @media (min-width: $b480) {
            position: absolute;
            margin-top: 0;
            }

            @media (min-width: $b640) {
                    flex-direction: row;
                    // right: 24px;
                    bottom: -40px;
                    right: -175px;
                }

                @media (min-width: 720px) {
                        right: -79px;   
                    }

                    @media (min-width: $b780) {
                            bottom: -48px;
                            right: -150px;
                        }

                        @media (min-width: $b1024) {
                                bottom: -65px;
                                right: -240px;
                            }

                            @media (min-width: $b1200) {
                                right: -347px;
                             }

          .politica {
            margin-right: 50px;
            margin-bottom: 14px;
            text-decoration: underline;

            @media (min-width: $b640) {
                    margin-bottom: 0;
                    text-decoration: none;
                }

                @media (min-width: $b1024) {
                        margin-right: 100px;
                    }
          }
        }
      }

      .footer__right {
        margin-top: 42px;
        order: 2;

        @media (min-width: $b640) {
                order: 0;
            }


            @media (min-width: $b780) {
                margin-top: 0;
            }

        &-contacts {
          max-width: 300px;
          width: 100%;

        @media (min-width: $b640) {
                max-width: 200px;
            }

          .contacts-main {
            font-weight: 600;
            font-size: 14px;
            line-height: 18px;
            letter-spacing: -0.01em;
            color: #E7EAEE;
            margin-top: 18px;

            @media (min-width: $b640) {
                    margin-top: 0;
                }
          }

          .footer__right-contacts-item {
            margin-bottom: 0px;

            @media (min-width: $b640) {
                    margin-bottom: 18px;
                }
          }
        }
      }
   

 .footer-second {
    margin-top: 18px; 
 }

 .footer__centre-col-2 {
    margin-top: 24px;

    @media (min-width: $b480) {
            margin-top: 0;
        }
 }

.footer-spoiler-button {
    position: relative;

    &:after {
        position: absolute;
        content: "";
        background-image: url("data:image/svg+xml,%3Csvg width='22' height='22' viewBox='0 0 22 22' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M2.29289 6.29289C1.90237 6.68342 1.90237 7.31658 2.29289 7.70711L11 16.4142L19.7071 7.70711C20.0976 7.31658 20.0976 6.68342 19.7071 6.29289C19.3166 5.90237 18.6834 5.90237 18.2929 6.29289L11 13.5858L3.70711 6.29289C3.31658 5.90237 2.68342 5.90237 2.29289 6.29289Z' fill='%23ABB2BF'/%3E%3C/svg%3E");
        background-repeat: no-repeat;
        background-size: cover;
        width: 22px;
        height: 22px;
        top: 0;
        right: -33px;

        @media (min-width: $b480) {
            display: none;
        }
    }

    &--active {

        &:after {
            background-image: url("data:image/svg+xml,%3Csvg width='22' height='22' viewBox='0 0 22 22' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M19.7071 16.1213C20.0976 15.7308 20.0976 15.0976 19.7071 14.7071L11 5.99997L2.29289 14.7071C1.90237 15.0976 1.90237 15.7308 2.29289 16.1213C2.68342 16.5118 3.31658 16.5118 3.70711 16.1213L11 8.8284L18.2929 16.1213C18.6834 16.5118 19.3166 16.5118 19.7071 16.1213Z' fill='%23F5851A'/%3E%3C/svg%3E");
        }
    }
}

.sp-2 {

    &:after {
        right: 8px;
    }
}

.footer-acc-panel {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.2s ease-out;

    @media (min-width: $b480) {
            max-height: 200px;
            overflow: visible;

        }
}