@charset "utf-8";


/*
   Six Gun
   Author: Terri Lane
   Date:   9/8/2023
  
   Filename:  sg_layout.css

*/


/* HTML and Body styles */

html {
   background: rgb(35, 30, 37);
   font-family: Verdana, Geneva, sans-serif;
   height: 100%;
}

body {
   background-color: rgb(35, 30, 37);
   box-shadow: rgb(51, 51, 51) 10px 0px 40px, rgb(51, 51, 51) -10px 0px 40px;
   border-left: 1px;
   border-right: 1px;
   min-height: 100%;   
   margin: 0px auto;
   min-width: 400px;
   max-width: 1024px;   
   width: 100%; 
}


/* Header styles */

header {
   background: rgb(35, 30, 37);
}

header img#logoimg {
   display: block;
   width: 100%;
  
}




/* Navigation list styles */

header nav ul {
   width: 100%;
}

header nav ul li {
   font-size: 1em;   
}

header nav ul li a {
   color: white;
   display: block;
   padding: 5px 20px;
   width: 100%;
}

header nav ul li a:hover {
   /*color: rgba(211, 128, 0, 255);*/
   color: #a9625f;
}


#navicon {
   display: block;
   float: right;
}




/* Article Hyerlinks Styles */

artcile a:link {
  color: #efe4e1;
  background-color: transparent;
  text-decoration: none;
}

article a:visited {
  color: #a9625f;
  background-color: transparent;
  text-decoration: none;
}

article a:hover {
  color: #a9625f;
  background-color: transparent;
  text-decoration: underline;
}

article a:active {
  color: #9a958c;
  background-color: transparent;
  text-decoration: underline;
}


/* Article Styles */

article img {
  float: right;
}





article {
   width: 90%;
   margin: 20px auto;
}


article section {
   -moz-column-width: 260px;
   -webkit-column-width: 260px;   
   column-width: 260px;
   
   -moz-column-gap: 20px;
   -webkit-column-gap: 20px;
    column-gap: 20px;   
}

article h1{
   color: #efe7e5;
   font-family: "Times New Roman", Times,  serif;
   font-weight: normal;
   font-size: 2.5em;
   letter-spacing: 0.03em;
   line-height: 1.2em;
   margin-bottom: 20px;
   text-align: center;
}

article h2{
   color: #efe7e5;
   font-family: Arial,"Times New Roman", Times,  serif;
   font-weight: bold;

}

article p {
   color: rgba(239, 231, 229, 255);
   line-height: 1.5;
   margin-bottom: 15px;
   font-size: 0.85em;
}

article p em {
   color: rgb(154, 64, 3);
}



/* Calendar Style */

div#calendar {
   width: 80%;
   margin: 30px auto 10px;
}

/* Footer styles */   

footer {
   clear: both;
   color: white;    
   background: linear-gradient(to bottom, rgba(225, 51, 39, 115), rgba(127,76,83,255));
   font-size: 0.8em;  
   font-style: normal;
   width: 100%;
}

footer nav ul, footer section {
   float: left;
   padding: 10px 30px;
   width: 25%;
}

footer section {
   padding: 5px 30px;
   width: 100%;
   text-align: center;
}

footer nav ul a {
   color: white;
}

footer nav ul a:hover {
   text-decoration: underline;
}

footer::after {
   display: table;
   content: "";
   clear: both;
}

/* ===============================
   Mobile Styles: 0px to 640px 
   ===============================
*/
@media only screen and (max-width: 640px) {

  video {
      width: 360px;
      margin: 10px;
   }


   a#navicon {
      display: block;
   }
   
   header nav {
      padding-bottom: 5px;
   }
   
   header nav ul {
      display: none;
    
   }
   
   header nav ul li {
      font-size: 1em;
      line-height: 1.3em;
      height: 1.3em;
     
   }
   
   a#navicon:hover+ul, header nav ul:hover {
      display: block;
   }
   
   header img#logoimg {
      width: 100%;
    
   }
   
   article h1 {
      font-size: 1.8em;
   }
   
   div#calendar {
      width: 100%;
      margin: 10px 0px;
   }   
   
   footer nav ul, footer section {
      font-size: 1.2em;
      width: 100%;
   }
}


/* =============================================
   Tablet and Desktop Styles: greater than 640px
   =============================================
*/
@media only screen and (min-width: 641px) {
    
   header nav ul {
      display: -webkit-flex;
      display: flex;
      -webkit-flex-flow: row nowrap;
      flex-flow: row nowrap;
      -webkit-justify-content: center;
      justify-content: center;
   }
   
   header nav ul li {
      -webkit-flex: 0 1 auto;
      flex: 0 1 auto;
   }
}
