* {
    --main-font-color: #141F34;
    --second-font-color: #434C5D;
    --accent-color: #1766FF;  /* rgba(23, 102, 255, 1) */
    --second-color: #DE3E95;  /* rgba(222, 62, 149, 1) */

    padding: 0;
    margin: 0;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box
}

body {
    color: var(--main-font-color);
    line-height: 1.5;

    min-width: 100vw;
    min-height: 100vh;
    padding-top: 60px;
    background: linear-gradient(180deg, #1766ff 5.21%, #6dcaf3 100%);
    position: relative;
    overflow-x: hidden;
}

body:after {
    position: absolute;
    content: "";
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('https://nethunt.com/static/images/mainPage/bg-main-tab.png');
    pointer-events: none;
    background-size: auto 55px;
    background-position: center;
}

.header {
    position: fixed;
    top: 0;
    left: 0;
    height: 60px;
    width: 100%;
    z-index: 99;
    display: flex;
    align-items: center;
    background: var(--accent-color);
    color: #fff;
    border-bottom: 1px solid #fffFFF29;
}

.header__logo {
    display: block;
    overflow: visible;
    width: 112px;
    height: 24px;
    position: relative;
}

section {
    position: relative;
}

.container {
    position: relative;
    z-index: 1;
    margin: 0 auto;
    padding: 0 15px;
    width: 100%;
}

h1 {
    font-size: 30px;
    line-height: 1.1;
    margin-bottom: 16px;
}

img {
    display: block;
    max-width: 100%;
    height: auto;
}

b {
    font-weight: 500;
}

.mb-30 {
    margin-bottom: 30px;
}

.blue {
    color: var(--accent-color);
}

.user-email {
    font-weight: 500;
    color: var(--main-font-color);
}

.link {
    width: fit-content;
    font-size: 14px;
    font-weight: 500;
    color: var(--accent-color);
    text-decoration: none;
    border: none;
    background: transparent;
    cursor: pointer;
}

.link:hover {
    text-decoration: underline;
}

.link__arrow {
    display: grid;
    grid-template-columns: 1fr 16px;
    gap: 8px;
    align-items: center;
}

.link svg {
    transition: .3s;
}

.link:hover svg {
    transform: translate3d(5px, -5px, -5px);
}

.btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: fit-content;
    height: 46px;
    padding: 11px 20px;
    font-size: 16px;
    font-weight: 500;
    line-height: 1;
    text-decoration: none;
    color: #FFFFFF;
    border: none;
    background-color: var(--accent-color);
    border-radius: 4px;
    transition: .3s;
}

.btn:hover {
    background-color: #1252cc;
    cursor: pointer;
}

.btn.btn__w-100 {
    width: 100%;
}

.btn.btn__outline {
    background-color: #EDF3FF;
    border: 1px solid var(--accent-color);
    color: var(--main-font-color);
}

.btn.btn__outline:hover {
    background-color: #d1e1fd;
}

.logo-google {
    max-width: 24px;
    margin-bottom: 3px;
}

.loaderSvg {
    width: 20px;
    height: 20px;
}

.loaderSvg__rotator {
    transform-origin: 50% 50%;
    animation: animationRotateLoader 4s linear infinite;
}

.loaderSvg__bg {
    fill: none;
    stroke: rgba(255, 255, 255, 0.25);
    stroke-width: 6;
}

.loaderSvg__progress {
    fill: none;
    stroke: #FFFFFF;
    stroke-width: 6;
    stroke-linecap: round;

    transform: rotate(-90deg);
    transform-origin: 50% 50%;

    stroke-dasharray: 1 282;
    stroke-dashoffset: 0;

    animation: animationDashLoader 3s linear infinite;
}

@keyframes animationRotateLoader {
    100% {
        transform: rotate(1080deg);
    }
}

@keyframes animationDashLoader {
    0% {
        stroke-dasharray: 200 83;
        stroke-dashoffset: 0;
    }
    25% {
        stroke-dasharray: 28 255;
    }
    50% {
        stroke-dasharray: 200 83;
    }
    75% {
        stroke-dasharray: 28 255;
    }
    100% {
        stroke-dasharray: 200 83;
        stroke-dashoffset: -283;
    }
}

@media (min-width: 768px) {
    body:after {
        opacity: .55;
        background-size: auto 76px;
    }

    .container {
        padding: 0 30px;
        max-width: 1796px;
    }

    .link {
        font-size: 16px;
    }
}

@media (min-width: 1024px) {
    body {
        padding-top: 70px;
    }

    body:after {
        background-size: auto 130px;
        background-image: url('https://nethunt.com/static/images/mainPage/bg-main.png');
    }

    .header {
        height: 70px;
    }

    h1 {
        font-size: 32px;
    }
}

@media (min-width: 1230px) {
    body:after {
        background-size: auto 167px;
    }
}

/*HERO*/

.hero {
    padding: 24px 0 44px;
    box-sizing: border-box;
}

