@import url('https://fonts.googleapis.com/css2?family=Anonymous+Pro:ital,wght@0,400;0,700;1,400;1,700&family=Caveat:wght@400;500;600;700&family=Kelly+Slab&family=Literata:ital,opsz,wght@0,7..72,200;0,7..72,400;1,7..72,200&family=Lobster&family=Rubik+Burned&family=Ruslan+Display&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Vollkorn:ital,wght@0,400..900;1,400..900&display=swap');

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: 'Lobster','Vollkorn''Pacifico','Anonymous Pro', 'Ruslan Display',"Сгоревший Рубик"; 
}

html {
    height: 100%;
}

body {
    display: flex;
    flex-direction: column;
    height: 100vh;
    width: 100%;
    box-sizing: border-box;
}
header {
    flex: 0 0 auto;
}

main {
    flex: 1 0 auto;
    width: 100%;
    box-sizing: border-box;
}

footer{
    flex: 0 0 auto;
}

.container {    
    width: 100%;
    box-sizing: border-box;
    margin: 0 auto;
}
.header {
    position: relative;
    margin: 0px 0px 0px 0px;
    height: 100%;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
}
@media only screen and (max-width: 768px) {
    .header {
        height: auto;
    }
}

.top-nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
    background-color: #16005A;
    border-bottom: thick double #9817DA;
    z-index: 5;
}

.top-nav1 {
    display: flex;
    align-items: baseline;
    position: relative;
    justify-content: start;
    left: 20px; 
    margin: 5px 0;
    
}

@media only screen and (max-width: 768px) {
    .top-nav {
        flex-direction: column;
        gap: 20px;
    }
    .top-nav1 {
        left: 5px;   
    }
}
.top-nav a {
    color: #fff;
    font-weight: 500;
    text-decoration: none;
    margin: 0 10px;
    line-height: normal;
    font-size: 2.5rem;
    font-family: 'Vollkorn';
}

.top-nav nav {
    display: inline;
    flex-wrap: wrap;
    justify-content: stretch;
    gap: 5px;
    white-space: nowrap;
}

@media only screen and (max-width: 768px) {
    .top-nav nav {
        white-space:normal;
        gap: 20px;
    }
}
ul.hr li {
    display: inline; /* Отображать как строчный элемент */
}
.button{
    box-sizing: border-box;
    width: 281px;
    height: 60px;
    color: #fff;
    background:  #16005A;
    border: 4px solid #FFFFFF;
    border-radius: 60px;
    padding: 5px;
    font-size: 28px;
    position: relative;
    top: 15px; 
    right: 30px;
    cursor: pointer; 
    letter-spacing: .2rem;
    margin: 0px 0px 20px 0px;
    vertical-align: top; 
    font-family: 'Lobster';   
}

.top-content {
    position: relative;
    padding: 20px 10px;
    width: 500px;
    height: 360px;
    z-index: 5;
    border-radius: 60px;
    margin: 20px 20px 50px 80px;
    background-color: rgba(0, 0, 28, 0.705);
    letter-spacing: 1px;
    text-align:center;
    font-family: 'Lobster'; 
}
@media only screen and (max-width: 768px) {
    .top-content  {
        font-size: 20px;
        height: auto;
        width: 300px;
        margin: 1px 2px 5px 10px;
    }
    }
    
.top-content .title {
    font-size: 28px;
    color: #fff;
    margin-bottom: 60px;
}
    
 @media only screen and (max-width: 768px) {
.top-content .title {
    font-size: 20px;
    height: auto;
}
}
/* услуги 2 */
.block-card {
    background: #572BDC;
    padding: 20px 0;
    box-sizing: border-box;
    width: 100%;
}
@media only screen and (max-width: 768px) {
    .block-card {
        display: block; 
    }}

.block-title {
    line-height: 1.5;
    text-align: center;
    letter-spacing: .2rem;
    width: 90%;
    margin-left: auto;
    margin-right: auto;
}

.block-title span {
    font-size: 48px;
    font-weight: 700;
    color: #fff;
}

.block-title p {
    font-size: 32px;
    font-weight: 500;
    letter-spacing: .2rem;
    color: #fff;
    font-family: 'Lobster'; 
   
}

@media only screen and (max-width: 768px) {    
.block-title span {
    font-size: 32px;
}
}

