.popup { position: fixed; top: 0; left: 0; z-index: 100; width: 100%; height: 100%; display: flex; opacity: 0; visibility: hidden; background-color: rgba(#03090F, .6); transition: .3s; @media (min-width: 640px) { overflow-y: auto; } &.active { opacity: 1; visibility: visible; } &__wrap { position: relative; background-color: #FFFFFF; @media (min-width: 640px) { border-radius: 10px; box-shadow: 0px 4px 32px rgba(14, 56, 94, 0.12); margin: auto; } } &__close { position: absolute; top: 0; right: 0; width: 60px; height: 60px; display: flex; align-items: center; justify-content: center; svg { fill: $black; transition: .3s; } &:hover { svg { @media (min-width: 1200px) { fill: $blue; } } } } } .popup-feedback { .popup__wrap { width: 100%; padding: 60px 0 0 20px; @media (min-width: 640px) { max-width: 500px; padding: 60px 54px 60px; } } &__form { overflow-y: auto; height: 100%; padding: 0 20px 30px 0; @media (min-width: 640px) { overflow-y: visible; height: auto; padding: 0; } } &__title { font-size: 32px; line-height: 36px; font-weight: 700; margin-bottom: 40px; @media (min-width: 1200px) { line-height: 48px; } } &__fields { margin-bottom: 40px; } &__field { input { border-color: #CDCECF; } &:not(:last-child) { margin-bottom: 16px; } } &__btn { width: 100%; margin-bottom: 16px; @media (min-width: 480px) { width: auto; padding: 12px 78px; } &.btn-animate { animation: btn-animate 0.5s linear infinite; background-size: 30px 30px; background-image: linear-gradient(45deg, rgba($white, 0.3) 25%, transparent 25%, transparent 50%, rgba($white, 0.3) 50%, rgba($white, 0.3) 75%, transparent 75%, transparent); } } &__confirm { color: #9A9C9F; font-size: 14px; line-height: 20px; font-weight: 500; a { text-decoration: underline; padding: 0; margin: 0; } } } @keyframes btn-animate { from { background-position: 0 0; } to { background-position: 60px 30px; } } .popup-success { .popup__wrap { width: 100%; text-align: center; padding: 60px 0 0 20px; @media (min-width: 640px) { max-width: 600px; padding: 60px 75px 70px; } } &__inner { overflow-y: auto; height: 100%; padding: 0 20px 30px 0; @media (min-width: 640px) { overflow-y: visible; height: auto; padding: 0; } } &__logo { display: flex; align-items: center; justify-content: center; width: 96px; height: 96px; border-radius: 50%; margin: 0 auto 30px; background-color: $blue; svg { stroke: $white; } } &__title { margin-bottom: 12px; font-size: 36px; line-height: 48px; font-weight: 800; } &__descr { color: #9A9C9F; font-size: 18px; line-height: 24px; font-weight: 500; } }