.search-title-inp-btn{
    display: flex;
    align-items: center;
    justify-content: space-between;


    margin-bottom: calc(40px + 20 * ((100vw - 320px) / (1920 - 320)));
}

.search-inp-btn{
    display: flex;
    align-items: center;
    gap: calc(16px + 4 * ((100vw - 320px) / (1920 - 320)));
}

.search-inp{
    width: 280px;
    padding: 10px 0;
    border: none;
    outline: none;
    background-color: transparent;


    color: #fff;
}

.search-inp::placeholder{
    color: #A0A0B0;
}

.search-btn{
    width: 50px;
    height: 50px;
    padding: 0;
    border-radius: 50%;

    display: flex;
    align-items: center;
    justify-content: center;
}

.search-btn svg{
    width: 18px;
    fill: #fff;
}

.result-h3{
    margin-bottom: calc(20px + 8 * ((100vw - 320px) / (1920 - 320)));
}

.result{
    display: flex;
    flex-direction: column;
    gap: calc(10px + 10 * ((100vw - 320px) / (1920 - 320)));
}

.result-info a{
    color: #01A0DF;
    text-decoration: underline;
}

.result-grid{
    display: flex;
    flex-wrap: wrap;
    --gap: calc(25px + 15 * (100vw / 1920));
    --elems: 3;
    gap: var(--gap);
}

.result-grid-item{
    width: calc((100% - (var(--elems) - 1) * var(--gap)) / var(--elems));
}

.result-links-wrapper{
    display: flex;
    flex-direction: column;
    gap: calc(10px + 10 * ((100vw - 320px) / (1920 - 320)));
}

.result-link-btn{
    display: flex;
    align-items: center;
    gap: 10px;


    width: 100%;
    padding: 10px;
    border: 1px solid #fff;
    border-radius: 10px;


    position: relative;
}

.result-link-btn img{
    width: 24px;
}

.result-link-btn svg{
    width: 24px;
}

.result-link-btn.inactive-link{
    opacity: 0.6;
    
    pointer-events: none;
}

.result-link-btn.found-link{
    border: 1px solid green;
}

.result-link-btn.unfound-link{
    border: 1px solid #D60326;
    opacity: 0.6;
    
    pointer-events: none;
}

.result-link-btn.unknown-link{
    border: 1px solid #595974;
}

.result-wrapper{
    padding: 30px;
    border-radius: 10px;
    background-color: #050518;

    position: relative;
} 

@property --angle {
    syntax: "<angle>";
    initial-value: 0deg;
    inherits: false;
}

.result-wrapper::before, .result-wrapper::after{
    content: "";
    width: 100%;
    height: 100%;
    position: absolute;
    top: 50%;
    left: 50%;
    translate: -50% -50%;
    z-index: -1;
    padding: 4px;
    border-radius: 10px;
    animation: 3s spin linear infinite;
}

.result-wrapper::after{
    filter: blur(1.5rem);
    opacity: 0.5;
}

@keyframes spin{
    from {
        --angle: 0deg
    }

    to {
       --angle: 360deg 
    }
}

.error{
    display: none;
    margin-top: calc(20px + 8 * ((100vw - 320px) / (1920 - 320)));
    color: #D60326;
}

.fullname-error{
    margin-top: 0;
}





/* Про нас (about-us) */

.about-us{
    padding: calc(50px + 50 * ((100vw - 320px) / (1920 - 320))) 0;
}

.about-us-article{
    max-width: 550px;
}

.about-us-title{
    margin-bottom: calc(16px + 16 * ((100vw - 320px) / (1920 - 320)));
}

.about-us-title span{
    color: #01A0DF;
}






/* Поиск по номеру (phonenumber-search) */

.phonenumber-search{
    padding: calc(40px + 40 * ((100vw - 320px) / (1920 - 320))) 0;
}

.phonenumber-search-title span{
    color: #394CB5;
}

.tel-inp{
    border-bottom: 1px solid #394CB5;
}

.search-tel-btn{
    background-color: #394CB5;
}

.phonenumber-search-result-wrapper::before, .phonenumber-search-result-wrapper::after{
  background-image: conic-gradient(from var(--angle), #01A0DF, #394CB5)
}






/* Поиск по IP (ip-search) */

.ip-search{
    padding: calc(40px + 40 * ((100vw - 320px) / (1920 - 320))) 0;
}

.ip-search-title span{
    color: #00A01E;
}

.ip-inp{
    border-bottom: 1px solid #00A01E;
}

.search-ip-btn{
    background-color: #00A01E;
}

.ip-search-result-wrapper::before, .ip-search-result-wrapper::after{
    background-image: conic-gradient(from var(--angle), #01A0DF , #00A01E);
}






/* Поиск по нику (nickname-search) */

.nickname-search{
    padding: calc(40px + 40 * ((100vw - 320px) / (1920 - 320))) 0;
}

.nickname-search-title span{
    color: #6F2F9F;
}

.nickname-inp{
    border-bottom: 1px solid #6F2F9F;
}

.search-nickname-btn{
    background-color: #6F2F9F;
}

.result-h4{
    margin-bottom: calc(16px + 4 * ((100vw - 320px) / (1920 - 320)));
}

.nickname-search-result-wrapper::before, .nickname-search-result-wrapper::after{
    background-image: conic-gradient(from var(--angle), #01A0DF, #6F2F9F);
}






/* Поиск по ФИО (fullname-search) */

.fullname-search{
    padding: calc(40px + 40 * ((100vw - 320px) / (1920 - 320))) 0;
}

.fullname-search-title span{
    color: #E97D13;
}

.fullname-inp{
    border-bottom: 1px solid #E97D13;
}

.search-fullname-btn{
    background-color: #E97D13;
}

.fullname-search-result-wrapper::before, .fullname-search-result-wrapper::after{
    background-image: conic-gradient(from var(--angle), #01A0DF, #E97D13);
}

.fullname-result-grid {
    display: flex;
    flex-wrap: wrap;
    --gap: calc(25px + 15 * (100vw / 1920));
    --elems: 4;
    gap: var(--gap);
}

.profile{
    display: flex;
    flex-direction: column;
}

.profile img{
    width: 100%;
    margin-bottom: 16px;
}

.unfound-request-fullname{
    color: #D60326;
}

.show-all-link{
    display: block;
    width: max-content;
    margin: 0 auto;
    margin-top: calc(25px + 15 * (100vw / 1920));
}






@media(max-width: 1120px){
    .fullname-result-grid{
        --elems: 3;
    } 
}

@media(max-width: 992px){
    .result-grid{
        --elems: 2;
    }
}

@media(max-width: 880px){
    .search-title-inp-btn{
        flex-direction: column;
        align-items: flex-start;

        gap: 24px;
    }
    
    .search-inp-btn{
        width: 100%;
        justify-content: space-between;
    }

    .search-inp{
        width: 90%;
    }

}

@media(max-width: 868px){
    .fullname-result-grid{
        --elems: 2;
    } 
}

@media(max-width: 747px){
     .search-inp{
        width: 85%;
    }

}

@media(max-width: 660px){
    .result-grid{
        --elems: 1;
    }
}

@media(max-width: 610px){
    .fullname-result-grid{
        --elems: 1;
    } 
}

@media(max-width: 520px){
    .search-inp{
        width: 80%;

    }

    .search-btn{
        width : 45px;
        height: 45px;
    }

    .search-btn svg{
        width: 16px;
        fill: #fff;
    }

}

@media(max-width: 380px){
    .search-inp{
        width: 75%;
    }
}