@import url('https://fonts.googleapis.com/css2?family=Nunito&display=swap');

*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Nunito', sans-serif;
} 

body {
    width: 100%;

}

.header {
    position: relative;
    top: 0;
    left: 0;
    width: 100%;
    padding: 1.5rem 10%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 100;
}

.header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0);
    backdrop-filter: blur(0px);
    z-index: -1;
}

.header::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .4), transparent);
    transition: .5s;
}

.header:hover::after {
    left: 100%;
}

.logo {
    font-size: 2rem;
    color: black;
    text-decoration: none;
    font-weight: 700;
    width: 10%;
}


.navbar a {
    font-size: 1.20rem;
    color: black;
    text-decoration: none;
    font-weight: 500;
    margin-left: 2.5rem;
}

#check {
    display: none;
}

.icons {
    position: absolute;
    right: 5%;
    font-size: 2.8rem;
    color: fff;
    cursor: pointer;
    display: none;
}


/* BREAKPOINTS */

@media (max-width: 1265px) {
    .header {
        padding: 1.3rem 5%;
    }
}

@media (max-width: 1140px) {
    .icons {
        display: inline-flex;
    }

    #check:checked~.icons #menu-icon {
        display: none;
    }

    .icons #close-icon {
        display: none;
    }

    #check:checked~.icons #close-icon {
        display: block;
    }

    .navbar {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        height: 0;
        background: whitesmoke;
        backdrop-filter: blur(50px);
        box-shadow: 0 .5rem 1rem rgba(0, 0, 0, .1);
        overflow: hidden;
        transition: .3s ease;
    }

    #check:checked~.navbar {
        height: 19rem;
    }


    .navbar a {
        display: block;
        font-size: 1.1rem;
        margin: 1.5rem 0;
        text-align: center;
        transform: translateY(-50px);
        opacity: 0;
        transition: .3s ease;
    }

    #check:checked~.navbar a {
        transform: translateY(0);
        opacity: 1;
        transition-delay: calc(.15s * var(--i));
        height: 18px;
    }
}




/* УСЛУГИ */



 /* .tab .container {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 1000px;
    background-color: whitesmoke;
    padding: 100px;
    box-shadow: 0 2px 16px rgba(0, 0, 0, .1);
    border-radius: 20px;
}

.tab_box {
    width: 100%;
    display: flex;
    justify-content: space-around;
    align-items: center;
    border-bottom: 2px solid rgba(229,229,229);
    font-size: 8px;
    font-weight: 600;
} */


.tabs {
    position: relative;
    width: 100%;
}

.tabs .title {
    padding: 50px 20px 100px;
    text-align: center;
    font-size: 30px;
    color: white;
    background-color: rgb(131, 165, 230);;
}

.tabs .tab-header {
    display: inline-block;
}

#tabh {
    
}

.tabs .tab-indicator,
.tabs .tab-body {
    margin: 0 auto;
    max-width: 650px;
    width: 100%;
}

.tabs .tab-header {
    display: inline-flex;
    position:relative;
    width: 100%;
    display: flex;
    align-items: center;
    height: 60px;
    margin-top: -60px;
    z-index: 2;
    text-transform: capitalize;
}

.tabs .tab-header > div {

    width: 25%;
    text-align: center;
    padding: 15px 15px;
    color: white;
    font-size: 18px;
    cursor: pointer;
    transition: color 300ms ease-in-out;
}

.tabs .tab-header > div.active {
    color: black;
}

.tabs .tab-indicator {
    /* position: relative; */
    height: 60px;
    margin-top: -60px;
}

/* .tabs .tab-indicator > div {
    position: absolute;
    left: 0%;
    width: 250px;
    height: 100%;
    background: #fff;
    border-radius: 10px 10px 0px 0px;
    transition: all 100ms ease-in-out;

} */

.tabs .tab-body {
    position: relative;
}

.tabs .tab-body > div {
    position: absolute;
    width: 100%;
    padding: 20px;
    opacity: 0;
    top: -100vh;
}

.tabs .tab-body > div > * {
    margin: 10px 0px;
}

.tabs .tab-body > div > p {
    color: #555;
    font-size: 15px;
}

.tabs .tab-body > div.active {
    top: 0px;
    opacity: 1;
    transition: top 0ms ease-in-out 0ms,
                opacity 500ms ease-in-out 0ms;
}



@media (max-width:1158px) {
    .tabs .tab-header > div {
        font-size: 16px;
    }
}

@media (max-width:1056px) {
    .tabs .tab-header > div {
        font-size: 14px;
    }
    .tabs .title {
        font-size: 28px;
    }
}

@media (max-width:955px) {
    .tabs .tab-header > div {
        font-size: 13px;
        display: unset;
    }

    #tabs {
        width: 200px;
    }

}

@media (max-width:777px) {
    .tab .tab-header > div {
        display: grid;
        grid-template-columns: 1fr 1fr;
        grid-gap: 16px;
    }
}

@media (max-width: 768px) {
    .tabs .tab-header {
      display: flex;
      flex-direction: column;
      align-items: center;
    }
  
    .tabs .tab-header > div {
      width: 100%;
      text-align: center;
      font-size: 20px;
      background-color: rgb(131, 165, 230);
    }

    .tabs .tab-body {
        margin-top: 350px;
        /* margin-bottom: -1200px; */
    }

    footer {

    }
  }


  @media (max-width: 710px) {


    .logo {
      font-size: 1.5rem;
  }

}









  /* FOOTER */

  footer {
    margin-top: 600px;
    padding: 40px 0;
    background-color: rgb(131, 165, 230);
    height: 20%;
    color: white;
}

.footer .logofooter {
    text-align: center;
    margin-bottom: 10px;
}

.footer .logo {
    color: white;
}

.footer ul {
    text-align: center;
    margin-top: 0;
    padding: 0;
    list-style: none;
    font-size: 18px;
    line-height: 1.0;
    margin-bottom: 0;
}

.footer ul a {
    color: inherit;
    text-decoration: none;
    opacity: 0.8;
}

.footer ul li {
    display: inline-block;
    padding: 0 15px;
}

.footer ul li a {
    cursor: pointer;
}

.footer ul li a:hover {
    opacity: 1;
}

.footer .copyright {
    margin-top: 20px;
    text-align: center;
    font-size: 15px;
    color: white;
}

/* @media (max-width:1223px) {
    footer {
        margin-top: 2300px;
    }
} */

@media (max-width:800px) {
    footer {
        margin-top: 1000px;
    }
}

@media (max-width:460px) {
    footer {
        margin-top: 1200px;
    }
}

@media (max-width:320px) {
    footer {
        margin-top: 1300px;
    }
}