/* =========================================================
   basic.css
   Project foundation: variables, fonts, base typography and utilities
   Loaded on all pages
   ========================================================= */

:root {
    --sm-border-radius: 30px;
    --md-border-radius: 36px;
    --lg-border-radius: 60px;

    --f-thin: 100;
    --f-sm-thin: 200;
    --f-light: 300;
    --f-regular: 400;
    --f-medium: 500;
    --f-semi-bold: 600;
    --f-bold: 700;
    --f-extra-bold: 800;

    --color-bg: #040404;
    --color-white: #ffffff;
    --color-black: #040404;
    --color-purple-dark: rgba(28, 17, 71, 1);
    --color-purple: rgba(164, 128, 222, 1);

    --purple-gradient: linear-gradient(90deg, rgba(215, 164, 255, 0.05) 17%, rgba(80, 39, 112, 0.05) 95%);

    --hover-delay: 200ms;
    --hover-duration: 320ms;
}

@font-face {
    font-family: 'Michroma';
    src: url('../assets/Michroma.woff2') format('woff2');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'InterTight';
    src: url('../assets/InterTight.woff2') format('woff2');
    font-weight: 100 900;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Inter';
    src: url('../assets/Inter.woff2') format('woff2');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

html {
    scroll-behavior: smooth;
}

* {
    box-sizing: border-box;
}

body {
    background-color: var(--color-bg);
    font-family: 'InterTight', sans-serif;
    color: var(--color-white);
    line-height: 1.2;
    overflow-x: hidden;
}

.container {
    width: 1220px;
    margin: 0 auto;
}

h1 {
    font-family: 'Michroma', sans-serif;
    font-size: 64px;
    color: var(--color-white);
    margin: 0 0 30px 0;
    line-height: 1.3;
    font-weight: var(--f-regular);
}

.subtitle {
    font-family: 'Michroma', sans-serif;
    font-size: 60px;
    color: var(--color-white);
    margin: 0 0 80px 0;
    line-height: 1.2;
    font-weight: var(--f-regular);
}

.regular-text {
    font-size: 24px;
    color: var(--color-white);
    font-family: 'InterTight', sans-serif;
    font-weight: var(--f-light);
}

.sm-text {
    font-size: 20px;
    color: var(--color-white);
    font-family: 'InterTight', sans-serif;
    font-weight: var(--f-light);
}

/* Layout utilities */
.d-flex {
    display: flex;
}

.d-column {
    display: flex;
    flex-direction: column;
}

.center {
    display: flex;
    justify-content: center;
    align-items: center;
}

.centerV {
    display: flex;
    align-items: center;
}

.centerH {
    display: flex;
    justify-content: center;
}

.relative {
    position: relative;
}

.absolute {
    position: absolute !important;
}

.flex-between {
    display: flex;
    justify-content: space-between;
}

.flex-around {
    display: flex;
    justify-content: space-around;
}

.flex-evenly {
    display: flex;
    justify-content: space-evenly;
}

.flex-start {
    display: flex;
    justify-content: flex-start;
}

.flex-end {
    display: flex;
    justify-content: flex-end;
}

.flex-equal {
    flex: 1;
}

.margin-0 {
    margin: 0;
}

.padding-0 {
    padding: 0;
}

.w-100 {
    width: 100%;
}

.w-auto {
    width: auto;
}

.h-100 {
    height: 100%;
}

.h-auto {
    height: auto;
}

.text-center {
    text-align: center;
}

.fw-400 {
    font-weight: 400;
}

.fw-500 {
    font-weight: 500;
}

.fw-600 {
    font-weight: 600;
}

.fw-700 {
    font-weight: 700;
}

.br-d {
    display: block;
}

.br-m {
    display: none;
}

@media (max-width: 1120px) {

    body {
        overflow-x: clip
    }

    .br-d {
        display: none;
    }

    .br-m {
        display: block;
    }

    .container {
        width: 96%;
    }

    h1 {
        font-size: 28px;
        text-align: center;
    }

    .subtitle {
        font-size: 28px;
        text-align: center;
        margin-bottom: 50px;
    }

    .regular-text {
        font-size: 14px;
    }

}
