.log-calculator-head {
  text-align: center;
  margin-top: 3%;
  font-size: 30px;
  font-weight: bold;
  margin-bottom: 3%;
}

.header {
  background: #d33b4a;
  color: white;
  padding: 10px;
  font-weight: bold;
  border-radius: 8px 8px 0 0;
  text-align: center;
}

.log-calculator,
.log-calculator2,
.log-calculator3 {
  height: 300px;
  width: 500px;
  background: #fef6e4;
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
  border: 2px solid white;
  float: left;
  margin-top: 2%;
  margin-left: 15%;
  margin-right: 5%;
}

.input-field {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
}

.input-field span {
  width: 40%;
  font-weight: bold;
}

.input-field input {
  width: 30%;
  padding: 8px;
  border-radius: 5px;
  border: 1px solid #ccc;
  box-sizing: border-box;
}

button {
  width: 25%;
  height: 15%;
  margin-left: 20%;
  background: #d33b4a;
  color: white;
  font-size: 16px;
  border: none;
  cursor: pointer;
  border-radius: 15px 15px 15px 15px;
}

button:hover {
  background: #b52c3a;
}

/* Side Buttons Section */
.side-buttons {
  width: 250px;
  margin-top: 80px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  /* border: 2px solid red; */
}

.side-buttons button {
  background: #fef6e4;
  color: black;
  /*top-left, top-right,, bottom-right, bottom-left*/
  border-radius: 15px 15px 15px 15px;
  border: 1px solid #ccc;
  padding: 10px 20px;
  cursor: pointer;
  text-align: center;
  width: 80%;
}

.side-buttons button:hover {
  /* background: #ddd; */
  background: #a82a39;
}

.about-log {
  width: 900px;
  background: #fef6e4;
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
  border: 2px solid white;
  float: left;
  margin-top: 2%;
  margin-left: 15%;
  margin-right: 5%;
}
.about-log-h {
  text-align: center;
  margin-top: 3%;
  margin-bottom: 3%;
  clear: both;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .log-calculator,
  .log-calculator2,
  .log-calculator3,
  .about-log {
    width: 90%;
  }
}

@media (max-width: 768px) {
  .log-calculator,
  .log-calculator2,
  .log-calculator3,
  .about-log {
    width: 85%;
    height: auto;
    margin: 28px;
  }
  .side-buttons {
    width: 85%;
  }
  .input-field {
    flex-direction: column;
    align-items: flex-start;
  }

  .input-field span,
  .input-field input {
    width: 100%;
  }

  button {
    width: 70%;
    font-size: 16px;
  }
}

@media (max-width: 480px) {
  .log-calculator-head {
    font-size: 1.5em;
  }

  button {
    width: 70%;
    font-size: 16px;
  }
}
