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

body {
  box-sizing: border-box;
  /* display: grid; */
  margin: 0;
  padding: 0;
  font-family: Helvetica, sans-serif;
  font-size: 0.8rem;
  line-height: 1.0; 
  color: #333;
  background: white;
}

#Viewport {
  text-align: center;
  height: 1.2rem;
  background-color: hsl(269, 70%, 91%);
  font-family: 'Courier New', Courier, monospace;
  font-size: 0.9rem;
  color: black;
  padding: 0px 0 0 0;
  margin: 0;

}

.GridContainer {
  display: grid;
  grid-template-columns: 1fr 8fr;
  grid-auto-rows: minmax(2rem, auto);
    grid-template-areas: 
    "Hamburger TopHeader"
    "AdSenseMobileTop AdSenseMobileTop"
    "Main Main"
    "Footer1 Footer1";
  grid-gap: 0.0rem;
  max-width: 100%;
  background-color: white;
  padding: 0px 0px 0px 0px;
  /* border: 2px dotted #000; */
  /* margin: 0; */

  margin: 0 auto;
  justify-items: stretch;
  align-items: stretch;
}

aside {
  background-color: hsl(230, 100%, 95%);
}

aside.AdSenseMobileTop {
  grid-area: AdSenseMobileTop;
  display: flex;
  align-items: center; /* Vertical center alignment */
  justify-content: center; /* Horizontal center alignment */
  height: 1px;
}

  aside.AdSenseDesktopTop {
  grid-area: AdSenseDesktopTop;
  display: none;
  align-items: center; /* Vertical center alignment */
  justify-content: center; /* Horizontal center alignment */
  height: 1px;
  }
  
p {
  /*font-size: 0.9rem;
  font-weight: 500;
  line-height: 1.2rem; */
  margin: 0 auto;
  padding-top: 0.6rem;
}

.Description {
  font-size: 0.9rem;
  font-weight: 500;
  line-height: 1.2rem;
  padding: 0 4px;
}

main.Main {
  grid-area: Main;
  display: grid;
  grid-template-columns: 1fr;
  grid-auto-rows: minmax(1rem, auto);
  grid-template-areas: 
    "Content1"
    "Content2"
    "Content3";
  grid-gap: 0.5em;
  justify-items: stretch;
  align-items: stretch;
  /* margin: 0.5rem 0.5rem 0.5rem 0.5rem; */
  /* margin: 0 auto; */
}


.GridCell {
  /* border: 1px solid hsla(0, 100%, 50%, 20%); */
}

.TopHeader {
  grid-area: TopHeader;
  display: flex;
  background-color: hsl(40, 98%, 50%);
  align-items: center; 
  justify-content: center; /* Horizontal center alignment */
  /* height: 1.5rem; */
  padding: 0px 6px;

}

.TopHeader h1 {
  /* text-align: center; */
  font-family: 'Arial Black', 'Arial Bold', Gadget, sans-serif;
  /* font-size: clamp(0.6rem, 0.6rem + 2vw, 3rem); */
  font-weight: 950;
  line-height: 1.0;
  /* padding: 0px 0 0px 0; */
}

#Top1 {
  font-style: italic;
  font-variant: small-caps;
  color: hsl(0, 85%, 48%);
  -webkit-text-stroke: 0.04em black;
  font-size: clamp(0.75rem, 0.75rem + 2.2vw, 3.2rem);
}

#Top2 {
  /* font-style: italic; */
  /* font-variant: small-caps; */
  color: hsl(0, 85%, 48%);
  -webkit-text-stroke: 0.03em black;
  font-size: clamp(0.55rem, 0.55rem + 1.8vw, 2.8rem);
}

.Content1 h1, .Content2 h1 , .Content3 h1 {
  margin: 0 auto;
  padding-top: 0.25rem;
  font-size: clamp(0.8rem, 0.8rem + 2vw, 3rem);
}

.Content1 h2, .Content2 h2 , .Content3 h2 {
  margin: 0 auto;
  padding-top: 0.3rem;
  font-size: clamp(0.4rem, 0.4rem + 2vw, 2rem);
}

.Content1 h3, .Content2 h3 , .Content3 h3 {
  margin: 0 auto;
  padding-top: 1.2rem;
}

ol {
  padding-inline-start: 1.2rem;
}

.Menu {
  grid-area: Menu;
  display: none;
  background-color: hsl(0, 0%, 90%);
}

.Hamburger {
  grid-area: Hamburger;
  display: block;
  position: relative;
  /* width: 100px; */
  /* border: 1px solid rgb(155, 155, 2); */
}

.Content1 {
  grid-area: Content1;
  display: block;
  /* margin: 0;  */
  padding: 0px 5px;
  /* background-color: hsl(60, 100%, 98%); */
  line-height: 1.5;
}


.Content2 {
  grid-area: Content2;
  background-color: hsl(310, 100%, 98%);
  line-height: 1.5;
  padding: 0px 5px;
}

.Content3 {
  grid-area: Content3;
  display: block;
  background-color: hsl(230, 100%, 98%);
  line-height: 1.5;
  padding: 0px 5px;
}

.Content2 ul, .Content3 ul {
  margin-left: -1.2rem;
}

