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

html {
    scroll-behavior: smooth;
}

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

body{
    height: 100vh;
}

a{
    text-decoration: none;
}

main{
    background-color: #F8F8F8;
}

.container{
    max-width: 1200px;
    padding: 5px 0px 5px 0px;
    margin: 0 auto;
}


.group-1{
    height: 70%;
    padding: 223px 0px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}


.description_group-1 .title_description{
    font-size: 45px;
    color: #000;
    font-weight: bold;
    margin-bottom: 17px;
}

.description_group-1 .paragraph_description{
    font-size: 24px;
    color: #717171;
    font-weight: regular;
}

.image_group-1{
    text-align: center;
}

.image_group-1 img{
    width: 85%;
    margin: 0;
    padding: 0;
}

.group-2{
    width: 100%;
    padding: 49px  148px 29px 33px;
    background-color: #AE70FD;
    border-radius: 20px;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 23px;
}

.description_group-2{
    max-width: 818px;
}

.description_group-2 .title_description{
    font-size: 28px;
    color: #ffffff;
    font-weight: bold;
    margin-bottom: 39px;
}

.description_group-2 .paragraph_description{
    font-size: 20px;
    color: #ffffff;
    font-weight: 300;
}

.image_group-2{
    width: 45%;
    text-align: right;
}

.image_group-2 img{
    width: 85%;
}


.group-3{
    width: 100%;
    background-color: #4E5FFF;
    padding: 15px 33px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-radius: 50px;
    margin-bottom: 270px;
}

.btn-catalog-services{
    background-color: #6B79FF;
    color: #ffffff;
    font-size: 17px;
    font-weight: bold;
    text-align: center;
    padding: 22px 41px 18px 41px;
    border: none;
    border-radius: 60px;
    cursor: pointer;
    transition: all 200ms ease-out;
}

.btn-catalog-services:hover{
    background-color: #5868FF;
}


.btn-document{
    display: flex;
    align-items: center;
    position: relative;
    cursor: pointer;
}


.btn-document::after{
    position: absolute;
    content: '';
    background-image: url('/src/img/arrow-top.svg');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    width: 47px;
    height: 47px;
    top:50%;
    right: 10px;
    transform:translate(0%, -50%);
    cursor: pointer;
    transition: all 200ms ease-out;
}


.btn-document button{
    background-color: #4E5FFF;
    font-size: 17px;
    font-weight: bold;
    border: none;
    color: #ffffff;
    cursor: pointer;
    margin-right: 60px;
}

.btn-document:hover .btn-document::after{
    transform:translate(5%, 5%);
}


.group-4{
    width: 100%;
    margin-bottom: 155px;
}


.group-4_title{
    text-align: center;
    font-size: 45px;
    font-weight: 700;
    margin-bottom: 72px;
}


.group-4_cards{
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    width: 100%;
    padding: 0px;
}


.card{
    width: 47%;
    padding: 62px 0px 95px 19px; 
    margin: 0;
    margin-bottom: 38px;
}

.card.active{
    background-color: #E9E9E9;
    border-radius: 20px;
}

.card_title{
    font-size: 28px;
    font-weight: 700;
    max-width: 449px;
    margin-bottom: 32px;
}

.card_description{
    font-size: 20px;
    font-weight: 300;
    color: #727272;
    max-width: 544px;
    margin-bottom: 122px;
}

.card_img{
    max-width: 413px;
    margin: 0px auto;
    text-align: center;
}
.card_img img{
    width: 75%;
}



.group-5{
    width: 100%;
    margin-bottom: 108px;

}


.group-5_title{
    font-size: 40px;
    font-weight: 700;
    margin-bottom: 29px;
}


.group-5_category{
    font-size: 22px;
    font-weight: 300;
    margin-bottom: 29px;
}


.group-5_buttons{
    display: flex;
    justify-content: flex-start;
    align-items: center;
    margin-bottom: 64px;
}

.group-5_buttons button{
    color: #000;
    background-color: #E3E3E3;
    padding: 22px 25px;
    font-size: 17px;
    font-weight: 700;
    text-align: center;
    border: none;
    border-radius: 50px;
    margin-right: 17px;
    transition: all ease-out 250ms;
    cursor: pointer;
}


.group-5_buttons button:hover{
    background-color: #2454FF;
    color: #ffffff;
}

