body {  
  font-family: "Roboto", sans-serif;
  text-align: center;  
  background-color: #7dbbf9;
  display: flex;
  flex-direction: column;
  max-height: 100dvh;
  margin:0;
}

/****************************   TAG SELECTORS   **********************/
hr {
  border-style: none;
  border-top-style: dotted;
  border-color: blue;
  border-width: 5px;
  width: 100%;
}

h1 {
  font-family: "Merriweather";
  color: blue;
}

h2 {
  font-family: "Roboto";
  color: blue;  
}

h3 {
  margin: 5px;
}

h4 {
  padding-left: 15px;
}

.footer {
   position: fixed;
   align-self: center;
   display: flex;
   flex-direction: row;
   bottom: 0;
   left: 6;
   width: 99%;
   height: 90px;
   background-color:#7dbbf9;
   justify-content:space-between;
   align-items: center;
   border-radius: 10px;
   box-shadow:
  inset 6px 6px 12px rgba(0, 70, 140, 0.35),
  inset -6px -6px 12px rgba(255, 255, 255, 0.6);
   flex: 1;  
   margin-bottom: 8px; 
}

.footer div { 
  margin: 0 10px;
}

.quote-group {
  background-color:#7dbbf9;
  height: 70%;
}

#quote-lbl {
  color: blue;
  font-size: 1.5rem;
  font-style: italic;
  margin-top: 2px;
}

#quote-box {  
  height: 45px;  
  text-align: center;
}

.quote-text {
  text-align: center;
  font-size: 1.3rem;
  font-family:'Verdana sans-serif'; 
  font-style:normal;
  color: white;  
}

.quote-author {
  text-align: center;
  font-size: 1.3rem;
  font-style: italic;
  font-family: 'Tahoma, sans serif';
  color: yellow;
}

.feature-box {
  width: 20%;
   background-color:#7dbbf9;
}

#dateline {
    color: blue;
    font-weight:bold;
}

#dayName {
    color: blue;
    font-weight: bold;
}

.contact-box { 
  width: 20%;
  background-color:#7dbbf9;
  margin-right: 40px;
}

#contact-me-button {
  width: 150px;
  height: 40px;
  background-color: blue;
  border: 1px solid black;
  border-radius: 9px;
  color: white;
  font-size: 1.2rem;
  margin-top: 6px;
}

#contact-me-button:hover {
   color: lightskyblue;
}

/* NAVBAR LAYOUT */
.custom-navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #0d6efd;
  padding: 10px 20px;
  color: white;
}

/* BRAND */
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.5rem;
  font-weight: bold;
}

/* MENU */
.menu {
  list-style: none;
  display: flex;
  align-items: center;
  margin: 0;
  padding: 0;
  font-size: 1.2rem;
}

/* MENU ITEMS */
.menu li {
  position: relative;
}

/* LINKS */
.menu a {
  text-decoration: none;
  color: white;
  padding: 6px 8px;
  display: inline-block;
}

/* SEPARATORS */
.menu > li:not(:last-child)::after {
  content: "";
  display: inline-block;
  width: 1px;
  height: 18px;
  background-color: rgba(255,255,255,0.5);
  margin: 0 12px;
  vertical-align: middle;
}

/* TEXT WRAPPER (for underline) */
.menu a span {
  position: relative;
  display: inline-block;
}

.menu li:not(.dropdown) a span::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -2px;
  width: 0%;
  height: 2px;
  background: blue;
  transform: translateX(-50%);
  transition: width 0.4s ease;
}

.menu li:not(.dropdown) a:hover span::after {
  width: 100%;
}

.menu-toggle::after {
  transition: transform 0.2s ease;
}

.dropdown.active .menu-toggle::after {
  transform: rotate(180deg);
}

.menu-toggle:hover {
  color: yellow;
}

/* hover trigger */
.menu a:hover span::after {
  width: 100%;
}

/* DROPDOWN */
.dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: #7dbbf9;
  color: black;
  min-width: 180px;
  padding: 5px 0;
  margin: 0;
}

.menu .dropdown-menu a {
    color: black;
}

.dropdown-menu li {  
  padding: 0;
  margin: 0;
  color:black;
}

.dropdown-menu a {
  display: block;        /* important */
  padding: 6px 12px;
  margin: 0;  
}

/* show when active */
.dropdown.active .dropdown-menu {
  display: block;
}

/* REMOVE separator from dropdown children */
.dropdown-menu li::after {
  content: "";
}