.block-title p {
 font-size: 18px;
}
.list-cards {
   display: flex;
   flex-wrap: wrap;
   gap: 30px;
   margin: 50px 0px 50px 0px;
   width: 90%;
   justify-content: center;
   align-items: center;
   margin-left: auto;
   margin-right: auto;
}

.list-cards .card {
   display: flex;
   flex-direction: column;
   justify-content: space-between;
   flex: 1 1 30%;
   padding: 10px;
   border-radius: 12px;
   color: #fff;
   line-height: 1.5;
   background-position: center;
   justify-content: center;
   height: 350px;
   background-size: cover;
   background:  #16005A;
   letter-spacing: .2rem;
   cursor: pointer; 
   border: 10px double #9817DA;
   font-family: 'Lobster'; 
}
@media only screen and (max-width: 768px) {    
    .list-cards .card {
        display: block; 
        height: auto;
    }
    }
 
.list-cards .card:hover .pril   {
    display:block;
    position:static;
    top:120px;
    z-index:9999;
    background:  #16005A;
    height: 350px;
    width: auto;
    justify-content: center;
    background-position: center;
    border-radius: 12px;
}
.list-cards .card .title {
   font-size: 33px;
   font-weight: 700;
   text-align: center;
}

.pril {
    display: none;
    font-weight: 500;
    letter-spacing: .2rem;
    text-align: center;
    font-size: 17px;
    background-position: center;
    
}
@media only screen and (max-width: 768px) {    
    .pril {
        font-size: 14px;
}
}
.list-cards2 {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    margin: 50px 0px 50px 0px;
    width: 60%;
    justify-content: center;
    align-items: center;
    margin-left: auto;
   margin-right: auto;
 }
 @media only screen and (max-width: 768px) {    
    .list-cards2  {
        display: block; 
        height: auto;
        width: auto;
        margin: 5px 5px 5px 5px;
    }
    }
 .list-cards2 .card {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    flex: 1 1 30%;
    padding: 10px;
    border-radius: 12px;
    color: #fff;
    line-height: 1.5;
    background-position: center;
    justify-content: center;
    height: 350px;
    width: 200px;
    background-size: cover;
    background:  #16005A;
    letter-spacing: .2rem;
    cursor: pointer; 
    border: 10px double #9817DA;
    font-family: 'Lobster'; 
 }
 @media only screen and (max-width: 768px) {    
     .list-cards2 .card {
         display: block; 
         height: auto;
         width: auto;
         margin: 5px 5px 5px 5px;
     }
     }
  
     .list-cards2 .card:hover .pril   {
        display:block;
        position:static;
        top:120px;
        z-index:9999;
        background:  #16005A;
        height: 350px;
        width: auto;
        justify-content: center;
        background-position: center;
        border-radius: 12px;
    }
    .list-cards2 .card .title {
       font-size: 33px;
       font-weight: 700;
       text-align: center;
    }
     
/* отзывы 3 */
.block-card1 {
    background: #572BDC;
    padding: 20px 0;
    box-sizing: border-box;
    width: 100%;
}
@media only screen and (max-width: 768px) {
    .block-card1 {
        display: block; 
    }}
.list-models {
    position: relative;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 20px;
    margin-bottom: 25px;
    
    }
    
    .list-models .item {
    flex: 1 1 250px;
    padding: 15px;
    background: #fff;
    line-height: 1.5;
    border-radius: 12px;
    transition: all 0.25s;
    }
    
    .list-models .item:hover {
    background: #1d8aee;
    color: #fff;
    }
    
    .list-models .item span {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 5px;
    }
    
    .list-models .item p {
    font-size: 14px;
    }
    
.min {
    flex: 1 0 auto;
    height: 100%;
    width: 100%;
    box-sizing: border-box;
    background: #572BDC;
    
}
@media only screen and (max-width: 768px) {
    .min {
        height: auto;
        display: block;
    }
}
.slider {
    background-color: #4918DC;;
    height: 80%;
    left: 5%;
    position: relative;
    top: 10%;
    width: 35em;
    
    }
    @media only screen and (max-width: 768px) {
        .slider {
            width: 320px; 
            height: auto; 
            left: 0px;
                       
        }
    }
  
    /* Slides */
    
    .slider li {
        box-shadow: 0 -1px 0 2px hsla(0,0%,0%,.03);
        list-style:none;
        position: absolute;
    }
    