.dropdown{
    position: relative;
    width: 100%;
    display: none;
    margin-bottom: 25px;
}

.dropdown__button{
    position: relative;
    width: 100%;
    padding: 10px;
    cursor: pointer;
    border: none;
    background-color: #4E5FFF;
    border-radius: 20px;
    color: #FFFFFF;
    font-size: 16px;
    font-weight: 400;
    line-height: 26px;
    letter-spacing: 0em;
    text-align: center;
}

.dropdown__button::before{
    content: '';
    position: absolute;
    top: 40%;
    right: 20px;
    transform: translateY(-50%);

    display: block;
    width: 15px;
    height: 15px;
    pointer-events: none;

    width: 0px;
    height: 0px;
    border-style: solid;
    border-width: 10px 5px 5px;
    border-color: #FFFFFF transparent transparent transparent;
    border-radius: 15px 15px 15px 25px;
    transform: rotate(0deg);
    transition: all 0.3s ease 0s;
}

.dropdown__button.active::before{
    transform: rotate(180deg);
}

.dropdown__list{
    width: 100%;
    position: absolute;
    top: 50;
    left: 0;
    z-index: 1;
    display: none;
}

.dropdown__list.active{
    display: block;
}

.dropdown__list__item{
    margin-top: 6px;
    border-radius: 20px;
    padding: 10px;
    cursor: pointer;
    border: none;
    background-color: #4E5FFF;
    color: #FFFFFF;
    font-size: 16px;
    font-weight: 400;
    line-height: 26px;
    letter-spacing: 0em;
    text-align: center;
    border: 1px solid #FFFFFF;
    border-bottom: none;
    width: 100%;
}

.group-5_links{
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}


.link{
    display: none;
    position: relative;
    width: 385px;
    height: 215px;
    border-radius: 20px;
    padding-top: 31px;
    padding-left: 20px;
    padding-right: 10px;
    background-color: #ffffff;
    margin-bottom: 29px;
}

.link.active{
    display: block;
}

.link_title{
    max-width: 274px;
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 15px;
}

.link_description{
    font-size: 15px;
    font-weight: 300;
    color: #747474;
}


.link_arrow{
    width: auto;
    position: absolute;
    right: 29px;
    bottom: 15px;
    cursor: pointer;
    transition: all ease-out 250ms;
}

.link_arrow img{
    width: 85%;
}


.link_arrow:hover{
    right: 19px;
}



footer{
    width: 100%;
    background-color: #000;
    color: #ffffff;
    padding: 35px 0px 35px 44px;
}

.text_footer{
    font-size: 15px;
    font-weight: 700;
}

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


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

@media screen and (max-width: 767px) {
    .container{
         max-width: none;
         padding: 0px 8px;
         position: relative;
    }
}


 @media screen and (max-width: 992px) {
    .description_group-1 .title_description{
        font-size: 28px;
    }
    .description_group-1 .paragraph_description{
        font-size: 18px;
    }
    .image_group-1 img{
        width: 80%;
    }
    .image_group-1{
        text-align: center;
    }
}


@media screen and (max-width: 767px) {
    .description_group-1{
        text-align: center;
        width: 100%;
        z-index: 3;
    }
    .description_group-1 .title_description{
        font-size: 24px;
        color: #ffffff;
    }
    .description_group-1 .paragraph_description{
        font-size: 16px;
        color: #ffffff;
    }
    .group-1{
        height: 100vh;
        overflow: hidden;
        background-image: url('/src/img/api.svg');
        background-repeat: repeat;
        background-size: contain;
        background-position: center;
        margin-bottom: 85px;
    }
    .group-1::after{
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: rgba(132, 132, 132, 0.596);
        z-index: 2;
        width: 100%;
        height: 100vh;
    }
    .image_group-1{
        display: none;
    }
    
    
}


@media screen and (max-width: 992px){
    footer{
        font-size: 12px;
    }
}


@media screen and (max-width: 767px){
    footer{
        text-align: center;
        font-size: 10px;
        padding: 25px 5px 25px 5px;
    }
}


