@import "default.css";
@import "mainButton.css";
@import "miniButton.css";
@import "transpButton.css";
@import "arrowButton.css";

:root {
    font-family: "Onest", sans-serif;
    font-size: 16px;
    line-height: 24px;
    font-weight: 400;
    color: #141317;
    box-sizing: border-box;
    height: screen;
    background: #fff;

    font-synthesis: none;
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    -webkit-text-size-adjust: 100%;

    --black: #141317;
    --gray-dark: #838d9e;
    --gray: #f0f0f4;
    --red-light: #fce0e0;
    --red: #e82c2c;
    --blue: #2737e1;
    --yellow: #ffd600;
    --green: #339d3c;
}

.header {
    background: #fff;
    position: sticky;
    top: 0;
    left: 0;
    z-index: 20;
    width: 100%;
    transition: transform 0.3s ease-in-out;
}
.header.hide {
    transform: translateY(-100%);
}

body {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    font-size: 16px;
    line-height: 24px;
}

.text-h1 {
    font-size: 40px;
    line-height: 45px;
    letter-spacing: -0.6px;
    font-weight: 700;
}

.text-h2 {
    font-size: 24px;
    line-height: 30px;
    font-weight: 700;
}

.text-h3 {
    font-size: 16px;
    font-weight: 500;
}

.text-h1-mobile {
    font-size: 24px;
    line-height: 28px;
    font-weight: 700;
}

.text-h2-mobile {
    font-size: 16px;
    line-height: 22px;
    font-weight: 700;
}

.text-h3-mobile {
    font-size: 14px;
    font-weight: 500;
}

h1 {
    font-size: 40px;
    line-height: 45px;
    letter-spacing: -0.6px;
    font-weight: 700;
}

h2 {
    font-size: 24px;
    line-height: 30px;
    font-weight: 700;
}

h3 {
    font-size: 16px;
    font-weight: 500;
}

button:disabled,
input:disabled {
    cursor: not-allowed;
}

input:focus {
    outline: 2px solid transparent;
    outline-offset: 2px;
}

.container {
    margin-left: auto;
    margin-right: auto;
    max-width: 1440px;
    padding-left: 80px;
    padding-right: 80px;
}

@media screen and (max-width: 1439px) {
    body {
        font-size: 14px;
    }

    h1 {
        font-size: 24px;
        line-height: 28px;
        font-weight: 700;
    }

    h2 {
        font-size: 16px;
        line-height: 22px;
        font-weight: 700;
    }

    h3 {
        font-size: 14px;
        font-weight: 500;
    }

    .container {
        padding-left: 16px;
        padding-right: 16px;
    }
}
