@import url("./assets/css/reset.css");
/*
Theme Name: Little Name
Version: 1.00
Author: Sprendimai.ai
Author URI: https://sprendimai.ai
Text Domain: little-theme
Domain Path: /languages
*/

/* Colors */
:root {
    --white1: #ffffff;
    --black1: #252525;

    --green1: #147444;
    --green2: #f3f8f5;
    --green-overlay: rgb(20 116 68 / 5%);
    --blue1: #c9deff;

    --gray1: #f4f4f4;
    --gray2: #ececec;
    --gray3: #e6e6e6;
    --gray4: #dadada;

    --gray5: #737373;
    --gray6: #727272;
    --gray7: #717171;
    --gray8: #707070;
    --gray9: #6e6e6e;
    --gray10: #686868;

    --red1: #d50a0a;
    --red2: #ff0000;
    --yellow1: #f2ab53;

    --dark-overlay: rgb(37 37 37 / 80%);
    --white-overlay: rgb(255 255 255 / 20%);
}

/* Base */
body {
    font-family: "Nunito", sans-serif;
    font-size: 16px;
    font-weight: 500;
    line-height: normal;
    color: var(--black1);
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: var(--black1);
}

ul,
ol,
li {
    list-style-type: none;
}

/* Layout */
.container {
    max-width: 1920px;
    margin: auto;
    width: 100%;
    padding: 0 100px;
    position: relative;
}

/* Headings */
.heading-section {
    font-size: 40px;
    font-weight: 600;
}

.heading-page {
    font-size: 32px;
    font-weight: 600;
}

.heading-card {
    font-size: 22px;
    font-weight: 600;
}

.heading-small {
    font-size: 18px;
    font-weight: 600;
}

.heading-callout {
    font-size: 32px;
    font-weight: 500;
}

/* Text */
.text-lead {
    font-size: 18px;
    font-weight: 500;
}

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

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

.text-label {
    font-size: 13px;
    font-weight: 500;
}

.text-caption {
    font-size: 12px;
    font-weight: 500;
}

.text-notice {
    font-size: 14px;
    font-weight: 600;
}

.text-legal {
    font-size: 13px;
    font-weight: 600;
}

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

.text-rating-caption {
    font-size: 18px;
    font-weight: 400;
}

.text-emphasis {
    font-size: 20px;
    font-weight: 700;
}

/* Inputs */
.text-control {
    font-size: 16px;
    font-weight: 400;
}

/* Buttons */
.text-button,
.text-button-small {
    font-size: 16px;
    font-weight: 700;
}

.text-button-large {
    font-size: 18px;
    font-weight: 700;
}

/* Form controls */
:where(input:not([type="checkbox"], [type="radio"], [type="hidden"], [type="submit"], [type="button"], [type="reset"], [type="file"], [type="range"], [type="color"]), textarea, select),
.form-field {
    width: 100%;
    min-width: 0;
    min-height: 50px;
    padding: 12px 16px;
    border: 1px solid var(--gray4);
    border-radius: 8px;
    background: var(--white1);
    color: var(--black1);
    font: inherit;
    font-size: 16px;
    font-weight: 400;
}

:where(input:not([type="checkbox"], [type="radio"], [type="hidden"], [type="submit"], [type="button"], [type="reset"], [type="file"], [type="range"], [type="color"]), textarea, select)::placeholder {
    color: var(--gray9);
    opacity: 1;
}

:where(input:not([type="checkbox"], [type="radio"], [type="hidden"], [type="submit"], [type="button"], [type="reset"], [type="file"], [type="range"], [type="color"]), textarea, select):focus,
.form-field:focus-within {
    border-color: var(--green1);
    outline: none;
    box-shadow: none;
}

.form-field {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 16px;
}

.form-field :where(input, textarea, select),
.form-field :where(input, textarea, select):focus {
    flex: 1;
    min-height: 0;
    padding: 0;
    border: 0;
    border-radius: 0;
    outline: none;
    box-shadow: none;
}

:where(input, textarea):autofill {
    background: var(--white1) !important;
    color: var(--black1) !important;
    caret-color: var(--black1);
    box-shadow: inset 0 0 0 1000px var(--white1) !important;
}

:where(input, textarea):-webkit-autofill {
    -webkit-text-fill-color: var(--black1) !important;
    caret-color: var(--black1);
    -webkit-box-shadow: inset 0 0 0 1000px var(--white1) !important;
    box-shadow: inset 0 0 0 1000px var(--white1) !important;
}

textarea {
    min-height: 140px;
    resize: vertical;
}

/* Tablet */
@media (max-width: 1440px) {
    .container {
        padding-right: 50px;
        padding-left: 50px;
    }
}

/* Mobile */
@media (max-width: 768px) {
    :where(input:not([type="checkbox"], [type="radio"], [type="hidden"], [type="submit"], [type="button"], [type="reset"], [type="file"], [type="range"], [type="color"]), textarea, select),
    .form-field {
        min-height: 45px;
        font-size: 14px;
    }

    .form-field :where(input, textarea, select) {
        min-height: 0;
    }

    body {
        font-size: 14px;
    }

    .container {
        padding: 0 20px;
    }

    .heading-section {
        font-size: 28px;
    }

    .heading-page,
    .heading-callout {
        font-size: 24px;
    }

    .heading-callout {
        font-weight: 600;
    }

    .heading-card {
        font-size: 20px;
    }

    .heading-small,
    .text-lead,
    .text-button-large {
        font-size: 16px;
    }

    .text-emphasis {
        font-size: 18px;
    }

    .text-base,
    .text-rating-caption,
    .text-button-small {
        font-size: 14px;
    }

    .text-small,
    .text-notice {
        font-size: 13px;
    }

    .text-label,
    .text-legal,
    .text-copyright {
        font-size: 12px;
    }
}

/* Weights */
.font-regular {
    font-weight: 400;
}

.font-medium {
    font-weight: 500;
}

.font-semibold {
    font-weight: 600;
}

.font-bold {
    font-weight: 700;
}
