* {
    margin: 0;
    padding: 0;
    -webkit-tap-highlight-color: transparent;
}
::selection {
    background-color: #CD4C81FF;
    color: white;
}
html {
    font-family: "Ubuntu", sans-serif;
    font-weight: 300;
    font-style: normal;
    font-size: 20px;

    color: #ffffff;
    background-color: #000000;
}
.container {
    width: 1058px;
    margin-inline: auto;
}
.bg-wrapper {
    background-image: url("../tim3la/back-gradient.webp");
    background-repeat: repeat-y;
    background-position: center -2500px;
    background-size: 4000px;
    width: 100%;
}
.content {
    min-height: 90vh;
    background-image: url("../tim3la/black-holes.svg");
    background-repeat: repeat-y;
    background-position: 50% -300px;
}
.menu {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;

    margin-top: 2rem;
    margin-bottom: 0.8rem;
}
.nav {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
}
.logo {
    width: 71.06px;
    height: 72px;
}
.nav-link {
    text-decoration: none;
    padding: 1.225rem;
}
.nav-item {
    list-style-type: none;
    color: white;
}
.nav-link:hover .nav-item {
    text-decoration: underline;
}
.applic:active {
    border-style: outset;
}
.burger {
    display: none;

}
.drop {
    display: flex;
    flex-direction: row;
    align-items: center;
}
.nav-button {
    list-style-type: none;

    margin-left: 2.625rem;
}
.fot-menu {
    display: flex;
    flex-direction: row;
    justify-content: space-between;

    margin-top: 2rem;
    margin-bottom: 2rem;
}
.fot-nav {
    display: flex;
    flex-direction: column;
}
.fot-nav-link#first {
    padding-top: 0;
}
.fot-nav-link#last {
    padding-bottom: 0;
}
.fot-nav-link {
    padding: 0.825rem;
    text-decoration: none;
    color: white;
}
.fot-nav-link:hover .nav-item{
    text-decoration: underline;
}
.logo-name {
    display: flex;
    flex-direction: row;
    gap: 0.85rem;
}
.name {
    font-size: 2rem;
}
.name-field {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}
.phone-icons {
    display: flex;
    flex-direction: row;
    gap: 0.4rem;
}
.block-1 {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;

    gap: 2rem;
}
.fot-contacts {
    display: flex;
    flex-direction: column;
    gap: 1.3rem;
}
.logo-name-link {
    text-decoration: none;
    color: white;
}
.applic {
    display: inline-block;

    font-size: 1rem;
    padding: 0.3rem 1.35rem 0.3rem 1.35rem;
    color: transparent;
    border-style: solid;

    border-width: 1px;
    border-color: transparent;
    border-radius: 4rem;

    transition: 0.5s ease-in-out;
    position: relative;

    background: black;

    Z-index: 0;
    cursor: pointer;
}
.applic {
    background-image: linear-gradient(45deg,rgba(100, 21, 192, 1) 0%, rgba(148, 86, 213, 1) 17%, rgba(205, 76, 129, 1) 36%, rgba(227, 70, 71, 1) 59%, rgba(244, 135, 30, 1) 81%, rgba(243, 208, 111, 1) 100%);
    -webkit-text-fill-color: transparent;
    -webkit-background-clip: text;
    -webkit-box-decoration-break: clone;
}
.applic::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 4rem;
    padding: 1px; /* толщина границы */
    background: linear-gradient(
            45deg,
            rgba(100, 21, 192, 1) 0%,
            rgba(148, 86, 213, 1) 17%,
            rgba(205, 76, 129, 1) 36%,
            rgba(227, 70, 71, 1) 59%,
            rgba(244, 135, 30, 1) 81%,
            rgba(243, 208, 111, 1) 100%
    );

    /* Маска делает внутреннюю часть прозрачной (видно черный фон) */
    -webkit-mask:
            linear-gradient(#fff 0 0) content-box,
            linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;

    z-index: 1;
}
.applic:active {
    border-style: solid;
}
.applic:hover {
    transform: scale(1.1);
    transition: 0.2s
}
.logo-link {
    transition: 0.5s ease-in-out;
}
.logo-link:hover {
    transform: scale(1.1);
    transition: 0.2s
}
.logo-name-link {
    transition: 0.5s ease-in-out;
}
.logo-name-link:hover {
    transform: scale(1.1);
}
.forma {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;

    padding: 2rem 2.3rem;
    gap: 2rem;

    width: 718px;

    background-color: rgba(255, 255, 255, 0.07);

    border-radius: 1.5rem; -webkit-box-shadow: 0px 0px 30px 0px rgba(255, 255, 255, 0.3) inset;
    -moz-box-shadow: 0px 0px 30px 0px rgba(255, 255, 255, 0.3) inset;
    box-shadow: 0px 0px 30px 0px rgba(255, 255, 255, 0.3) inset;

    backdrop-filter: blur(30px);

    margin-inline: auto;
}
.form-title {
    font-size: 2rem;
    color: #9456D5;
    text-align: center;

    padding-inline: 63px;
}
.form-text {
    font-size: 1rem;
    padding-inline: 0.85rem;
}
.inp-group {
    width: 100%;
}
.form-input {
    box-shadow: 0px 0px 30px 0px rgba(255, 255, 255, 0.3) inset;
    background-color: rgba(255, 255, 255, 0.17);
    border-style: solid;
    border-width: 1px;
    border-color: white;
    border-radius: 1.33rem;

    width: 100%;
    height: 10.4rem;

    margin-top: 0.5rem;
    box-sizing: border-box;

    font-family: inherit; /* 1 */
    font-size: inherit; /* 1 */
    line-height: inherit;
    padding: 1rem;
    text-align: left;
    color: white;

    resize: none;
}
#inp-group-1 .form-input {
    height: min-content;
}
.forma .send {
    font-size: 1.5rem;
    width: 100%;
}
.forma  .send:hover {
    transform: scale(1.05);
}
.modal-overlay {
    display: none;
    width: 100%;
    height: 100%;

    background-color: rgba(0, 0, 0, 0.59);
    position: fixed;

    top: 0;
    padding-top: 120px;

    z-index: 999;
}
.send:active {
    border-style: outset;
}
.send {
    display: inline-block;

    font-size: 1rem;
    padding: 0.3rem 1.35rem 0.3rem 1.35rem;
    color: transparent;
    border-style: solid;

    border-width: 1px;
    border-color: transparent;
    border-radius: 4rem;

    transition: 0.5s ease-in-out;
    position: relative;

    background: black;

    Z-index: 0;
}
.send {
    background-image: linear-gradient(45deg,rgba(100, 21, 192, 1) 0%, rgba(148, 86, 213, 1) 17%, rgba(205, 76, 129, 1) 36%, rgba(227, 70, 71, 1) 59%, rgba(244, 135, 30, 1) 81%, rgba(243, 208, 111, 1) 100%);
    -webkit-text-fill-color: transparent;
    -webkit-background-clip: text;
    -webkit-box-decoration-break: clone;
}
.send::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 4rem;
    padding: 1px; /* толщина границы */
    background: linear-gradient(
            45deg,
            rgba(100, 21, 192, 1) 0%,
            rgba(148, 86, 213, 1) 17%,
            rgba(205, 76, 129, 1) 36%,
            rgba(227, 70, 71, 1) 59%,
            rgba(244, 135, 30, 1) 81%,
            rgba(243, 208, 111, 1) 100%
    );

    /* Маска делает внутреннюю часть прозрачной (видно черный фон) */
    -webkit-mask:
            linear-gradient(#fff 0 0) content-box,
            linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;

    z-index: 1;
}
.send:active {
    border-style: solid;
}
.send:hover {
    transform: scale(1.1);
    transition: 0.2s
}
.send {
    font-size: 1.25rem;
}
.send:hover {
    transform: scale(0.9);
}
@media (max-width: 1076px) {
    html {
        font-size: 16px;
    }
    .container {
        margin-inline: 8%;
        width: auto;
    }
    .nav {
        display: none;
    }
    .burger {
        display: flex;
        transition: 0.5s ease-in-out;
    }
    .burger:hover {
        transform: scale(0.9);
        cursor: pointer;
        transition: 0.1s;
    }

    .menu {
        margin-top: 1.33rem;
        margin-bottom: 1.33rem;
    }
    .drop:hover .nav{
        display: flex;
        flex-direction: column;

        position: absolute;

        margin-inline: auto;
        left: 50%;
        transform: translateX(-50%);

        z-index: 3;
        top: 117.4px;

        background-color: black;
        padding-bottom: 1.5rem;

        width: 100%;
    }
    .nav-button {
        margin: 0;
        margin-top: 26.5px;
    }
    .nav-item {
        font-size: 1.25rem;
        text-align: center;
    }

    .nav-link {
        padding: 1.65625rem;
    }

    .fot-menu {
        flex-direction: column;
    }
    .phone {
        font-size: 1.25rem;
    }
    .fot-nav-link {
        padding: 1.9rem;
    }
    .fot-nav-link#first, .fot-nav-link#last {
        padding-top: 1.9rem;
        padding-bottom: 1.9rem;
    }
    .block-1 {
        margin-bottom: 1rem;
    }
    .nav-link#first {
        padding-top: 0rem;
    }
    .applic {
        font-size: 1.25rem;
    }
    .applic:hover {
        transform: scale(0.9);
    }
    .logo-name-link:hover {
        transform: scale(0.9);
    }
    .logo-link:hover {
        transform: scale(0.9);
    }
    .content {
        background-image: url("../tim3la/black-holes-phone.svg");
        background-repeat: repeat-y;
        background-position: 50% -20px;
        background-size: 100%;

        margin-block: -1px;
    }
    .forma {
        width: 100%;

        box-sizing: border-box;

        padding: 1rem;

        left: 0;
    }
    .form-title {
        font-size: 20px;
        padding-inline: 0 ;
    }
    .form-text {
        font-size: 1rem;
    }
    .form-input {
        width: 100%;
    }
    .forma  .send {
        width: 100%;
        font-size: 20px;
    }
    .forma  .send:hover {
        transform: scale(0.95);
    }
    .modal-overlay {
        padding-inline: 8vw;
        box-sizing: border-box;

        padding-top: 50px;
    }
}



