@font-face {
    font-family: 'Orba';
    src: url('Orba-Regular.woff2') format('woff2'),
         url('Orba-Regular.woff') format('woff');
    font-weight: 400;
    font-style: normal;
}

@font-face {
    font-family: 'Orba';
    src: url('Orba-Bold.woff2') format('woff2'),
         url('Orba-Bold.woff') format('woff');
    font-weight: 700;
    font-style: normal;
}

@font-face {
    font-family: 'Orba';
    src: url('Orba-RegularItalic.woff2') format('woff2'),
         url('Orba-RegularItalic.woff') format('woff');
    font-weight: 400;
    font-style: italic;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Orba', sans-serif;
    background: white;
    padding: 0;
    min-height: 100vh;
}

.container {
    width: 100%;
    padding: 0;
}

h1 {
    margin-bottom: 30px;
    color: #333;
    font-size: 28px;
    font-weight: 400;
}

.controls {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
    flex-wrap: wrap;
    align-items: center;
}

.controls label {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 16px;
    color: #333;
}

select {
    padding: 8px 12px;
    border: 2px solid #ddd;
    border-radius: 4px;
    font-size: 16px;
    cursor: pointer;
    background: white;
    font-family: 'Orba', sans-serif;
}

select:focus {
    outline: none;
    border-color: #333;
}

.size-control {
    display: flex;
    align-items: center;
    gap: 10px;
}

input[type="range"] {
    width: 150px;
    cursor: pointer;
}

#sizeValue {
    font-weight: 400;
    min-width: 50px;
    color: #333;
}

textarea {
    width: 100%;
    font-family: 'Orba', sans-serif;
    font-size: 32px;
    line-height: 1.5;
    padding: 30px 20px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    resize: none;
    min-height: 300px;
    background: #fafafa;
    color: #333;
    transition: all 0.2s ease;
}

textarea:focus {
    outline: none;
    border-color: #333;
}

textarea::placeholder {
    color: #ccc;
}

textarea.regular {
    font-weight: 400;
    font-style: normal;
}

textarea.bold {
    font-weight: 700;
    font-style: normal;
}

textarea.italic {
    font-weight: 400;
    font-style: italic;
}

@media (max-width: 600px) {
    h1 {
        font-size: 24px;
    }

    .controls {
        flex-direction: column;
        align-items: stretch;
    }

    .size-control {
        width: 100%;
    }

    input[type="range"] {
        width: 100%;
    }

    textarea {
        font-size: 24px;
        min-height: 250px;
    }
}
