:root {
    /* Light Color Theme */
    --off-white: #edeeea;
    --custard: #f2d3ab;
    --dusty-rose: #e4c1ba;
    --green: #979e86;
    --dark-green: #555a23;
    --dark-violet: #272744;

    --red: #ff0a2f;
    --faded-red: #e45d47;
    --burnt-orange: #f66d0f;
    --mustard: #f2dd66;
    --dark-purple: #1f1923;

    /* Neutral Colors */
    --black: rgba(0, 0, 0);
    --dark-grey: rgba(0, 0, 0, .9);
    --grey: rgba(0, 0, 0, .4);
    --light-grey: rgba(0, 0, 0, .2);
    --lighter-grey: rgba(0, 0, 0, .1);
}

:root.light {
    --primary: var(--dark-green);
    --secondary: var(--green);
    --accent: var(--dusty-rose);
    --light: var(--off-white);
    --dark: var(--dark-violet);

    --content-background: var(--light);
    --content-border: var(--secondary);
    --content-font-color: var(--dark);

    --primary-header-background: var(--secondary);
    --primary-header-font-color: var(--accent);

    --secondary-header-background: var(--accent);
    --secondary-header-font-color: var(--light);

    --background-image: url(./assets/floral_light_background.png);
    --primary-header-image: url(./assets/single flower.png);
}

:root.dark {
    --primary: var(--red);
    --secondary: var(--faded-red);
    --accent: var(--mustard);
    --light: var(--off-white);
    --dark: var(--dark-purple);

    --content-background: var(--dark);
    --content-border: var(--secondary);
    --content-font-color: var(--light);

    --primary-header-background: var(--secondary);
    --primary-header-font-color: var(--accent);

    --secondary-header-background: var(--accent);
    --secondary-header-font-color: var(--dark);


    --background-image: url(./assets/floral_dark_background.jpg);
}


::-webkit-scrollbar {
width: 6px;
height: 6px;
}
::-webkit-scrollbar-track {
border-radius: 10px;
background: var(--lighter-grey);
}
::-webkit-scrollbar-thumb{
border-radius: 10px;
background: var(--light-grey);
}
::-webkit-scrollbar-thumb:hover{
background: var(--grey);
}
::-webkit-scrollbar-thumb:active{
background: var(--dark-grey);
}

html {
    background-image: var(--background-image);
    background-repeat: repeat;
    font-family: "Marvel", sans-serif;
    font-weight: 400;
    font-style: normal;
    color: var(--content-font-color);
    font-size: 22px;
}

b {
    color: var(--accent);
}
.main {
    display: flex;
    flex-direction: column;   /* stack children vertically */
    justify-content: center;  /* horizontal */
    align-items: center;      /* vertical */
    height: 90vh;            /* full screen height, optional */
}

nav {
  display: flex;
  justify-content: space-between; /* distribute title and items */
  align-items: center;
  width: 1200px;
  height: 30px;
  padding: 10px 0px; /* add left/right padding */
  background-color: var(--content-background); 
  border-radius: 15px 15px 0px 0px;
  border: 5px double var(--content-border);
  margin-bottom: 5px;
}

.nav-title {
  font-weight: bold;
  font-size: 1.2rem;
  color: var(--primary);
  font-family: "Comforter Brush";
  font-size: 2rem;
  padding-left: 15px;
}

.nav-menu {
    display: flex;
    list-style: none;
    padding-right: 15px;
}

.nav-items {
  display: flex;
  gap: 20px; /* spacing between nav items */
  padding-right: 15px;
}

.nav-item {
    position: relative;
}

.nav-item > a {
    display: block;
    color: var(--primary);
    text-decoration: none;
    padding: 10px 15px;
}

.nav-item:hover > a {
    background-color: var(--secondary);
    border-radius: 5px;
}

/* Dropdown styles */
.dropdown {
    display: none;
    position: absolute;
    background-color: var(--secondary);
    min-width: 160px;
    z-index: 1000;
    top: 100%;
    left: 0;
    list-style: none;
    
}

.dropdown a {
    color: var(--primary);
    padding: 10px 15px;
    display: block;
    text-decoration: none;
}

.dropdown a:hover {
    background-color: var(--accent);
    
}

/* Show dropdown on hover */
.nav-item:hover .dropdown {
    display: block;
}



.content {
    width: 1200px;
    height: 700px;
    background-color: var(--content-background);
    border-radius: 0px 0px 15px 15px;
    padding: 25px 0px 25px 0px;
    display: flex;
    flex-direction: column;
    gap: 20px;
    overflow-x: hidden;
    overflow-y: scroll;
    border: 5px double var(--content-border);
}

.content>.content-header{
    background-color: var(--primary-header-background);
    color: var(--off-white);
    font-weight: bold;
    font-size: large;
    width: 80%;
    height: 10px;
    padding: 10px;
    margin: 30px 0px 20px 0px;
    align-self: flex-end;
    display: flex;
    justify-content: flex-end;
    overflow: visible; /* allow content to go outside the box */
    scroll-margin-top: 40px;
}

.content>.content-header>h1 {
    color: var(--primary-header-font-color);
    font-family: "Comforter Brush";
    font-weight: 500;
    font-size: 3rem;
    font-style: normal;
    margin: -40px 0 0 0; /* Moves text upward */
    letter-spacing: 6px; /* adds space between letters */
}

.content>.content-header.right{
    justify-content: flex-start;
    border-radius: 15px 0px 0px 15px;
}

.content>.content-header>.flower-overlay {
    height: 70px;
    padding: 0 10px;
}

.content>.content-header.right>.flower-overlay{
    margin: -28px 0 0 15px;
    rotate: -15deg;
}

.content>.content-header.left{
    align-self: flex-start;
    border-radius: 0px 15px 15px 0px;
}

.content>.content-header.left>.flower-overlay{
    margin: -28px 15px 0 0;
    rotate: 15deg;
}

.row {
  display: flex;
  gap: 20px;
  padding: 0 50px;
  flex-wrap: wrap;
}

.col {
    flex-basis: 100%;
}

.col-8 {
  flex: 3;
}

.col-4 {
  flex: 1;
}

.about-me-stats {
    border: 2px solid var(--secondary-header-background);
    border-radius: 15px;
    width: 100%;
    padding: 5px;
}

.about-me-stats>.about-me-stats-header {
    background-color: var(--secondary-header-background);
    color: var(--secondary-header-font-color);
    height: 24px;
    width: 100%;
    font-weight: bold;
    text-align: center;
    border-bottom: 2px solid var(--primary-header-background);
    border-radius: 15px;
}

.about-me-image {
    width: 100%;
    margin-bottom: 5px;
    border-radius: 15px;
}

th {
    text-align: left;
}