* {
  box-sizing: border-box;
}

body {
  font-family: Arial;
  padding: 10px;
  background: rgb(255, 242, 224);
}

/* Header/Blog Title */
.header {
  padding: 30px;
  text-align: center;
  background: lightgray;

}

/*769*/
#compoundOptions {
  display: none;
}

.header h1 {
  font-size: 50px;
}

/* Style the top navigation bar */
.topnav {
  overflow: hidden;
  background-color: #333;
  float: center;

}

p a {
  color: white;
  text-decoration: none;
}

a:hover {
  cursor: pointer;
  color: red;
  transition: color 0.3s;
}

/* Style the topnav links */
.topnav a {
  float: left;
  display: block;
  color: #f2f2f2;
  text-align: center;
  padding: 14px 16px;
  text-decoration: none;

}

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

/* Create two unequal columns that floats next to each other */
/* OLD     Left column */
/*.leftcolumn {   */
    /*float: none;*/ /*was left */
/*width: 75%;*/
/*} */
  
  /* Right column */
  /*
.rightcolumn {
  float: left;
  width: 25%;
    background-color: #f1f1f1;
    padding-left: 20px;
  }*/

#ratioDisplay {
  display: flex;
  justify-content: space-around;
  align-items: center;
  flex-wrap: wrap;
  /* Add other styles as needed */
}

/* .Rcolumn:nth-child(3) {
  flex: 3;
  margin: 20px;
} */

/* .ratio-links {
  display: flex;
} */

.Rcolumn {
  /* flex: 1;  */
  text-align: center;
  padding-left: 100px;
  padding-right: 100px;
  padding-top: 20px;
  padding-bottom: 20px;
}

.Rcolumn img {
  width: 250px;
  height: auto;
}

.regularcolumn {
  float: none;
  width: 100%;
}

/* Fake image */
.fakeimg {
  background-color: #aaa;
  width: 100%;
  padding: 20px;
}

/* Add a card effect for articles */
.card {
  background-color: white;
  padding: 20px;
  margin-top: 20px;
}

/* Clear floats after the columns */
.row::after {
  content: "";
  display: table;
  clear: both;
}

/* Footer */
.footer {
  padding: 20px;
  text-align: center;
  background: #333;
  margin-top: 20px;
  font-size: 10px;
  color: white;
  display: flex;
  /* Use flexbox to create columns */
  justify-content: space-around;
  /* Space the columns evenly */
}

.footer-column {
  flex: 1;
  /* Each column takes up an equal portion of the space */
}


.resource-links {
  display: flex;
}

.column {
  flex: 1;
  padding-left: 20px;
}

.column p {
  font-size: 15px;
  margin: 1;
}

.text p {
  font-size: 15px;
}



/*Table*/
/* Remove borders and spacing for the inner table */
.innertable {
  border-collapse: collapse;
  border: none;
}

/* Remove borders and padding for table cells in the inner table */
.innertable th,
.innertable td {
  border: none;
  padding: 0;
}

/* Remove margin from table */
table {
  margin: 0;
}

td,
th {
  color: black;
  font-size: 18px;
  width: 300px;
}

table,
th,
td {
  border: 1px solid gray;
  text-align: center;
}

tr {
  height: 50px;
}



table {
  margin: 0 auto;
}

th {
  text-align: center;
}

#result {
  text-align: center;
  padding-bottom: 50px;
}

span {
  color: rgb(207, 0, 0);
}

#centerText {
  text-align: center;
}

.paragraph {
  padding-left: 10%;
  padding-right: 10%;
}

#gearImagesContainer {
  background-color: lightgray;
  display: flex;
  justify-content: space-around;
  align-items: center;
  flex-wrap: wrap;
  /* Allow items to wrap to the next line if there's not enough space */
}

.gearImage {
  text-align: center;
  margin: 10px;
  /* Adjust the margin as needed */
}

.gearImage img {
  width: 150px;
  height: 150px;
}

.gearImage p {
  color: black;
  margin: 5px 0;
}

/* Responsive layout - when the screen is less than 800px wide, make the two columns stack on top of each other instead of next to each other */
@media screen and (max-width: 800px) {

  .leftcolumn,
  .rightcolumn {
    width: 100%;
    padding: 0;
  }

  /* .Rcolumn, .Rcolumn:nth-child(2) {
    flex-basis: calc(50% - 20px);
  }  */
}

 @media screen and (max-width: 600px) {
  /* .Rcolumn, .Rcolumn:nth-child(2) {
    flex-basis: calc(100% - 20px);
  } */
  table, th, td {
    font-size: 20px;
  }
  .row {
    flex-direction: column;
  }

  .card {
    width: 100%;
  }

}

/* Responsive layout - when the screen is less than 400px wide, make the navigation links stack on top of each other instead of next to each other */
@media screen and (max-width: 400px) {
  .topnav a {
    float: none;
    width: 100%;
  }
}