
aside-text {
  display: block;    
  width: 40%;
  margin-left: 15px;
  float: right;
  font-style: italic;
  background-color: #f3ffe3;
}
.firstLetter {
background-color: transparent;
color: #c40000;
float: left;
line-height: .75em;
font-size: 60px;
margin-right: 5px;
}

blockquote {
  background:#f9f9f9;
  border-left:10px solid #ccc;
  margin:1.5em 10px;
  padding:.5em 10px;
  quotes:"\201C""\201D""\2018""\2019";
}
blockquote:before {
  color:#ccc;
  content:open-quote;
  font-size:4em;
  line-height:.1em;
  margin-right:.25em;
  vertical-align:-.4em;
}
blockquote:after {
  visibility: hidden;
  content: close-quote;
}

hr {
  font-family: "Times New Roman", Serif; 
  text-align: center; /* horizontal centering */
  line-height: 1px; /* vertical centering */
  height: 1px; /* gap between the lines */
  font-size: 2em; /* choose font size you like */
  border-width: 1px 0; /* top and bottom borders */
  border-style: solid;
  border-color: maroon;
  margin: 20px 10px; /* 20px space above/below, 10px left/right */
  overflow: visible;
}

hr:after {
  content: "\2766" "\2766"; /* section sign */
  color: maroon;
  display: inline; /* for vertical centering and background knockout */
  background-color: transparent; /* same as background color */
  padding: 0 0.5em; /* size of background color knockout */
}

h1 {
    display: block;
    text-align: center;
    font-size: 2em;
    font-family: "Times New Roman, Serif;";
    font-style: italic;
} 

h3 {
    display: block;
    text-align: center;
} 

img[alt="no pic"]{
margin:0 10px 10px 0;
}
img[alt="leftpic"]{
float:left;
margin:0 10px 10px 0;
}
img[alt="rightpic"]{
float:right;
margin:0 0 10px 10px;
}
img[alt="middlepic"]{
    display:block;
    margin-left: auto;
    margin-right: auto;
}
.justify-image{ text-align: justify;}
.justify-image img{display:inline-block;}
.justify-image:after{content:""; display: inline-block; width: 100%; height: 0;}

/* For small devices (e.g. smartphones) */
img {
  max-width: 100%;
  display: inline-block;
}
/* For medium devices (e.g. tablets) */
@media (min-width: 1024px) {
  img {
    max-width: 48%;
  }
}
/* For large devices (e.g. desktops) */
@media (min-width: 512px) {
  img {
    max-width: 31%;
  }
}

.wrapper {
        max-width: 1600px;
        margin: 0 auto;
        font-family: "Times New Roman", Serif; 
        font-size: 18px;
        border: 2px solid #f08c00;
        background-color: #780000;
        border-radius: 5px;
        padding: 10px;
    }


.wrapper {
  display: grid;
  gap: 2px;
  grid-template-columns: 17% auto 17%;
  grid-template-areas: 
   "nav nav nav"
   "header header  header"
   "sideL content sideR"
   "footer footer  footer";
}

.main-head {
  grid-area: header;
  background: #e4d2ba;
  color:#C40000;
}
.content {
  grid-area: content;
  background: #FFFDE3;
  padding: 10px;
}    

.main-nav {
  grid-area: nav;
}
.sideL {
  grid-area: sideL;
  background:  #e4d2ba;
}
.sideR {
  grid-area: sideR;
  background:  #e4d2ba;
}
.main-footer {
  grid-area: footer;
}

nav ul {
   display: flex;
}

nav ul {
  
}

ul li {
  flex-direction: column; 
  justify-content: flex-start;
  background: black;
}

li ul { display: none; }

ul li a {
  display: block;
  padding: 1em;
  text-decoration: none;
  white-space: nowrap;
  color: white;
}

ul li a:hover { background: red}

li:hover > ul {
  display: block;
  position: absolute;
}

li:hover li { float: none; }

li:hover a { background: black; }

li:hover li a:hover { background: red;}

.main-navigation li ul li { border-top: 0; }

ul ul ul {
  left: 100%;
  top: 0;
}

@media (max-width: 1024px) {
  .wrapper {
    margin:0 0; 
    font-family: "Times New Roman", Serif; 
    font-size: 16px;   
    grid-template-columns:100%;
    grid-template-areas:
      "nav" 
      "header"
      "content"
      "sideL"
      "sideR"
      "footer";
}
  h1 {
    display: block;
    text-align: center;
    font-size: 1.5em;
    font-family: "Times New Roman, Serif;";
    font-style: italic;
}
.content { 
  grid-area: content;
  background: linear-gradient(#e4d2ba, #faf7f3);
  padding: 0 10px 0 10px;
}   
}