.hero.error-page {
    min-height: calc(100vh - 60px);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.hero__content {
    display: flex;
    flex-direction: column;
    padding: 30px 20px;
    background: #FFFFFF;
    border-radius: 8px;
    box-shadow: 0 2px 4px 0 #00418D12;
}

.error-page .hero__content {
    max-width: 820px;
    margin: 0 auto;
    border-radius: 12px;
}

.hero:not(.error-page) .hero__wrap {
    max-width: 480px;
    width: 100%;
    margin: 0 auto 70px;
}

#hero__animation {
    display: none;
}

.hero__picture {
    margin-bottom: 30px;
}

.error-page .hero__picture {
    width: 60px;
    margin: 0 auto 24px;
}

.hero__buttons {
    display: flex;
    width: fit-content;
    font-size: 14px;
    line-height: 1;
    padding: 3px;
    background: #EDF3FF;
    border-radius: 4px;
    border: 0.5px solid #DBE7FF;
    margin-bottom: 40px;
}

.hero__btn-active {
    display: block;
    width: fit-content;
    color: #FFFFFF;
    padding: 13px 16px;
    border-radius: 4px;
    background-color: var(--accent-color);
}

.hero__btn-link {
    grid-template-columns: 1fr 14px;
    padding: 13px 16px;
}

.hero:not(.error-page) .hero__description {
    color: var(--second-font-color);
    margin-bottom: 30px;
}

.hero__description p:not(:last-of-type) {
    margin-bottom: 18px;
}

.hero__desc-title {
    display: block;
    font-weight: 500;
    margin-bottom: 4px;
    color: var(--main-font-color);
}

.resend-container,
.resend-container .link {
    font-size: 14px;
}

.hero__helper {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    color: var(--second-font-color);
    margin: 0 auto;
}

h1 + .hero__helper {
    margin-top: 30px;
}

.hero__info {
    width: 100%;
    padding: 12px 20px 12px 40px;
    border-radius: 3px;
    background-color: #EDF3FF;
    background-image: url('https://nethunt.com/static/images/icons/outline/blue/check-circle.svg');
    background-position: top 14px left 12px;
    background-repeat: no-repeat;
    background-size: 18px;
}

.hero__privacy {
    font-size: 14px;
    text-align: center;
    color: var(--second-font-color);
    max-width: 335px;
    margin: auto auto 0;
}

.hero__privacy.left {
    max-width: 480px;
    width: 100%;
    text-align: left;
}

.hero__privacy a {
    color: var(--second-font-color);
}

.hero__privacy a:hover {
    text-decoration: none;
}

.hero__privacy a.blue {
    color: var(--accent-color);
}

@media (max-width: 500px) {
    .hero__container {
        padding: 0;
    }
}

@media (min-width: 768px) {
    .error-page .hero__picture {
        width: 70px;
        margin-bottom: 30px;
    }

    .error-page h1 {
        font-size: 36px;
        margin-bottom: 22px;
    }

    .error-page .hero__content {
        border-radius: 16px;
    }
}

@media (min-width: 1024px) {
    .hero {
        padding-bottom: 50px;
    }

    .hero.error-page {
        min-height: calc(100vh - 70px);
    }

    .error-page h1 {
        font-size: 42px;
        margin-bottom: 24px;
    }

    .hero__container {
        display: grid;
        grid-template-columns: 1fr 440px;
        gap: 16px;
    }

    .hero__content {
        padding: 50px;
        border-radius: 12px;
        box-shadow: none;
    }

    .hero__buttons {
        margin-bottom: 50px;
    }

    #hero__animation {
        display: block;
        border-radius: 12px;
        overflow: hidden;
        font-size: 0;
        background-image: url('https://nethunt.com/static/files/animations/bg-auth.webp');
        background-size: cover;
        background-repeat: no-repeat;
    }
}

@media (min-width: 1230px) {
    .hero__container {
        grid-template-columns: 1fr 642px;
    }

    .error-page h1 {
        font-size: 50px;
        margin-bottom: 26px;
    }

    .hero__content {
        padding: 80px 50px 70px;
    }

    .error-page .hero__content {
        padding: 60px 70px;
        border-radius: 24px;
    }

    .error-page .hero__picture {
        width: 80px;
        margin-bottom: 32px;
    }

    .error-page .hero__description {
        font-size: 18px;
    }

    .hero__description p:not(:last-of-type) {
        margin-bottom: 22px;
    }
}

/*FORM*/

.hero__form {
    display: flex;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 20px;
}

.form-field {
    width: 100%;
    margin-top: 6px;
    position: relative;
}

.form-field.password .form-input {
    padding-right: 50px;
}

.form-field.password .password-toggle {
    position: absolute;
    content: "";
    top: 13px;
    right: 15px;
    width: 20px;
    height: 20px;
    background-image: url("https://nethunt.com/static/images/icons/outline/black/visibility-off.svg");
    background-repeat: no-repeat;
    background-position: center;
    background-size: 20px;
    cursor: pointer;
    z-index: 1;
}

.form-field.password.visibility .password-toggle {
    background-image: url("https://nethunt.com/static/images/icons/outline/black/visibility-on.svg");
}

