/* Theme variables */

:root {
    --text: black;
    --accent: #704643;
    --dim-accent: #C49A97;
    --background: #FCDEBE;
}
  
[data-theme="dark"] {
    --text: white;
    --accent: #BC928F;
    --dim-accent: #865F5D;
    --background: #1B0E0E;
}

footer {
    --text: white;
    --accent: white;
    --dim-accent: #B5BFA3;
    --background: #646F4B;
}
  
[data-theme="dark"] footer {
    --text: white;
    --accent: white;
    --dim-accent: #7A7A7A;
    --background: #2C3022;
}

/* Text styles */

body {
    font-family: 'InterVariable', sans-serif;
    font-size: .9rem;
    font-weight: 400;
    line-height: 1.5;
}

.link > .material-symbols-outlined {
    font-size: 1rem;
}

button > .material-symbols-outlined {
    font-size: 1.2rem;
}

h1 {
    font-size: 1.2rem;
    font-weight: 500;
}

/* Global styles */

html, body {
    margin: 0;
    padding: 0;
}

body {
    min-height: 100vh;
}

body, header, main, footer {
    background-color: var(--background);
    color: var(--text);
}

header, main, footer {
    box-sizing: border-box;
    padding: 2vh;
}

header {
    margin-top: 4vh;
}

.center {
    align-items: center !important;
    justify-content: center;
}

.full-width {
    width: 100%;
}

.constrainted {
    max-width: 450px;
}

ul {
    list-style-type: none;
    padding: 0;
}

.row {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: flex-end;
    gap: 2rem;
}

.link {
    gap: .1rem;
    white-space: nowrap;
}

ul.row > li {
    max-width: 50%;
}

.column {
    display: flex;
    flex-direction: column;
}

.apart {
    justify-content: space-between;
}

a, span {
    line-height: 1;
    color: var(--accent);
}

a, a:visited {
    text-decoration: none;
    border-bottom: 1px solid var(--dim-accent);
}

a:hover {
    border-bottom: 1px solid var(--accent);
}

#propic {
    width: 85px;
    height: 85px;
    border-radius: 50%;
    object-fit: cover;
}

button {
    background: none;
    border: none;
    cursor: pointer;
}