/* styles.css */

body {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    margin: 0;
    font-family: Arial, sans-serif;
}

body.dark-mode {
    background-color: #222222;
    color: white;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    margin: 0;
    font-family: Arial, sans-serif;
}

body.dark-mode a {
    color: #1E90FF;
}

/* Dark mode styles */
@media (prefers-color-scheme: dark) {
    body {
        background-color: #222222;
        color: white;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        min-height: 100vh;
        margin: 0;
        font-family: Arial, sans-serif;
    }
}

header, nav, main, footer {
    text-align: center;
    max-width: 600px; /* Adjust as needed */
    padding: 20px;
}
nav ul {
    list-style-type: none;
    padding: 0;
}
nav ul li {
    display: inline;
    margin-right: 20px;
}
nav ul li:last-child {
    margin-right: 0;
}
#header {
    position: absolute;
    top: 0;
    left: 0;
    margin: 10px; /* Adjust the margin as needed */
    cursor: pointer; /* Show pointer cursor on hover */
}

/* Reduce margin-bottom for the header */
header h1 {
    margin-bottom: -27px; /* Adjust as needed */
}

h5 {
    margin-top: 0px; /* Adjust as needed */
    margin-bottom: 10px; /* Adjust as needed */
}

/* Style for the button */
.login-button {
    display: inline-block;
    padding: 10px 20px;
    background-color: #222222;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    text-decoration: none;
}

.login-button:hover {
    background-color: black;
}

.dark-mode .login-button {
    display: inline-block;
    padding: 10px 20px;
    background-color: lightgrey;
    color: #222222;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    text-decoration: none;
}

/* Style for the button */
.black-button {
    display: inline-block;
    padding: 5px 5px;
    background-color: #222222;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    text-decoration: none;
    margin: 1px;
    font-size: 11px;
}

.dark-mode .black-button {
    display: inline-block;
    padding: 5px 5px;
    background-color: lightgrey;
    color: #222222;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    text-decoration: none;
    margin: 1px;
    font-size: 11px;
}

.black-button:hover {
    background-color: black;
}

.top-left {
    position: absolute;
    top: 10px;
    left: 10px;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}

#signOutBtn {
    align-self: flex-start; /* Aligns only the button to the start */
}

#userprofileBtn {
    align-self: flex-start; /* Aligns only the button to the start */
}

/* Style for the "Sign in with Facebook" button */
.facebook-button {
    color: #F2EFDD;
    border-radius: 30px;
    padding: 10px 15px;
    background: #910F3F;
    margin-top: 5px;
    margin-bottom: 5px;
    font-size: 16px;
    transition: all 0.3s linear;
}
.facebook-button:hover{
    transform: translateY(-2px);
}

.facebook-icon {
    width: 20px; /* Adjust the icon size as needed */
    height: 20px; /* Adjust the icon size as needed */
    margin-right: 10px;
}

.google-button {
    color: #F2EFDD;
    border-radius: 30px;
    padding: 10px 15px;
    background: #910F3F;
    margin-top: 5px;
    margin-bottom: 5px;
    font-size: 16px;
    transition: all 0.3s linear;
}
.google-button:hover{
    transform: translateY(-2px);
}

.google-icon {
    width: 20px; /* Adjust the icon size as needed */
    height: 20px; /* Adjust the icon size as needed */
    margin-right: 10px;
}

.progress-bar {
    width: 100%;
    /*background-color: #f3f3f3; */
    margin-bottom: 10px;
}
.progress {
    height: 30px;
    /*background-color: white;*/
    text-align: center;
    /*color: black; */
}

/* Styled switch */
.switch {
    position: absolute;
    top: 145px;
    display: inline-block;
    width: 60px;
    height: 34px;
}

.switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: grey;
    transition: .4s;
    border-radius: 34px;
}

.slider:before {
    position: absolute;
    content: "";
    height: 26px;
    width: 26px;
    left: 4px;
    bottom: 4px;
    background-color: black;
    transition: .4s;
    border-radius: 50%;
}

input:checked + .slider {
    background-color: lightgrey;
}

input:checked + .slider:before {
    transform: translateX(26px);
    background-color: grey;
}