/* Universal Styles */

* {
    font-family: 'Times New Roman', Times, Georgia, serif, Arial, sans-serif;
    box-sizing: border-box;
    margin: 0;
    padding: 0;
  }

a {
    text-decoration: none;
    color: rgb(253, 244, 229);
}

h2 {
  font-size: 31px;
  font-family: 'Balsamiq Sans', 'Geneva', 'Lucida Sans', 'Lucida Sans Regular', 'Lucida Grande', 'Lucida Sans Unicode', 'sans-serif';
  letter-spacing: 1px;
}

h3 {
  font-size: 19px;
  font-style: italic;
  margin: 5px;
}

h4 {
  font-size: 19px;
}


/* Body (Mobile Default) */

body {
  display: grid;
  grid-template-rows: auto auto auto;
  grid-template-areas:
    'header'
    'nav'
    'main'
    ;
  gap: 6px;
  background-color: rgb(148, 145, 137);
  min-height: 100vh;
}

main {
    grid-area: main;
    display: grid;
    grid-template-rows: auto auto auto auto;
    grid-template-areas:
      'about'
      'content'
      'back'
      'footer'
      ;
    gap: 6px;
    margin: 0;
    position: relative;
    top: 0;
}


/* Media Query for non-mobile viewers */

@media (min-width: 50em) {
  body {
    grid-template-rows: auto auto 1fr;
    grid-template-areas:
      "header"
      "nav"
      "main";
    gap: 6px;
    background-color: rgb(148, 145, 137);
    min-height: 100vh;
  }
  
  main {
    grid-template-columns: 23em 1fr;
    grid-template-rows: auto auto auto;
    grid-template-areas:
      'about content'
      'about back'
      'about footer'
      ;
  }
  
  .about {
    grid-row: span 3;
  }

  .footer {
    grid-column: span 2;
  }

  #availability a {
    font-size: 19px;
  }

  .container table h2 {
    font-size: 18px;
  }
  
  .container table h3 {
    font-size: 17px;
  }
  
  .container table h4 {
    font-size: 19px;
  }
  
  h3.commit {
    font-size: 15px;
  }

  .container .full {
    max-width: 80%;
  }

  .interest h3.instructions {
    max-width: 80%;
  }

  .content #availability a button.steps  {
    font-size: 1.0em;
  }
}


/* Header */

.header {
    grid-area: header;
    height: fit-content;
    position: relative;
    top: 0;
    z-index: 1;
    background-color: #ee7f77;  
    color: #9a0a00;
    padding: 30px;
    margin: 0;
    text-align: left;
    width: 100%;
    border: 9px solid #ffc3bf;
    border-bottom: 5px dotted #ffc3bf; 
}

.header h1 {
  display: inline;  
  font-family: 'Balsamiq Sans', 'Geneva', 'Lucida Sans', 'Lucida Sans Regular', 'Lucida Grande', 'Lucida Sans Unicode', 'sans-serif';
  font-size: 34px;
  font-style: normal;
  font-weight: 900;
  margin: 0;
}

.header h3 {
    color: #6f0801;
}

.header img {
  display: inline-block;
  vertical-align: text-bottom;
  max-width: 51px;
  max-height: 51px;
  margin: 0 10px 0 0;
}


/* Navigation section */

.nav {
  grid-area: nav;
  height: fit-content;
  position: relative;
  top: 0;
  z-index: 1;
  background-color: #fba564; 
  padding: 15px;
  margin: 0;
  text-align: left;
  width: 100%;
  grid-area: nav;
  color: #c15401;
  font-weight: bold;
  border: 9px solid rgb(249, 219, 179);
  border-bottom: 5px dotted rgb(249, 219, 179);
}

.nav h2 {
  margin: 0 0 10px;
  padding: 3px;
}

nav ul li {
  display: inline-block;
}

nav ul li a button {
  font-size: 19px;
  font-weight: 500;
  letter-spacing: 1px;
  color: #ffcea9;
  background-color: #d36918;
  margin: 0 4px 10px;
  padding: 6px 16px;
  line-height: 21px;
  border: rgb(251, 230, 202) 2px solid;
  border-radius: 10px;
  box-shadow: 3px 3px;
}

