@font-face {
    font-family: "Inter";
    src: url("./font/Inter-VariableFont_opsz-wght.ttf") format('truetype');
    font-weight: 1 999;
}

html {
    height: 100%;
    font-size: 32px;
}

* {
    box-sizing: border-box;

    &:before,
    &:after {
        box-sizing: border-box;
    }
}

body *::selection {
    color: var(--mp-color-font-main);
    background-color: var(--mp-color-brand);
}

body::-webkit-scrollbar {
  width: 6px;
}

body::-webkit-scrollbar-track {
  background: var(--mp-color-bg-main-2);
}

body::-webkit-scrollbar-thumb {
  background: var(--mp-color-brand);
}

ul {
    padding: unset;
    margin: unset;
    list-style-type: none;
}

:root {
    --mp-color-bg-main: #000;
    --mp-color-bg-main-2: #fff;
    --mp-color-bg-main-3: rgba(255 255 255 / .4);
    --mp-color-font-main: #fff;
    --mp-color-font-main-2: rgba(255 255 255 / .6);
    --mp-color-font-main-3: #000;
    --mp-color-brand: #F01312;
    --side-paddings: 130px;
    --min-gaps: 48px;
}

body {
    min-height: 100%;
    font-family: Inter;
    font-weight: 400;
    line-height: 19px;
    padding: 0;
    margin: 0;
    background-color: var(--mp-color-bg-main);
    color: var(--mp-color-font-main);

    display: flex;
    align-items: center;
    flex-direction: column;
    font-size: 1rem;
    line-height: 1rem;
}

#container, #header, #footer {
    padding: 0 var(--side-paddings);
    max-width: 1728px;
    width: 100%;
}

#container {
    flex: 1;
    display: flex;
    align-items: center;
    flex-direction: column;
    justify-content: center;
}

.header__inner {
    display: flex;
    width: 100%;
    justify-content: space-between;
    padding: 80px 0 24px 0;
}

.header__logo {
    text-transform: uppercase;
    font-weight: 400;
    letter-spacing: -0.03rem;
    display: flex;
    align-items: center;
}

.header__logo img {
    margin-left: 27px;
}

.header__description {
    text-transform: uppercase;
    font-weight: 400;
    display: flex;
}

.header__description span {
    letter-spacing: -0.03rem;
}

.header__description sup {
    margin-left: 12px;
    transform: translateY(-8px);
    font-size: 0.625rem;
    letter-spacing: -0.03rem;
}

.container__inner {
    height: 100%;
    display: flex;
    align-items: flex-start;
    flex-direction: column;
    width: 100%;
    flex: 1;
    max-height: 650px;
    margin: 64px 0;
    justify-content: space-between;
}

.container__inner .description {
    display: grid;
    grid-template-columns: 70% 30%;
    width: 100%;
}

.container__inner .description .left {
    display: flex;
    flex-direction: column;
} 

.container__inner .description .left .description--inner {
    color: var(--mp-color-font-main-2);
    line-height: 1.25rem;
    font-size: 1rem;
} 

.container__inner .description .left .title {
    margin-top: 32px;
    font-size: 3.563rem;
    line-height: 3.563rem;
    letter-spacing: -0.02rem;
    text-transform: uppercase;
} 

.container__inner .description .left .title span {
    color: var(--mp-color-brand);
} 
.container__inner .contacts-mobile {
    display: none;
}
.container__inner .description .right {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    justify-content: flex-end;
    text-align: end;
} 

.container__inner .description .right .title {
    font-size: .5rem;
    line-height: .5rem;
} 

.container__inner .description .right .lang {
    font-size: 0.625rem;
    line-height: 0.625rem;
    color: var(--mp-color-font-main);
    transition: color .3s ease;
} 

.container__inner .description .right .lang:hover {
    color: var(--mp-color-brand);
} 

.container__inner .description .right .lang + .right-wrap {
    margin-top: 65px;
} 

.container__inner .description .right ul {
    margin-top: var(--min-gaps);
} 

.container__inner .description .right ul .phone,
.container__inner .description .right ul .email,
.container__inner .description .right ul .linkedin {
    font-size: .75rem;
    line-height: .75rem;
    color: var(--mp-color-font-main);
} 
.container__inner .description .right ul .phone {
    font-weight: 400;
    text-decoration: unset;
} 
.container__inner .description .right ul .email {
    font-weight: 600;
    text-decoration: unset;
} 
.container__inner .description .right ul .linkedin {
    font-weight: 500;
    text-decoration: underline;
} 

.container__inner .description .right ul li + li {
    margin-top: 20px;
} 

.container__inner .tags {
    display: flex;
    flex-wrap: wrap;
    max-width: 1316px;
    column-gap: 12px;
    row-gap: 12px;
} 

.container__inner .tags__wrapper {
    width: 100%;
    margin-top: var(--min-gaps);
} 

.container__inner .tags .tag {
    padding: 10px 16px;
    border-radius: 21px;
    font-size: 0.438rem;
    line-height: 0.438rem;
    font-weight: 500;
    border: 1px solid var(--mp-color-bg-main-3);
} 

.container__inner .tags .tag.active {
    background-color: var(--mp-color-brand);
    border-color: var(--mp-color-brand);
} 

.footer__inner {
    background-color: var(--mp-color-bg-main-2);
    min-height: 52px;
    overflow: hidden;
    display: flex;
    align-items: center;
}

