/* Font imports from your CSS */
@font-face {
    font-family: 'Atkinson Hyperlegible';
    src: url('../fonts/AtkinsonHyperlegible-Regular.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'Atkinson Hyperlegible';
    src: url('../fonts/AtkinsonHyperlegible-Bold.ttf') format('truetype');
    font-weight: bold;
    font-style: normal;
}

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

@font-face {
    font-family: 'Atkinson Hyperlegible';
    src: url('../fonts/AtkinsonHyperlegible-BoldItalic.ttf') format('truetype');
    font-weight: bold;
    font-style: italic;
}

html {
    scroll-behavior: smooth;
}

:root {
    --white: #ececec;
    --light: #ececec;
    --placeholder: #909090;
    --gray: #303030;
    --dark: #202020;
    --black: #101010;
    --primary: #007bff;
    --accent: #3e96f4;
    --success: #4caf50;
    --fail: #aa2121;
    color-scheme: dark;
    --bg-color: var(--black);
    --text-color: var(--light);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    border: 0;
    vertical-align: baseline;
    font-weight: 400;
    font-family: system-ui;
    font-size: 1rem;

}

body {
    padding: 0 1rem;
    background: var(--bg-color);
    color: var(--text-color);
    font-style: normal;
    line-height: 1.5;
    min-height: 100vh;
}

.container {
    width: 100%;
    height: 100%;
    max-width: 1024px;
    margin: 0 auto;
    padding: 1rem 0;
}

section,
article,
footer,
main {
    width: 100%;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: transparent;
    flex-wrap: wrap;
    gap: 2rem;
}

nav div {
    display: flex;
    align-items: center;
    gap: 1rem;
}

nav img {
    height: 35px;
    width: auto;
}

nav ul {
    flex-direction: row;
    gap: 1rem;
    flex-wrap: wrap-reverse;
    text-wrap: nowrap;
}

header {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    text-align: center;
    gap: 2rem;
}

/* Typography */
h1 {
    font-size: 2.75rem;
}

h2 {
    font-size: 2rem;
}

h3 {
    font-size: 1.75rem;
}

h4 {
    font-size: 1.5rem;
}

h5 {
    font-size: 1.25rem;
}

h6 {
    font-size: 1rem;
}

p {
    font-size: 1rem;
}

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

a:hover {
    text-decoration: none;
}

strong {
    font-size: inherit;
    font-weight: 700;
}

span {
    font-size: inherit;
}

/* Lists */
ul,
ol {
    display: flex;
    flex-direction: column;
    list-style: none;
    gap: 0.5rem;
    flex-wrap: wrap;
}

li {
    width: fit-content;
}


/* Images */
img {
    max-width: 100%;
    height: auto;
    display: block;
    border-radius: 10px;
}



input[type="search"] {
    width: 100%;
    padding: 1rem;

    background-color: var(--dark);
    border: 1px solid var(--gray);


    border-radius: 10px;
    color: var(--text-color);
    outline: none;
}

/* Buttons */
.btn,
button,
input[type="submit"] {
    font-weight: 700;
    text-decoration: none;
    color: var(--black);
    background-color: var(--light);
    padding: 0.5rem 1rem;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    transition: background-color 0.2s, transform 0.2s, box-shadow 0.2s;
    height: 40px;
    width: fit-content;
}

.btn:hover,
button:hover,
input[type="submit"]:hover {
    background-color: var(--light);
    transform: translateY(-2px);
    /* box-shadow: 0 4px 12px rgba(255, 255, 255, 0.15); */
}



/* Forms */
form {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-bottom: 30px;
}

input[type="text"],
input[type="password"],
input[type="file"],
textarea,
select {
    background-color: var(--dark);
    border: 1px solid var(--gray);
    color: var(--text-color);
    border-radius: 10px;
    padding: 0.5rem 1rem;
    outline: none;
    width: 100%;
    transition: border-color 0.2s, box-shadow 0.2s;
}

input[type="text"]:focus,
input[type="password"]:focus,
textarea:focus,
input[type="file"]:focus,
select:focus {
    border-color: var(--accent);
    /* box-shadow: 0 0 0 3px rgba(103, 161, 255, 0.2); */
}

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

/* Tables */
hr {
    /* border: none; */
    border-top: solid 0.125rem currentColor;
    width: 20rem;
    padding: 1rem 0;
}

table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 1.5rem;
    background: var(--dark);
    border-radius: 10px;
    overflow: hidden;
}

th,
td {
    padding: 1rem;
    border-bottom: 1px solid var(--gray);
    text-align: left;
    color: #d1d5db;
}

th {
    background: var(--dark);
    font-weight: 700;
}

/* Responsive */
@media (max-width: 768px) {}