@media only screen and (max-width: 768px) {    
    .slider li {
        width: 320px;
        height: auto;
    }
    }
    .slider input {
        display: none;
    }
    
    /* Navigation */
    
    .slider label {
        background-color: #16005A;
        background-image: linear-gradient(transparent, hsla(0,0%,0%,.25));
        border: .2em solid transparent;
        bottom: .5em;
        border-radius: 100%;
        cursor: pointer;
        display: block;
        height: 20px;
        left: 24em;
        opacity: 0;
        position: absolute;
        transition: .25s;
        width: 20px;
        visibility: hidden;
        z-index: 10;
        
    }
    .slider label:after {
        border-radius: 100%;
        bottom: -.2em;
        box-shadow: inset 0 0 0 .2em #16005A,
                    inset 0 2px 2px #16005A,
                    0 1px 1px hsla(0,0%,100%,.25);
        content: '';
        left: -.2em;
        position: absolute;
        right: -.2em;
        top: -.2em;
    }
    .slider:hover label {
        opacity: 1;
        visibility: visible;
    }
    .slider input:checked + label {
        background-color: #fff;
    }
    .slider:hover li:nth-child(1) label {left: .5em;}
    .slider:hover li:nth-child(2) label {left: 2em;}
    .slider:hover li:nth-child(3) label {left: 3.5em;}
    .slider:hover li:nth-child(4) label {left: 5em;}
    
    /* Images */
    
    .slider img {
        height: 100%;
        opacity: 0;
        transition: .25s;
        width: 30em;
        vertical-align: top;
        visibility: hidden;
     }
     @media only screen and (max-width: 768px) {
        .slider img {
            height: auto;
            width: 300px;
        }
    }
    .slider li input:checked ~ img {
        opacity: 1;
        visibility: visible;
        z-index: 10;
    }
    .list-cards1 .card {
        display: flex;
        flex: 1 1 30%;
        padding: 30px;
        line-height: 1.5;
        background-position: center;
        justify-content: center;
        transition: all 0.25s;
        background-size: cover;
        background-repeat: no-repeat;
        background-blend-mode: overlay;
        letter-spacing: .2rem;
        cursor: pointer; 
        text-align: center;
        height: 60%;
    }
     @media only screen and (max-width: 768px) {
        .list-cards1 .card {
            display: block; 
            height: auto;
            width: 350px;
            margin: auto; 
        }
    }
    
  
     .list-cards1 {
        display: flex;
        flex-wrap: wrap;
        gap: 40px;
        margin: 35px 0px 35px 0px;
    }

