/* home app.css */
body {
    background-color: #ffb6c1;
    color: #d63384;
    text-align: center;
    font-family: 'Playfair Display', serif;
    position: relative;
    overflow: hidden;
    margin: 0;
    padding: 0;

    display: flex;
}

.container {
    margin-top: 50px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    padding: 20px;

    /* background-color: antiquewhite; */
    height: 500px;
    width: 500px;
    justify-content: center;
    align-content: center;
}

.main-title {
    font-size: 3rem;
    font-weight: 700;
}

.main-subtext {
    font-size: 1.5rem;
}

.btn-main {
    background-color: #ff4d6d;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 20px;
    font-size: 1.2rem;
    cursor: pointer;
    transition: background 0.3s ease-in-out;
    display: inline-block;
    margin: 10px;
}

.btn-modern:hover {
    background-color: #e63950;
}

.button-group {
    margin-top: 20px;
}

.heart-bg {
    position: absolute;
    font-size: 2rem;
    color: white;
    opacity: 0.6;
    animation: float 5s infinite linear;
}

@keyframes float {
    from {
        transform: translateY(100vh);
    }
    to {
        transform: translateY(-10vh);
    }
}

.message-box {
    position: absolute;
    background: white;
    padding: 15px;
    border: 2px solid #d63384;
    border-radius: 10px;
    box-shadow: 4px 4px 10px rgba(0, 0, 0, 0.2);
    font-size: 1.2rem;
    color: #d63384;
    animation: fadeIn 0.5s ease-in-out;
}

@keyframes fadeIn {
    from { opacity: 0; transform: scale(0.8); }
    to { opacity: 1; transform: scale(1); }
}

/* nav */
.taskbar {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 24px;
    background: #c0c0c0;
    border-top: 2px solid white;
    border-bottom: 2px solid black;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 2px 5px;
    font-family: 'MS Sans Serif', sans-serif;
}

.taskbar-icon {
    width: 16px; 
    height: 16px;
    margin-right: 8px;
    vertical-align: middle; 
}

/* nav start button */
.start-button {
    background: silver;
    border: 2px outset gray;
    font-size: 14px;
    font-weight: bold;
    padding: 2px 10px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 5px;
}

.start-button:hover {
    border: 2px inset gray;
}

/* nav menu */
.start-menu {
    position: absolute;
    bottom: 26px;
    left: 5px;
    width: 160px;
    background: silver;
    border: 2px solid black;
    display: none;
    box-shadow: 4px 4px 0px black;
}

.start-menu ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.start-menu li {
    padding: 5px 10px;
    font-size: 14px;
    border-bottom: 1px solid gray;
}

.start-menu li:hover {
    background: navy;
    color: white;
}

.start-menu a {
    text-decoration: none;
    color: black;
    display: block;
}

.start-menu li:hover a {
    color: white;
}

/* nav clock */
.taskbar-clock {
    font-size: 11px;
    background: #c0c0c0;
    color: black;
    padding: 2px 8px;
    border: 2px inset #a0a0a0;
    margin-right: 6px;
    min-width: 50px;
    text-align: center;
}

.start-icon {
    width: 20px;
    height: 20px;
    image-rendering: pixelated;
}



/************/
/* MESSAGES */
/************/
.chat-box {
    width: 400px;
    margin: 150px auto;
    background: silver;
    border: 2px solid black;
    box-shadow: 4px 4px 0px black;
    font-family: 'MS Sans Serif', sans-serif;
    display: flex;
    flex-direction: column;
}

.chat-window {
    background: white;
    height: 300px;
    overflow-y: auto;
    padding: 10px;
    border-bottom: 2px solid black;
}

.chat-message {
    margin-bottom: 10px;
    font-size: 12px;
}

.message-text {
    color: black;
}


.timestamp {
    font-size: 10px;
    color: gray;
    margin-left: 5px;
}

.chat-input {
    display: flex;
    padding: 10px;
    background: #c0c0c0;
}

.chat-input input {
    flex: 1;
    padding: 5px;
    border: 2px inset gray;
    font-family: inherit;
    font-size: 12px;
}

.chat-input button {
    margin-left: 10px;
    background: silver;
    border: 2px outset gray;
    font-weight: bold;
    cursor: pointer;
}

.username-input-container {
    display: flex;
    padding: 10px;
    background: #c0c0c0;
    border-bottom: 2px solid black;
    margin-bottom: 10px;
}

.username-input-container input {
    flex: 1;
    padding: 5px;
    border: 2px inset gray;
    font-family: inherit;
    font-size: 12px;
}

.username-input-container button {
    margin-left: 10px;
    background: silver;
    border: 2px outset gray;
    font-weight: bold;
    cursor: pointer;
}

.chat-title-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: navy;
    color: white;
    padding: 2px 6px;
    font-size: 12px;
    font-weight: bold;
    border-bottom: 2px solid black;
}

.chat-title {
    font-family: 'MS Sans Serif', sans-serif;
}

.chat-controls {
    display: flex;
    gap: 2px;
}

.chat-button {
    background: silver;
    border: 1px solid black;
    width: 18px;
    height: 18px;
    padding: 0;
    font-size: 12px;
    font-weight: bold;
    line-height: 1;
    cursor: default;
}
