html {
    scroll-behavior: smooth;
}

body {
    font-size: 18px;
    overflow-x: hidden;


}

main {
    width: 100%;
}

img {
    width: 100%;
}

a {
    color: inherit;
    text-decoration: none;
}

section {
    min-height: 100vh;
    display: flex;
    align-items: center;
}


.wrapper {
    max-width: 1200px;
    margin: 0 auto;
}

.half {
    width: 50%;
}

.color-blue {
    color: rgb(118, 107, 255);
}

.logo-switch {
    color: white;
    padding: 5px 10px;
    display: inline-block;
    border-radius: 5px;
    background-color: rgb(118, 107, 255);
}

.pointer {
    cursor: pointer;
}

.color-grey {
    color: rgb(116, 132, 148)
}
.color-black {
    color: black;
}

.color-white {
    color: white;
}
.decoration-none{
    all: unset;
}

.text-huge {
    font-size: 50px;
}

.text-big {
    font-size: 30px;
}

.text-middle {
    font-size: 25px;
}

.modal-content .color-grey {
    line-height: 24px;
}

.text-smaller {
    font-size: 16px;
    line-height: 24px;
}

.text-bold{
    font-weight: bold;
}
.text-center {
    text-align: center;
}
.text-left {
    text-align: left;
}
.line-height{
    line-height: 30px;
}

.logo {
    font-size: 35px;
}

.brad-10 {
    border-radius: 5px;
}

.brad-20 {
    border-radius: 20px;
    overflow: hidden;
}

.banner-main {
    padding: 50px 0;
}
.banner-main-img{
    min-width: 395px;
}

.human-position{
    position: absolute; 
    z-index: -10; 
    bottom: 1px; 
    right: 0; 
    width: 90%;
    height: 90%; 
    border-radius:  25px
}
.button-blue {
    padding: 12px 20px;
    background-color: #1f242e;
    color: white;
    border-radius: 50px;
    min-width: 100px;
    max-width: 200px;;
    text-align: center;
    cursor: pointer;
    transition: all 0.5s;
    
    &:hover{
    background-color: #1f242e;
    color: white;
    }
}

.button-white {
    padding: 12px 20px;
    background-color: #ffffff;
    color: black;
    border-radius: 50px;
    min-width: 100px;
    max-width: 200px;;
    text-align: center;
    cursor: pointer;
    transition: all 0.5s;

    &:hover{
        background-color: #1f242e;
        color: white;
    }
}

.button-blue-transparent {
    padding: 12px 20px;
    border: 1px solid rgb(118 107 255);
    color: rgb(118 107 255);
    border-radius: 50px;
    min-width: 100px;
    text-align: center;
    cursor: pointer;
    transition: all 0.5s;

    &:hover{
    background-color: #1f242e;
    color: white;
    border-color: #191c1f;
    }
}

.service-item {
  width: 32%;
  background-color: white;
  border-radius: 5px;
  text-align: left;
}

.tile-item {
    background-color: #f7f7f7;
    border-radius: 5px;
    position: relative;
    transition: all 0.5s;
    cursor: pointer;
}

.tile-item:hover {
    transform: scale(1.05);
    background-color: #1f242e;
    color: white;
}

.tile-item-button {
    bottom: 10px;
    right: 10px;
    padding: 3px 13px;
    border-radius: 15px;
    position: absolute;
    cursor: pointer;
    transition: all 0.5s;
}

.tile-item:hover .tile-item-button {
    color: #f7f7f7;
    background-color: #1f242e;
}

.tile-item-black {
    background-color: #1f242e;
    color: white;
    border-radius: 5px;
}
.tile-item-white{
    background-color: #f7f7f7;
    border-radius: 5px;
}

.tile-item .text-middle {
    white-space: nowrap;
    text-overflow: ellipsis;
    overflow: hidden;
}

.service-item img {
    max-width: 80px;
}

.service-item-half {
    width: 48%;
}

