:root {
    --bgColor1: #070707;
    --bgColor2: #000000;
    --txtColor: #ffffff;
    --txtColorDrk: #919191;
    --txtColorZoom: #cb1313;
    --txtColorZoom2:#c90d0d;
}

::selection {
    background: var(--txtColorZoom);
}

html::-webkit-scrollbar,
body::-webkit-scrollbar {
    background-color: var(--txtColor);
    width: 10px;
    border-radius: 8px;
}

::-webkit-scrollbar-track {
    border-radius: 10px;
}

::-webkit-scrollbar-thumb {
    background-image: -webkit-gradient(linear, left bottom, left top, color-stop(.5, var(--txtColorZoom)), color-stop(1, var(--txtColorZoom)));
    border-radius: 10px;
}

html,
body {
    scroll-behavior: smooth;

    overflow-x: hidden;

    margin: 0;
    padding: 0;

    background: var(--bgColor1);
    background: linear-gradient(160deg, var(--bgColor1), var(--bgColor2));

    color: var(--txtColor);
    font-family: 'Open Sans', sans-serif;

    width: 100%;
    height: 100%;
}

header {
    position: fixed;
    z-index: 5;

    font-size: large;
    font-weight: bold;

    width: 100%;

    transition-duration: 100ms;

    backdrop-filter: blur(0.2rem);
}

#header-row {
    display: flex;
    justify-content: space-around;

    align-items: center;
}

.header-item a {
    text-decoration: none;
    text-shadow: 0 2px 2px rgba(0, 0, 0, 0.45);

    padding: 4px;

    color: var(--txtColor);

    transition-duration: 200ms;
}

.header-item {
    padding-top: 20px;
    padding-bottom: 20px;
}

.header-item a:hover {
    color: var(--txtColorZoom);
}

.header-item .line {
    width: 30px;
    height: 2px;
    background: var(--txtColorZoom);
    opacity: 0;
    -webkit-transform: translateX(0px);
    transform: translateX(0px);
    -webkit-transition: all 0.2s ease-in-out;
    transition: all 0.2s ease-in-out;
}
  
.header-item a:nth-child(1):hover ~ .line {
    -webkit-transform: translateX(5px);
    transform: translateX(5px);
    -webkit-transition: all 0.2s ease-in-out;
    transition: all 0.2s ease-in-out;
    opacity: 1;
}
  
.header-item a:nth-child(2):hover ~ .line {
    -webkit-transform: translateX(68px);
    transform: translateX(68px);
    -webkit-transition: all 0.2s ease-in-out;
    transition: all 0.2s ease-in-out;
    opacity: 1;
}
  
.header-item a:nth-child(3):hover ~ .line {
    -webkit-transform: translateX(132px);
    transform: translateX(132px);
    -webkit-transition: all 0.2s ease-in-out;
    transition: all 0.2s ease-in-out;
    opacity: 1;
}
  
.header-item a:nth-child(4):hover ~ .line {
    -webkit-transform: translateX(181px);
    transform: translateX(181px);
    -webkit-transition: all 0.2s ease-in-out;
    transition: all 0.2s ease-in-out;
    opacity: 1;
}

.site-footer {
    position: relative;
    background: #111111;
    border-top: 1px solid rgba(255, 255, 255, 0.04);
}

.footer-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1100px;
    margin: 0 auto;
    padding: 48px 40px;
    gap: 40px;
}

.footer-brand {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-logo-link {
    display: inline-block;
    transition: opacity 200ms ease, transform 200ms ease;
}

.footer-logo-link:hover {
    opacity: 0.7;
    transform: scale(1.03);
}

.footer-copy {
    font-size: 0.75rem;
    color: #444;
    letter-spacing: 0.02em;
    margin: 0;
}

.footer-socials-col {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 14px;
}

.footer-socials-label {
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: #3a3a3a;
}

.footer-socials {
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer-social-link {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    color: #555;
    font-size: 0.95rem;
    text-decoration: none;
    background: #1a1a1a;
    transition: color 200ms ease,
        background 200ms ease,
        transform 250ms cubic-bezier(0.34, 1.56, 0.64, 1);
}

.footer-social-link:hover {
    color: #fff;
    background: var(--txtColorZoom);
    transform: translateY(-4px) scale(1.1);
}


.footer-social-link::before {
    content: attr(data-tooltip);
    position: absolute;
    bottom: calc(100% + 10px);
    left: 50%;
    transform: translateX(-50%) translateY(4px);
    background: #1c1c1c;
    color: #ccc;
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 5px 10px;
    border-radius: 20px;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: opacity 160ms ease, transform 160ms ease;
}

.footer-social-link:hover::before {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

.footer-bar {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 40px 28px;
    border-top: 1px solid rgba(255, 255, 255, 0.04);
}

@media screen and (max-width: 768px) {
    .footer-inner {
        flex-direction: column;
        align-items: center;
        text-align: center;
        padding: 40px 24px 32px;
        gap: 32px;
    }

    .footer-socials-col {
        align-items: center;
    }

    .footer-bar {
        padding: 0 24px 24px;
        text-align: center;
    }
}

@media screen and (max-width: 460px) {
    ::-webkit-scrollbar {
        display: none;
    }

    .footer-social-link {
        width: 40px;
        height: 40px;
        font-size: 0.88rem;
    }

    .footer-inner {
        padding: 32px 20px 28px;
    }
}

.button {
    text-decoration: none;
    text-align: center;
    font-size: 1rem;

    background-color: var(--txtColorZoom);
    color: var(--txtColor);

    width: 200%;

    padding: 12px 20px;
    margin: 25px 0;

    box-sizing: border-box;

    border: transparent;
    border-radius: 20px;

    -webkit-transition: 200ms;
    transition: 200ms;

    outline: none;
}

.button:hover {
    background-color: var(--txtColor);
    color: var(--txtColorZoom);
}