/* /public/css/copy.css */

body {
    display: flex;
    flex-direction: column;
    font-size: 160%;
    background-color: #0f172a;
    color: white;
    padding-top: 40px;
}

.main-container {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

.main {
    width: 90%;
    max-width: 800px;
    border: 2px solid white;
    padding: 20px;
    box-sizing: border-box;
}

.head {
    text-align: center;
    margin-bottom: 20px;
}

.paste {
    width: 100%;
    box-sizing: border-box;
    margin-bottom: 20px;
}

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

input[type="submit"] {
    width: 100%;
    padding: 10px;
    font-size: 1.2rem;
    margin-top: 10px;
    cursor: pointer;
}

.copy {
    width: 100%;
    box-sizing: border-box;
}

.message-container {
    border: 1px solid white;
    padding: 10px;
    margin-bottom: 10px;
    position: relative;
    word-wrap: break-word;
}

.delete-btn {
    position: absolute;
    top: 5px;
    right: 5px;
    background: red;
    color: white;
    border: none;
    font-weight: bold;
    cursor: pointer;
    padding: 2px 8px;
    font-size: 1rem;
}

.message-text {
    display: block;
    padding-right: 30px; 
}

@media (max-width: 600px) {
    body {
        font-size: 120%;
    }
    .main {
        width: 100%;
        border: none;
        padding: 10px;
    }
}