/* О Нас 4 */
.block-desc {
display: flex;
background: #572BDC;
padding: 40px 0;
height: 100%;
}
@media only screen and (max-width: 768px) {
.block-desc {
display: block; 
height: auto;            
}
}
    .desc-content {
        display: flex;
        align-items: center;
        justify-content: start;
        height: 40%;
        margin: 10px 20px 50px 150px;
    }
    .desc-content1 {
        display: flex;
        align-items: center;
        justify-content: end;
        height: 40%;
        width: 90%;
        margin: 10px 150px 50px 50px;
    }
    .desc-left, .desc-right {
        border-radius: 12px;
    }
    
    .desc-left {
        height: 400px;
        max-width: 300px;
        overflow: hidden;
        z-index: 5;
    }
    
    .desc-left img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }
    
    .desc-right {
        height: 100%;
        width: 100%;
        max-width: 600px;
        padding: 7px;
        color: #fff;
        line-height: 1.5;
        font-weight: 500;
        background:  #16005A;
        letter-spacing: .2rem;
        text-align: center;
        border: 10px double #9817DA;
        font-family: 'Lobster'; 
    }
    
    .desc-center {
        height: 60%;
        width: 60%;
        max-width: 600px;
        padding: 35px;
        color: #fff;
        line-height: 1.5;
        font-weight: 900;
        letter-spacing: .2rem;
        text-align: center;
        margin: 10px 20px 50px 100px;
      }
    
    .desc-right .title {
        font-size: 18px;
        font-weight: 700;
        margin-bottom: 15px;
    }
    
    .desc-right p {
        margin-bottom: 10px;
        font-size: 20px;
    }
    
    @media only screen and (max-width: 768px) {
        .desc-content {
            flex-direction: column;
            margin: 10px;
        }
        .desc-content1 {
            flex-direction: column;
            margin: 10px;
        }
        
        .desc-left {
            height: auto;
            left: 2px;
            
        }
        .desc-center {
            height: auto;
            margin: 10px;
            font-size: 12px;
            width: auto;
            
        }
        .desc-right {
            width: 350px;
            height: auto;
        }
    }

    @media only screen and (max-width: 768px) {
    .button1 {
       left: 10px;
    } 
} 

    .button1{
        box-sizing: border-box;
        width: 281px;
        height: 60px;
        color: #fff;
        background:  #16005A;
        border: 4px solid #FFFFFF;
        border-radius: 60px;
        padding: 5px;
        font-size: 28px;
        margin:20px 200px 0px 0px;
        cursor: pointer; 
        letter-spacing: .2rem;
        font-family: 'Lobster'; 
    }
    .social1 {
        height: auto;
        margin: 10px 250px 50px 10px;
        
    }
    @media only screen and (max-width: 768px) {
        .social1 {
            margin: auto;
        } 
    } 
 /* этапы работы 5 */

 .header1 {
    height: 100%;
    margin: 0px 0px 0px 0px;
    background-size: cover;
    padding: 20px 0px 0px 0px;
    position: relative;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center; 
       
}
.header1 {
    flex: 0 0 auto;
}
@media only screen and (max-width: 768px) {
    .header1 {
        display: block;
        height: auto;
    }
}

 /* шкала */ 
 section#timeline {
    width: 35%;
    margin: 10px auto;
    position: relative;
  }
  @media only screen and (max-width: 768px) {
    section#timeline {
        width: auto;
        padding: 5px;
}
}
 
  section#timeline article {
    width: 100%;
    margin: 0 0 20px 0;
    position: relative;
  }
  section#timeline article:after {
    content: '';
    display: block;
    clear: both;
  }
  section#timeline article div.inner {
    width: 40%;
    float: left;
    margin: 5px 0 0 0;
    border-radius: 6px;
  }
    
  section#timeline article div.inner span.date span {
    display: block;
    text-align: center;
  }
  section#timeline article div.inner span.date span.day {
    font-size: 10px;
  }
  section#timeline article div.inner span.date span.month {
    font-size: 18px;
  }
  section#timeline article div.inner span.date span.year {
    font-size: 10px;
  }
  section#timeline article div.inner h2 {
    padding: 5px;
    margin: 0;
    color: #fff;
    font-size: 18px;
    text-align: center;
    letter-spacing: .2rem;
    border-radius: 6px 6px 0 0;
    position: relative;
  }
  section#timeline article div.inner h2:after {
    content: '';
    position: absolute;
    top: 20px;
    right: -5px;
    width: 10px; 
    height: 10px;
    -webkit-transform: rotate(-45deg);
    
  }
  section#timeline article div.inner p {
    padding: 15px;
    margin: 0;
    font-size: 16px;
    letter-spacing: .2rem;
    font-weight: 600;
    text-align: center;
    background: #fff;
    color: #16005A;
    border-radius: 0 0 6px 6px;
  }
  @media only screen and (max-width: 768px) {
    section#timeline article div.inner {
        width: auto;
        padding: 5px;
}
}
  section#timeline article:nth-child(2n+2) div.inner {
    float: right;
  }
  section#timeline article:nth-child(2n+2) div.inner h2:after {
    left: -5px;
  }
  section#timeline article:nth-child(1) div.inner h2 {
    background: #3B0058;
  }
  section#timeline article:nth-child(1) div.inner h2:after {
    background: #3B0058;
  }
  section#timeline article:nth-child(2) div.inner h2 {
    background: #001959;
  }
  section#timeline article:nth-child(2) div.inner h2:after {
    background: #001959;
  }
  section#timeline article:nth-child(3) div.inner h2 {
    background: #8A00D0;
  }
  section#timeline article:nth-child(3) div.inner h2:after {
    background: #8A00D0;
  }
  section#timeline article:nth-child(4) div.inner h2 {
    background: #33477B;
  }
  section#timeline article:nth-child(4) div.inner h2:after {
    background: #33477B;
  }
  section#timeline article:nth-child(5) div.inner h2 {
    background: #9b59b6;
  }
  section#timeline article:nth-child(5) div.inner h2:after {
    background: #9b59b6;
  }  
  section#timeline article:nth-child(6) div.inner h2 {
    background: #3500D3;
  }
  section#timeline article:nth-child(6) div.inner h2:after {
    background: #3500D3;
  }  
  /* цены 6 */
  .block-gallery {
    background: #572BDC;
    height: 100%;
    padding: 20px;
}
@media only screen and (max-width: 768px) {
    .block-gallery {
        display: block; 
        height: auto;
    }
}

