body {  
  font-family: "Roboto", sans-serif;
  text-align: center;  
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  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: 10px;
}

h5 {
  color:white;
  font-size: 85%;
}

.footer {
   position: fixed;
   display: flex;
   bottom: 0;
   left: 0;
   width: 100%;
   height: 67px;
   background-color:#4DA6FF;
   justify-content: space-evenly;
   align-items: center;
   flex: 1;   
}

.footer div {
  flex: 1;
  margin: 0 10px;
}

.footer i {
  margin-right: 8px;
}

.navbar {
  padding-right: 15px;
  padding-left: 10px;
}
.navbar-brand {
  margin-left: 15px;
  font-size: 1.5rem;
  font-weight: bold;
}

.nav-item {
  padding: 0 10px;
}

/*************************  CLASS  SELECTORS   ***********************/

.grid-container {
  flex:1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  width: 100vw; 
  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;
  min-height: calc(100dvh - 129px); /* fits perfectly between navbar & footer */ 
  padding-top: 32px; /* small side padding */ 
  padding-bottom: 20px; 
}

@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 */
  }

  .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: flex;
  flex-direction: column;
  justify-content: center; /* centers everything vertically */
  align-items: center; /* centers horizontally */ 
  height: 100%; 
  padding-bottom: 40px;
}

.content-update {
 display:flex; 
 flex-direction:column;
 justify-content:flex-start;
 align-items: center;
 padding-bottom: 30px;
}


.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; 
  margin: 2px 0;
  text-align: center;
}

.feynman-quote {
  font-family: 'Brush Script MT', cursive;
  color: white;
  font-size: 1.25rem;
  margin-top: 4px; 
  margin-left: 23px;
  text-align: center;
}

/*
.musings {
  position: relative;
  top: 10px;
  text-align: left; 
  padding-left: 10px;
  color: #106bc5;
}
*/
.knowledge {
  width: 60%;
  max-width: 400px;
  height: auto;
  border-radius: 15px;
  margin: 10px 0;
}

.personal-welcome { 
 padding-top: 50px;
 font-size: 2.25rem;
 text-align: center;
 color: white;
 font-family: "Merriweather"; 
}

.card {
    position: relative;
    top: 20px;
    width: 90%;     
} 

.card-header {
  background-color: #0D6efd;
  color: yellow;
  text-align: center;
  font-size: 20px;
  border-radius: 0 0 15px 15px;
}

.card-body {
  background-color: #100785;
  border-radius: 0 0 10px 10px;
  height:95px;  
}

#quoteText {
  text-align: center;
  font-size: 1.30rem;
  font-family:'Verdana sans-serif'; 
  color: white;
  font-weight: 300;
}

#quoteAuthor {
  text-align: center;
  font-size: 1.20rem;
  font-family: 'Tahoma, sans serif';
  color: yellow;
}

.funline {
  position: absolute;
  top: 730px; left: 190px;
}

.me {
  position: relative;
  width: 25%;
  float: left;
  padding-right: 10px; 
  margin-right: 10px;
}

.update-info {
color:yellow;
padding: 10px;
position:relative;
margin-top:60px;
font-size: 1.25rem;
text-align:left;
}

.update-list {
  color: white;
}

.whatsNew {
  color:yellow;
}

.whatsNew:hover{
  color: darkblue;
}


.grid-under {
font-family:Cambria, Cochin, Georgia, Times, 'Times New Roman', serif;
font-size: 4rem;
color: red;
}

/*******************************END LINE *****************************/

.contact-box {
  padding-top: 1px;
}

.top-box {
  background-color: red;
  border: solid 5px;
  height: 220px;
  padding: 0px;
  margin-bottom: 0px;
}

.mid-container {
  position: absolute;
  top: 238px; right: 10px; left: 10px;
  height: 220px;
  background-color: yellow;
  padding: 0px;
}

.vertical-center {
  position: absolute;
   top: 50%;
   left: 50%;
}

.tutorial-top {
  position: absolute;
  top: 1000px; right: 5px; left: 5px;
  height: 100px;
}


/******************************  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;
}





