:root {
    --white-color: #FFFFFF;
    --white2-color: #EFEFEF;
    --white3-color: #C6C6C6;
    --black-color: #0B0B0C;
    --black2-color: #101014;
    --black3-color: #16161A;

    --primary-color: #CB2040;
    --primary-hover-color: #FF446C;
    --secondary-color: #FF446C;
    --tertiary-color: #F9826C;
    --blue-color: #92ECF5;
    --green-color: #69f35c;
    --grey-color: #CEDFFC;

    --max-width: 2400px;
    --side-padding: 36px;
    --side-margin-mobile: 10px;
}

::selection {
    color: var(--primary-color);
    background-color: var(--background-color);
}

::-webkit-scrollbar {
    display: none;
    width: 0;
    background-color: transparent;
    -webkit-appearance: none;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family:
        'Montserrat',
        system-ui,
        'Segoe UI',
        Roboto,
        Helvetica,
        Arial,
        sans-serif,
        'Apple Color Emoji',
        'Segoe UI Emoji';
    font-weight: bold;
    background-color: var(--background-color);
    color: var(--text-color);
    touch-action: manipulation;
    scroll-behavior: smooth;
    scrollbar-width: none;
    scrollbar-color: transparent transparent;
    -webkit-tap-highlight-color: #00000000;
    display: flex;
    flex-direction: column;
    /* max-width: var(--max-width); */
    margin: 0 auto;
    width: 100%;
    height: 100svh;
    height: -webkit-fill-available;
    overflow-x: clip;
}

section {
    width: 100vw;
    padding-left: var(--side-padding);
    padding-right: var(--side-padding);
    width: 100%;
    max-width: var(--max-width);
    min-height: 50vh;
    margin: 0 auto;
    /* overflow: scroll; */
}

/* Basic Styles */
img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

p {
    font-size: 1rem;
    font-weight: 200;
    line-height: 1.5;
    color: var(--text-color);
}

h1 {
    font-size: clamp(3rem, 6vw + 1.6rem, 5rem);
    font-weight: 900;
    /* Extra bold for h1 */
}

h2 {
    font-size: clamp(1.5rem, 3vw + 2rem, 4rem);
    font-weight: 800;
    /* Slightly less bold */
}

h3 {
    font-size: clamp(2rem, 6vw + 0.75rem, 2rem);
    font-weight: 700;
    /* Semi-bold */
}

h4 {
    font-size: clamp(1.75rem, 5vw + 0.5rem, 1.5rem);
    font-weight: 600;
    /* Medium boldness */
}

h5 {
    font-size: clamp(1.5rem, 4vw + 0.25rem, 3rem);
    font-weight: 500;
    /* Medium weight */
}

h6 {
    font-size: clamp(1.25rem, 3vw, 2.5rem);
    font-weight: 400;
    /* Regular weight */
}

hr {
    display: block;
    height: 1px;
    width: 100%;
    border: 0;
    border-top: 1px solid var(--grey-color);
    margin: 1em 0;
    padding: 0;
    opacity: 0.4;
}

.highlight {
    color: var(--primary-color);
}

.bold {
    font-weight: 600 !important;
}

.fade {
    color: var(--white2-color) !important;
    opacity: 0.4;
}

.outline {
    font-family: 'Open Sans', sans-serif !important;
    font-weight: 600 !important;
    color: transparent;
    -webkit-text-stroke: 1px var(--white-color);
}

.unselectable {
    -moz-user-select: -moz-none;
    -khtml-user-select: none;
    -webkit-user-select: none;

    /*
      Introduced in IE 10.
      See http://ie.microsoft.com/testdrive/HTML5/msUserSelect/
    */
    -ms-user-select: none;
    user-select: none;
}

/* FLEX */
.flex {
    display: flex;
    flex: 1;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    flex-wrap: nowrap;
    margin: 0 auto;

    &.row {
        flex-direction: row;
    }
}

@media (max-width:1025px) {
    html, body {
        overflow-x: hidden;
        scrollbar-width: none;
        -ms-overflow-style: -ms-autohiding-scrollbar;
        width: 100vw;
    }

    .hide-mb {
        display: none;
    }

    section {
        padding-left: var(--side-margin-mobile);
        padding-right: var(--side-margin-mobile);
        /* margin: 0; */
    }

    .flex {
        flex-wrap: wrap;
    }
}

@view-transition {
    navigation: auto;
}

@keyframes move-out {
    from {
        transform: translateY(0%);
    }

    to {
        transform: translateY(100%);
    }
}

@keyframes move-in {
    from {
        transform: translateY(100%);
    }

    to {
        transform: translateY(0%);
    }
}

/* Apply the custom animation to the old and new page states */
::view-transition-old(root) {
    animation: 0.4s ease-in both move-out;
}

::view-transition-new(root) {
    animation: 0.4s ease-in both move-in;
}