* {
    margin: 0;
    padding: 0;
    font-family: "Poppins", sans-serif;
}

body {
    background-color: #bfbdbd;
    background-image: url("https://www.transparenttextures.com/patterns/asfalt-light.png");
    animation: backgroundMove 10s linear infinite;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

@keyframes backgroundMove {
    0% {
        background-position: 0 0;
    }
    100% {
        background-position: 0 100%;
    }
}

body.light-mode {
    background-color: #bfbdbd;
    color: black;
}

body.dark-mode {
    background-color: #000000;
    color: #ffffff;
}

.profile {
    position: absolute;
    top: -500px;
}

/*heh*/

main {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
    min-height: 80vh;
}

.profileSettings {
    background-color: rgba(110, 110, 110, 0.952);
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.425);
    width: 100%;
    max-width: 600px;
    transition: box-shadow 0.3s ease;
}

.profileSettings:hover {
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.356);
}

.profileSettings h2 {
    margin-bottom: 20px;
    text-align: center;
    font-size: 26px;
    border-bottom: 2px solid #f0f0f0;
    padding-bottom: 10px;
}

.infoProfile p {
    font-size: 16px;
    margin: 10px 0;
}

.editProfile {
    display: none;
}

.editProfile h2 {
    margin-bottom: 20px;
    text-align: center;
    font-size: 26px;
}

.editProfile label {
    display: block;
    margin-top: 12px;
    font-weight: bold;
    font-size: 14px;
}

.editProfile input {
    width: calc(100% - 22px);
    padding: 12px;
    margin-top: 6px;
    margin-bottom: 12px;
    border-radius: 8px;
    border: 1px solid #ddd;
    box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.1);
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.buttonGroup {
    display: flex;
    justify-content: space-between;
    gap: 10px;
}

#editButton {
    background-color: #007bff;
    padding: 12px 20px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-size: 16px;
    transition: background-color 0.3s ease, transform 0.2s ease, box-shadow 0.3s ease;
}

#editButton:hover {
    background-color: #0056b3;
    transform: scale(1.02);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
}

#saveButton {
    background-color: #28a745;
    padding: 12px 20px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    color: #ffffff;
    font-size: 16px;
    transition: background-color 0.3s ease, transform 0.2s ease, box-shadow 0.3s ease;
}

#saveButton:hover {
    background-color: #218838;
    transform: scale(1.02);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
}

#cancelButton {
    background-color: #dc3545;
    padding: 12px 20px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-size: 16px;
    transition: background-color 0.3s ease, transform 0.2s ease, box-shadow 0.3s ease;
}

#cancelButton:hover {
    background-color: #c82333;
    transform: scale(1.02);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
}
