/* ==========================================
   FONTS
========================================== */

@font-face {
    font-family: 'Manrope';
    src: url('../fonts/manrope/Manrope-ExtraLight.woff2') format('woff2');
    font-weight: 200;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Manrope';
    src: url('../fonts/manrope/Manrope-Light.woff2') format('woff2');
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Manrope';
    src: url('../fonts/manrope/Manrope-Regular.woff2') format('woff2');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Manrope';
    src: url('../fonts/manrope/Manrope-Medium.woff2') format('woff2');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Manrope';
    src: url('../fonts/manrope/Manrope-SemiBold.woff2') format('woff2');
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Manrope';
    src: url('../fonts/manrope/Manrope-Bold.woff2') format('woff2');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

/* ==========================================
   ROOT VARIABLES
========================================== */

:root {

    --container-width: 1440px;
    --container-padding: clamp(20px, 3vw, 40px);

    --color-white: #ffffff;
    --color-black: #000000;
    --color-text: #222222;

    --radius: 50px;

    --transition: .35s ease;

}

/* ==========================================
   RESET
========================================== */

*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Manrope', sans-serif !important;
    font-size: 16px;
    line-height: 1.7;
    color: var(--color-text);
    background: #fff;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
    background-color: #F9F9F9 !important;
}

/* ==========================================
   TYPOGRAPHY
========================================== */

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Manrope', sans-serif;
    font-weight: 700;
    line-height: 1.15;
    color: inherit;
    margin-bottom: 20px;
}

h1 {
    font-size: clamp(42px, 6vw, 82px);
}

h2 {
    font-size: clamp(34px, 4vw, 60px);
}

h3 {
    font-size: clamp(26px, 3vw, 40px);
}

h4 {
    font-size: clamp(22px, 2vw, 30px);
}

h5 {
    font-size: 20px;
}

h6 {
    font-size: 18px;
}

p {
    font-size: clamp(16px, 1.2vw, 18px);
    line-height: 1.7;
    margin-bottom: 20px;
}

/* ==========================================
   LINKS
========================================== */

a {
    color: inherit;
    text-decoration: none;
    transition:
        color var(--transition),
        background-color var(--transition),
        border-color var(--transition),
        opacity var(--transition),
        transform var(--transition);
}

a:hover {
    opacity: .85;
    color: #ffffff !important;
}

/* ==========================================
   IMAGES
========================================== */

img,
picture {
    display: block;
    max-width: 100%;
    height: auto;
}

/* ==========================================
   BUTTONS
========================================== */

button,
.button,
input[type="submit"] {

    font-family: 'Manrope', sans-serif;
    cursor: pointer;

    transition:
        background-color var(--transition),
        color var(--transition),
        border-color var(--transition),
        transform var(--transition);

}

/* button:hover,
.button:hover,
input[type="submit"]:hover {

    transform: translateY(-2px);

} */

/* ==========================================
   FORM
========================================== */

input,
textarea,
select {
    font-family: 'Manrope', sans-serif;
}

/* ==========================================
   LISTS
========================================== */

ul,
ol {
    list-style: none;
}

/* ==========================================
   CONTAINER
========================================== */

.container {

    width: 100%;
    max-width: var(--container-width);

    margin-inline: auto;

    padding-inline: var(--container-padding);

}

/* ==========================================
   SECTIONS
========================================== */

section {
    position: relative;
}

/* ==========================================
   ACCESSIBILITY
========================================== */

a:focus-visible,
button:focus-visible {

    outline: 2px solid #000;
    outline-offset: 4px;

}

/* ==========================================
   TEXT SELECTION
========================================== */

::selection {
    background: #000;
    color: #fff;
}

/* ==========================================
   UTILITIES
========================================== */

.text-center {
    text-align: center;
}

.d-flex {
    display: flex;
}

.align-center {
    align-items: center;
}

.justify-between {
    justify-content: space-between;
}

.justify-center {
    justify-content: center;
}

.flex-column {
    flex-direction: column;
}

/* ==========================================
   RESPONSIVE
========================================== */

@media (max-width:1400px) {

    :root {
        --container-padding: 32px;
    }

}

@media (max-width:1200px) {

    :root {
        --container-padding: 28px;
    }

}

@media (max-width:991px) {

    h1 {
        font-size: clamp(38px, 7vw, 58px);
    }

    h2 {
        font-size: clamp(30px, 5vw, 46px);
    }

    h3 {
        font-size: 30px;
    }

}

@media (max-width:767px) {

    :root {
        --container-padding: 20px;
    }

    body {
        font-size: 15px;
    }

    h1 {
        font-size: 42px;
    }

    h2 {
        font-size: 34px;
    }

    h3 {
        font-size: 28px;
    }

}

@media (max-width:480px) {

    h1 {
        font-size: 36px;
    }

    h2 {
        font-size: 30px;
    }

    h3 {
        font-size: 24px;
    }

    p {
        font-size: 16px;
    }

}

/* scale everything to 80% */
@media (min-width: 1024px) and (max-width: 1499px) {
    html {
        zoom: 0.8 !important;
    }
}