html, body {
    margin: 0;
    padding: 0;
    height: 100%;
    overflow: auto;
    scroll-behavior: smooth;
}

body {
    font-family: 'Montserrat', sans-serif;
    color: #333;
    position: relative;
}

@keyframes fadeInOut {
    0% {
        opacity: 1;
        background-image: url('https://static.wixstatic.com/media/9ed677_7a5c20214bc14e6a874a39c652f81e82~mv2_d_1900_1363_s_2.jpg/v1/fill/w_1463,h_989,al_c,q_85,usm_0.66_1.00_0.01,enc_auto/9ed677_7a5c20214bc14e6a874a39c652f81e82~mv2_d_1900_1363_s_2.jpg');
    }
    20% {
        opacity: 1;
        background-image: url('https://static.wixstatic.com/media/9ed677_712a45b721f5435581d6276d5e351ded~mv2.jpg/v1/fill/w_1360,h_919,al_c,q_85,enc_auto/9ed677_712a45b721f5435581d6276d5e351ded~mv2.jpg');
    }
    40% {
        opacity: 1;
        background-image: url('https://static.wixstatic.com/media/9ed677_bb9fc1a94c9742089203eb16c33b1d90~mv2_d_1374_1900_s_2.jpg/v1/fill/w_1374,h_929,al_c,q_85,enc_auto/9ed677_bb9fc1a94c9742089203eb16c33b1d90~mv2_d_1374_1900_s_2.jpg');
    }
    60% {
        opacity: 1;
        background-image: url('https://static.wixstatic.com/media/9ed677_6d49d8c1be62433e996d6c523ff50fd6~mv2_d_1310_1900_s_2.jpg/v1/fill/w_1310,h_885,al_c,q_85,enc_auto/9ed677_6d49d8c1be62433e996d6c523ff50fd6~mv2_d_1310_1900_s_2.jpg');
    }
    80% {
        opacity: 0;
        background-image: url('https://static.wixstatic.com/media/9ed677_6d49d8c1be62433e996d6c523ff50fd6~mv2_d_1310_1900_s_2.jpg/v1/fill/w_1310,h_885,al_c,q_85,enc_auto/9ed677_6d49d8c1be62433e996d6c523ff50fd6~mv2_d_1310_1900_s_2.jpg');
    }
    100% {
        opacity: 1;
        background-image: url('https://static.wixstatic.com/media/9ed677_7a5c20214bc14e6a874a39c652f81e82~mv2_d_1900_1363_s_2.jpg/v1/fill/w_1463,h_989,al_c,q_85,usm_0.66_1.00_0.01,enc_auto/9ed677_7a5c20214bc14e6a874a39c652f81e82~mv2_d_1900_1363_s_2.jpg');
    }
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    z-index: -1;
    animation: fadeInOut 20s infinite;
}



.background-image {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    position: absolute;
}


h1 {
    font-family: 'Playfair Display', serif;
    font-size: 3em;
    color: #333;
    text-align: center;
    margin-bottom: 0.5em;
}

.sidebar {
    background-color: #1f1f1f;
    color: #f5f5f5;
    width: 250px;
    height: 100vh;
    position: fixed;
    top: 0;
    left: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-top: 20px;
    box-shadow: 4px 0 8px rgba(0, 0, 0, 0.5);
    font-family: 'Montserrat', sans-serif;
}

.sidebar h2 {
    color: #f5f5f5;
    margin-bottom: 20px;
}

.sidebar nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
    width: 100%;
}

.sidebar nav ul li {
    width: 100%;
    text-align: center;
    margin: 10px 0;
}

.sidebar nav ul li a {
    color: #f5f5f5;
    text-decoration: none;
    font-size: 18px;
    display: block;
    padding: 10px;
    transition: background-color 0.3s ease, color 0.3s ease;
    border-radius: 4px;
}

.sidebar nav ul li a:hover {
    background-color: #333;
    color: #e0e0e0;
}

