

a {
    text-decoration: none;
}

.list {
    list-style: none;
}

.link {
    text-decoration: none;
}

h1,
h2,
h3,
h4,
h5,
h6,
p {
    margin-top: 0;
    margin-bottom: 0;
}

ul {
    margin: 0;
    padding: 0;
}
body{
    font-family: Roboto, sans-serif;
        font-weight: 400;
        font-size: 18px;
        line-height: 1.71;
        letter-spacing: 0.03em;
    color: #512499;
    background-color: #fff;
}

.container {
    max-width: 1200px;
    padding-left: 15px;
    padding-right: 15px;
    margin-left: auto;
    margin-right: auto;
}
@media screen and (min-width: 480px) {
    .container {
        max-width: 480px;
    }
}

@media screen and (min-width: 768px) {
    .container {
        max-width: 768px;
    }
}

@media screen and (min-width: 1200px) {
    .container {
       max-width: 1200px;
    }
}

@media screen and (min-width: 1600px) {
    .container {
        max-width: 1600px;
    }
}

.icon{
    width: 22px;
    height: 22px;
    fill: #512499;
    margin-right: 6px;
}

.icon:hover,
.icon:focus{
    fill:#f043b6;
}
@media screen and (max-width: 480px) {
    .icon{
        width: 18px;
        height: 18px;
        margin-right: 2px;
    }
}


.logo-img{
    margin: 40px 15px;
}

@media screen and (min-width: 1200px) {
.header-box {
        display: flex;
        align-items: center;
    }
}
    

.contacts{
    font-size: 14px;
    color: #512499;
    display: flex;
    align-items: center;  
}
@media screen and (max-width: 480px) {
    .contacts {
        font-size: 12px;
    }
}
@media screen and (min-width: 768px) {
    .contacts{
        font-size: 18px;
    }
}

.contacts:hover,
.contacts:focus{
    color: #f043b6;
    
}


.contacts-box{
    display: flex;
    align-items: center;
    justify-content: space-around;
    margin-top: 20px;
}
@media screen and (min-width:1200px) {
    .contacts-box {
        display: inline-block;
        margin-left: auto;
    }
}


.nav-list{
    display: flex;
    align-items: center;
    justify-content: center;   
}
@media screen and (min-width:768px){
    .nav-list {
       margin-left: auto;
    }
}


.nav-list__item {
    margin-right: 30px;
    font-size: 18px;
    color: #512499;
}
@media screen and (min-width: 768px){
.nav-list__item{
    margin-right: 50px;
    font-size: 24px;    
}
}
.nav-list__item:last-child{
    margin-right: 0px;
}


.nav-list-link{
    color: #512499;
    text-shadow:
            0 0 5px #6d2c5770,
            0 0 10px #6d2c5770,
            0 0 15px #6d2c5770,
            0 0 20px #6d2c5770;
        color: #ffffff;
        margin-top: 0;
        margin-bottom: 40px;
        padding-top: 200px;
}

.nav-list-link:hover,
.nav-list-link:focus{
    color: #f043b6;
}

.hero {
    
    background: rgb(0, 0, 0);
    background: radial-gradient(circle, rgba(0, 0, 0, 0.10407913165266103) 37%, rgba(238, 174, 195, 1) 98%), url(../img/hero-bg.jpg);
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    text-align: center;
    /* max-width: 1600px; */
    height: 700px;
    margin-left: auto;
    margin-right: auto;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2), 0 16px 20px rgba(0,
                0,
                0,
                0.2);
}
@media screen and (min-width:768px) {
    .hero{
        height: 800px;
    }
}

.hero-title {
    font-size: 28px;
    font-weight: 700;
    text-transform: uppercase;
    text-shadow:
                0 0 5px #6d2c5770,
                0 0 10px #6d2c5770,
                0 0 15px #6d2c5770,
                0 0 20px #6d2c5770;
    color: #ffffff;
    margin-top: 80px;
    margin-bottom: 40px;
}
@media screen and (min-width:768px) {
    .hero-title{
        margin-top: 200px;
    }
}

 .btn {
     font-family: inherit;
     font-weight: 700;
     font-size: 18px;
     line-height: 1.87;
     align-items: center;
     text-align: center;
     letter-spacing: 0.06em;
     color: #ffffff;
     background-color: #6d2c57;
     box-shadow: 0px 6px 6px rgba(0, 0, 0.15, 0.15);
     border-radius: 4px;
     cursor: pointer;
     border: transparent;
    padding: 4px 8px;
 }

