body {
    font-family: Arial, sans-serif;
    background: #f8f8f8;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 40px;
}

h1 {
    margin-bottom: 20px;
}

.container {
    display: flex;
    width: 100%;
    align-items: center;
}

@media (max-width: 768px) {
  .container {
    flex-direction: column;
  }
  #switch-arrow {
    display: none;
  }
  #mobile-switch-arrow {
    display: inline-block !important;
  }
}

.box {
    display: flex;
    flex-direction: column;
    align-items: center;
    flex: 1;
    width: 100%;
}

.box h2 {
    margin: 4px;
}

textarea {
    width: 100%;
    height: 150px;
    padding: 10px;
    font-size: 1rem;
    resize: none;
    box-sizing: border-box;
}

.arrow {
    font-size: 2rem;
    cursor: pointer;
    user-select: none;
    padding: 20px;
}

.arrow:hover {
    color: #555;
}

#right-text {
    cursor: copy;
    min-height: 6rem;
    padding: 0.5rem;
    border: 1px solid #ccc;
    border-radius: 4px;
    background: field;
    font-family: inherit;
    line-height: 1.4;
    white-space: pre-wrap;
    word-wrap: break-word;
    overflow-y: auto;

    width: 100%;
    height: 150px;
    padding: 10px;
    font-size: 1rem;
    resize: none;
    box-sizing: border-box;
}

span.placeholder {
    font-style: italic;
    color:grey;
}