body {
  padding-left: 40px;
  padding-right: 40px;
  display: grid;
  grid-template-columns: 1fr 3fr;
  gap: 10px;
  font-family: "linotype-vectora", sans-serif;
  font-weight: 100;
  font-style: normal;
  overflow: hidden; /* Prevent body scrolling */
  margin-top: 5px;
  margin-bottom: -50px;
  background-color: white;
  line-height: 27px;

}
::selection {
  background-color: green;
  color: white;
}

::-moz-selection {
  background-color: green;
  color: white;
}
.htmx-indicator {
  font-size: 40px;
}
h5 {
  font-size: 56px;
  font-family: "linotype-vectora", sans-serif;
  font-weight: 400;
  margin-bottom: 10px;
  color:green;
}

 .errora {
  font-size: 20px;
  font-family: "linotype-vectora", sans-serif;
  font-weight: 200;
  margin-bottom: 10px;
  color: green;
}

#Layer_1 path { 
  fill: green; 
}

#Layer_1 path:hover { 
  fill: rgb(1, 255, 175); 
}

/* Base code styling for all code elements */
code {
  font-family: "ocr-a-std", monospace;
  font-weight: 400;
  font-style: normal;
}

/* Specific styling for code within pre tags */
pre code, 
pre {
  font-size: 20px;
  margin-bottom: 10px;
  color: purple;
  background-color: whitesmoke;
  width: 95%;
  display: flex;
  overflow-x: scroll;
  box-sizing: border-box;
  padding: 1.5rem;
  
}

/* Inline code styling */
ul li code,
p code {
  display: inline;
  white-space: nowrap;
  overflow-x: visible;
  width: auto;
  margin: 0;
  font-size: 25px;
  padding: 8px;
  color: purple;


}

.rightside {
  grid-column: 2 / 4;
  overflow-y: auto; /* Enable scrolling for right side */
  padding: 5px;
  margin-bottom: 20px;
  
}

.leftside {
  grid-column: 1 / 2;
  position: sticky;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
}

svg {
  width: 109%;
  height: auto;
  margin-bottom: -10px;
}


#sendarrow {
  width: 24px;
  height: 24px;
  fill: green;
}

#sendarrow:hover {
  fill: darkgreen;
}

#sendarrow:active {
  transform: scale(0.95);
}

input {
  font-family: "linotype-vectora", sans-serif;
  font-weight: 500;
  font-style: normal;
  height: 50px;
  width: 300px;
  align-self: flex-start;
}

.rightside {
  height: 98dvh;
  overflow-y: auto;
  overflow-x: hidden;

  right: 0;
  top: 0;
  bottom: 0;
}

.rightside p {
  font-size: 25px;
  font-weight: 500;
  margin-bottom: 10px;
}
.rightside::-webkit-scrollbar {
  width: 8px;
}

.rightside::-webkit-scrollbar-track {
  background: #f1f1f1;
}

.rightside::-webkit-scrollbar-thumb {
  background: #54a26a;
  border-radius: 4px;
}

.rightside::-webkit-scrollbar-thumb:hover {
  background: #54a26a;
}

input{
  /* Base styles */
  font-family: "linotype-vectora", sans-serif;
  font-weight: 500;
  font-style: normal;
  font-size: 15px;
  height: 30px;
  width: 300px;
  
  /* Enhanced styling */
  padding: 0 12px;
  border: 2px solid #007a16;
  background-color: #ffffff;
  color: #2c2c2c;
  transition: all 0.3s ease-in-out;
  outline: none;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
  
  /* Remove default browser styling */
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
}

/* Focus state */
input:focus {
  border-color: #00ff1e;
  box-shadow: 0 2px 8px rgba(74, 144, 226, 0.1);
  background-color: #fafafa;
}

/* Hover state */
input:hover {
  border-color: #00ffc8a1;
  background-color: rgba(0, 34, 128, 0.155);
}

/* Placeholder styling */
input::placeholder {
  color: #023a00cf;
  opacity: 1;
}

/* Disabled state */
input:disabled {
  background-color: #f5f5f5;
  border-color: #dcdcdc;
  cursor: not-allowed;
  opacity: 0.7;
}

/* Invalid state */
input:invalid {
  border-color: #259821;
  background-color: #fff8f8;
}

#output h1{
  font-size: 30px;
  font-weight: 500;
  margin-bottom: 10px;
  font-weight: 100;
}
#output {
  font-size: 30px;
  font-weight: 500;
  margin-bottom: 10px;
  font-weight: 100;
}

.container {
  display: flex;
  justify-content: center;
  gap: 5px;
  padding: 20px;
  flex-wrap: wrap;
}

.box {
  background-color: #ffffff;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  padding: 15px;
  width: 275px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  transition: transform 0.2s ease;
  margin: 5px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.box:hover {
  transform: translateY(-2px);
  border-color: #058a00;
}

.title {
  color: #037d4c;
  margin: 0 0 10px 0;
  font-size: 24px;
  text-align: center;
  font-weight: 800;
}

.subtext, p1 {
  color: #000000;
  margin: 0 0 10px 0;
  font-size: 18px;
  text-align: center;
  font-weight: 200;
  width: 100%;
}
.box {
  display: flex;
  flex-direction: column;
  align-items: center;
  cursor: pointer;
}

.box:hover {
  transform: translateY(-2px);
  border-color: #44ff8c;
  background-color: #daffe4;
}
/* Toggle switch styling */
.switch {
  position: relative;
  display: inline-block;
  width: 60px;
  height: 34px;
  margin-right: 10px;
}

.switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #cccccc;
  transition: .4s;
}

.slider:before {
  position: absolute;
  content: "";
  height: 26px;
  width: 26px;
  left: 4px;
  bottom: 4px;
  background-color: white;
  transition: .4s;
}

.slider.round {
  border-radius: 34px;
}

.slider.round:before {
  border-radius: 50%;
}

input:checked + .slider {
  background-color: #2196F3;
}

input:checked + .slider:before {
  transform: translateX(26px);
}

.label {
  margin-left: 70px;
  font-size: 16px;
}
.fakeshit {
  display:none;
}

ol, ul, li {
  line-height:34px;
}
@media screen and (max-width: 1030px) {

  .container {
    align-items: center;
  }
  
  .box {
    width: 90%;
    max-width: 150px;
  }

  body {
    grid-template-columns: 1fr 4fr;
  }
  svg{
    width: 100%;
  }
  .rightside {
    grid-column: 3 / 4;
  }
  .fakeshit {
    display: block;
  }
  .leftside {
    align-items: center;
    grid-column: 1 / 4;
  }
  .leftside input {
    align-self: center;
  }
}

