/* CSS RESET */
*, *::before, *::after {
    box-sizing: border-box;
}
  
* {
    margin: 0;
}
  
body {
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
}
  
img, picture, video, canvas, svg {
    display: block;
    max-width: 100%;
}
  
input, button, textarea, select {
    font: inherit;
}
  
p, h1, h2, h3, h4, h5, h6 {
    overflow-wrap: break-word;
}
  
p {
    text-wrap: pretty;
}
h1, h2, h3, h4, h5, h6 {
    text-wrap: balance;
}
  
#root, #__next {
    isolation: isolate;
}

table {
    border-collapse: collapse;
}
tr {
    border-bottom: 1px solid #ccc;
}
th, td {
    text-align: left;
    padding: 4px;
}
/* END OF CSS RESET */

:root {
    font-family: Avenir, system-ui, Helvetica, Arial, sans-serif;
    line-height: 1.5;
    font-weight: 400;

    --mainclr: rgb(250, 250, 250);
    --secondclr: #242424;
  
    color-scheme: light dark;
    color: var(--secondclr);
    background-color: var(--mainclr);
  
    font-synthesis: none;
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}
  
body {
    margin: 0 auto;
    max-width: 1280px;
    padding: 0 2rem;
}

.centered {
    margin: 0 auto;
    text-align: center;
}

.centered form {
    text-align: start;
}
  
h1 {
    font-size: 3.2em;
    line-height: 1.1;
    margin-bottom: 1rem;
}

h2 {
    margin-bottom: 1rem;
}
  
button {
    border-radius: 8px;
    border: 1px solid transparent;
    padding: 0.6em 1.2em;
    font-size: 1em;
    font-weight: 500;
    font-family: inherit;
    background-color: #1a1a1a;
    cursor: pointer;
    transition: border-color 0.25s;

    margin-bottom: 0.5rem;
}

button:hover {
    background-color: var(--mainclr);
    color: var(--secondclr);
    border-color: var(--secondclr);
}

header {
    margin: 0.5rem 0 1rem;
    padding: 1rem 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;

    border-bottom: 2px solid var(--secondclr);
}

header > nav {
    display: flex;
    gap: 0.5rem;
}

header > .headerTitle {
    font-size: 2rem;
    text-decoration: none;
}

header a {
    color: var(--secondclr);
}

.deleteBtn {
    background-color: red;
    position: absolute;
    bottom: 1.5rem;
    right: 1.5rem;
}

.file,
.folder {
    color: var(--secondclr);
    text-decoration: none;
}

.fileDetails {
    border: 2px solid var(--secondclr);
    border-radius: 0.5rem;

    width: fit-content;
    padding: 1rem;
    margin: 1rem 0;
}

.fileDetails > p {
    margin-bottom: 0.5rem;
}

dialog {
    margin: auto;
    padding: 2rem;
    border-radius: 0.5rem;
    text-align: center;
}

/* MEDIA QUERIES */
/* @media (max-width: 800px) {
    Add css here
} */