.menu-toggle {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  text-decoration: none;
}

.menu-toggle:hover .caret {
    transform: rotate(180deg);
    transition: transform 0.2s ease;
}

.caret {  
  display: inline-block;
  width: 0;
  height: 0;
  border-left: 6px solid transparent;
  border-right: 6px solid transparent;
  border-top: 6px solid white;
}


#menu_heading {
  margin-left: 10px;
}

#ponderings {
  color: yellow;
}

#ponderings:hover {
  color: white;
}

.grid-container { 
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  width: 100vw; 
  height: 100dvh;
  gap: 30px;
  background-image: url(../images/galaxy-background.jpg);
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
  background-attachment: scroll;
  box-sizing: border-box; 
  padding-top: 32px; /* small side padding */   
}

@media (max-width: 1100px) {
  .grid-container {
    grid-template-columns: 1fr;
    grid-template-rows: auto auto;    
  }
  .knowledge-block,
  .content-update {
   height: auto;
   padding-top: 20px;
  }
  .knowledge {
    max-width: 80%;
  }
}

@media (max-width: 600px) {
  .grid-container {
    grid-template-columns: 1fr;
    grid-template-rows: auto auto;
    height: auto; /* allow scroll for phones only */
  }

  @media (max-width: 991px) {
  .navbar-nav .nav-item::after {
    content: "";
  }
}

  .knowledge-block,
  .content-update {
    height: auto;
    min-height: 40vh;
  }

  .knowledge {
    max-width: 80%;
  }
}

@media (max-width: 1100px) {
  .knowledge-block {
    justify-content: flex-start;
    padding-top: 20px;
  }
}

.knowledge-block {
  display: grid;
  grid-template-rows: 100%; 
  height: 100%;  
}

#knowledge-pic {
  height: 100%; 
  margin-top: 35px;
  margin-bottom: 20px;
  align-items: center;
  justify-content: center;
}

.content-update {
 height: 100%;
 display:flex; 
 flex-direction:column;
 align-items: center;
}

.personal-welcome { 
 padding-top: 50px;
 font-size: 2.25rem;
 text-align: center;
 color: white;
 font-family: "Merriweather"; 
}

.update-info {
color:yellow;
padding: 10px;
position:relative;
margin-top:60px;
font-size: 1.50rem;
text-align:left;
margin-bottom: 10px;
}

.update-list {
  color: white;
  font-size: 1rem;
}

#notation { 
    font-style: italic;
    font-size: 0.9rem;
    color: white; 
    margin-top: 50px;
    margin-left: 80px;
}

.latin {
  font-family: 'Brush Script MT', cursive;
  font-style: italic;
  color: white;
  font-size: 3.5em;
  margin-bottom: 10px;
}

.feynman,
.feynman2 {
  font-family: 'Brush Script MT', cursive;
  color: yellow;  
  line-height: 1.1;  
  text-align: center;
}

.feyman {
  margin-top: 10px;
}

.feynman-quote {
  font-family: 'Brush Script MT', cursive;
  color: white;
  font-size: 1.25rem;
  margin-top: 8px; 
  margin-left: 23px;
  text-align: center;
}

.knowledge {
  width: 60%;
  max-width: 400px;
  height: auto;
  border-radius: 20px;
  margin: 10px 0;
}

.whatsNew {
  color:yellow;
}

.whatsNew:hover{
  color: lightskyblue;
}


.grid-under {
font-family:Cambria, Cochin, Georgia, Times, 'Times New Roman', serif;
font-size: 4rem;
color: red;
}

/******************************  ID SELECTORS  *************************/

#backdrop {
  position: fixed;
  width: 100%;
  height: 100vh;
  top: 0;
  left: 0;
  background: rgba(0, 0, 0, 0.75);
  z-index: 10;
  pointer-events: none;
  display: none;
}

#backdrop.visible {
  display: block;
  pointer-events: all;
}

#aboutDialog {
    width: 450px;
    height: 380px;
    border: 2px solid blue;
    background-color: #7dbbf9;
    border-radius: 8px;
    text-decoration: center;
}

#closeDialog {
    border: 1px solid blue;
    border-radius: 5px;
    margin-top: 15px;
}

#about-date {
    color: blue;
    font-size: 1.5rem;
    font-family:'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
}

#about-text {
    color: black;
    font-size: 1.3rem;
    font-family:Georgia, 'Times New Roman', Times, serif;
}



