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

body {
    background-image: url(background.jpg);
    background-size: cover;
    background-repeat: no-repeat;
    height: 100vh;
    font-family: Arial, sans-serif;
}

#container {
    position: fixed;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    z-index: 100;
}

#sidebar {
    height: 60vh;
    width: 60px;
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    background-color: rgba(255, 255, 255, 0.1);
    box-shadow: 0 0 10px black;
    border-radius: 0 10px 10px 0;
    padding: 10px 5px;
    transition: width 0.3s ease;
    overflow: hidden;
}

#sidebar:hover {
    width: 200px;
}

#sidebar .items {
    display: flex;
    align-items: center;
    white-space: nowrap;
    overflow: hidden;
    padding: 10px 5px;
}

#sidebar .items:hover {
    background-color: rgba(255, 255, 255, 0.2);
    border-radius: 5px;
}

#sidebar .items i {
    color: white;
    font-size: 30px;
    padding-right: 15px;
    min-width: 30px;
}

#sidebar .items a {
    color: white;
    text-decoration: none;
    font-size: 16px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

#sidebar:hover .items a {
    opacity: 1;
}

#chatbox {
    position: fixed;
    bottom: 20px;
    right: 20px;
    height: 60px;
    width: 60px;
    border-radius: 10px;
    cursor: pointer;
    z-index: 100;
}

#chatbox img {
    height: 60px;
    width: 60px;
    border-radius: 10px;
}

#chat-toggle {
    display: none;
}

#chat-window {
    position: fixed;
    bottom: 90px;
    right: 20px;
    width: 300px;
    height: 400px;
    background-color: white;
    border-radius: 10px;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.2);
    display: none;
    flex-direction: column;
}

#chat-toggle:checked ~ #chat-window {
    display: flex;
    z-index:200;
}

#chat-header {
    padding: 10px;
    background-color: #4CAF50;
    color: white;
    border-radius: 10px 10px 0 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.close-chat {
    cursor: pointer;
}

#chat-messages {
    flex-grow: 1;
    padding: 10px;
    overflow-y: auto;
}

#chat-input {
    padding: 10px;
    display: flex;
    border-top: 1px solid #eee;
}

#chat-input input {
    flex-grow: 1;
    padding: 8px;
    border: 1px solid #ddd;
    border-radius: 4px;
}

#chat-input button {
    margin-left: 5px;
    padding: 8px 15px;
    background-color: #4CAF50;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}

#leaf {
    position: fixed;
    top: 20px;
    right: 20px;
    background-color: rgba(255, 255, 255, 0.1);
    color: black;
    font-family: 'Poppins', sans-serif;
    font-size: 20px;
    padding: 10px 20px;
    border-radius: 30px;
    box-shadow: 0 0 10px black;
    backdrop-filter: blur(4px);
    z-index: 200;
}

#welcome {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: rgba(255, 255, 255, 0.15);
    padding: 30px 40px;
    border-radius: 20px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.3);
    color: black;
    font-family: 'Poppins', sans-serif;
    text-align: center;
    backdrop-filter: blur(6px);
    max-width: 90%;
}

#welcome h1 {
    font-size: 36px;
    margin-bottom: 10px;
}

#welcome p {
    font-size: 18px;
    line-height: 1.6;
}

#welcome span {
    color: whitesmoke;
}