nav a button:hover {
  opacity: 80%;
  color: white;
  cursor: pointer;
}

nav a button:active {
  box-shadow: 0px 0px;
  margin-top: 4px;
  opacity: 60%;
}


/* About Section */

.about {
  grid-area: about;
  background-color: #faef77; 
  padding: 15px 15px 10px;
  margin: 0;
  text-align: left;
  height: fit-content;
  width: 100%;
  color: #968000;
  font-weight: bold;
  border: 9px solid #fff8a6;
  border-bottom: 5px dotted #fff8a6;
}

.about img {
  display: inline;
  float: left;
  height: 159px;
  width: 109.5px;
  border-radius: 50%;
  margin-right: 15px;
}

.about h2 {
  margin: 0 0 10px;
  padding: 3px;
}

.about h3 {
  display: inline;
  font-size: 20px;
  font-style: normal;
  font-weight: normal;
  color: #5a5300;
  margin: 0;
}

.about p {
  margin: 0 0 20px; 
}


/* Content section */



.content {
  grid-area: content;
  margin: 0;
  background-color: #b4fbb3;
  overflow: auto;
  height: 100%;
  color: #002213;
  font-size: 19px;
}

.content h2 {
  margin: 0;
  color: #004928;
}

.content h3 {
  font-style: normal;
  margin: 35px 0 10px;
}

.content h4 {
  font-weight: normal;
  margin: 0 0 10px;
}

.content h5 {
  font-size: 19px;
  font-weight: normal;
  margin: 10px 25px;
}

.content h5 p {
  margin: 0 0 10px;
}

.content img {
  max-width: 100%;
  max-height: 350px;
}

.content a button.steps {
  font-size: 0.87em;
  letter-spacing: 1px;
  line-height: 22px;
  color: #a8ffa7;
  background-color: #004928;
  margin: 0;
  padding: 6px 16px;
  border: rgb(251, 230, 202) 1px solid;
  border-radius: 10px;
  box-shadow: 3px 3px;
}

.content a button.steps:hover {
  opacity: 80%;
  color: white;
  cursor: pointer;
}

.content a button.steps:active {
    box-shadow: 0px 0px;
    margin-top: 9px;
    margin-bottom: 1px;
    opacity: 60%;
}

.content a.second {
  color: #eefeee;
  background: none;
  margin: 0;
  padding: 0;
  border: none;
  border-radius: none;
}

.content a.second:hover {
  color: #417a47;
}

#availability {
  align-items: center;
  margin: 10px;
  padding: 15px;
  border: 1px solid #a8ffa7;
  background-color: #00a25b;
}

#availability br {
  margin: 0 0 20px;
}

.interest {
  margin: 0 auto;
  max-width: 100%;
}

.interest h3 {
  margin: 30px 0 20px;
  color: #004928;
}

.interest h3.instructions {
  color: #002411;
  font-size: 21px;
  font-family: 'Balsamiq Sans', 'Geneva', 'Lucida Sans', 'Lucida Sans Regular', 'Lucida Grande', 'Lucida Sans Unicode', 'sans-serif';
  font-weight: 100;
  border: 2px dotted #000B04;
  padding: 5px;

}

font.number {
  margin: 0 5px;
  color: #004928;
  font-size: 30px;
  font-style: bold;
}

.discription {
  margin: 15px 0 5px;
  padding: 10px;
  max-width: 90%;
  border: 1px solid #006538;
  background-color: #73ca73;
  opacity: 90%;
}

.info {
  margin: 20px 0 5px;
  padding: 4px;
  max-width: 90%;
  border: 1px dashed #004928;
  opacity: 90%;
  overflow: wrap;
}

#container {
  max-width: 90%;
  margin: 15px 0 40px;
  height: fit-content;
  display:inline-table;
}

#container table {
  text-align: center;
  border: 2px solid rgb(202, 251, 212);
  background-color: #387f37;
  color: #2b6130;
  text-transform: uppercase;
}

