@import url('https://fonts.googleapis.com/css2?family=Press+Start+2P&display=swap');

/* Import custom font */
@font-face {
    font-family: Arial;
    src: url('../../fonts/rainyhearts.eot');
    src: url('../../fonts/rainyhearts.eot?#iefix') format('embedded-opentype'),
         url('../../fonts/rainyhearts.woff2') format('woff2'),
         url('../../fonts/rainyhearts.woff') format('woff'),
         url('../../fonts/rainyhearts.ttf') format('truetype'),
         url('../../fonts/rainyhearts.svg#RainyHearts') format('svg');
    font-weight: normal;
    font-style: normal;
}
html{
    font-family: Arial, cursive; 
}
/* Global Styles */
/* Blurred background */
.blurred-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('../../images/background.png') repeat;
    background-attachment: fixed;
    filter: blur(10px); /* Adjust the blur level */
    z-index: -2; /* Push it behind other content */
}

.dark-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /*background: rgba(223, 159, 201, 0.2);*/
    
    background: rgba(0, 0, 0, 0.3);
    z-index: -1; /* Ensure it sits behind content */
    pointer-events: none; /* Allow interaction with content */
}

/* Base style for Windows 98 windows */
.window {
    position: relative;
    background-color: #ffffff; /* Window background */
    border: 2px solid #cccccc; /* Outer border */
    padding: 10px;
    box-shadow: inset -2px -2px #ffffff, inset 2px 2px #000000; /* Beveled 3D effect */
    width: 1000px;
}

/* Title bar */
.window .title-bar {
    background: linear-gradient(to bottom, #df9fc9, #e0b8d1); /* Blue gradient for title bar */
    color: white;
    font-weight: bold;
    padding: 5px;
    text-align: left;
    border-bottom: 2px solid #808080; /* Slight 3D effect */
    font-size: 14px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* Buttons in the title bar */
.window .title-bar .buttons {
    display: flex;
    gap: 4px;
}

.window .title-bar .button {
    width: 12px;
    height: 12px;
    background-color: #c0c0c0; /* Button gray */
    border: 1px solid #808080;
    box-shadow: inset -1px -1px #ffffff, inset 1px 1px #000000; /* 3D button effect */
    cursor: pointer;
}

.window .title-bar .button:hover {
    background-color: #a0a0a0; /* Darker on hover */
}

/* Content area */
.window .content {
    padding: 10px;
    border: 2px solid #cccccc;
    box-shadow: inset -1px -1px #ffffff, inset 1px 1px #000000; /* 3D inset */
    margin-top: 5px;
}
/* Content styles */
.content {
    position: relative;
    z-index: 1; /* Ensure content is above the background */
    padding: 20px;
    font-family: Arial, cursive;
    color: #333;
}

/* Top Section */
.top-section {

    background-size: cover;
    height: 250px;
    display: flex;
    align-items: center;
    justify-content: center;

    max-width: 900px; /* Limit the width */
    margin: 20px auto; /* Center the box horizontally with margin */
    padding: 20px; /* Add some padding */

}

.top-section .logo {
    text-align: center;
    color: white;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.logo img {
    max-height: 250px; /* Set a maximum height */
    width: auto; /* Maintain the aspect ratio based on the height */
    max-width: 90%; /* Prevent the logo from exceeding the width of the container */
    object-fit: contain; /* Ensure the image is scaled properly without distortion */

    filter: drop-shadow(0 0 30px rgba(230, 118, 151, 0.6)); /* Glowing pink effect */
}

/* Navigation Buttons */
.nav-buttons {
    display: flex;
    position: fixed; /* Stays fixed in the viewport */
    top: 20px; /* Position from the top */
    right: 20px; /* Position from the right */
    flex-direction: column;
    justify-content: center; /* Center buttons within the container */
    gap: 20px; /* Space between buttons */
    width: auto; /* Ensure the width fits the buttons */
}

.nav-buttons button {
    width: 200px; /* Set button width */
    background-color: #fce4ec;
    color: #6a1b9a;
    border: none;
    border-radius: 10px;
    padding: 15px;
    font-size: 1.5em;
    font-weight: bold;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease-in-out;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.nav-buttons button:hover {
    background-color: #f48fb1;
    color: white;
    transform: scale(1.1); /* Slight enlargement on hover */
}

/* Main Layout */
.outer-wrapper {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    margin: 20px auto; /* Center horizontally */
    width: 100%;
    gap: 20px;
}

.shifter {
    display: flex;
    padding-right: 200px;
    max-width: 3000px;
}

/* Floating Sidebars */
.floating-sidebar {
    width: 250px;
    background-color: #fce4ec;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    position: sticky; /* Sidebar stays in place when scrolling */
    top: 20px; /* Distance from the top of the viewport */
}

.left-sidebar {
    text-align: left;
}

.right-sidebar {
    text-align: left;
}

/* Sidebar Menu */
.floating-sidebar ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.floating-sidebar ul li a {
    text-decoration: none;
    color: #6a1b9a;
    display: block;
    padding: 5px 10px;
    border-radius: 5px;
    transition: all 0.3s ease;
    font-size: 0.9em;
}

.floating-sidebar ul li a:hover {
    background-color: #f48fb1;
    color: white;
}

/* Dropdown Submenu */
.submenu {
    display: none; /* Initially hidden */
    padding-left: 20px;
    margin-top: 5px;
}

.submenu li a {
    font-size: 0.85em;
    color: #666;
    padding: 5px;
    border-radius: 3px;
}

.submenu li a:hover {
    background-color: #f48fb1;
    color: white;
}

.dropdown-toggle.active + .submenu {
    display: block; /* Show submenu when active */
}

/* Main Content */
.main-content {
    flex-grow: 1;
    background-color: white;
    border-radius: 10px;
    padding: 20px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    text-align: center;
}

.art-gallery {
    display: grid;
    grid-template-columns: repeat(4, 1fr); /* Force 3 columns */
    gap: 16px; /* Add spacing between grid items */
    margin: 20px 0;
    width: 100%;
    max-width: 2000px;
}

.art-item {
    position: relative;
    width: 100%; /* Each item spans the full width of its grid cell */
    padding-top: 100%; /* Create a square container */
    overflow: hidden; /* Crop overflowing content */
    border-radius: 8px; /* Optional: Add rounded corners */
}

.art-item img {
    position: absolute; /* Image is positioned inside the square */
    top: 0;
    left: 0;
    width: 100%; /* Image fills the width of the square */
    height: 100%; /* Image fills the height of the square */
    object-fit: cover; /* Ensures the image fits and is cropped */
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.art-item img:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

/* Fullscreen image viewer */
.fullscreen-view {
    display: none; /* Hidden by default */
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    align-items: center;
    justify-content: center;
    z-index: 1000;
}

.fullscreen-view img {
    max-width: 75%;
    max-height: 75%;
    border-radius: 10px;
}

.fullscreen-view button {
    position: absolute;
    top: 20px;
    right: 20px;
    background: #fff;
    border: none;
    padding: 10px 15px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 16px;
}

.fullscreen-view button:hover {
    background: #ddd;
}

.decorspin {
    animation: spin 5s linear infinite;
}
@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}



/* Footer */
footer {
    margin-top: 20px;
    text-align: center;
    font-size: 0.8em;
    color: #666;
}

/* Responsive Design */
@media (max-width: 768px) {
    .outer-wrapper {
        flex-direction: column;
    }

    .floating-sidebar {
        width: 100%; /* Full width for smaller screens */
    }

    .main-content {
        width: 100%;
    }
}
