/* Root */

:root {
    --color-white: #f1f1f1;
    --color-white-black: #d4d4d4;
    --color-gray: #1b1a1a;
    --color-black: #111111;
    --color-blue: #164ab9; 
    --color-green: #19c298;
}

/* Header */

.header {
    height: 90px;
    position: absolute;
    top: 0px;
    left: 0px;
    right: 0px;
    background-color: var(--color-black);
    border-bottom: 2px solid var(--color-gray);
    display: flex;
    align-items: center;
    z-index: 1000;
}

.header_inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
    padding: 10px 0px;
    margin: 0px auto;
}

.logo_header_link {
    display: flex;
    align-items: center;
}

.logo_header_left {
    color: var(--color-white);
    font-size: 40px;
    font-weight: 800;
}

.logo_header_left::selection {
    background: none;
}

.logo_header_right {
    color: var(--color-black);
    font-size: 40px;
    font-weight: 800;
    background: linear-gradient(45deg, var(--color-green), var(--color-blue));
    padding: 10px;
    border-radius: 10px;
    margin-left: 10px;
    transform: translateX(0px);
    -webkit-transition: .3s ease-in-out;
    -moz-transition: .3s ease-in-out;
    -o-transition: .3s ease-in-out;
    transition: .3s ease-in-out;
}

.logo_header_right::selection {
    background: none;
}

.logo_header_link:hover .logo_header_right {
    transform: translateX(10px);
}

.nav {
    display: flex;
    align-items: center;
    margin-left: 10px;
}

.nav_link {
    font-size: 15px;
    font-weight: 400;
    margin-right: 10px;
    color: var(--color-white);
    position: relative;
}

.nav_link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 50%;
    transform: translateX(-50%);
    width: 0%;
    height: 1px;
    background: linear-gradient(90deg, var(--color-green), var(--color-blue));
    -webkit-transition: .3s ease-in-out;
    -moz-transition: .3s ease-in-out;
    -o-transition: .3s ease-in-out;
    transition: .3s ease-in-out;
}

.nav_link:hover::after {
    width: 100%;
}

.social_header_wrapper {
    display: flex;
    align-items: center;
    margin-left: 15px;
}

.social_header_wrapper a {
    display: flex;
    align-items: center;
    margin-right: 10px;
}

.social_header_wrapper a:last-child {
    margin-right: 0px;
}

.social_header {
    font-size: 20px;
    color: var(--color-white);
    -webkit-transition: .3s ease-in-out;
    -moz-transition: .3s ease-in-out;
    -o-transition: .3s ease-in-out;
    transition: .3s ease-in-out;
}

.social_header:hover {
    color: var(--color-blue);
}

/* Hamb */

.hamb {
    position: absolute;
    z-index: 1002;
    top: 35px;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 2px;
    background-color: var(--color-white);
    display: none;
    -webkit-transition: .3s ease-in-out;
    -moz-transition: .3s ease-in-out;
    -o-transition: .3s ease-in-out;
    transition: .3s ease-in-out;
}

.hamb::before {
    content: '';
    position: absolute;
    width: 40px;
    height: 2px;
    background-color: var(--color-white);
    left: 0;
    bottom: -7px;
}

.hamb::after {
    content: '';
    position: absolute;
    width: 40px;
    height: 2px;
    background-color: var(--color-white);
    left: 0;
    top: -7px;
}

/* Header phone */

.header_phone {
    width: 100%;
    padding: 10px 0px;
    position: fixed;
    top: calc(-100% - 200px);
    left: 0px;
    right: 0px;
    background-color: var(--color-black);
    z-index: 1001;
    box-shadow: 0px 0px 10px 0px var(--color-black);
    display: none;
    -webkit-transition: .3s ease-in-out;
    -moz-transition: .3s ease-in-out;
    -o-transition: .3s ease-in-out;
    transition: .3s ease-in-out;
}

.header_phone::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 200px;
    bottom: 0%;
    left: 0%;
    right: 0%;
    transform: translateY(100%);
    background: linear-gradient(#111111, #11111100);
}

.header_phone_inner {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.header_phone_nav {
    width: 100%;
    margin: 10px 0px 0px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.nav_link_phone {
    font-size: 17px;
    font-weight: 400;
    margin: 7px 0px;
    text-transform: uppercase;
    background-image: linear-gradient(45deg, var(--color-blue), var(--color-green));
    color: transparent;
    background-clip: text;
    -webkit-background-clip: text;
}

.social_header_wrapper_phone {
    display: flex;
    align-items: center;
    margin-top: 7px;
}

.social_header_wrapper_phone a {
    display: flex;
    align-items: center;
    margin-right: 10px;
}

.social_header_wrapper_phone a:last-child {
    margin-right: 0px;
}

.social_header_phone {
    color: var(--color-white);
    font-size: 25px;
}

/* Media */

@media screen and (max-width: 1023px) {
    .header {
        height: 70px;
    }

    .header_inner {
        display: none;
    }

    .hamb {
        display: block;
    }

    .header_phone {
        display: block;
    }
}