@media (max-width: 550px){
    .project-cards .name{
            font-size: 20px;    
    }
    table td {
/*        display:block;*/
        width:100%;
        padding-left:0;
    }
    
    table{
       width:100% !important; 
    }
    
    table td a{
        display:block;
    }
    
    table td a img{
        display:block;
        width:100% !important;
        height: auto !important;
    }
    
    h1 {
        font-size: 30px;
        line-height: 30px;
    }
    
    h2 {
        font-size: 38px;
        line-height: 1.5;
    }
    
    a img{
        display:block;
        width:100%;
        height: auto;
    }
}

.grid-pages ul {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-gap: 20px;
}

.grid-pages li {
    text-align: left !important;
}

@media (max-width: 550px){
    .grid-pages ul {
        display: grid;
        grid-template-columns: repeat(1, 1fr);
        grid-gap: 20px;
    }
}

.advantages-now {
    padding-top: 50px;
    padding-bottom: 50px;
    background: var(--main-color);
}
.advantages-now h2{
   color: #fff; 
}
.advantages-now__grid {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    flex-direction: row;
    align-items: flex-start;
    border-right: 5px dashed #fff;
    border-left: 5px dashed #fff;
    padding: 0 20px;
}

@media (max-width: 550px){
    .advantages-now__grid {
        display: grid;
        grid-template-columns: repeat(1, 1fr);
        grid-gap: 20px;
    }
    .advantages-now {
        padding-top: 30px;
        padding-bottom: 30px;
    }
}

.advantages-now__item {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    width: 48%;
    flex: 0 0 48%;
    margin-bottom: 20px;
    padding-bottom: 30px;
}

.advantages-now__item-img {
    width: 100%;
    flex: 0 0 100%;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    margin-bottom: 10px;
}

.advantages-now__item-img img{
    height: 350px;
    width: 100%;
    display: block;
    object-fit: cover;
    object-position: center;
}

.advantages-now__right {
  flex: 0 0 100%;
  width: 100%;
  padding: 0 20px;
}

.advantages-now__item-name {
    white-space: pre-line;
    font-size: 24px;
    font-family: "Bold";
    text-transform: uppercase;
/*    margin-bottom: 20px;*/
    line-height: 1.5;
    color: #fff;
}

.advantages-now__item-name:after{
    content: '';
    display: block;
    margin-top: 10px;
    height: 2px;
    width: 30%;
    background: var(--main-color);
    box-shadow: 0 -1px 2px 0 var(--main-color);
}

.advantages-now__item-text {
  line-height: 1.5;
  font-size: 20px;
  color: #fff;
}

.child-menu-grid {
    position:absolute;
    left: 0;
    top: 85%;
    margin-top: 0;
    width:100%;
    padding:0;
    grid-template-columns: repeat(4, 1fr);
    grid-gap: 20px;
    padding: 10px;
    display: none;
    box-shadow: 1px 1px 5px -1px #fff, -1px -1px 5px -1px #fff;
    border-radius: 4px;
    background: var(--two-color);
}
.child-menu-grid ul li a{
    color: var(--main-color);
    font-family: "Regular";
    font-weight: 500;
    text-align: left;
}
.child-menu-grid ul li a:hover{
    color: #fff;
}
.parents-link {
    border-bottom: 2px solid #fff;
}

.child-men {
    padding: 0;
    margin-top: 10px;
}

.child-men li {
    display: block;
    padding: 5px 0;
}

.child-men a {
    font-size: 14px;
}

@media (max-width: 900px){
    .menu-main .wrapper ul.menu-main__line {
        display: block !important;
    }
}

@media (min-width: 900px){

    /*.child-menu-grid {
        position:absolute;
        left: 0;
        top: 85%;
        margin-top: 0;
        width:100%;
        padding:0;
        grid-template-columns: repeat(4, 1fr);
        grid-gap: 20px;
        background-color: var(--main-color);
        padding: 10px;
        display: none;
    }*/

    .menu-main__line li:hover .child-menu-grid{
        display: grid;
    }
}

.seo-sec {
    overflow: hidden;
}

















