

* {
margin: 0;
padding: 0;
}





h1 {color: green;}
h2 {font-size: 14; font-family: Comic;}

body 
{ 
  /* background-color: Navy */
  /*background: linear-gradient(90deg, rgb(0, 0, 255), rgb(0, 200, 0));*/
  
  background: url("background.png") 0 0 / cover;
  background-attachment: fixed;
  background-color: purple}
}

P {color: lawngreen}
P2 {color: black}

#acoustics {scroll-snap-margin-top: 100px;}
#botany {scroll-snap-margin-top: 100px;}
#chemistry {scroll-snap-margin-top: 100px;}
#computersci {scroll-snap-margin-top: 100px;}
#physics {scroll-snap-margin-top: 100px;}
#earthsci {scroll-snap-margin-top: 100px;}


.ImageBorder1
{
    border-width: 10px;
    padding: 8px 16px;
    border-color: black;
    border-radius: 5px;  
}



.button1 {
  border: 3px solid black;
  color: black;
  padding: 8px 16px;
  text-align: center;
  text-decoration: none;
  display: inline-block;
  font-size: 16px;
  margin: 4px 2px;
  transition-duration: 0.4s;
  cursor: pointer;
  background-color: #008080;       /* teal */
  border-radius: 15px;
}




figure {
  //border: 3px solid black;
  padding: 4px;
  margin: auto;
  //border-radius: 15px;
}

 
figcaption {color: lawngreen}

.fixedhomebutton {
  /* z-index: 8; z-axis (in-out) */
  position: fixed;
  top: 1%;
  left: 1%;
  //border-radius: 2px;  
}

/* The sidebar menu */
.sidenav {
  /* height: 100%;*/ /* Full-height: remove this if you want "auto" height */
  width: 180px; /* Set the width of the sidebar */
  position: fixed; /* Fixed Sidebar (stay in place on scroll) */
  /* z-index: 3;  higher priority, higher position? */
  top: 20%; /* Stay at 20% from the top */
  left: 1%;
  background-color: #008080; /* teal */
  /* overflow-x: hidden;  Disable horizontal scroll */
  padding-top: 20px;
  padding-bottom: 20px;
  border-radius: 5px;  
}

/* The navigation menu links */
.sidenav a {
  padding: 6px 8px 6px 16px;
  text-decoration: none;
  font-size: 25px;
  color: #111; //black
  display: block;
  scroll-margin-top: 120px;
}

/* When you mouse over the navigation links, change their color */
.sidenav a:hover {
  color: #f1f1f1;
}

/* Style page content */
.main {
  margin-left: 200px; /* Same as the width of the sidebar */
  padding: 10px 10px;
}

/* On smaller screens, where height is less than 450px, change the style of the sidebar (less padding and a smaller font size) */
//@media screen and (max-height: 450px) {
//  .sidenav {padding-top: 15px;}
//  .sidenav a {font-size: 18px;}
//}

.nav ol {
  list-style: none;
  text-align: center;
  padding: 0;
  margin: 0;
  //margin-left: 35%;
  width: 100%;
  position: fixed;
  background-color: Navy;
}
.nav li {
  font-family: 'Oswald', sans-serif;
  font-size: 1.4em;
  font-color: green;
  line-height: 40px;
  height: 40px;
}
 
.nav a {
  float: center;
  text-decoration: none;
  background-color: Navy;
  color: #7CFC00;  /* Lawngreen */
  display: inline;
  padding: 10;
  margin: 10;
  border-left: 20;
  border-top: 25;
  border-right: 20;
  border-bottom: 25;
}
 
.nav a:hover {
  background-color: yellow;
}
 
.nav a.active {
  background-color: PeachPuff;
  color: Chocolate;
  cursor: default;
}

 .bars {
   
     display: flex;
     column-gap: 0px;             
    
 }

 .boxed {
  border: 6px solid black;
  border-style: double;
  padding: 8px 16px;
  display: inline-block;             
  background-color: #D3D3D3;
  font-size: 25px;
  scroll-snap-margin-top: 100px;
  scroll-margin-top: 100px;
  border-radius: 15px; 
}


 .smallboxed{
   width: 200px;
   height: 100px;
   border: 3px solid black;
   border-radius: 15px;
   padding: 8px 16px;
   background-color: Aliceblue;
}
  
 .mediumboxed{
   width: 900px;
   height: 100px;
   border: 3px solid black;
   padding: 8px 16px;
   background-color: Aliceblue;
   border-radius: 15px;  
}

 .largeboxed{
  width: 900px;
  height: 900px;
  border: 6px solid black;
  border-style: double;
  padding: 8px 16px;
  display: inline-block;             
  background-color: #D3D3D3;
  font-size: 25px;
  scroll-snap-margin-top: 100px;
  scroll-margin-top: 100px;
  border-radius: 15px; 
  overflow: hidden;
}
  

@media screen and (min-width: 600px) {
  .nav li {
    float: right;
    display: block;
    width: 120px;
    border-bottom: none;
    height: 50px;
    line-height: 50px;
    font-size: 1.4em;
    text-align: center;
  }
}






.container {
  width: 575px;
  margin: 25px 0;
  background-color: #f5f6f7;
  border: 1px solid #f5f6f7;
  border-radius: 15px;
  box-shadow: 10px 10px 0px 0px rgba(223, 220, 220, 0.75);
}

div.container {
    width: 800px; 
}

.output,
#name-input {
  display: flex;
  justify-content: left;
}



label {
  align-self: center;
  white-space: nowrap;
}

#year-input:focus-visible,
#year-button:focus-visible {
  outline: 3px solid #198eee;
}

#year-input {
  height: 40px;
  padding-left: 10px;
  width: 100px;
}

#go-button, #submit-button, #reset-button {
  padding: 14px 0;
  width: 80px;
  border-radius: 20px;
  text-align: center;
  background-color: #7f21ab;
  color: #f5f6f7;
  border: none;
}

#reset-button {
  background-color: crimson;
}

span {
    white-space: nowrap;
}

.output {
  margin: 10px 0;
  padding: 5px;
  flex-direction: column;
  align-items: left; 
}

.top-container,
.bottom-container {
  display: flex;
  flex-direction: column;
  width: 800px;
  min-height: 225px;
}

.top-container {
  margin-bottom: 10px;
  padding: 10px;
  background-color: #f0f1f7;
}

.rocker {
    width: 800px; 
    display:flexbox;
    position:absolute;
}

.answerYear {
  padding-left: 10px;
  width: 100px;
  height: 40px;
  font-size: 1.1em;
  text-transform: capitalize;
  margin-bottom: 5px;  
  text-align: center;
  margin-right: 15px;
  border: 4px solid var(--black);
  padding: 10px;
  
}

.year-form {
    width: 400px;  
}



table {
  border-collapse: collapse;
  border-spacing: 0;
  width: 100%;
  font-size: 1 rem;
  color: #f5f6f7;
  background-color: #7f21ab;
}

th:nth-child(even),
td:nth-child(even) {
  border-left: 5px solid #f5f6f7;
}

tr {
  border-bottom: 5px solid #f5f6f7;
}

td,
th {
  text-align: center;
  padding: 8px;
}

/* Special styling for Pokémon types */

.normal {
  background-color: #b7b7aa;
}


@media screen and (min-width: 550px) {
  h1 {
    font-size: 2em;
  }

  .container {
    width: 450px;
  }

  #year-form,
  .top-container,
  .bottom-container {
    width: 400px;
  }

 
}
  
 
  
