@font-face {
    font-family: 'Overpass';
    src: url('../frameworks/fonts/Overpass-VariableFont_wght.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'Overpass';
    src: url('../frameworks/fonts/Overpass-Italic-VariableFont_wght.ttf') format('truetype');
    font-weight: normal;
    font-style: italic;
}

* {
    outline: none !important;
    font-family: 'Overpass', Arial, sans-serif !important;
}

body {
    margin: 0;
    padding: 0;
    outline: none !important;
    border: none !important;
    background-color: #f9fafb;
    color: #4a5568;
}

#layout {
    display: grid;
    /* grid-template-columns: 250px 1fr; */
    grid-template-columns: 250px calc(100% - 250px);
}

/* 
@media (min-width: 768px) {
    #layout {
        display: flex;
        flex-direction: row;
    }
}
*/

#content {
    position: relative;
    background: white;
    margin: 1rem;
    padding: 0 1.5rem;
    border-radius: 10px;
    overflow: auto;
    /* box-shadow: rgba(0, 0, 0, 0.1) 0px 0px 2px 0px, rgba(0, 0, 0, 0.1) 0px 0px 1px 0px; */
    border-top: 20px solid white;
    border-bottom: 20px solid white;
    outline: 1px solid #e5e7eb !important;
}

button:active,
.button:active {
  transform: perspective(900px) rotateX(15deg) scale(0.99);
}

a {
    text-decoration: none;
}

input {
    font-size: 16px;
}

textarea {
    font-size: medium !important;
}

hr {
    opacity: .2 !important;
    margin: 1rem 0;
}

select {
    font-size: 15px;
}

button {
    border: none;
    outline: none;
    font-size: normal;
}

input:user-invalid,
textarea:user-invalid,
select:user-invalid {
    border: 1px solid red !important;
    animation: shake .5s linear;
}

.success {
    padding: 10px 15px;
    border-radius: 5px;
    text-align: center;
    display: block;
    margin: 10px 0;
    border: 1px solid green;
    background: #dff6e8;
    color: #2b6f48;
}

.error {
    padding: 10px 15px;
    border-radius: 10px;
    text-align: center;
    display: block;
    margin: 10px 0;
    border: 1px solid red;
    background: #fce3e4;
    color: #ea5456;
}

.info {
    padding: 10px 15px;
    border-radius: 5px;
    text-align: center;
    display: block;
    margin: 10px 0;
    border: 1px solid orange;
    background: #ffefe1;
    color: #f57600;
}

.submit-btn {
    border: none;
    display: block;
    width: fit-content;
    background: #b79845;
    font-size: medium;
    color: white;
    padding: 10px;
    cursor: pointer;
    border-radius: 5px;
    transition: background .5s;
}

.submit-btn:hover {
    background: #aa914f;
}

.d-none {
    display: none !important;
}

.uil {
    padding-top: 3px !important;
}

.char-info {
    font-size: 10px;
    color: #777;
}

.textarea-character,
.input-character {
    position: relative;
}

.input-character input {
    border: none;
    padding-right: 60px;
    border-radius: 8px;
    width: -webkit-fill-available;
}

.textarea-character textarea {
    padding-bottom: 20px;
}

.textarea-character .char-info {
    background-color: transparent;
    backdrop-filter: blur(10px);
    position: absolute;
    left: 2px;
    bottom: 2px;
    padding: 2px 10px;
    border-right: 1px solid #e5e7eb;
    border-top: 1px solid #e5e7eb;
    width: fit-content;
    border-radius: 0 0 0 5px;
}

.input-character .char-info {
    opacity: 0;
    background-color: transparent;
    backdrop-filter: blur(10px);
    position: absolute;
    right: 2px;
    top: 2px;
    height: calc(100% - 4px);
    padding: 0 5px;
    width: 40px;
    border-radius: 0 10px 10px 0;
    display: flex;
    align-items: center;
    gap: 2px;
    transition: all .2s;
}

.input-character:hover .char-info {
    opacity: 1;
}

.select2 {
    width: 100%;
    min-width: 200px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
}

.select2-dropdown,
.select2-container--default .select2-search--dropdown .select2-search__field {
    border: 1px solid var(--border) !important;
    border-radius: var(--radius);
}

.select2-search__field {
    border-radius: 5px !important;
}

.select2-container {
    padding: 5px;
}

.select2-container--default .select2-selection--single {
    border-radius: var(--radius) !important;
    border: none !important
}

.select2-selection__clear {
    display: flex;
    align-items: end;
}

.select2-container--default .select2-selection--single .select2-selection__arrow {
    top: 5px !important;
    right: 5px !important;
}


.select2-container .select2-selection--single .select2-selection__rendered {
    white-space: normal !important;
    height: 25px;
}