body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f5f5f5;
    position: relative;
}

.section {
    padding: 0;
    display: block;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    opacity: 0;
    transform: translateY(250px);
    transition: opacity 1s ease-out, transform 0.6s ease-out;
}

.section.visible {
    opacity: 1;
    transform: translateY(0px);
    margin-bottom: 30px !important;
}

h1 {
    color: #333;
    font-size: 2.5em;
    margin-bottom: 20px;
}

p {
    color: #666;
    font-size: 1.2em;
    line-height: 1.6;
    /* max-width: 800px; */
    text-align: center;
}

/* ألوان مختلفة لكل قسم */
#section1 {
    background-color: #ffdddd;
}

#section2 {
    background-color: #ddffdd;
}

#section3 {
    background-color: #ddddff;
}

#section4 {
    background-color: #ffffdd;
}

#section5 {
    background-color: #ddffff;
}


.text-content-list {
    position: absolute;
    text-align: initial;
    left: 0;
    top: 0;
    right: 0;
    bottom: 0;
    overflow: hidden;
    opacity: 1;
    line-height: 1;
    -webkit-text-size-adjust: none;
    -moz-text-size-adjust: none;
    text-size-adjust: none;
    forced-color-adjust: none;
    transform-origin: 0 0;
    z-index: 2;
}

.text-content-list span,
.text-content-list br {
    color: transparent;
    position: absolute;
    white-space: pre;
    cursor: text;
    transform-origin: 0% 0%;
}

.text-content-list span.markedContent {
    top: 0;
    height: 0;
}

.text-content-list .highlight {
    margin: -1px;
    padding: 1px;
    background-color: rgba(180, 0, 170, 1);
    border-radius: 4px;
}

.text-content-list .highlight.appended {
    position: initial;
}

.text-content-list .highlight.begin {
    border-radius: 4px 0 0 4px;
}

.text-content-list .highlight.end {
    border-radius: 0 4px 4px 0;
}

.text-content-list .highlight.middle {
    border-radius: 0;
}

.text-content-list .highlight.selected {
    background-color: rgba(0, 100, 0, 1);
}

.text-content-list ::-moz-selection {
    background: #0000ff26;
}

.text-content-list ::selection {
    background: #0000ff26;
}

.text-content-list br::-moz-selection {
    background: transparent;
}

.text-content-list br::selection {
    background: transparent;
}

:root {
    --annotation-unfocused-field-background: url("data:image/svg+xml;charset=UTF-8,<svg width='1px' height='1px' xmlns='http://www.w3.org/2000/svg'><rect width='100%' height='100%' style='fill:rgba(0, 54, 255, 0.13);'/></svg>");
    --input-focus-border-color: Highlight;
    --input-focus-outline: 1px solid Canvas;
    --input-unfocused-border-color: transparent;
    --input-disabled-border-color: transparent;
    --input-hover-border-color: black;
}

@media (forced-colors: active) {
    :root {
        --input-focus-border-color: CanvasText;
        --input-unfocused-border-color: ActiveText;
        --input-disabled-border-color: GrayText;
        --input-hover-border-color: Highlight;
    }
}

:root {
    --focus-outline: solid 2px blue;
    --hover-outline: dashed 2px blue;
    --freetext-line-height: 1.35;
    --freetext-padding: 2px;
    --editorFreeText-editing-cursor: text;
    --editorInk-editing-cursor: pointer;
}



.canvasLayer img {
    top: 0;
    left: 0;
    width: 100% !important ;
    object-fit: cover;
}