body {
    margin: 0;
    padding: 0;
    font-family: Arial, sans-serif;
    background-color: #f0f2f5;
}

.header {
    background-color: #3b5998;
    height: 82px;
    padding: 0 20px;
}
.header-content {
    max-width: 980px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
}
.logo {
    color: white;
    font-size: 40px;
    font-weight: bold;
    text-decoration: none;
}
.nav-links {
    display: flex;
    align-items: center;
    gap: 20px;
}
.nav-links a {
    color: white;
    text-decoration: none;
    font-size: 16px;
    padding: 8px 16px;
    border-radius: 6px;
    transition: background-color 0.2s;
}
.nav-links a:hover {
    background-color: rgba(255, 255, 255, 0.1);
}
.container {
    max-width: 980px;
    margin: 0 auto;
    padding: 20px;
}
.welcome-box {
    background-color: white;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    margin-bottom: 20px;
}
.welcome-box h1 {
    margin: 0 0 10px 0;
    color: #1c1e21;
    font-size: 24px;
}
.welcome-box p {
    margin: 0;
    color: #65676b;
    font-size: 16px;
}
.content-box {
    background-color: white;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}
.content-box h2 {
    margin: 0 0 20px 0;
    color: #1c1e21;
    font-size: 20px;
}
.logout-button {
    background-color: #e4e6eb;
    color: #1c1e21;
    border: none;
    padding: 8px 16px;
    border-radius: 6px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.2s;
}
.logout-button:hover {
    background-color: #d8dadf;
}

.button-container {
display: flex;
flex-direction: column;
justify-content: center;
gap: 20px;
margin-top: 30px;
align-items: center;

}

@media (min-width: 600px) {
    .button-container {
        flex-direction: row; /* Change to row layout on larger screens */
        justify-items: center;
    }
}
.service-button {
width: 200px;
height: 200px;
border-radius: 10px;
color: black;
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
font-weight: bold;
font-size: 32px;
cursor: pointer;
box-shadow: 2px 2px 5px rgba(0,0,0,0.2);
}

.mail {
background-color: #f44336;
}

.calendar {
background-color: #4caf50;
}

.cloud {
background-color: #03a9f4;
}

.notes {
    background-color: #ffd018;
}

.embed {
    background-color: #683cbc;
}

.meeting {
    background-color: #201c1c;
}

.todo {
    background-color: #c0fc6c;
}

.documents{
    background-color: #548cf4;
}

.weather{
    background-color: #1864b4;
}

.chat {
    background-color: #e07454;
}

.music {
    background-color: #8ACE00;
}

.whiteboard {
    background-color: white;
}

.timer {
    background-color: white;
}

.archive {
    background-color: white;
}

.service-button i {
font-size: 70px;
margin-bottom: 5px;
}

.divider {
    border-top: 1px solid #dadde1;
    margin: 20px 0;
}

#white-text {
    color: white;
  }
  
  .pretty-checkbox {
    appearance: none;
    width: 20px;
    height: 20px;
    border: 2px solid #ccc;
    border-radius: 4px;
    background-color: #fff;
    cursor: pointer;
    position: relative;
}

.pretty-checkbox:checked {
    background-color: #38a424;
    border-color: #38a424;
}

.pretty-checkbox:checked::after {
    content: "✔";
    color: white;
    font-size: 14px;
    position: absolute;
    top: 50%;             
    left: 50%; 
    transform: translate(-50%, -50%);
}

html.dark {
    background-color: #18191a;
    color: #e4e6eb;
}

html.dark body {
    background-color: #18191a;
    color: #e4e6eb;
}

html.dark .header {
    background-color: #242526;
}

html.dark .logo {
    color: #e4e6eb;
}

html.dark .nav-links a {
    color: #e4e6eb;
}

html.dark .nav-links a:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

html.dark .welcome-box,
html.dark .content-box {
    background-color: #242526;
    color: #e4e6eb;
    box-shadow: 0 2px 4px rgba(255, 255, 255, 0.1);
}

html.dark .welcome-box h1,
html.dark .content-box h2 {
    color: #ffffff;
}

html.dark .welcome-box p {
    color: #b0b3b8;
}

html.dark .logout-button {
    background-color: #3a3b3c;
    color: #e4e6eb;
}

html.dark .logout-button:hover {
    background-color: #4e4f50;
}

html.dark .divider {
    border-top: 1px solid #3e4042;
}

html.dark .service-button {
    box-shadow: 2px 2px 5px rgba(255, 255, 255, 0.1);
}

html.dark .whiteboard,
html.dark .timer {
    background-color: #242526;
    color: #e4e6eb;
}

html.dark .dropdown-menu {
    background-color: #242526;
    border-color: #3a3b3c;
}

html.dark .dropdown-menu button {
    color: #e4e6eb;
}

html.dark .dropdown-menu button:hover {
    background-color: #3a3b3c;
}

@media (max-width: 700px) {
  .dropdown-toggle .welcome-text {
    display: none !important;
  }
}