.footer__inner .items {
    display: flex;
    align-items: center;
    height: 100%;
    padding: 10px 0 10px 10px;
    width: fit-content;
    flex: 0 0 100%;
    column-gap: 35px;
}

@keyframes slidein {
    from {
        transform: translateX(0%);
    }
    
    to {
        transform: translateX(-100%);
    }
}

.footer__inner .items.animation {
    animation: 35s linear 0s infinite running slidein;
}
.footer__inner .items.animation {
    padding-right: 25px;
}


.footer__inner .items .item {
    display: flex;
    align-items: center;
}

.footer__inner .items .item span {
    margin-left: 24px;
    color: var(--mp-color-font-main-3);
    font-weight: 700;
    text-transform: uppercase;
    white-space: nowrap;
}

@media screen and (max-width: 1440px) {
    :root {
        --side-paddings: 96px;
    }
    .container__inner .description .left .title {
        margin-top: 32px;
        font-size: 2.563rem;
        line-height: 2.563rem;
        text-transform: uppercase;
    } 
}

@media screen and (max-width: 1024px) {
    :root {
        --side-paddings: 64px;
    }
    .container__inner .description .left .title {
        margin-top: 32px;
        font-size: 1.5rem;
        line-height: 1.5rem;
        text-transform: uppercase;
    } 
}

@media screen and (max-width: 768px) {
    :root {
        --side-paddings: 16px;
        --min-gaps: 45px;
    }
    #header {
        order: 0
    }
    #footer {
        order: 1;
        padding: unset;
    }
    #container {
        order: 2;
    }
    .header__inner {
        padding: 32px 0 24px 0;
    }
    .header__logo {
        font-size: 0.5rem;
        line-height: 0.5rem;
    }

    .header__logo img {
        width: 12px;
        margin-left: 16px;
    }

    .header__description span {
        font-size: 0.5rem;
        letter-spacing: -0.03rem;
    }
    
    .header__description sup {
        font-size: 0.375rem;
    }

    .container__inner {
        max-height: unset;
        margin: 32px 0 24px 0;
    }

    .container__inner .description {
        grid-template-columns: 100%;
    } 

    .container__inner .description .left .description--inner {
        font-size: 0.563rem;
        line-height: 0.563rem;
        text-transform: uppercase;
        color: var(--mp-color-font-main);
    } 

    .container__inner .description .left .title {
        margin-top: 16px;
        font-size: 1rem;
        line-height: 1rem;
        text-transform: uppercase;
    } 

    .container__inner .description .right {
        margin-top: 24px;
        flex-direction: row;
        justify-content: space-between;
    } 
    .container__inner .description .right .title {
        font-size: .438rem;
        line-height: .438rem;
    }

    .container__inner .description .right .lang {
        font-size: .5rem;
        line-height: .5rem;
    }

    .container__inner .description .right ul {
        margin-top: 20px;
    }
    .container__inner .description .right ul li {
        display: flex;
    }
    .container__inner .description .right ul li + li {
        margin-top: 8px;
    }
    .container__inner .description .right ul li .phone,
    .container__inner .description .right ul li .email,
    .container__inner .description .right ul li .linkedin  {
        font-size: .438rem;
        line-height: .438rem;
    }

    .container__inner .description .right .lang {
        order: 1;
    }
    .container__inner .description .right .lang + .right-wrap {
        margin-top: 0px;
        text-align: left;
    } 

    
    .container__inner .right {
        display: flex;
        flex-direction: column;
        align-items: flex-end;
        justify-content: flex-end;
        text-align: end;
    } 

    .container__inner .right .title {
        font-size: .5rem;
        line-height: .5rem;
    } 

    .container__inner .right ul {
        margin-top: var(--min-gaps);
    } 

    .container__inner .contacts-mobile {
        display: block;
        width: 100%;
    }
    .container__inner .contacts-mobile .title {
        font-size: .438rem;
        line-height: .438rem;
    } 

    .container__inner .contacts-mobile ul .phone,
    .container__inner .contacts-mobile ul .email,
    .container__inner .contacts-mobile ul .linkedin {
        font-size: .438rem;
        line-height: .438rem;
        color: var(--mp-color-font-main);
    } 
    .container__inner .contacts-mobile ul {
        width: 100%;
        display: grid;
        grid-template-columns: 55% 45%;
        column-gap: 16px;
        row-gap: 8px;
        margin-top: 24px;
    } 
    .container__inner .contacts-mobile ul li {
        display: flex;
    } 
    .container__inner .contacts-mobile ul .phone {
        font-weight: 400;
        text-decoration: unset;
    } 
    .container__inner .contacts-mobile ul .email {
        font-weight: 400;
        text-decoration: unset;
    } 
    .container__inner .contacts-mobile ul .linkedin {
        font-weight: 400;
        text-decoration: underline;
    } 

    .container__inner .tags {
        column-gap: 8px;
        row-gap: 8px;
    } 

    .container__inner .tags .tag {
        padding: 10px 12px;
        border-radius: 16px;
        font-size: 0.375rem;
        line-height: 0.375rem;
        font-weight: 600;
    } 
    
    

    .footer__inner .items .item img {
        width: 20px;
    }

    .footer__inner .items .item span {
        font-size: 0.625rem;
        margin-left: 16px;
    }
}