body {
  background-color: #2c2c2c;
  margin: 15px 20px 0 30px;
}

h1, p, td, th {
  font-family: "JetBrains Mono", monospace;
}

h1 {
  color: #fbfcfc;
}

p {
  font-size: 16px;
  line-height: 1.2;
  color: #EEEEEE;
}

td, th {
  color: #ecf0f1;
  padding: 0 10px;
}

#header {
  display: flex;
  align-items: center;
}

#logo {
  padding-right: 10px;
  width: 35px;
  height: 35px;
  margin-right: 10px;
}

a {
  text-decoration: none;
  color: #ecf0f1;
}

#header a {
  display: flex;
  align-items: center;
}

#title {
  color: azure;
  background: #424242;
  padding: 15px 20px;
  margin: 15px 0 15px 20px;
  display: inline-block;
  font-size: 1.75em;
  font-weight: bold;
  font-family: "JetBrains Mono", monospace;
  border-radius: 10px;
}

.highlight {
  color: #ecf0f1;
  padding: 10px 12px;
  margin: 10px auto;
  display: inline-block;
  font-size: .9em;
  text-align: center;
  border-radius: 1px;
}

input {
  width: 75px;
  height: 25px;
  padding: 5px;
  margin: 10px;
  font-size: 12px;
  border-radius: 5px;
  background-color: #f0f0f0;
  color: #333;
}

#result {
  border-radius: 10px;
  transition: transform 0.1s;
}

#result:hover {
  transform: scale(0.95);
}

#clear {
  background-color: #616161;
  border-radius: 10px;
  transition: transform 0.1s;
}

#clear:hover {
  transform: scale(0.95);
}

.email {
  font-size: 16px;
  color: darkorange;
  text-decoration: none;
}

#content-container {
  display: flex;
  justify-content: space-between;
}

#text-container {
  flex: 1;
  padding-left: 10px; /* Add padding to avoid content touching the border */
}

noscript {
  position: absolute;
  top: 25px;
  right: 215px;
  color: #f5b7b1;
  background-color: #424242;
  padding: 5px 10px;
  border-radius: 5px;
  font-family: "JetBrains Mono", monospace;
}


#tables-container {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 10px;
}

#tables-container table {
  grid-column: span 3;
}

/* Add this to your existing CSS file (style.css) */
table {
  border-collapse: separate;
  border-spacing: 0;
  border-radius: 10px; /* Adjust the radius as needed */
  overflow: hidden; /* Ensure the rounded corners are visible */
}

table th:first-child,
table td:first-child {
  border-top-left-radius: 10px; /* Adjust the radius as needed */
  border-bottom-left-radius: 10px; /* Adjust the radius as needed */
}

table th:last-child,
table td:last-child {
  border-top-right-radius: 10px; /* Adjust the radius as needed */
  border-bottom-right-radius: 10px; /* Adjust the radius as needed */
}



.column-ders {
  width: 60%;
}

.column-dogru {
  width: 20%;
}

.column-yanlis {
  width: 20%;
}



.button-original {
  background-color: #4CAF50;
  color: white;
  padding: 10px;
  border-radius: 5px;
  cursor: pointer;
}

.button-calculated {
  background-color: #2196F3;
  color: white;
  padding: 10px;
  border-radius: 5px;
  cursor: pointer;
}

.last-update {
  padding: 10px 5px 5px 15px;
  color: azure;
}

.last-update-text {
  color: azure;
}

.last-update-heading {
  font-family: "JetBrains Mono", monospace;
  font-weight: bold;
  font-size: 1.5em;
  color: azure;
}

.notice-heading {
  font-family: "JetBrains Mono", monospace;
  font-weight: bold;
  font-size: 1.5em;
  color: azure;
}

.notice-container {
  padding: 15px 10px 10px 25px;
  background-color: #634710;
  border-radius: 15px
}

.notice-text {
  color: azure;
}

.darker-separator {
  color: #424242;
}

@media (min-width: 900px) {

  #calculator-container {
  flex: 1;
  margin-right: 20px;
  border-right: 2px solid #616161; /* Add border */
  padding-right: 20px; /* Add padding to avoid content touching the border */
  }

  #top-left-text {
    position: absolute;
    top: 25px;
    right: 70px;
    color: #fbfcfc;
    background-color: #424242;
    padding: 5px 10px;
    border-radius: 5px;
    font-family: "JetBrains Mono", monospace;
  }

  #top-left-second-text {
  position: absolute;
  top: 25px;
  right: 25px;
  color: #fbfcfc;
  background-color: #424242;
  padding: 5px 10px;
  border-radius: 5px;
  font-family: "JetBrains Mono", monospace;
  }

  .mobileonly-hr {
    visibility: hidden;
  }
}


@media (max-width: 900px) {
  body {
    margin: 10px;
  }

  #title {
    font-size: 1.4em;
    padding: 10px 15px;
    margin: 10px 0;
  }

  #tables-container {
    display: block;
  }

  #tables-container table {
    width: 100%;
    margin-bottom: 20px;
  }

  #tables-container th, #tables-container td {
    padding: 5px;
  }

  input {
    width: 75%;
    margin: 5px 0;
  }

  #content-container {
    flex-direction: column;
  }

  #calculator-container, #text-container {
    margin-right: 0;
    margin-bottom: 20px;
  }

  #top-left-text {
    top: 5px;
    right: 11px;
    padding: 3px 5px;
    font-family: "JetBrains Mono", monospace;
    text-decoration: none;
  }

  h1 {
    font-size: 1.25em;
  }

  p {
    font-size: 14px;
    line-height: 1.2;
  }

  .highlight {
    font-size: 0.8em;
    padding: 8px 10px;
  }
  .column-ders {
    width: 50%;
  }

  .column-dogru {
    width: 25%;
  }

  .column-yanlis {
    width: 25%;
  }

  .last-update {
    padding: 10px 5px 5px 0;
  }

  #top-left-text {
    color: #fbfcfc;
    background-color: #424242;
    padding: 5px 10px;
    border-radius: 5px;
    font-family: "JetBrains Mono", monospace;
  }

  #top-left-second-text {
    background-color: #424242;
    padding: 5px 10px;
    border-radius: 5px;
    font-family: "JetBrains Mono", monospace;
  }

  .mobileonly-hr {
    color: #424242;
    margin: 25px 10px 25px 10px;
  }
}