
body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f0f2f5;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    height: 100%;
    flex-direction: column;

}

/* Scroll Up Animation */
@keyframes slideUp {
0% { transform: translateY(-100%); opacity: 0; }
100% { transform: translateY(0); opacity: 1; }
}

/* Animation for login form */
    @keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes pulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.1);
    }
    100% {
        transform: scale(1);
    }
}

.login-container {
    width: 80%;
    max-width: 400px;
    padding: 30px;
    background: white;
    text-align: center;
    border-radius: 8px;
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.2);
    position: absolute;
    top: 50px;
    left: 50%;
    transform: translateX(-50%);
}
.login-container h1 {
    font-size: 24px;
    color: #1877f2;
    margin-bottom: 25px;
    
}
.login-container input {
    width: 90%;
    padding: 10px;
    margin: 8px 0;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 16px;
}
.login-container button {
    background: #1877f2;
    padding: 10px;
    color: white;
    border: none;
    font-size: 16px;
    cursor: pointer;
    width: 96%;
    margin-left: 5px;
    margin: 8px 0;
    border-radius: 5px;
}
label {
    float: left;
    display: block;
    font-weight: bolder;
    margin: 5px 0px;
}
.main-container {
    display: none;
    width: 95%;
    max-width: 700px;
    height: 100%;
    background: white;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.2);
    overflow-y: auto;
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
}
.arvind-tree-header {
    background: #1877f2;
    color: white;
    padding: 7px 12px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    animation: slideUp 1.5s ease-in;
    margin-top: -19px;
}
.logout {
    background-color: red;
    color: white;
    padding: 4px 8px;
    border: none;
    border-radius: 5px;
    font-size: 12px;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
    animation: pulse 4s ease; 
}
.logout:hover {
    background-color: rgb(199, 9, 9);
    color: seashell;
}
.fullscreen{
    background-color: green;
    color: white;
    padding: 4px 8px;
    border: none;
    border-radius: 5px;
    font-size: 12px;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
    animation: pulse 4s ease-out;
}
.fullscreen:hover{
    background-color: darkgreen;
    color: seashell;
}
.nav {
    display: flex;
    justify-content: space-between;
    padding: 10px;
    animation: slideUp 1s ease-out;
}
.nav button {
    background: #1877f2;
    color: white;
    border: none;
    padding: 10px;
    margin: 3px;
    cursor: pointer;
    border-radius: 5px;
    font-size: 16px;
}
.nav button:hover {
    background-color: blue;
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2), 0 0 10px lightblue;
    transition: background-color 0.3s ease;
}
.nav button:active {
    background-color: lawngreen;
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2), 0 0 10px lawngreen;
    transition: background-color 0.3s ease;
    cursor: not-allowed;
}

.section {
    display: none;
}
.section h2 {
    text-align: center;
    color: #1877f2;
    margin-top: 0;
    margin-bottom: -5px;
}
.buttons-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 10px;
}
.buttons-container button {
    width: 100%;
    padding: 8px;
    margin: 5px 0;
    border: none;
    color: white;
    background-color: #1877f2;
    cursor: pointer;
    border-radius: 5px;
    font-size: 16px;
    animation: fadeIn 2s ease;
}
.buttons-container button:hover {
    background-color: blue;
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2), 0 0 10px lightblue;
}
.welcome-message-div {
    display: flex;
    justify-content: center;
}
.welcome-message {
    width: 89%;
    font-size: 20px;
    color: green;
    margin-top: 5px;
    text-align: center;
    background-color: #e7f3e7;
    padding: 10px;
    border-radius: 8px;
    border: 1px solid green;
    transition: background-color 0.3s ease;
    animation: slideUp 2s ease-in-out;
}
.welcome-message span {
    font-weight: bold;
    color: darkgreen;
}
.error-massage{
  color: red;
  font-size: 14px;
  display: none;
  animation: pulse 1s ease-out;
}

