html, body { 
    height: 100%;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', 'sans-serif';
    color: white;

    margin: 0;
    padding: 0;

    overflow-x: hidden;
}

#cover {
    position: absolute;
    z-index: 10;
    width: 100%;
    height: 100%;
    pointer-events: none;
    
    background-color: black;
    opacity: 0;

    animation: fadeOutAnimation 0.2s ease-in-out;
}

@keyframes fadeInAnimation {
    0% { opacity: 0; } 
    100% { opacity: 1; }
}

@keyframes fadeOutAnimation {
    0% { opacity: 1; } 
    100% { opacity: 0; }
}

#content { 
    min-height: 100%;

    background: rgba(0,0,0,0.3);
    transition: background 0.3s;

    display: flex;
    flex-direction: column;
    /* grid-template-rows: 15% 75% 10%; */

    text-shadow: 3px 3px black;
}

header {
    min-height: 150px;
    display: flex;
    justify-content: space-between;
    align-items: end;

    padding: 0px 64px;

    font-size: 2rem;

    font-weight: bold;
}

.home {
    height: 100%;
}

#title {
    font-size: 2em;
}

nav {
    display: flex;
    justify-content: end;
}

nav a {
    text-decoration: none;
    color:white;
}

.projects-nav {
    overflow: hidden;
}

.projects-nav-section .projects-nav-header {
  cursor: pointer;
  user-select: none;
  position: relative;
  padding-right: 20px; /* space for caret */
}

/* caret */
.projects-nav-section .projects-nav-header::after {
  content: "▾";
  right: 10px;
  top: 47%;
  position: absolute;
  transition: transform .18s ease;
}

/* Remove caret on first item (highlights) */
.projects-nav-section:first-of-type .projects-nav-header:first-child::after {
  content: '';
}

/* collapsed state: hide items and rotate caret */
.projects-nav-section.collapsed .projects-nav-header::after {
  transform: rotate(-90deg);
}

.projects-nav-section.collapsed .projects-nav-item {
  display: none;
}

.note {
    font-size: 1.2rem;
    margin-top: 64px;
    font-style: italic;
}

.heading {
    font-size: 36px;
    padding-bottom: 16px;
    font-weight: bold;
}

#contact-content {
    display: flex;
    flex-direction: column;
    justify-content: space-evenly;
    align-items: center;
    gap: 40px;
}

.nav-btn a {
    text-decoration: none;
    color:white;
    margin: 0px;
}

.nav-btn {
    margin: 8px 16px;
    -webkit-user-select: none;
    user-select: none;
}

.nav-btn {
    margin: 8px 16px;
    -webkit-user-select: none;
    user-select: none;
    position: relative;
    cursor: pointer;
}

.nav-btn::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: -5px;
    height: 2px;
    background: white;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.1s ease;
    pointer-events: none;
}

.nav-btn:hover::after {
    transform: scaleX(1);
}

.nav-btn:active, .nav-btn a:active {
    color: rgb(90, 90, 90);;
}

footer {
    min-height: 10vh;
    font-size: 1.1rem;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 25px;
}

footer a {
    font-size: 1.4rem;
    text-decoration: none;
    color: white;
}

footer a:hover {
    color: rgb(127, 160, 221);
    transition: 0.2s;
}