body {
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  min-height: 100vh;
  background-color: #ffffff;
  color: #444444;
  font-family: 'Inter', sans-serif;
  overflow-x: hidden;
  opacity: 0;
  transition: opacity 0.5s ease;

  -webkit-text-size-adjust: 100%;
}

body.loaded {
  opacity: 1;
}

body.fade-out {
  opacity: 0;
}

.header {
  display: flex;
  align-items: center;
  padding: 20px 20px;
}

.text-container {
  display: flex;
  justify-content: flex-end;
  align-items: flex-start;
  position: absolute;
  top: 30px;
  right: 20px;
  max-width: 100vw;
  overflow: hidden;
}

.text {
  display: flex;
  align-items: center;
  height: 25px;
  max-width: 65vw;
  gap: 5px;
  font-size: min(2.0vw, 20px);
  font-family: 'Fira Code', monospace;
  overflow: hidden;
}

.text a {
  text-decoration: none;
  color: #444444;
  font-weight: 400;
}

.text a.active {
  font-weight: 600;
}

.divider {
  color: #444444;
  font-weight: bold;
  font-size: 2vh;
  align-self: center;
}

.logo-container {
  width: 50%;
  max-width: 460px;
  min-width: 180px;
  height: auto;
  position: absolute;
  top: 10px;
  left: 10px;
  margin: 0;
}

.logo {
  width: 50%;
  position: absolute;
  top: 10px;
  left: 10px;
}

.custom-line {
  border: 0;
  border-top: 1px solid #d0d0d0;
  width: 100%;
  margin-top: min(5vw, 45px);
  margin-bottom: 0;
}

.menu-container {
  display: grid;
  position: relative;
  grid-template-columns: repeat(8, 1fr);
  gap: 15px;
  max-width: 100%;
  margin-top: 10px;
}

.menu {
  width: 110px;
  height: 50px;
  background-color: #f0f0f0;
  border: 1px solid #d0d0d0;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  border-radius: 6px;
  font-size: 15px;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  position: relative;
}