.gallery {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    height: 40%;
    width: 98%;
    align-items: center;
    justify-content: start;
    padding: 10px;
    margin: 15px;
}
.gallery-right {
    height: 250px;
    width: 100%;
    max-width: 600px;
    padding: 15px;
    color: #fff;
    font-weight: 500;
    background:  #9F2ADA;
    letter-spacing: .2rem;
    border-radius: 12px;
    text-align: center;
    border: 10px double #16005A;
    font-family: 'Lobster'; 
    line-height: 1.7;
}

.gallery-right p {
    font-size: 18px;
    font-family: 'Lobster'; 
}
.gallery-center {
    height: 100%;
    width: 30%;
    max-width: 600px;
    padding: 15px;
    color: #fff;
    line-height: 1.7;
    font-weight: 500;
    letter-spacing: .2rem;
    text-align: center;
    font-family: 'Lobster';  
}
.gallery-center h2 {
    max-width: 600px;
    color: #fff;
    line-height: 1.5;
    font-weight: 700;
    letter-spacing: .2rem;
    text-align: center;
    font-family: 'Lobster';  
}
        
.gallery2 {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    height: 40%;
    width: 98%;
    align-items: center;
    justify-content: center;
    padding: 15px;
    margin: 10px;
}   
.gallery-right2 {
    height: 250px;
    width: 100%;
    max-width: 600px;
    padding: 15px;
    color: #fff;
    line-height: 1.7;
    font-weight: 500;
    background:  #001959;
    border-radius: 12px;
    letter-spacing: .2rem;
    text-align: center;
    border: 10px double #9F2ADA;
    font-family: 'Lobster'; 
}
.gallery3 {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    height: 40%;
    width: 98%;
    align-items: center;
    justify-content: end;
    padding: 5px;
    margin: 10px;
}   
.gallery-right3 {
    height: 250px;
    width: 100%;
    max-width: 600px;
    padding: 15px;
    color: #fff;
    line-height: 1.7;
    font-weight: 500;
    border-radius: 12px;
    background:  #3B0058;
    letter-spacing: .2rem;
    text-align: center;
    border: 10px double #3500D3;
    font-family: 'Lobster'; 
}
@media only screen and (max-width: 768px) {
    .gallery-right {
        width: auto;
        height: auto;
    }
    .gallery-right2 {
        width: auto;
        height: auto;
    }
    .gallery-right3 {
        width: auto;
        height: auto;
    }
    .gallery-center {
        width: auto;
        height: auto;
    }
}

 /* контакты 7 */

.block-feedback {
    background: #572BDC;
    padding: 50px 0;
    height: 100%;
}

@media only screen and (max-width: 768px) {
    .block-feedback {
        display: block;
        height: auto;
    }
}

.drss {
    width: 100%; 
    height: 60%;
    display: flex;
    align-items: center;
}

@media only screen and (max-width: 768px) {
    .drss {
    display: block; 
    height: auto;            
    }
    }

.drss-right {
   height: auto;
   width: 100%;
   max-width: 600px;
   padding: 15px;
   color: #fff;
   line-height: 1.5;
   font-weight: 500;
   border-radius: 12px;
   letter-spacing: .2rem;
   text-align: center;
   margin: 70px;
   
}
@media only screen and (max-width: 768px) {
    .drss-right {
        font-size: 20px;        
    }
}
input, select, textarea {
    width: 100%;
    max-width: 100%;
    padding: 6px 12px;
    outline: none;
    border: 1px solid rgb(240, 247, 255);
    border-radius: 6px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 500;
}