.password-popup {
    display: none;
    position: absolute;
    top: calc(100% + 12px);
    left: 0;
    width: 100%;
    font-size: 13px;
    color: #FFFFFF;
    padding: 8px 12px 10px;
    background: #08255C;
    border-radius: 4px;
    z-index: 10;
}

.password-popup:after {
    position: absolute;
    content: "";
    width: 12px;
    height: 8px;
    top: -7px;
    left: 12px;
    background-image: url('data:image/svg+xml,<svg width="12" height="8" viewBox="0 0 12 8" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M4.82938 1.06559C5.22939 0.532639 6.02894 0.532639 6.42895 1.06559L11.2583 7.5L0 7.5L4.82938 1.06559Z" fill="%2308255C"/></svg>');
    background-repeat: no-repeat;
}

.password-popup ul {
    list-style: none;
    margin-top: 4px;
    display: grid;
    gap: 2px;
}

.password-popup li {
    padding-left: 20px;
    background-image: url('https://nethunt.com/static/images/icons/outline/white/close.svg');
    background-position: top 1px left;
    background-repeat: no-repeat;
    background-size: 14px;
    opacity: .75;
    transition: .3s;
}

.password-popup li.valid {
    background-image: url('https://nethunt.com/static/images/icons/outline/white/check-circle.svg');
    opacity: 1;
}

.form-label {
    position: absolute;
    top: -8px;
    left: 10px;
    font-size: 12px;
    line-height: 1;
    padding: 0 5px;
    color: #737986;
    background: #FFFFFF;
    z-index: 2;
}

.form-input {
    display: flex;
    align-items: center;
    width: 100%;
    height: 46px;
    font-size: 14px;
    font-weight: 400;
    line-height: 1.4;
    padding: 11px 15px;
    border: 1px solid #A1A5AE;
    border-radius: 4px;
    box-sizing: border-box;
    transition: .3s;
}

.form-input:hover {
    border-color: #434C5D;
}

.form-input::placeholder {
    color: #AAAEB6;
}

.form-input:not(.error):focus-visible,
.form-field:not(.error).active .form-input {
    border-color: #1766FF;
    outline: none;
}

.form-field.active .form-input {
    position: relative;
    z-index: 1;
}

.form-field:not(.error).active::after,
.form-field:not(.error):has(.form-input:focus-visible)::after {
    position: absolute;
    content: "";
    width: 100%;
    height: 100%;
    top: -3px;
    left: -3px;
    border: 3px solid #1766FF1A;
    border-radius: 6px;
}

.form-field.error .form-input {
    border-color: #FF2121;
    padding-right: 40px;
}

.form-text-error {
    display: none;
    font-size: 14px;
    line-height: 1.2;
    color: #FF0000;
    margin-top: 8px;
    padding-left: 22px;
    background-image: url('https://nethunt.com/static/images/icons/outline/red/error.svg');
    background-position: top left;
    background-repeat: no-repeat;
    background-size: 16px;
}

.form-field.error .form-text-error.show {
    display: block;
}

.form-text-error a {
    color: #1766FF;
    text-decoration: none;
}

.form-text-error a:hover {
    text-decoration: underline;
}

.form-input:-webkit-autofill {
    background-color: #FFFFFF !important;
    -webkit-box-shadow: 0 0 0 1000px #FFFFFF inset;
}

.form-btn-wrap {
    width: 100%;
    text-align: right;
    background: #FFFFFF;
}

.form-line {
    display: flex;
    align-items: center;
    text-align: center;
    width: 100%;
    font-size: 14px;
    color: #727985;
    line-height: 1.7;
    margin: 24px 0;
}

.form-line::before,
.form-line::after {
    content: "";
    flex: 1;
    height: 1px;
    background: #E7E9EB;
}

.form-line span {
    margin: 0 12px;
}

@media (min-width: 768px) {
    .form-input {
        font-size: 16px;
    }

    .form-label {
        font-size: 14px;
    }

    .password-popup {
        max-width: fit-content;
    }
}

@media (min-width: 1230px) {
    .password-popup {
        left: calc(100% + 15px);
        top: 0;
        min-width: 250px;
    }

    .password-popup:after {
        top: 17px;
        left: -9px;
        transform: rotate(-90deg);
    }
}

/*CLIENTS*/

.clients {
    padding-bottom: 100px;
}

.clients__container {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 24px;
    opacity: .8;
}

.clients__logo {
    height: 28px;
}

.clients__logo img {
    max-height: 100%;
    max-width: none;
}

@media (max-width: 767px) {
    .clients__logo:nth-child(n+6) {
        display: none;
    }
}

@media (min-width: 768px) {
    .clients__container {
        max-width: 1170px;
    }
}

@media (min-width: 1024px) {
    .clients__container {
        justify-content: space-between;
    }

    .clients__logo {
        height: 30px;
    }
}

@media (max-width: 1229px) {
    .clients__logo:nth-child(n+8) {
        display: none;
    }
}