/* General Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Background Styling */
html {
   
    background-image: url('https://ellegillette.neocities.org/images/Screen%20Shot%202022-03-09%20at%2010.48.47%20PM.png');
    background-repeat: no-repeat;
    background-position: bottom right; /* Position image at the bottom-right corner */
    background-size: 20%; /* Resize the image to 75% of its original size */
    background-blend-mode: multiply; /* Apply the multiply blend mode */
}

title {
  font-family: "Urbanist";
}

.styled-paragraph {
  line-height: 1.6;
  margin-bottom: 16px;
  text-align: justify;
}

/* Body Styling */
body {
    font-family: "Urbanist", sans-serif;
    display: flex;
    flex-direction: column;
    height: 100vh;
}

h1 {
    font-size: 80px;
    padding: 25px;
}

h3 {
  text-align: center;
}

/* Header Styling */
header {
    position: fixed;
    top: -100px;
    left: -35px;
    width: 100%;
    background-color: transparent;
    padding: 50px 40px;
    z-index: 1000;
    font-family: "Urbanist", sans-serif;
    font-size: 50px;
    mix-blend-mode: multiply;
}

/* Main Container with Flex Layout */
.container {
    display: flex;
    flex-grow: 1;
    flex-wrap: wrap;
}

/* Sidebar (20%) */
.sidebar {
    width: 20%;
    background-color: none;
    padding: 1rem;
}

/* Main Content (40%) */
.main-content {
    width: 40%;
    padding: 20px;
    background-color: rgba(255, 255, 255, 0.6);
    border-radius: 15px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(10px);
    position: relative;
    margin: 20px;
    font-size: 14px;
    font-family: 'Ubutu', sans-serif;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    display: flex;
    flex-direction: column-reverse;
    align-items: center;
    justify-content: center;
  
}


      /* Style for centering and resizing the image */
   .centered-image {
    max-width: 90%;
    height: auto;
    object-fit: contain;
    margin-top: 20px;
    margin-bottom: 5px;
    border: white;
    border-radius: inherit;
}

/* Navbar Styling */
nav {
    padding: 20px;
    background-color: rgba(255, 255, 255, 0.6);
    border-radius: 15px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); 
    backdrop-filter: blur(10px);
    position: relative;
    margin: 20px; 
    font-family: 'Urbanist', sans-serif;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

/* Navbar Button Styling */
.navbutton {
    background-color: rgba(255, 255, 255, 0.5); 
    color: #333; 
    padding: 5px 10px;
    text-decoration: none;
    border: none; 
    border-radius: 5px;
    font-family: 'Ubutu', sans-serif;
    font-size: 1.5em;
    transition: all 0.3s ease;
}

.navbutton:hover {
    background-color: lightgrey;
    transform: scale3d(1.25, 1.25, 1.25);
    font-size: 1.5em; 
}

a.navbutton:hover {
    transform: scale3d(1.5, 1.5, 1.5);
    color: blue;
    font-size: 1.5em; 
}

 .image-grid {
        display: grid;
        grid-template-columns: repeat(3, 1fr); /* 3 equal-width columns */
        gap: 10px; /* Space between grid items */
        width: 100%; 
        margin: 20px auto; /* Center the grid */
    }

    .image-grid a {
        display: block; /* Ensures consistent sizing for links */
        overflow: hidden; /* Prevents image overflow */
    }

    .image-grid img {
        width: 100%; /* Ensures images fill the grid cell */
        height: auto; /* Maintains aspect ratio */
        border-radius: 10px; /* Optional: Rounded corners */
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* Subtle shadow for depth */
        object-fit: cover; /* Ensures images look good within the cell */
    }


.background-button-container {
    margin-bottom: 10px; /* Adds spacing between the buttons */
}

.background-button-container a {
    display: block; /* Ensures the button occupies a full row */
    text-align: center; /* Centers the text within the button */
    padding: 10px;
    background-color: none; /* Light background for visibility */
    text-decoration: none; /* Removes underline */
    color: #333; /* Text color */
}

.background-button-container a:hover {
    background-color: #ddd; /* Button hover effect */
}

.ceramics-button {
    font-family: 'Ubutu', sans-serif;
    font-size: 2rem;
    font-weight: bold;
    color: #333333;
    text-decoration: none;
    padding: 10px 20px;
    border: 2px dashed black;
    border-radius: 5px;
    background-color: rgba(255, 255, 255, 0.8);
    transition: all 0.3s ease;
}

.ceramics-button:hover {
    transform: scale(1.3);
    background-color: rgba(255, 255, 255, 1);
    color: #000;
}


.drawings-button {
    font-family: 'Ubutu', sans-serif;
    font-size: 2rem;
    font-weight: bold;
    color: #333333;
    text-decoration: none;
    padding: 10px 20px;
    border: 2px dashed black;
    border-radius: 5px;
    background-color: rgba(255, 255, 255, 0.8);
    transition: all 0.3s ease;
}


.drawings-button:hover {
    transform: scale(1.3);
    background-color: rgba(255, 255, 255, 1);
    color: #000;
}

.prints-button {
    font-family: 'Ubutu', sans-serif;
    font-size: 2rem;
    font-weight: bold;
    color: #333333;
    text-decoration: none;
    padding: 10px 20px;
    border: 2px dashed black;
    border-radius: 5px;
    background-color: rgba(255, 255, 255, 0.8);
    transition: all 0.3s ease;
}


.prints-button:hover {
    transform: scale(1.3);
    background-color: rgba(255, 255, 255, 1);
    color: #000;
}

.marquee {
    overflow: hidden; /* Hides overflow text */
    white-space: nowrap; /* Prevents text wrapping */
    box-sizing: border-box;
    width: 100%; /* Adjust to fit your sidebar width */
    background: transparent; /* Optional: Add a background color if needed */
    padding: 10px 0; /* Space inside the marquee */
}

.marquee span {
    display: inline-block;
    animation: marquee-scroll 8s linear infinite;
    font-family: 'Arial', sans-serif; /* Set your desired font */
    font-size: 14px; /* Adjust font size */
    color: #333; /* Text color */
}

/* Keyframes for marquee scrolling */
@keyframes marquee-scroll {
    from {
        transform: translateX(100%); /* Start off the screen on the right */
    }
    to {
        transform: translateX(-100%); /* Move off the screen to the left */
    }
}




/* Responsive Adjustments */
@media (max-width: 768px) {
    .sidebar,
    .main-content {
        width: 100%; 
    }

    .image-grid {
        grid-template-columns: repeat(2, 1fr); /* 2 columns on smaller screens */
    }
}

@media (max-width: 480px) {
    .image-grid {
        grid-template-columns: 1fr; /* 1 column on very small screens */
    }
}