
body{
  margin: 0%;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
}  

img{
  margin: 2%;
  width: 99%;
}

.content{
  margin: 1%;
  /* Minimum width for margin */
  margin-left: 2.5rem;
  margin-right: 2.5rem;

  min-height: 80vh;
  margin-top: 15vh;
  text-align: center;
} 

/* Responsive stuff */
 .topnav a{
  font-size: 28px;
  padding: 24px 26px;
}
 @media only screen and (min-width: 720px) {
  .content{
    margin-left: 10rem;
    margin-right: 10rem;
  }
  img{
    width: 95%;
  }
  a.button{
    font-size: 110%;
  }
  .topnav a{
    font-size: 22px;
    padding: 14px 20px;
  }
 } 

 @media only screen and (min-width: 992px) {
  .content{
    margin-left: 15rem;
    margin-right: 15rem;
  }
  img{
    width: 90%;
  }
  a.button{
    font-size: 120%;
  }
  .topnav a{
    font-size: 24px;
    padding: 14px 24px;
  }
 } 

  @media only screen and (min-width: 1300px) {
  .content{
    margin-left: 25rem;
    margin-right: 25rem;
  }
  img {
    width: 80%;
  }
  a.button{
      font-size: 150%;
  }
  .topnav a{
    font-size: 26px;
    padding: 24px 26px;
  }
 }

@media only screen and (min-width: 1400px) {
 .topnav a{
  font-size: 28px;
  padding: 24px 26px;
}
  }

/* Add a black background color to the top navigation */
.topnav {
  display: flex;
  flex-direction: row;
  justify-content: center;
  background-color: #DB3F3A;
  overflow: hidden;
  margin: 0%;
  padding: 1%;
  position: fixed;
  top:0;
  width: 100%;
}

.topnav.responsive{
  display: block;
  flex-direction: column;
  padding: 0%;
  position: fixed;
  top:0;
}

/* Style the links inside the navigation bar */
.topnav a {
  /* float: left; */
  /* display: block; */
  color: white;
  text-align: center;
  text-decoration: none;
  margin-top: auto;
  margin-bottom: auto;
}

/* Change the color of links on hover */
.topnav a:hover {
  background-color: #ddd;
  color: black;
}

/* Add an active class to highlight the current page */
.a.active {
  background-color: white;
  color: #606C38;
  border-radius: 20px;
}

/* Button should have a nice thicc highlight */
a.button {
  display: block;
  margin: auto;
  width: 17vw;
  border-radius: 20px;
  background-color: #DB3F3A;
  color: white;
  text-align: center; 
  padding: 1.3%;
}

/* Hide the link that should open and close the topnav on small screens */
.topnav .icon {
  display: none;
} 

 /* When the screen is less than 750 pixels wide, hide all links, except for the title. Show the link that contains should open and close the topnav (.icon) */
@media screen and (max-width: 750px) {
  .topnav a:not(:first-child) {display: none;}
  .topnav a.icon {
    float: right;
    display: block;
  }
  a.button{
    width: 30vw;
  }
}

/* The "responsive" class is added to the topnav with JavaScript when the user clicks on the icon. This class makes the topnav look good on small screens (display the links vertically instead of horizontally) */
@media screen and (max-width: 725px) {
  /* .topnav.responsive {position: relative;} */
  .topnav.responsive a.icon {
    position: absolute;
    right: 0;
    top: 0;
  }
  .topnav.responsive a {
    float: none;
    display: block;
    text-align: left;
  }
} 

footer{
  background-color: #696969;
  color: white;
  padding: 1%;
}