.service-item-half img {
    max-width: 80px;
}

.bg-black {
    background-color: #191c1f;
}


.bg-gradient {
    background-color: transparent;
    background-image: linear-gradient(90deg, white, #85e4df50);
    position: relative;
    z-index: -15;
}

.bg-yellow {
    background-color: #FFCA1E;
    min-width: 300px
}

.bg-green {
    background-color: #85E4E0;
}

.bg-pink {
    background-color: #F7CEDF;
}

.bg-purple {
    background-color: #F3F5FB;
}

.bg-gray {
    background-color: #e9ecf5;;
}

.bg-red {
    background-color: #FAA683;
}

.heder-menu-wrapper{
    width: 70%;
    max-width: 500px;
}
.message-tg-container{
    width: 40%;
    padding: 20px;
}
.message-tg{
    display: flex;
    align-items:end;
    margin: 0px 0px 3px 0;


  
}
.message-tg-wrapper {
    display: flex;
    flex-direction: column;
    min-width: 56px;
    max-width: 100%;
    border-radius: 15px 15px 0 15px ;
    box-shadow: 0 1px 2px #10232f26;
    background-color: #021c23;
    color: white;
    font-size: 16px;
    margin-left: auto;
    padding: 0 5px;
    
}
.message-container{
    padding: 10px;
}
.tg-check{
    filter: invert(100%) sepia(0%) saturate(1840%) hue-rotate(328deg) brightness(106%) contrast(100%); 
    width: 16px;
    height: 12px;
}
.tg-tail{
    position: relative;
    display: inline-block;
    width: 0;
    height: 0;
    border-right: 7px solid transparent;
    border-bottom: 7px solid #021c23;
}
.message-time{
    opacity: 0.5;
    margin: 0 5px 0 5px;
    font-size: 12px;
}
.time{
    display: flex;
    align-items: flex-end;
    justify-content: flex-end;
    margin-top: 0px;
}

@keyframes messageTG {
    0% {  opacity: 0; } 
    100% { opacity: 1; }
}
      

.menu-item {
    cursor: pointer;

    &:hover{
        color: rgb(118, 107, 255);
    }
}

.article-views {
    display: flex;
    gap: 5px;
    align-items: center;
}

.article-img {
    border-radius: 6px;
    margin-bottom: 18px;
}

.buttons-wrapper{
    max-width: 300px;
}

.help-call {
    min-width: 200px;
    gap: 25px;
   
}

.help-write {
    min-width: 200px;
    gap: 15px;
    text-align: left;
    
}

.help-write-item{
    gap: 15px;
}

.question-item{
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.5s;
}

.question-item-content{
    display: none;
}

.question-item-icon{
    width: 16px;
    transition: all 0.5s;
}

.question-item-icon-transform{
    transform: rotate(180deg);
}

.footer-column-wrapper{
    width: 70%;
}

.footer-column{
    gap: 10px;
    min-width: 145px;
}

#carousel:hover .arrow-left{
    left: -80px;
}

#carousel:hover .arrow-right{
    right: -80px;
}

#carousel .slide {
    max-width: 400px;
    height: 600px;
    margin-top: 15px; /* предотвращает обрезание верха картинок при scale */
    margin-bottom: 15px; /* предотвращает обрезание низа картинок при scale */
}

#carousel .bg-fix {
    border-radius: 20px;
}

#carousel .box-vertical {
    padding: 10px 0;
}

.team {
    max-width: 1200px;
    overflow-y: scroll;
    transition: all 0.5s;
    scrollbar-color: #458245 #714826; /* «цвет ползунка» «цвет полосы скроллбара» */
    scrollbar-width: none;  /* толщина */
}

/* продублировано под более универсальный класс */
.slider {
    max-width: 1200px;
    overflow-y: scroll;
    transition: all 0.5s;
    scrollbar-width: none;  /* толщина */
}

.team > div.third-width {
    width: 100%;
    max-width: 300px;
    flex-shrink: 0;
}