#container table thead tr th {
  background-color: #68d066;
  text-align: center;
  padding: 7px;
}

#container table tbody tr td {
  background-color: rgb(202, 251, 212);
  text-align: center;
  padding: 7px;
}

#container table tbody tr td.strike {
  background-color: rgb(74, 159, 91);
  color: #417a47;
  text-decoration: line-through;
}

#container table tbody tr td.strikeyellow {
  background-color: rgb(159, 155, 54);
  color: #76690e;
  text-decoration: line-through;
}

#container table tbody tr td.full {
  background-color: #faef77;
}

#container table tbody tr td.blank {
    background-color:#387f37;
  }

#container #yellow {
  background-color: #faef77;
  width: 40px;
}

#container .yellow {
  background-color: #faef77;
}

#container td.yellowbox {
  background-color: #faef77;
  width: 40px;
}

#container table.summer {
  width: 70%;
  margin: 13px auto 5px;
  font-size: 15px;
}

#container .full {
  margin: 10px auto;
  border: none #68d066;
  background-color: #68d066;
  text-transform: none;
  font-size: 17px;
}


#container table a.full {
    color:rgb(45, 124, 61);
    letter-spacing: normal;
    line-height: 21px;
    background-color: #99f298 ;
    text-decoration: underline;
    background-color: none;
    font-size: 17px;
    padding: 4px 5px;
    border-radius: 6px;
}

#container a.full:hover {
    opacity: 100%;
    text-decoration: none;
    cursor: pointer;
}
  
#container a.full:active {
    opacity: 60%;
    margin: none;
}

#container table h2 {
  font-size: 0.84em;
  font-family: 'Arial', 'sans-serif';
  margin: 0 auto;
  color: #145c1b;
}

#container table h3 {
  font-size: 0.79em;
  font-family: 'Arial', 'sans-serif';
  margin: 10px 5px 0;
}

#container table h4 {
  font-size: 0.9em;
  margin: 0;
  text-transform: lowercase;
}

h3.commit {
  font-size: 0.79em;
  text-transform: none;
  font-weight: 100;
}

#FAQ {
  text-align: left;
  margin: 10px;
  padding: 15px;
  border: 1px solid #a8ffa7;
  border-top: none;
  background-color: #00a25b;
}

p.note {
  margin: 20px 0 0;
}


/* Back to Top section */

.back {
  grid-area: back;
  padding: 20px;
  display: table;
  height: 100%;
  margin: 0;
  width: 100%;
  background-color: rgb(201, 201, 254);
  text-align: center;
  border-radius: 10px;
}

.back a h3 button {
    display: table-cell;
    vertical-align: middle;
    margin: 0;
    font-style: normal;
    font-weight: 500;
    font-size: 21px;
    letter-spacing: 1px;
    color: rgb(201, 201, 254);
    background-color: rgb(56, 56, 220);
    padding: 6px 16px;
    border: rgb(251, 230, 202) 2px solid;
    border-radius: 10px;
    text-align: center;
    width: fit-content;
    height: fit-content;
    box-shadow: 3px 3px #fff;
}

.back a h3 button:hover {
  opacity: 90%;
  color: white;
  cursor: pointer;
}

.back a h3 button:active {
  box-shadow: 0px 0px;
  margin-top: 4px;
  opacity: 60%;
}


/* Footer */

footer {
  grid-area: footer;
  margin: 0;
  padding: 15px;
  width: 100%;
  background-color: rgb(145, 145, 251);
  border: 10px solid rgb(201, 201, 254);
  z-index: 1;
  text-align: center;
  color: black;
  height: fit-content;
  border-radius: var(--border-radius);
}

footer h2 {
  color: rgb(56, 56, 220); 
}

footer h3 {
  font-style: italic;
  margin: 15px auto;
}

footer h4 {
  font-weight: normal;
  margin: 5px auto;
  color: rgb(56, 56, 220);
}

footer a {
  color: rgb(56, 56, 220);
  text-decoration: none;
}
