*{
  margin: 0;
  padding: 0;
  font-family: 'Red Hat Mono', monospace;
  overflow-x: hidden;
}

.header{
  min-height: 100vh;
  width: 100%;
  background-image: linear-gradient(rgba(9,25,51,0),rgba(255,255,255,0)),url(images/background.jpg);
  background-color: black;
  background-position: center;
  background-size: cover;
  position: relative; 
}

.header2{
  min-height: 100vh;
  width: 100%;
  background-color: black;
  background-position: center;
  background-size: cover;
  position: relative; 
}

nav{
  display: flex;
  padding: 0.25% 0.25%;
  justify-content: space-between;
  align-items: center;
  background-color: rgb(58, 58, 58);
}

.nav-links{
  flex: 1;
  text-align: right;
}

.nav-links ul li{
  list-style: none;
  display: inline-block;
  padding: 10px 11px; /*0 is from top and bottom. 30 is b/w the links (from sides)*/
  position: relative;
}

.nav-links ul li a{
  color: #fff;
  text-decoration: none;
  font-size: 15px;
}

.nav-links ul li::after{
  content: '';
  width: 0%;
  height: 2px;
  background: #ffffff;
  display: block;
  margin: auto;
  transition: 0.5s;
}

.nav-links ul li:hover::after{
  width: 100%;
}

.text-box{
  width: 90%;
  color: #ffffff;
  position: absolute;
  top: 40%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
}

.container{
  background-color: #000000;
  color: black;
  position: absolute;
  margin-top: 20px;
  margin-left: 400px;
  width: 50%;
  padding-bottom: 40px;
  display: inline-block;
  word-break: break-word;
}

.walkthroughs h1{
  margin: 20px 0px;
  color: #ffffff;
}

.walkthroughs h3{
  margin: 20px 0px 10px 0px;
  color: #ffffff;
}

.walkthroughs a{
  color: #ffffff;
}

.writeup{
  color: #ffffff;
  display: inline-block; 
  text-align: left;
}

.writeup h1{
  margin: 20px 0px;
  color: #ffffff;
  background-color: #000000;
}

.writeup a{
  margin: 20px 0px;
  color: #ffffff;
  background-color: #000000;
}

.writeup p{
  margin: 20px 0px;
  color: #ffffff;
  background-color: #000000;
}

.small{
  width: 400px;
  height: auto;
  background-color: #000000;
}

img{
  width: 700px;
  height: auto;
  background-color: #000000;
}

.text-box h1{
  font-size: 62px;
}

.text-box p{
  margin: 10px 0 40px;
  font-size: 14px;
  color: #ffffff
}

nav .fa-solid{
  display: none;
}

.sub-header{
  height: 35vh;
  width: 100%;
  background-image: linear-gradient(rgba(9,25,51,0),rgba(255,255,255,0)),url(images/nav_img.jpg);
  background-size: cover;
  color: #000000;
}

.about_us{
  height: 25vh;
  background-color: black;
  text-align: center;
}

.about_us a{
  color: white;
}

.center{
  background-color: #000000;
}

.about_us h1{
  margin-bottom: 10px;
  font-size: 30px;
  color: white;
}

.about_us p{
  color: white;
  margin: 10px;
}

.gauss_calc p{
  color: white;
}

.instructions h1{
  color: white;
}

.instructions p{
  color: white;
}

.icon1{
  display: inline-block;
}

.instructions{
  margin: 50px 50px 25px 50px;
  text-align: center;
}

.submission{
  margin-top: 10px;
  text-align: center;
}

.button{
  text-align: center;
  background-color: rgb(58, 58, 58);
  margin: 0px 0px 15px 0px;
}

.button p{
  margin: 10px 10px;
  color: white;
}

.button:hover{
  background-color: #A9A9A9;
  transition: 0.5s;
}

.results{
  text-align: center;
  margin-left: auto;
  margin-right: auto;
  display: none;
}

table, th, td {
  border: 1px solid black;
  border-collapse: collapse;
  margin-left: auto; 
  margin-right: auto;
  margin-top: 15px;
  margin-bottom: 15px;
  width: 17%;
  text-align: center;
}

.heterograms_table table{
  border: 1px solid white;
  border-collapse: collapse;
  margin-left: auto; 
  margin-right: auto;
  width: 100%;
  text-align: center;
}

.heterograms_table th {
  border: 1px solid white;
  border-collapse: collapse;
  text-align: center;
  padding: 10px;
}

.heterograms_table td{
  border: 1px solid white;
  border-collapse: collapse;
  text-align: center;
  padding: 10px;
}

input[type="number"] {
  width:60px;
}

.gauss_calc{
  display: flex;
  align-items: center;
  justify-content: center;
}

.calc{
  margin: 10px;
}

.b{
  width: 5%;
  margin: 10px;
}

.footer {
  padding-top: 20px;
  background-color: black;
  text-align: center;
  align-items: center;
  justify-content: center;
}

@media(max-width: 700px){
  .text-box h1{
    font-size: 20px;
  }
  .nav-links ul li{
    display: block;
  }
  .nav-links{
    right: -200px;
    position: absolute;
    background: rgb(58, 58, 58);
    height: 100vh;
    width: 200px;
    top: 0px;
    text-align: left;
    z-index: 2;
    transition: 1s;
  }
  
  nav .fa-solid{
    display: block;
    color: #ffffff;
    margin: 10px;
    font-size: 22px;
    cursor: pointer;
  }

  .container{
    background-color: #000000;
    color: black;
    position: relative;
    margin: 0px 20px 20px 20px;
    width: 90%;
  }

  .small{
    max-width: 100%;
  }
  
  img{
    max-width: 100%;
  }


}