.icon-hero {
    width: 24px;
    height: 24px;
    fill: #fff;
    margin-right: 10px;

}

 .btn-hero {   
    display: flex;
    align-items: center;
    justify-content: center;
    width: 200px;
    height: auto;
    margin-left: auto;
    margin-right: auto;
 }

 .btn:hover,
 .btn:focus{
    background-color: #f043b6;
 }

 .box-title {
     animation: moveRight 2s forwards 1 ease-out 0.5s;
 }

 .box-btn {
    animation: moveDown 2s forwards 1 ease-out 0.5s;
 }

 @keyframes moveRight {
    0% {
            transform: translatex(-50%);
        }
    
        100% {
            transform: translatex(0);
        }
 }

 @keyframes moveDown {
    0% {
        transform: translateY(100px);
    }
         100% {
             transform: translateY(0);
         }
 }

 .services {
    padding:60px 0px 0px 0px;
 }

 .pink{
    background-color: #f043b622;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2), 0 16px 20px rgba(0,
                0,
                0,
                0.2);
}
 .section-title {
    font-family: inherit;
    font-size: 28px;
    line-height: 1.87;
    letter-spacing: 0.06em;
    text-align: center;
    margin-bottom: 40px;
 }

.serv-bgr{
    
    padding-bottom: 40px;
}

@media screen and (min-width:768px) {
    .serv-card {
        display: flex;
        align-items: center;
    }

    .reverse {
        flex-direction: row-reverse;
    }
}

 .serv-img{
    display: block;
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2), 0 16px 20px rgba(0,
        0,
        0,
        0.2);
 }

 .card-title{
    font-family: inherit;
    font-size: 24px;
    text-align: center;
    margin-bottom: 16px;
 }

 .card-info{
    padding: 24px;
    margin-left: 10px;
 }
 .card-text, 
 .price-text,
 .profil-text{
    font-family: Roboto, sans-serif;
        font-weight: 400;
        font-size: 18px;
        line-height: 1.71;
        letter-spacing: 0.03em;
        color: #512499;
        text-align: center;
        margin-bottom: 16px;
 }

 .benefits-box{
    display: flex;
    flex-wrap: wrap;
    margin-bottom: 100px;
 }


.benefits-item {
    max-width: 100%;
    height: auto;
    margin-bottom: 20px;
    background: #ffffff;
    box-shadow: 0px 1px 3px rgba(0, 0, 0, 0.12), 0px 1px 1px rgba(0, 0, 0, 0.14),
        0px 2px 1px rgba(0, 0, 0, 0.2);
    border-radius: 0px 0px 0px 4px;
}
.benefits-item:last-child{
    margin-bottom: 0px;
}
@media screen and (min-width:1200px) {
    .benefits-item {
        flex-basis: calc((100% - 60px) / 3);
        height: 100%;
        margin-right: 30px;
    } 
    .benefits-item:last-child {
        margin-right: 0px;
    }
}


.benefits-img{
    display: block;
    max-width: 100%;
    height: auto;
}

 .benefits, 
 .price,
 .feedback
  {
    padding-top: 60px;
    
 }
.price,
.feedback {
    
    padding-bottom: 60px;
}
 .benefits-subtitle{
     
     margin-top: 0;
     margin-bottom: 10px;
 }

 .benefits-text {
    padding: 30px;
    
    text-align: center;
 } 
 

.price-img,
.feedback-img{
    display: block;
    max-width: 100%;
    height: auto;
    margin-bottom: 30px;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2), 0 16px 20px rgba(0,
            0,
            0,
            0.2);
}
.price-box{
    display: flex;
    align-items: center;
    justify-content: space-evenly;
    padding-bottom: 60px;
}
.btn-price{   
    width: 300px;
}


.feedback{
    padding-top: 40px;
}

.feedback-text{
    margin-bottom: 50px;
}

@media screen and (min-width:768px) {
    .profil-text{
        margin-left: 20px;
    }
}

.btn-profil{
    margin-bottom: 20px;
}
.feedback-btn, 
.btn-profil{
    width: 300px;
}



.footer-adress{
    display: block;
}

.footer{
    padding: 30px 0px;
    text-align: center;
    background: radial-gradient(circle, rgba(0, 0, 0, 0.10407913165266103) 37%, rgba(238, 174, 195, 1) 98%);
}

.footer-btn {
    display: flex;
    align-items: center;
    justify-content: center;
}
@media screen and (min-width:768px) {
    .footer-box{
        display: flex;
        align-items: center;
    }
        .footer-btn {
            
            margin-left: auto;
            margin-right: 15px;
        }
}


.footer-icon{
    fill: #512499;
    margin-left: 50px;
}

.footer-icon:hover,
.footer-icon:focus{
    fill: #f043b6;
}

.go-top {
    position: fixed;
    /* фиксированное позиционирование */
    left: 20px;
    /* отступ слева 20px */
    top: 50%;
    /* выравниваем по центру */
    transform: translateY(-50%);
    /* выравниваем по центру */
    cursor: pointer;
    /* при наведении меняем курсор */
    display: none;
    /* по умолчанию скрываем кнопку */
    font-size: 20px;
    color: rgba(0, 51, 153, 0.5);
    border: 1px solid rgba(247, 145, 216, 0.5);
    background-color: rgba(247, 34, 194, 0.1);
    padding: 15px 10px;
}

/* меняем прозрачность при наведении мышкой */
.go-top:hover {
    color: rgba(0, 51, 153, 0.8);
    border: 1px solid rgba(0, 51, 153, 0.8);
    background-color: rgba(0, 51, 153, 0.15);
}

/* модификатор для отображения кнопки */
.go-top--show {
    display: block;
}