@media screen and (max-width: 992px) {
    .group-2{
        padding: 49px  33px 29px 33px;
    }
    .description_group-2 .title_description{
        font-size: 26px;
        margin-bottom: 30px;
    }
    .description_group-2 .paragraph_description{
        font-size: 20px;
    }
    .image_group-2{
        width: 90%;
    }
 }

 @media screen and (max-width: 767px){
    .image_group-2{
        position: absolute;
        top: -65px;
        right: 10px;
        width: 90px;
        height: 90px;
        transform: rotate(-15deg);
    }
    .group-2{
        margin: 0 auto 30px auto;
        position: relative;
        padding: 29px 18px 29px 18px;
        width: 100%;
    }
    .description_group-2{
        max-width: none;
    }
    .description_group-2 .title_description{
        font-size: 22px;
        margin-bottom: 23px;
        line-height: 24px;
    }
    .description_group-2 .paragraph_description{
        font-size: 16px;
        line-height: 20px;
    }
}


@media screen and (max-width: 992px){
    .group-3{
        padding: 15px 25px;
    }
    .btn-catalog-services{
        font-size: 17px;
        padding: 22px 35px 18px 35px;
    }
    
    .btn-document button{
        font-size: 17px;
        margin-right: 60px;
    }
    .btn-document::after{
        width: 37px;
        height: 37px;
        top:50%;
        right: 15px;
        transform:translate(0%, -50%);

    }
    
}


@media screen and (max-width: 767px){
    .group-3{
        padding: 15px;
        margin-bottom: 80px;
    }
    .btn-catalog-services{
        font-size: 12px;
        padding: 17px 15px 17px 15px;
    }
    
    .btn-document button{
        font-size: 13px;
        margin-right: 50px;
    }
    .btn-document::after{
        width: 45px;
        height: 45px;
        top:50%;
        right: 10px;
        transform:translate(0%, -50%);

    }
}


@media screen and (max-width: 992px){
    .group-4{
        margin-bottom: 135px;
    }
    .group-4_title{
        font-size: 42px;
    }
    .group-4_cards{
        flex-direction: column;
    }
    .card{
        width: 85%;
        margin: 20px auto;
        padding: 25px;
        background-color: #E9E9E9;
        border-radius: 20px;
    }
    .card_description{
        margin-bottom: 30px;
    }
    .card_img{
        text-align: center;
    }
    .card_img img{
        width: 70%;
    }

}



@media screen and (max-width: 767px){
    .group-4{
        margin-bottom: 100px;
    }
    .group-4_title{
        font-size: 30px;
        margin-bottom: 22px;
    }
    .card{
        text-align: center;
        width: 100%;
        padding: 20px;
        margin: 15px 0px;
    }
    .card_title{
        max-width: none;
        font-size: 25px;
        text-align: center;
        margin-bottom: 15px;
    }
    .card_description{
        font-size: 17px;
        text-align: center;
    }
    .card_img{
        width: 100%;
        margin: 0;
    }
    .card_img img{
        width: 60%;
    }
}


@media screen and (max-width: 992px){
    .group-5_title{
        font-size: 42px;
    }
    .group-5_category{
        font-size: 23px;
    }
    .group-5_buttons{
        margin-bottom: 54px;
    }
    .group-5_buttons button{
        background-color: #E3E3E3;
        padding: 15px 20px;
        font-size: 20px;
        font-weight: 700;
        margin-right: 14px;
        transition: all ease-out 250ms;
        cursor: pointer;
    }
    .group-5_links{
        justify-content: space-evenly;
    }
    .link{
        width: 47%;
        height: 215px;
        padding-top: 31px;
        padding-left: 20px;
        padding-right: 10px;
        margin-bottom: 30px;
    }
    
    
    .link_title{
        max-width: 274px;
        font-size: 20px;
        font-weight: 700;
        margin-bottom: 15px;
    }
    
    .link_description{
        font-size: 16px;
        font-weight: 300;
        color: #747474;
    }
    
    
    .link_arrow{
        width: auto;
        position: absolute;
        right: 29px;
        bottom: 15px;
        cursor: pointer;
        transition: all ease-out 250ms;
    }
}


@media screen and (max-width: 767px){
    .group-5_title{
        font-size: 35px;
    }
    .group-5_category{
        font-size: 20px;
    }
    .group-5_buttons{
        display: none;
    }
    .dropdown{
        display: block;
    }
    .group-5_links{
        flex-direction: column;
        justify-content: center;
    }
    .link{
        width: 100%;
    }
}


