@font-face {
   font-family: bodyfont;
   src: url(../fonts/DMSerifText-Italic.ttf);
}
@font-face {
   font-family: bodyfont2;
   src: url(../fonts/DMSerifText-Italic.ttf);
}
@font-face {
   font-family: oleo;
   src: url(../fonts/OleoScript-Bold.ttf);
}

* {
  margin: 0;
  box-sizing: border-box;
  padding: 0;
}

body {
  font-family: Arial, Helvetica, sans-serif;
  min-height: 600px; /*DEV ONLY*/
}

/* Style the header */
.hdr {
  grid-area: header;
  background-image: url(/images/eclipse.jpg);
  background-position: center;
  background-size: contain;
  text-align: center;
 
}
.hdrb {
  grid-area: header;
  background-image: url(/images/bloggerh.jpg);
  background-position: center;
  background-size: contain;
  text-align: center;
 
}
.hdrs {
  grid-area: header;
  background-image: url(/images/suits.jpg);
  background-position: center;
  background-size: contain;
  text-align: center;
 
}

/* The grid container */
.grid-container  {
    grid-template-areas: 
      'header' 
      'menu' 
      'subject' 
      'right' 
      'footer';
    
  }
  .titles {
    background-color: rgba(208, 206, 206, 0.365);
    margin: auto 20%;
  }
 
  .title1 {
    color:bisque;
    font-family: oleo;
    text-shadow: 0 0 3px #FF0000, 0 0 5px #0000FF;
    font-size: 6vw;
  
  }
  .title2 {
    color:rgb(253, 250, 20);
    font-family: oleo;
    text-shadow: 0 0 3px #FF0000, 0 0 5px #0000FF;
    font-size: 3.5vw;
    
  }
  .title3 {
    color:rgb(196, 255, 202);
    font-family: bodyfont2;
    text-shadow: 0 0 3px #FF0000, 0 0 5px #0000FF;
    font-size: 3vw;
    
 }
  


/* Style the left column */
.menu {
  grid-area: menu;
 margin-bottom: 5px;
  padding: 10px;
  border: 1px solid black;
}
ul {
  list-style-type: none;
  margin: 0;
  padding: 0;
  background-color: #333333ba;
  display: flex;
  flex-wrap: wrap;
  display:none;
  
  

}

ul li a {
  display: block;
  color: white;
  padding: 14px 16px;
  text-decoration: none;
}
.active {
  background-color: #028153;
  color: white;
}

ul li a:hover {
  background-color: #027231cd;
  color: #f9fcfb;
}
.dropbtn {
  background-color: #04AA6D;
  color: white;
  padding: 16px;
  font-size: 16px;
  border: none;
}

/* The container <div> - needed to position the dropdown content */
.dropdown {
  position: relative;
  display: inline-block;
}

.dropdown-content {
  display: none;
  position: absolute;
  background-color: #f1f1f1;
  min-width: 160px;
  box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
  z-index: 1;
}

/* Links inside the dropdown */
.dropdown-content a {
  color: black;
  padding: 12px 16px;
  text-decoration: none;
  display: block;
}

/* Change color of dropdown links on hover */
.dropdown-content a:hover {background-color: #ddd;}

/* Show the dropdown menu on hover */
.dropdown:hover .dropdown-content {display: block;}

/* Change the background color of the dropdown button when the dropdown content is shown */
.dropdown:hover .dropbtn {background-color: #3e8e41;}
/* Style the middle column */
.subj {
  grid-area: subject;
  background-image: url(/images/wtf.jpg) ;
  background-attachment: fixed;
  background-size: contain;
  background-position: center;
  padding: 10px;
  border: 1px solid black;
  margin-bottom: 5px;
}
.text {
  background-color: rgba(255, 228, 196, 0.6);
  font-family: cursive;
  font-size: 16px;
  margin: 20px auto;
  padding: 10px;
}
h3 {
  text-align: center;
  color: blanchedalmond;
    text-shadow: 0 0 3px #FF0000, 0 0 5px #0000FF;
}

/* Style the right column */
.right {
  grid-area: right;
  padding: 10px;
  border: 1px solid black;
  margin-bottom: 5px;
}

/* Style the footer */
.ftr {
  grid-area: footer;
  background-image: url(/images/q2n1.jpg);
  background-position: center;
  background-size: cover;
  text-align: center;
}

@media only screen and (min-width: 550px) {
         .grid-container {
            display: grid;
            grid-template-columns: 1fr 4fr 1fr;
            grid-template-areas: 
              'header header header' 
              'menu subject right' 
              'footer footer footer ';
            grid-column-gap: 10px; 
         }
          .menu,
          .subj,
          .right {
            padding: 10px;
           margin: 5px auto;;
          }
        .hdr {
            background-image: url(../images/head4.jpg);
          }
          ul {
            flex-direction: column;
            display:block;
          }
          .dropdown{
            display: none;
          }
         
      }
 
@media only screen and (min-width: 781px) {
        .hdr {
              background-image: url(../images/head3.jpg);
          }
           .title1 {
            font-size: 3vw;
            }
          .title2 {
            font-size: 2.5vw;
            }
          .title3 {
            font-size: 2vw;  
            }
          
      }
      @media only screen and (min-width: 1025) {
        .hdr {
            background-image: url(../images/head2.jpg);
          }
       
      }
      @media only screen and (min-width: 1250px) {
        .hdr {
            background-image: url(../images/head1.jpg);
          }
         
      }