/*
Student Name: Cody Seale
File Name: CSS stylesheet
Date: 09/28/2023
*/

/* CSS Reset */
body, header, nav, main, footer, img, h1, h3, ul, article, section, aside, figure, figcaption, video, audio {
  margin: 0%;
  padding: 0%;
  border: 0;
}

/* Style rules for header */
header {
  text-align: center;
}

header h1 {
  font-size: 10em;
  color: #2a1f14;
  font-family: 'Pixelify Sans', sans-serif;
}

/* Style rules for body and images */
body {
  background-color: #ffffe6;
}

img, video, audio {
  max-width: 100%;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

/* Style rules for mobile viewport */
/* Style rules to show mobile class and hide tab-desk class */
.mobile, .mobile-tablet {
  display: block;
}

.tab-desk, .desktop {
  display: none;
}

/* Style rules for navigation area */
nav {
  background-color: #2a1f14;
  padding: 1%;
  margin-bottom: 1%;
}

nav ul {
  list-style-type: none;
  margin: 0;
  text-align: center;
}

nav li {
  display: inline-block;
  font-size: 1.5em;
  font-family: 'Pixelify Sans', sans-serif;
  font-weight: bold;
  margin-right: 1%;
  margin-left: 1%;
}

nav a {
  text-decoration: none;
  color: #ffffe6;
}

/* Style rules for main content */
main ul {
  list-style-type: circle;
  margin-left: 3%;
  text-align: left;
}

main h3 {
  text-align: left;
  margin-left: 2%;
  margin-right 2%;
}

/* Style rules for class and id selectors */
.link {
  color: #0d0d0d;
  text-decoration: none;
  font-weight: bold;
  font-style: italic;
}

#info {
  text-align: center;
}

#contact {
  text-align: center;
  font-family: 'Bebas Neue', sans-serif;
  font-weight: bold;
  font-size: 20px;
}

.tel-link {
  background-color: #2a1f14;
  padding: 2%;
  width: 80%;
  margin: 0 auto;
}

.tel-link a {
  color: #f6eee4;
  text-decoration: none;
  font-weight: bold;
}

.em-link {
  background-color: #2a1f14;
  padding: 2%;
  width: 80%;
  margin: 0 auto;
}

.em-link a {
  color: #f6eee4;
  text-decoration: none;
  font-weight: bold;
}

.sch-link {
  background-color: #2a1f14;
  padding: 2%;
  width: 80%;
  margin: 0 auto;
}

.sch-link a {
  color: #f6eee4;
  text-decoration: none;
  font-weight: bold;
}

/* Style rules for form elements */
fieldset, input, textare {
  margin-bottom: 2%;
}

fieldset legend {
  font-weight: bold;
  font-size: 1.25em;
}

label {
  display: block;
  padding-top: 2%;
}

form #submit {
  margin: 0 auto;
  display: block;
  padding: 2%;
  background-color: #78593a;
  color: #f6eee4;
  font-size: 1.25em;
  border-radius: 10px;
}

/* Styles for footer */

footer {
  background-color: #ffffe6;
  text-align: center;
  font-size: 0.85em;
  padding: 1% 0;
}

footer a {
  text-decoration: none;
}

/* Style rules for class and id selectors */
.round {
  border-radius: 6px;
}

article {
  text-align: center;
  border: 4px solid #2a1f14;
  font-size: 2em;
}

section {
  border: 4px solid #2a1f14;
}

aside {
  text-align: center;
  font-size: 1.5em;
  font-weight: bold;
  text-shadow: 4px 4px 10px #c5a687;
}

figure {
  border: 4px solid #2a1f14;
  box-shadow: 6px 6px 10px #c5a687;
  max-width: 400px;
  margin: 2% auto;
}

figcaption {
  padding: 2%;
  border-top: 4px solid #2a1f14;
}

#nobord {
  border: none;
  border-top: none;
  box-shadow: none;
}

/* Media Query for Tablet Viewport */
@media  screen and (min-width: 620px), print {
  /* Tablet Viewport: Show tab-desk class */
  .tab-desk {
    display: block;
  }

  /* Tablet Viewport: Style rules for nav area */
  nav li {
    border-top: none;
    display: inline-block;
    font-size: 1.25em;
  }

  nav li a {
    padding: 0.5em;
  }

  .grid {
    display: grid;
    grid-template-columns: auto auto;
    grid-gap: 10px;
  }

  aside {
    grid-column: 1 / span 2;
  }

  /* Tablet Viewport: Style rule for form element */
  form {
    width: 70%;
    margin: 0 auto;
  }

    /* Tablet Viewport: Style rules for footer area */
    footer {
        overflow: auto;
  }
}

/* Media Query for Desktop Viewport */
@media  screen and (min-width: 1000px), print {
  /* Desktop Viewport: Style rules for nav area */
  nav li {
    font-size: 1.5em;
  }

  nav li a {
    padding: 0.5em 1.5em;
  }

  nav li a:hover {
    color: #2a1f14;
    background-color: #f6eee4;
  }

  /* Desktop Viewport: Style rules for main content */
  #info ul {
    margin-left: 5%;
  }

  .grid {
    grid-template-columns: auto auto auto;
    grid-gap: 30px;
  }

  aside {
    grid-column: 1 / span 3;
    font-size: 2em;
  }

  /* Style rules for table */
  table {
    border: 1px solid #2a1f14;
    border-collapse: collapse;
    margin: 0 auto;
  }

  caption {
    font-size: 1.5em;
    font-weight: bold;
    padding: 1%;
  }

  th, td {
    border: 1px solid #2a1f14;
    padding: 1%;
  }

  th {
    background-color: #2a1f14;
    color: #f6eee4;
    font-size: 1.15em;
  }

  tr:nth-child(odd) {
    background-color: #deccba;
  }

  /* Desktop Viewport: Style rules for form elements  */
  form {
    width: auto;
  }

  .form-grid {
    display: grid;
    grid-template-columns: auto auto;
    grid-gap: 20px;
  }

  .btn {
    grid-column: 1 / span 2;
  }
}

/* Media Query for Large Desktop Viewports */
@media  screen and (min-width: 1921px), print {
  body {
    background: linear-gradient(#f6eee4, #78593a);
  }

  #wrapper {
      width: 1920px;
      margin: 0 auto;
  }

  main {
    background-color: #f6eee4;
  }

  .grid {
    grid-template-columns: auto auto auto auto;
  }

  aside {
  grid-column: 1 / span 4;
  font-size: 3em;
  }
}