#loginButton {
    background-color: #e91e63;
    color: #fff;
    border: none;
    padding: 12px 103px;
    cursor: pointer;
    font-size: 18px;
    margin-top: auto;
    margin-bottom: 20px;
    transition: background-color 0.3s ease, transform 0.3s ease;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
}

#loginButton:hover {
    background-color: #c2185b;
    transform: scale(1.05);
}

main {
    margin-left: 250px;
    padding: 20px;
}

.container {
    width: 80%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 60px 0;
    background-color: #fff;
    border-radius: 20px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

section {
    padding: 100px 0 60px;
}

.about-content {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-top: 20px;
}

#about img.profile-pic {
    width: 200px;
    border-radius: 50%;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    margin: 50px;
    width: 30%;
}

.gallery .painting {
    background-color: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    max-width: 300px;
    text-align: center;
    margin-bottom: 20px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.gallery .painting:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);
    cursor: pointer;
}

.gallery {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
}

.painting {
    background-color: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    max-width: 300px;
    text-align: center;
    margin-bottom: 20px;
}

.painting img {
    width: 100%;
    display: block;
}

.painting h3 {
    margin: 10px 0 5px;
    font-weight: 700;
    font-size: 1.2em;
    font-family: 'Playfair Display', serif;
}

.painting p {
    margin: 0 0 10px;
    font-size: 0.9em;
    color: #555;
}

form input, form textarea, form button {
    width: 100%;
    padding: 12px;
    margin: 10px 0;
    border-radius: 5px;
    border: 1px solid #ccc;
    box-sizing: border-box;
}

form button {
    background-color: #333;
    color: white;
    border: none;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

form button:hover {
    background-color: #007bff;
    transform: scale(1.05);
}

.modal {
    display: none;
    position: fixed;
    z-index: 1;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.4);
}

.modal-content {
    background-color: #fefefe;
    margin: 15% auto;
    padding: 20px;
    border: 1px solid #888;
    width: 80%;
    max-width: 400px;
    border-radius: 8px;
}

.close {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
}

.close:hover,
.close:focus {
    color: black;
    text-decoration: none;
    cursor: pointer;
}

@media (max-width: 768px) {
    .sidebar {
        width: 100%;
        height: auto;
        position: relative;
    }

    main {
        margin-left: 0;
    }

    .about-content {
        flex-direction: column;
        text-align: center;
    }
}


.edit1 {
    padding-bottom: 40px;
    font-family: 'Dancing Script', cursive;
    font-size:90px;
}

.edit12 {
    font-family: 'Dancing Script', cursive;
    font-size:90px;
}


.edit2 {
    font-size: 20px;
    margin-right:50px;
}

/* Basic form styling */


form input[type="text"],
form input[type="email"],
form textarea {
    box-sizing: border-box; /* Include padding and border in width calculation */

}

form {
    padding: 20px;
    margin: 0 auto;
    max-width: 90%; /* Ensure form doesn't exceed container width */
    align-items: center;
}

.edit3 {
    padding-left: 40px;;
}

.edit4 {
    text-align: center;
}

.edit5 {
    font-size: 50px;
}

.edit6 {
    text-align: center;
    color: greenyellow;
    font-size: 40px;
    font-family: Arial, Helvetica, sans-serif;
    opacity: 0;
}

.edit7 {
    background-color: #007bff;
}

#viewPaintingModal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    align-items: center;
    justify-content: center;
}

#viewPaintingModal img {
    max-width: 90%;
    max-height: 80%;
    border: 2px solid #fff;
}

#viewPaintingModal .close {
    position: absolute;
    top: 10px;
    right: 20px;
    color: #fff;
    font-size: 40px;
    cursor: pointer;
}


#editbackground {
    padding: 20px;
    background-color: #fff;
    border: 1px solid #ddd;
    border-radius: 8px;
    color:rgb(0, 0, 0);
}

.whitetxt {
    color:black;
}