/**************** Кнопка обратно звонка *********************/
.callback-btn {
    background: #FF6F64;
    border-radius: 50%;
    box-shadow: 0 8px 10px rgba(56, 163, 253, 0.3);
    cursor: pointer;
    border: 2px solid transparent;
    display: block;
    height: 75px;
    width: 75px;
    text-align: center;
    position: fixed;
    right: 6%;
    bottom: 6%;
    z-index: 1000;
    transition: .3s ease-in-out;
    -webkit-animation: hoverWave linear 1s infinite;
    animation: hoverWave linear 1s infinite;
	opacity:.95;
}
.callback-btn:hover {
    background: #FF6F64;
    border: 1px solid #fff;
}
.callback-btn .text-call {
    height: 75px;
    width: 75px;
    border-radius: 50%;
    position: relative;
}
.callback-btn .text-call:after {
    content: "\f095";
    display: block;
    font-family: fontawesome;
    color: #fff;
    font-size: 38px;
    line-height: 75px;
    height: 75px;
    width: 75px;
    opacity: 1;
    transition: .3s ease-in-out;
    animation: 1200ms ease 0s normal none 1 running shake;
    animation-iteration-count: infinite;
}
.callback-btn .text-call:hover:after {
    opacity: 0;
}
.callback-btn .text-call span {
    color: #fff;
    display: block;
    left: 50%;
    top: 50%;
    position: absolute;
    transform: translate(-50%, -50%);
    opacity: 0;
    font-size: 11px;
    line-height: 12px;
    font-weight: 400;
    text-transform: uppercase;
    transition: .3s ease-in-out;
	font-family: 'Inter', Arial, Helvetica, sans-serif;
}
.callback-btn .text-call:hover span {
    opacity: 1;
}
@keyframes hoverWave {
    0% {
        box-shadow: 0 8px 10px rgb(255,111,100, 0.3), 0 0 0 0 rgb(255,111,100, 0.2), 0 0 0 0 rgb(255,111,100,0.2)
    }
    40% {
        box-shadow: 0 8px 10px rgb(255,111,100,0.3), 0 0 0 15px rgb(255,111,100,0.2), 0 0 0 0 rgb(255,111,100,0.2)
    }
    80% {
        box-shadow: 0 8px 10px rgb(255,111,100,0.3), 0 0 0 30px rgb(255,111,100,0), 0 0 0 26.7px rgb(255,111,100,0.067)
    }
    100% {
        box-shadow: 0 8px 10px rgb(255,111,100,0.3), 0 0 0 30px rgb(255,111,100,0), 0 0 0 40px rgb(255,111,100,0.0)
    }
}
/************************** Анимация кнопки *****************************/
@keyframes shake {
    0% {
        transform: rotateZ(0deg);
        -ms-transform: rotateZ(0deg);
        -webkit-transform: rotateZ(0deg);
    }
    10% {
        transform: rotateZ(-30deg);
        -ms-transform: rotateZ(-30deg);
        -webkit-transform: rotateZ(-30deg);
    }
    20% {
        transform: rotateZ(15deg);
        -ms-transform: rotateZ(15deg);
        -webkit-transform: rotateZ(15deg);
    }
    30% {
        transform: rotateZ(-10deg);
        -ms-transform: rotateZ(-10deg);
        -webkit-transform: rotateZ(-10deg);
    }
    40% {
        transform: rotateZ(7.5deg);
        -ms-transform: rotateZ(7.5deg);
        -webkit-transform: rotateZ(7.5deg);
    }
    50% {
        transform: rotateZ(-6deg);
        -ms-transform: rotateZ(-6deg);
        -webkit-transform: rotateZ(-6deg);
    }
    60% {
        transform: rotateZ(5deg);
        -ms-transform: rotateZ(5deg);
        -webkit-transform: rotateZ(5deg);
    }
    70% {
        transform: rotateZ(-4.28571deg);
        -ms-transform: rotateZ(-4.28571deg);
        -webkit-transform: rotateZ(-4.28571deg);
    }
    80% {
        transform: rotateZ(3.75deg);
        -ms-transform: rotateZ(3.75deg);
        -webkit-transform: rotateZ(3.75deg);
    }
    90% {
        transform: rotateZ(-3.33333deg);
        -ms-transform: rotateZ(-3.33333deg);
        -webkit-transform: rotateZ(-3.33333deg);
    }
    100% {
        transform: rotateZ(0deg);
        -ms-transform: rotateZ(0deg);
        -webkit-transform: rotateZ(0deg);
    }
}
/********************Модальное окно***************************/
.wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-evenly;
    width: 100%;
    height: 100vh;
}
.open-popup {
    display: inline-block;
    padding: 15px 30px;
    text-transform: uppercase;
    background: #2982ff;
    color: #fff;
    text-decoration: none;
    font-weight: 500;
    border-radius: 5px;
}
.popup__bg {
    position: fixed;
    top: 0;
    left: 0;
	right: 0;
	bottom: 0;
    width: 100%;
    height: 100vh;
    background: rgba(0,0,0,0.5);
    opacity: 0;
    pointer-events: none;
    transition: 0.5s all;
	z-index:1000;
}
.popup__bg.active {
    opacity: 1;
    pointer-events: all;
    transition: 0.5s all;
	z-index:1000;
	backdrop-filter: blur(1px);
}
.popup {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0);
    background: #24AAE1;
    width: 400px;
    padding: 40px;
    transition: 0.5s all;
	border-radius:30px;
}
@media (max-width:768px) {
	.popup {
		width:300px;
	}
}
.popup h6 {
	color:#fff;
}
.popup.active {
    transform: translate(-50%, -50%) scale(1);
    transition: 0.5s all;
	box-shadow:0 4px 20px 0 rgba(36, 155, 203, 0.55);
}
.popup.active picture {
	display:flex;
	justify-content:center;
}
.popup.active img {
	margin-top:10px;
	margin-bottom:20px;
	height:50px;
	max-width:none;
}
.popup.active h6 {
	color:#fff;
	font-family: Inter;
    font-size: 16px;
    font-style: normal;
	font-weight:400;
	margin-top:10px;
	margin-bottom:20px;
}
.close-popup {
    position: absolute;
    top: 10px;
    right: 20px;
    cursor: pointer;
}
.popup label {
    width: 100%;
    margin-bottom: 20px;
    display: flex;
    flex-direction: column-reverse;
}
.popup .label__input {
	width:100%;
}
.popup .label__text {
    font-size: 14px;
    text-transform: uppercase;
    font-weight: 500;
    color: #fff;
    margin-bottom: 5px;
}
.popup input {
    height: 45px;
    font-size: 18px;
	height:30px;
    border: none;
    outline: none;
    border-bottom: 1px solid #cfd0d3;
	padding-left: 10px;
    border-radius: 30px;
}
.popup input:focus {
    border-bottom: 1px solid #2982ff;
}
.popup input:focus + .label__text {
    color: #fff;
}
.popup textarea {
    resize: none;
    width: 100%;
    height: 150px;
    border: none;
    outline: none;
    border-bottom: 1px solid #cfd0d3;
    font-size: 18px;
    padding-top: 5px;
}
.popup textarea:focus {
    border-bottom: 1px solid #2982ff;
}
.popup textarea:focus + .label__text {
    color: #2982ff;
}
.popup button {
    width: 100%;
    height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
	font-family: Inter;
	font-weight:500;
    color: #fff;
    font-size: 18px;
    background: #FF6F64;
    cursor: pointer;
    text-transform: uppercase;
    transition: 0.5s all;
	border-radius:15px;
	margin-top: 35px;
	margin-bottom:15px;
}
.popup button:hover {
    background: #ED5A4F;
    color:#fff;
    transition: 0.5s all;
}
.popup .conf__text {
  color: rgba(255, 255, 255, 0.8);
  font-family: Inter;
  font-size: 9px;
  font-style: normal;
  font-weight: 500;
  line-height: 16px;
  /*margin-left:20px;*/
}
@media (max-width:768px) {
	.popup .conf__text {
		font-size: 7.5px;
	}
}

/*Тестовая кнопка с красивым поворотом*/
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
.outer {
  position: relative;
  height: 200px;
  width: 100px;
  transform-style: preserve-3d;
  transition: 1s ease-in-out;
  perspective: 600px;
}
  .card {
  width: 100%;
  height: 100%;
  position: relative;
  transition: transform 1s;
  transform-style: preserve-3d;
}
    .card__inner {
      position: absolute;
      height: 100%;
      width: 100%;
      backface-visibility: hidden;
    }

    .card__front {
      background: url('https://images.unsplash.com/photo-1558980664-2506fca6bfc2?ixlib=rb-1.2.1&ixid=eyJhcHBfaWQiOjEyMDd9&auto=format&fit=crop&w=1350&q=80') no-repeat center / cover;
    }

    .card__back {
      background: url('https://images.unsplash.com/photo-1584404583652-ee56d3202ae7?ixlib=rb-1.2.1&ixid=eyJhcHBfaWQiOjEyMDd9&auto=format&fit=crop&w=634&q=80') no-repeat center / cover;
      transform: rotateY(180deg);
    }
.access {
	display:grid;
}