:root{
    --theme:  mediumpurple;
    --primary: white;
    --meta: #777;
}

*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: ui-sans-serif, -apple-system, "system-ui" "Segoe UI", Helvetics, "Apple Color Emoji", Arial, sans-serif, "Segoe UI Emoji", "Segoe UI Symbol";
    scrollbar-width: thin;
    scrollbar-color: mediumpurple transparent;
}

body{
    font-family: ui-sans-serif, -apple-system, "system-ui" "Segoe UI", Helvetics, "Apple Color Emoji", Arial, sans-serif, "Segoe UI Emoji", "Segoe UI Symbol";
}

header{
    background: var(--theme);
    display: flex;
    justify-content: center;
    text-align: center;
    position: relative;
    justify-content: space-between;
    width: 99.9%;
    border-bottom-left-radius: 32px;
    border-bottom-right-radius: 32px;
    justify-self: center;
    padding: 5px;
    height: 150px;
    color: white;
    transition: 2.5s;
    cursor: pointer;
}

header:hover{
    transform: translateY(-6px);
}

header h1{
    color: white;
}

.logo{
    cursor: pointer;
    text-decoration: none;
}

#logo{
    text-decoration: none;
    color: white;
}

header a:hover{
    color: var(--meta);
}

/* Overlay background */
.nav-overlay {
  position: fixed;
  top: 0;
  left: 0;
  height: 100vh;
  width: 100vw;
  background: rgba(0,0,0,0.4);
  -webkit-backdrop-filter: blur(5px);
  backdrop-filter: blur(5px);
  z-index: 8;
  display: none;
}

.nav-overlay.show {
  display: block;
}

/* Ensure nav appears above overlay */
.nav {
  z-index: 10;
}

.nav { 
    display: flex; 
    gap: 15px; 
}

.nav a { 
  color: white; 
  text-decoration: none; 
  font-weight: 500;
}

.menu-btn { 
  display: none; 
  font-size: 28px; 
  cursor: pointer;
  color: white;
}

@media (max-width: 768px) {
      .nav { 
        display: none; 
        flex-direction: column; 
        background: var(--theme); 
        position: absolute; 
        top: 60px; 
        right: 0; 
        width: 200px; 
        padding: 20px; 
        border-radius: 8px; 
        transition: 5s;
        color: white;
    }

    .nav:hover{
        transform: translateY(6PX);
    }
      
    .nav.show { 
        display: flex; 
    }

      .menu-btn {
         display: block; 
        }
}

.main{
    background-color: var(--primary);
    color: var(--meta);
    height: max-content;
    width: calc(95%);
    min-height: 400px;
    border-radius: 12px;
    box-shadow: 5px 5px 15px rgba(0, 0 ,0, 0.8);
    padding: 20px;
    margin-left: auto;
    margin-right: auto;
}

.main h2{
    color: var(--theme);
}

.main h3{
    color: var(--theme);
    text-decoration: underline;
    padding: 2px;
}

.main .link{
    color: var(--theme);
    text-decoration: none;
}

.main li{
    padding: 20px;
}

.profile-pic{
  border-radius: 50%;
  width: 110px;
  height: 110px;
  float: left;
}

.padding{
    padding: 90px;
}

.padding-2{
    padding: 40px;
}

footer{
     color: var(--meta);
     margin: 40px auto;
     padding: 20px;
     background-color: var(--primary);
     border: 1px solid #ddd;
     box-shadow: 0 0 10px rgba(0,0,0,.1);
     border-radius: 12px;
     max-width: calc(100% - 5%);
     text-align: center;
     transition: 2.5s;
}

footer:hover{
    transform: translateY(-7px);
}
