body,
html {
    height: 100%;
    margin: 0;
    font-family: Arial, sans-serif;
    background-color: #f4f4f9;
    display: flex;
    justify-content: center;
    align-items: center;
}

body {
    background-color: #f8f8f8;
    font-family: Arial, sans-serif;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    margin: 0;
}

.paper {
    background-color: #fff;
    border-radius: 10px;
    padding: 20px;
    position: relative;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
}

.input-text {
    width: 100%;
    height: 200px;
    border: none;
    border-bottom: 2px solid #ccc;
    padding: 10px;
    font-size: 16px;
    outline: none;
    resize: none;
}

.decoration-ring {
    width: 100px;
    height: 100px;
    border: 2px dashed #ccc;
    border-radius: 50%;
    position: absolute;
    top: -50px;
    left: -50px;
}

.decoration-sticker {
    width: 50px;
    height: 50px;
    background-color: #ffcc00;
    border-radius: 50%;
    position: absolute;
}

.sticker1 {
    top: 20px;
    left: -30px;
}

.sticker2 {
    bottom: -10px;
    right: -40px;
}

textarea {
    width: 100%;
    height: 100px;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
    box-sizing: border-box;
    margin-bottom: 20px;
}

.settings {
    margin-bottom: 20px;
    width: 50%;
    float: left;
}

input[type="number"],
button {
    padding: 10px;
    margin-right: 10px;
    border-radius: 4px;
    border: 1px solid #ccc;
}

button {
    background-color: #0056b3;
    color: white;
    border: none;
    cursor: pointer;
}

button:hover {
    background-color: #003d82;
}

#outputArea {
    border: 1px solid #ccc;
    padding: 10px;
    min-height: 50px;
    background-color: #b6646411;
}

.tooltip {
    position: relative;
    display: inline-block;
    border-bottom: 1px dotted black;

    /* Add a dotted border bottom */
    cursor: help;

    /* Change cursor to pointer on hover */
}

.tooltip .tooltiptext {
    visibility: hidden;
    width: auto;
    background-color: #333;

    /* Tooltip background color */
    color: #fff;

    /* Tooltip text color */
    text-align: center;
    padding: 5px;
    border-radius: 6px;
    position: absolute;
    z-index: 1;
    bottom: 125%;
    left: 50%;
    transform: translateX(-50%);

    /* Center the tooltip */
    opacity: 0;
    transition: opacity 0.3s;

    /* Add a fade effect */
}

.tooltip:hover .tooltiptext {
    visibility: visible;
    opacity: 1;
}

#toggleInputBtn {
    position: absolute;
    top: -50px;

    /* Initially hide the button */
    left: 50%;
    transform: translateX(-50%);
    width: 150px;

    /* Reduce width */
    height: 60px;

    /* Reduce height */
    line-height: 60px;

    /* Center text vertically */
    font-size: 14px;

    /* Reduce text size */
    background-color: #333;
    color: #fff;
    border: 1px solid #444;
    cursor: pointer;
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.3);
    border-top-left-radius: 10px;

    /* Rounded corners at the top left and right */
    border-top-right-radius: 10px;
    z-index: 1;

    /* Ensure the tab appears above other content */
    overflow: hidden;

    /* Hide overflowing content */
    transition: top 0.3s ease, box-shadow 0.3s ease;

    /* Transition for top and box-shadow */
}

#toggleInputBtn:before {
    content: '';

    /* Create a pseudo-element for the ribbon effect */
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 20px 75px 0;

    /* Triangle shape for ribbon */
    border-color: #333 transparent transparent;
}

#toggleInputBtn:hover {
    top: -20px;

    /* Move up slightly on hover */
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.5);
}

#toggleInputBtn:checked ~ .container {
    transform: translateY(-100%);

    /* Move the container above the viewport */
}

body {
    margin: 0;
    overflow: hidden;
    position: relative;
}

.background {
    background: linear-gradient(to bottom, #f8f8f8 50%, #e0e0e0 100%);
    height: 200vh;

    /* Adjust height for scrolling */
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    z-index: -1;

    /* Ensure the background is behind other elements */
}

.toggle-input-btn {
    position: absolute;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    background-color: #444;
    color: #fff;
    border: none;
    padding: 10px 20px;
    font-size: 16px;
    border-radius: 5px;
    cursor: pointer;
    z-index: 2;

    /* Ensure the button is above the container */
}

.container {
    width: 90%;
    max-width: 600px;
    background-color: #fff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    text-align: center;
    max-width: 600px;
    height: 100vh;
    overflow-y: scroll;
    position: fixed;
    top: 5%;
    left: 50%;
    transform: translateX(-50%);
    z-index: 0;

    /* Lower z-index to be below the button */
    opacity: 0.8;
    background: linear-gradient(rgba(255, 255, 255, 0.226), rgba(3, 3, 3, 0));
    backdrop-filter: blur(50px);

    /* Adjust the blur radius as needed */
    max-width: 95%;
    height: 100vh;
}

@keyframes bgScroll {
    0% {
        background-position: 0px 0px;
    }

    100% {
        background-position: 100% 100%;
    }
}

.scrollingBG {
    display: block;
    width: 100vw;
    height: 100vh;
    opacity: 0.7;
    background-image: url("fancy-cushion.webp");
    animation: bgScroll 60s linear infinite;
}

body {
    background: linear-gradient(-45deg, #ee7752, #e73c7e, #23a6d5, #23d5ab);
    background-size: 400% 400%;
    animation: gradient 55s ease infinite;
    height: 100vh;
}

@keyframes gradient {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

input[type='text'] {
    border-radius: 10px; /* This will create rounded corners */
    border: 0px solid #ccc; /* Optional: adds a border around the textbox */
    padding: 5px 10px; /* Optional: adds some padding inside the textbox */
    font-size: 12px;
}