body {
  font-family: 'Open Sans';
  text-align: center;
  background-image: url("images/corn-field.jpg");
  background-size: cover;
  padding: 0;
  margin: 0;
}
.skyBack {
  background-image: url("images/sky.jpeg");
}

a {
  color: black;
  text-decoration: none;
}

a:hover {
  color: #b300ff;
  font-weight: bolder;
}

select:hover {
  color: #b300ff;
  cursor: pointer;
}

.highlight {
  background-color: #ffffff;
}

.port {
  color: white;
  text-shadow: black;
}

.gui {
  display: flex;
  justify-content: space-between;
}

.toggles {
  flex: .2;
  margin: 1vw;
  height: 400px;
  color: black;
  background-color: #b300ff;
  overflow: auto;
}

.simulation {
  flex: 1;
  margin: 1vw;
  height: 400px;
  flex-direction: column;
  overflow: hidden;
}

.corn-field {
  height: 340px;
  background-color: #c2d94c;
  margin: 0 auto;
  position: relative;
  overflow: hidden;
}

.soil {
  height: 60px;
  background-color: brown;
  margin: 0 auto;
  position: relative;
  overflow: hidden;
}

.fileCreation {
  flex: .4;
  margin: 1vw;
  height: 400px;
  background-color: #ff9100;
  overflow: auto;
}

.buttons {
  text-align: center;
  margin-top: 20px;
}

.coolbutton {
  background-color: white;
  color: black;
  border: none;
  padding: 10px 20px;
  border-radius: 5px;
  font-size: 18px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

button:hover {
  color: #b300ff;
  cursor: pointer;
}

.blueOutline {
  color: orange;
  text-shadow:
    -1px -1px 0 black,
    1px -1px 0 black,  
    -1px 1px 0 black, 
    1px 1px 0 black; 
}

.white {
  color: white;
  text-shadow:
    -1px -1px 0 black,
    1px -1px 0 black,  
    -1px 1px 0 black, 
    1px 1px 0 black;  
}

.white:hover {
  color: orange;
  text-shadow:
    -1px -1px 0 black,
    1px -1px 0 black,  
    -1px 1px 0 black, 
    1px 1px 0 black;
}

.black {
  color: black;
  text-shadow:
    -1px -1px 0 white,
    1px -1px 0 white,  
    -1px 1px 0 white, 
    1px 1px 0 white; 
}

.imgu:hover {
  cursor: pointer;
}

.modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.7);
  color: white;
  z-index: 9999;
}

.modal-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  padding: 20px;
  border: 2px solid white;
  height: 50%;
  width: auto;
}

.modal-content img {
  display: block;
  max-width: 100%;
  max-height: 100%;
  margin: 0 auto;
}

img {
    max-width: 100px; 
    max-height: 100px;
}

.corn-plant1 {
  width: 10px;
  height: 0px;
  background-color: green;
  position: absolute;
  bottom: 0;
  left: 5%;
}
.corn-plant2 {
  width: 10px;
  height: 0px;
  background-color: green;
  position: absolute;
  bottom: 0;
  left: 10%;
}
.corn-plant3 {
  width: 10px;
  height: 0px;
  background-color: green;
  position: absolute;
  bottom: 0;
  left: 15%;
}
.corn-plant4 {
  width: 10px;
  height: 0px;
  background-color: green;
  position: absolute;
  bottom: 0;
  left: 20%;
}
.corn-plant5 {
  width: 10px;
  height: 0px;
  background-color: green;
  position: absolute;
  bottom: 0;
  left: 25%;
}
.corn-plant6 {
  width: 10px;
  height: 0px;
  background-color: green;
  position: absolute;
  bottom: 0;
  left: 30%;
}
.corn-plant7 {
  width: 10px;
  height: 0px;
  background-color: green;
  position: absolute;
  bottom: 0;
  left: 35%;
}
.corn-plant8 {
  width: 10px;
  height: 0px;
  background-color: green;
  position: absolute;
  bottom: 0;
  left: 40%;
}
.corn-plant9 {
  width: 10px;
  height: 0px;
  background-color: green;
  position: absolute;
  bottom: 0;
  left: 45%;
}
.corn-plant10 {
  width: 10px;
  height: 0px;
  background-color: green;
  position: absolute;
  bottom: 0;
  left: 50%;
}
.corn-plant11 {
  width: 10px;
  height: 0px;
  background-color: green;
  position: absolute;
  bottom: 0;
  left: 55%;
}
.corn-plant12 {
  width: 10px;
  height: 0px;
  background-color: green;
  position: absolute;
  bottom: 0;
  left: 60%;
}
.corn-plant13 {
  width: 10px;
  height: 0px;
  background-color: green;
  position: absolute;
  bottom: 0;
  left: 65%;
}
.corn-plant14 {
  width: 10px;
  height: 0px;
  background-color: green;
  position: absolute;
  bottom: 0;
  left: 70%;
}
.corn-plant15 {
  width: 10px;
  height: 0px;
  background-color: green;
  position: absolute;
  bottom: 0;
  left: 75%;
}
.corn-plant16 {
  width: 10px;
  height: 0px;
  background-color: green;
  position: absolute;
  bottom: 0;
  left: 80%;
}
.corn-plant17 {
  width: 10px;
  height: 0px;
  background-color: green;
  position: absolute;
  bottom: 0;
  left: 85%;
}
.corn-plant18 {
  width: 10px;
  height: 0px;
  background-color: green;
  position: absolute;
  bottom: 0;
  left: 90%;
}
.corn-plant19 {
  width: 10px;
  height: 0px;
  background-color: green;
  position: absolute;
  bottom: 0;
  left: 95%;
}
.corn-plant20 {
  width: 10px;
  height: 0px;
  background-color: green;
  position: absolute;
  bottom: 0;
  left: 0%;
}

#temperatureTable {
  border-collapse: collapse;
  width: 100%;
}

#temperatureTable th, #temperatureTable td {
  border: 1px solid #000000;
  padding: 5px;
  text-align: center;
}

.input-switch-buttons {
  display: flex;
  justify-content: space-between;
  margin: 10px 0;
  
}

.input-switch-button {
  background-color: white;
  color: black;
  border: 2px solid black;
  padding: 5px 10px;
  border-radius: 3px;
  font-size: 16px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.input-switch-button:hover {
  color: #9920cd;
}

.tfcpLink:hover {
  color: white;
  transition: color 0.3s;
  text-shadow:
    -1px -1px 0 black,
    1px -1px 0 black,  
    -1px 1px 0 black, 
    1px 1px 0 black; 
}

.file-label {
  display: inline-block;
  padding: 10px 15px;
  background-color: #b300ff;
  color: black;
  text-shadow:
    -1px -1px 0 white,
    1px -1px 0 white,  
    -1px 1px 0 white, 
    1px 1px 0 white; 
  border-radius: 5px;
  cursor: pointer;
  text-decoration: none; 
  position: relative;
}

.file-label::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0);
  border-radius: 5px;
  transition: background 0.3s ease; 
}

.file-label:hover::before {
  background: rgba(255, 255, 255, 0.5);
}