.slider > div.slide {
    width: 100%;
    max-width: 300px;
    flex-shrink: 0;
}

#team {
    /* max-width: 1221px; */
}

.team .tile-item {
    border-radius: 10px;
}

.team .tile-item {
    background-color: transparent;
}

.team .tile-item .brad-10 {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    border: 10px solid #e3e3e9;
}

.team-arrow {
    font-size: 120px;
    position: absolute;
    top: calc(50% - 40px);
    z-index: 999;
    cursor: pointer;
    opacity: 0.5;
    transition: all 0.5s;
    /* display: none; */
}

.carousel-arrow {
    font-size: 120px;
    position: absolute;
    top: calc(50% - 40px);
    z-index: 999;
    cursor: pointer;
    opacity: 0.5;
    transition: all 0.5s;
    /* display: none; */
}

.team-left {
    left: -500px;
    transition: all 0.5s;
}

#team:hover .team-left {
    left: -80px;

}

.team-right {
    right: -500px;
    transition: all 0.5s;
}

#team:hover .team-right {
    right: -80px;

}

.partners div {
    max-width: 300px;
}

.partners div img {
    width: 100%;
}

.modal-underlay {
    z-index: 999;
    top: 0;
    left: 0;
    position: fixed;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.7);
}

.modal {

    position: fixed;
    width: 96%;
    height: 96%;
    max-width: 800px;
    border-radius: 20px;
    background-color: white;

}

.modal::-webkit-scrollbar {
    width: 7px;
}
    
.modal::-webkit-scrollbar-thumb {
    border-radius: 10px;
    background-color: #aeaeae;
    border: solid 2px #f9f9fd;
}

.modal::-webkit-scrollbar-track {
    -webkit-box-shadow: inset 0 0 6px rgba(0,0,0,0.2);
    border-radius: 10px;
    background-color: #f9f9fd;
    margin: 20px 0;

}

.modal-close {
    position: absolute;
    top: 10px;
    right: 20px;
}

.modal-close:hover {
    transform: scale(1.1);
    transition: all 0.5s;
}

.typewriter-text {
    white-space: nowrap;
    overflow: hidden;
    border-right: 2px solid;
    width: 0;
    animation: blink-caret 0.75s step-end infinite;
}

/* знак вопроса-тултип */
.tooltip-icon {
    opacity: 0.5;
    cursor: pointer;
}

.tooltip-icon:hover {
    opacity: 1;
    color:rgb(118, 107, 255);
    transition: all 0.5s;
}

.additional-text {
    position: absolute;
    z-index: 1;
    display: none;
    transition: all 0.6s;
}

.additional-block {
    height: 100px; 
    width: 100%; 
    display: none;
}

.premium-star-main {
    width: 50px;
    margin-bottom: -10px;
}

@keyframes blink-caret {
    from, to {
        border-color: transparent;
    }
    50% {
        border-color: black;
    }
}

@media(max-width: 1170px) {
    .additional-block {
        display: block;
    }
}

@media(max-width: 900px) {
    .additional-block {
        height: 150px;
    }
}

@media(max-width: 700px) {
    .additional-block {
        height: 250px;
    }
}

@media(max-width: 500px) {
    .text-huge {
        font-size: 30px;
    }

    .bg-yellow {
        width:100%;
    }
    .mobile-width{
        width: 65%;
    }

    .bg-green {
        width: 100%;
    }

    .bg-pink {
        width: 100%;
    }

    .bg-red {
        width: 100%;
    }

    .team {
        max-width: 100%;
        overflow-y: scroll;
    }
    .team-arrow {
        display: none;
    }

    .partners {
        justify-content: center !important;
    }

    .additional-block {
        height: 150px;
    }

    .text-middle {
        font-size: 20px;
    }

    .premium-star-main {
        width: 35px;

    }

    .message-tg {
        display: none;
    }

    .message-tg:last-child {
        display: block;
    }

}




