body {
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    background-image: url('Images/background.jpg');
    background-size: cover;
    font-family: 'Arial', sans-serif;
    margin: 0;
}

.contant {
    display: flex;
    flex-direction: column; 
    justify-content: center;
    align-items: center;
    gap: 50px;
    padding: 20px;
}

.container {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
}

#container1 {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    gap: 30px;
}

#logo {
    height: 200px;
    width: 200px;
    border: 5px solid #08203e;
    border-radius: 20%;
    transition: transform 0.2s ease;
}

.members-info {
    width: 250px;
    height: 50px;
    padding: 10px 20px;
    color: #08203e;
    border: 3px solid #08203e;
    background-color: #fff;
    font-size: 1.2rem;
    font-weight: bold;
    border-radius: 10px;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.2s ease;
}

.members-info:hover {
    background-color: #08203e;
    color: rgb(160, 222, 231);
    border: none;
    transform: scale(1.05);
}

.members-info:active {
    background-color: #4a00e0;
    transform: scale(1);
}

.members-info, .login-button {
    width: 100%;
    max-width: 250px;
}

#container2 {
    padding: 30px;
    width: 100%;
    max-width: 400px;
    background: rgba(8, 32, 62, 0.9);
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transition: 0.4s;
}

#container2:hover {
    transform: scale(1.05);
}

.content h1 {
    font-size: 2.2rem;
    font-weight: bold;
    font-family: "Pacifico", "Times New Roman", serif;
    color: #fff;
    margin-bottom: 20px;
}

.content p {
    font-size: 1.2rem;
    font-weight: bold;
    color: #fff;
    margin-bottom: 20px;
}

.user {
    font-size: 1rem;
    font-weight: bold;
    color: #fff;
    margin-top: 20px;
}

.login-button {
    background: #08203e;
    color: #fff;
    border: none;
    padding: 15px 30px;
    margin: 20px 0;
    font-size: 1.2rem;
    font-weight: bold;
    border-radius: 10px;
    border: solid 1px #557c93;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.2s ease;
}

.login-button:hover {
    color: #08203e;
    background-color: #fff;
    transform: scale(1.05);
}

.login-button:active {
    background-color: #4a00e0;
    transform: scale(1);
}

a {
    color: rgba(245, 245, 245, 0.795);
    text-decoration: none;
}

a:hover {
    color: #fff;
    text-decoration: underline;
    transform: scale(1.05);
}


/* Large Screens */
@media (min-width: 768px) {
    .contant {
        flex-direction: row; /* Arrange containers side by side */
        gap: 100px;
    }
    #logo {
        height: 300px;
        width: 300px;
    }
}

/* Medium Screens (Tablets) */
@media (max-width: 1024px) and (min-width: 768px) {
    .contant {
        gap: 50px; /* Adjust spacing for tablets */
    }
}

/* Small Screens (Mobile Phones) */
@media (max-width: 767px) {
    body {
        flex-direction: column;
        padding: 20px;
    }
    .contant {
        flex-direction: column; /* Stack containers vertically */
        gap: 30px;
    }
    #logo {
        height: 150px;
        width: 150px;
    }
    #container2 {
        padding: 20px;
    }
    .content h1 {
        font-size: 1.8rem;
    }
    .content p, .user {
        font-size: 1rem;
    }
    .login-button {
        padding: 10px 20px;
        font-size: 1rem;
    }
    .members-info {
        font-size: 1rem;
        height: 40px;
    }
}