.top-content2 {
    position: relative;
    padding: 20px 10px;
    width: 500px;
    height: 75%;
    z-index: 5;
    border-radius: 12px;
    color: #fff;
    margin: 20px 20px 50px 10px;
    letter-spacing: 1px;
    text-align:center;
    font-family: 'Lobster'; 
}
@media only screen and (max-width: 768px) {
    .top-content2  {
        font-size: 20px;
        height: auto;
        width: 300px;
        margin: 1px 2px 5px 10px;
    }
    }


    .cardd {
        width: 70%;
        padding: 60px 60px 60px 60px;
        border: 6px solid rgba(0, 0, 0, 0.3);
        box-shadow: 20px 20px 0 rgba(0, 0, 0, 0.3);
        border-radius: 50px;
        position: relative;
        margin: 50px 50px 50px 50px;
        
      }
      
      .cardd h2 {
        font-size: 20px;
        text-transform: uppercase;
        color: #fff;
        font-family: 'Lobster'; 
        letter-spacing: .2rem;
        font-weight: 500;
      }
      .cardd p {
        font-size: 18px;
        color: #fff;
        font-family: 'Lobster'; 
        letter-spacing: .2rem;
        font-weight: 500;
      }
      .cardd .row {
        position: relative;
        width: 100%;
        display: grid;
        grid: auto / auto auto;
        grid-template-columns: repeat(auto-fit,minmax(40%, 1fr));
        grid-gap: 30px;
      }
      
      .cardd .row .col {
        position: relative;
        width: 100%;
        margin: 30px 20px 40px 0;
        transition: 0.5s;
      }
      
      .cardd .row .form-group {
        position: relative;
        width: 100%;
        height: 40px;
        color: #ffffff;
      }
      
      .cardd .row .form-group input,
      .cardd .row .form-group textarea {
        position: absolute;
        width: 90%;
        height: 100%;
        background: transparent;
        outline: none;
        font-size: 24px;
        padding: 10px 0 10px 20px;
        border: 5px solid rgba(0, 0, 0, 0.3);
        box-shadow: 10px 10px 0 rgba(0, 0, 0, 0.3);
        color: #ffffff;
        border-radius: 50px;
      }
      
      .cardd .row .form-group label {
        line-height: 40px;
        color: #ffffff;
        font-size: 24px;
        margin: 0 0 0 30px;
        display: block;
        pointer-events: none;
      }
      
      .row .col:nth-child(6) {
        margin-top: 64px;
      }
      
      .cardd .row .form-group input:focus,
      .card .row .form-group textarea:focus {
        border: 5px solid #ffffff;
        transition: all 0.5s;
      }
      
      .cardd .row input[type="submit"] {
        border: 5px solid rgba(0, 0, 0, 0.3);
        box-shadow: 10px 10px 0 rgba(0, 0, 0, 0.3);
        padding: 10px;
        height: 100%;
        width: 50%;
        cursor: pointer;
        outline: none;
        background: transparent;
        text-transform: uppercase;
        color: #ffffff;
        line-height: 40px;
        font-size: 24px;
        font-weight: 700;
        border-radius: 45px;
        transition: all 0.4s;
        font-family: 'Lobster';
        letter-spacing: .5rem;
      }
      
      .cardd .row input[type="submit"]:hover {
        border: 5px solid rgba(255, 255, 255, 1);
        color: #ffffff;
        transition: all 0.4s;
      }
      
      @media screen and (max-width: 900px) {
        .cardd .row {
          grid-template-columns: repeat(auto-fit,minmax(70%, 1fr));
        }
        
        .cardd {
          padding: 20px;
        }
        
        .cardd h2 {
          font-size: 20px;
        }
        
        .cardd .row input[type="submit"] {
          width: 100%;
        }
      }
   


   /* футер 8 */  

.footer {
    background-color: #16005A;
    color: #fff;
    padding: 20px;
    border-top: thick double #9817DA;
}
@media only screen and (max-width: 768px) {    
    footer {
        display: block; 
        height: auto;
    }
    }
@media only screen and (max-width: 768px) {
    .footer-nav {
        margin: auto; 
    
    }
}
.footer-content {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    justify-content: space-between;
    gap: 20px;
}

.footer-logo {
    height: 100%;
    display: flex;
    flex-direction: column;
    font-size: 14px;
    font-weight: 600;
    gap: 5px;
}



.footer-nav {
    width: 70%;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
    justify-content: center;
    z-index: 5; 
      
}
.footer-nav a {
    color: #fff;
    font-weight: 500;
    text-decoration: none;
    margin: 0 10px;
    line-height: normal;
    font-size: 2.5rem;
    font-size: 40px;
    margin:20px 200px 0px 0px;
    font-family: 'Vollkorn';
    vertical-align: text-top;
}

.footer-nav .main-btn:not(:last-child) {
    margin-bottom: 5px;
}