.Footer1 {
  grid-area: Footer1;
  height: 2.0rem;
  display: flex;
  align-items: center; /* Vertical center alignment */
  justify-content: center; /* Horizontal center alignment */
  background-color: hsla(40, 98%, 50%, 50%);
  font-size: 0.6rem;
}

.Footer1 a {
  text-decoration: none;
}

.Footer1 a:hover {
  color: hsl(220, 100%, 50%);
}


.MenuList {
  margin-left: -1.2rem;
  list-style-type: none;
}

.MenuList li {
  padding: 5px 0;
  font-size: 1.0em;
}

.MenuList a {
  text-decoration: none;
  color: hsl(0, 0%, 10%);
  /* transition: color 0.3s ease; */
}

.MenuList a:hover {
  color: hsl(220, 100%, 50%);
}


label {
  display: block;
  padding:  0.1rem 0.2rem 0.1rem 0.2rem;
}

input[type="number"], input[type="text"] {
  width: 4rem;
  height: 1.0rem;
  font-size: 0.9rem;
}

.Output {
  padding: 0.5rem;
  margin: 0.5rem;
  font: 0.7rem "Courier New", serif;
  font-weight: 500;
  /* background-color: rgb(255, 255, 255); */
  overflow-wrap: anywhere;
  word-break: break-all;
}

.Output .Words {
  padding: 0.3rem;
  width: 100%;
  word-break: normal;
  background-color: rgb(255, 255, 255);
  border: 1.0px solid gray;
}

.Output .Table {
  width: 100%;
  border: 1.0px solid gray;
  text-align: left;
  background-color: rgb(255, 255, 255);
}

.Output .Chart {
  margin-bottom: 1.5rem;
  width: 100%;
  height: auto;
  box-sizing: border-box;
  zoom: 100.0%;
}

#MainBar {
  display: block;
  width: 100%;
  float: left;
  background-color: white;
  margin: 0;
  padding-bottom: 0.8rem;
}

#InputOutput {
  display: block;
  background-color: hsl(60, 100%, 98%);
  margin: 0;
}

#GeneratorButton {
  height: 32px;
	width: 120px;
	font: 1.2rem arial, sans-serif;
  font-weight: 600;
  background: hsl(40, 98%, 50%);
	color: hsl(0, 85%, 40%); 
  padding: 0 1.0rem 0 1.0rem;
  margin: 0.5rem 0 0.5rem 0;
	border: 1px solid grey;
	border-radius: 10px;
	box-shadow: inset 2px 3px 8px hsl(40, 98%, 70%), 2px 2px 4px hsl(0, 0%, 50%);
	text-shadow: none;
  cursor: pointer;
}

#GeneratorButton:hover {
  background: hsl(40, 98%, 50%);
  color: hsl(0, 100%, 60%);
}

#GeneratorButton:focus {
  background: hsl(40, 98%, 55%);
  color: hsl(220, 100%, 50%);
}

#GeneratorButton:active {
  background: hsl(40, 98%, 50%);
  color: hsl(220, 100%, 100%);
  box-shadow: inset 2px 3px 8px hsl(40, 98%, 70%);
}

#DropdownList {
  width: 220px;
  height: 22px;
  font-size: 0.8rem;
}

figure {
  /* box-sizing: border-box; */
  margin: 0;
  padding: 0;
  line-height: 0;
}

.MainImage {
  float: left;
  padding: 0;
  margin: 0 5px 5px 5px;
  /* border: 1px solid hsl(60, 0%, 50%); */
}

/* MEDIA MEDIA MEDIA MEDIA MEDIA MEDIA MEDIA MEDIA MEDIA MEDIA MEDIA MEDIA */
@media (min-width: 768px) {

body {
  font-size: 1.0rem;
  line-height: 1.5;
}

  .GridContainer {
    grid-template-columns: 1fr 4fr;
    grid-template-areas: 
      "TopHeader TopHeader"
      "AdSenseDesktopTop AdSenseDesktopTop"
      "Menu Main"
      "Footer1 Footer1";
    max-width: 1000px;
  }


  .Main {
      grid-template-areas: 
      "Content1"
      "Content2"
      "Content3";
  } 

  main.Main .Content3 {
    display: block;
  }
  
  .Menu {
    display: block;
    border: 1px solid hsla(60, 97%, 31%, 20%);
  }
  
  aside.AdSenseMobileTop {
    display: none;
  }
  
  aside.AdSenseDesktopTop {
    display: flex;
  }

  .Hamburger {
    display: none;
  }

  .menuToggle {
    display: none;
  }

  .Description {
    font-size: 1.2rem;
    font-weight: 500;
    line-height: 1.6rem;
  }

 input[type="number"], input[type="text"] {
  width: 5rem;
  height: 1.2rem;
  font-size: 1.0rem;
}

.Output {
    font: 1.0rem "Courier New", serif;
    font-weight: 500;
  }
    
  #GeneratorButton {
    height: 40px;
    width: 150px;
    font: 1.5rem arial,sans-serif;
    font-weight: 600;
    border-radius: 12px;
  }
  
#DropdownList {
  width: 300px;
  height: 30px;
  font-size: 1.1rem;
}

.Footer1 {
    font-size: 0.8rem;
  }
  
}