.menu.active {
  transform: scale(0.95);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.dropdown {
  display: none;
  position: absolute;
  top: 100%;
  background-color: #ffffff;
  border: 1px solid #d0d0d0;
  border-radius: 6px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  z-index: 10;
  width: 135%;
  margin-top: 10px;
}

.item {
  padding: 2px;
  font-size: 14px;
  cursor: pointer;
  text-align: center;
}

.item:hover {
  background-color: #f0f0f0;
}

.menu.active .dropdown {
  display: block;
}

.workflow {
  display: flex;
  gap: 8px;
  align-items: center;
  justify-content: center;
  margin: 20px 0 20px -10px;
}
      
.pulse {
  animation: pulse-animation 1.0s infinite;
}

@keyframes pulse-animation {
  0% { opacity: 1; transform: scale(1.00); }
  50% { opacity: 1; transform: scale(1.20); }
  100% { opacity: 1; transform: scale(1.00); }
}

.workflow img {
  width: 70px;
  height: 70px;
}

.workflow .arrow {
  height: 15px;
  width: auto;
}
  
.text-block {
  width: 76%; /* Adjust the width */
  margin-top: 115px;
  padding-top: 20px;
  padding-left: 20px;
  border: 1px solid #d0d0d0;
  border-radius: 8px;
  background-color: #f0f0f0;
  font-size: 14px;
  font-family: 'Fira Code', monospace;
  text-align: left;
}

.description {
  border: 1px solid #d0d0d0;
  width: 755px; 
  min-height: 180px;
  height: auto;
  padding: 10px 15px;
  line-height: 1.3;
  white-space: pre-wrap;
  border-radius: 8px;  
  margin-right: auto;
  box-sizing: border-box;
}

.button {
  width: 120px;
  height: 40px;
  font-size: 14px;
  background-color: white;
  border-radius: 6px;
  border: 1px solid #b0b0b0;
  cursor: pointer;
  margin-right: 20px;
  flex-shrink: 0;
  transition: 
    transform 0.25s cubic-bezier(0.4, 0, 0.2, 1), 
    box-shadow 0.25s cubic-bezier(0.4, 0, 0.2, 1),
    background-color 0.3s ease,
    color 0.3s ease;
}

.button:hover {
  background-color: #f0f0f0;
  transform: scale(1.02);
  box-shadow: 0 6px 12px rgba(0,0,0,0.15);
}

.button:active {
  background-color: #d0d0d0;
  transform: scale(0.98);
  box-shadow: 0 2px 4px rgba(0,0,0,0.15);
}

.output {
  background-color: white;
  line-height: 1.3;
  padding: 10px;
  border: 1px solid #d0d0d0;
  border-radius: 8px;
  overflow: auto;
  max-height: 300px;
  width: 72vw;
  white-space: pre-wrap;
}

.frame {
  width: 78%;
  border: 1px solid #d0d0d0;
  border-radius: 8px;
  height: 600px;
  margin-top: 40px;
  margin-bottom: 200px;
  overflow: auto;
}

.information {
    font-size: 16px;
    margin-bottom: 20px;
    text-align: center;
}

@media (max-width: 1024px) {
 
  .menu {
    width: 100px;
    height: 45px;
    font-size: 14px;
  }

  .item {
   font-size: 13px;
  }

  .workflow {
    gap: 7px;
  }

  .workflow img {
    width: 65px;
    height: 65px;
  }

  .workflow .arrow {
    height: 14px;
  }

  .text-block {
    width: 77%;
    margin-top: 110px;
  }

  .information {
    font-size: 14px;
  }

  .frame {
    width: 79%;
  }

}

@media (max-width: 920px) {
 
  .menu-container {
    gap: 10px;
  }

  .menu {
    width: 90px;
    height: 40px;
    font-size: 13px;
  }

  .item {
    font-size: 12px;
  }

  .workflow {
    gap: 6px;
  }

  .workflow img {
    width: 60px;
    height: 60px;
  }

  .workflow .arrow {
    height: 13px;
  }

  .text-block {
    width: 78%;
    margin-top: 105px;
  }

  .information {
    font-size: 13px;
  }

  .frame {
    width: 80%;
  }

}

@media (max-width: 840px) {

  .logo {
    top: 12px;
  }

  .menu-container {
    display: flex;
    height: 144px;
    overflow-x: auto;
    white-space: nowrap;
    width: 100%;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    gap: 10px;
  }

  .menu-container::-webkit-scrollbar {
    display: none;
  }

  .menu:first-child {
    margin-left: 10px;
  }

  .menu:last-child {
    margin-right: 10px;
  }

  .menu {
    flex: 0 0 auto;
    width: 100px;
    height: 40px;
    font-size: 13px;
  }

  .item {
    font-size: 12px;
  }

  .workflow {
    gap: 5px;
  }

  .workflow img {
    width: 55px;
    height: 55px;
  }

  .workflow .arrow {
    height: 12px;
  }

  .text-block {
    width: 79%;
    margin-top: 4px;
  }

  .information {
    font-size: 12px;
  }

  .frame {
    width: 83%;
  }

}

@media (max-width: 720px) {

  .logo {
    top: 14px;
  }

  .workflow {
    gap: 4px;
  }

  .workflow img {
    width: 50px;
    height: 50px;
  }

  .workflow .arrow {
    height: 11px;
  }

  .text-block {
    width: 80%;
  }

  .information {
    font-size: 11px;
  }

}

.rotate-warning {
  display: none;
}

@media screen and (max-width: 639px) {
  .rotate-warning {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: #ffffff;
    font-family: 'Fira Code', monospace;
    font-size: 16px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    z-index: 9999;
  }

  .rotate-tagline {
    font-family: 'Inter', sans-serif;
    font-size: 18px;
    font-weight: 500;
    margin: 0 0 60px;
  }

  .rotate-warning img.rotate-icon {
    width: 200px;
    height: auto;
  }

  .rotate-warning img.rotate-logo {
    width: 240px !important;
    height: auto !important;
    margin-bottom: 20px;
  }

  body > *:not(.rotate-warning) {
    display: none !important;
  }
}