a {
    font-size: 30px;
    font-family: Arial, Helvetica, sans-serif;
    margin: 50px;
    color: black;
    text-decoration: none; /* Removes underline from links */
}
a:hover {
    color: red;
}

.outside-link {
    position: fixed;
    bottom: 20px;
    right: 50px;
    color: green;
    font-family: 'Courier New', Courier, monospace;
}

/* Style the vertical scrollbar on the right */
html::-webkit-scrollbar {
    width: 10px; /* Set the width for the vertical scrollbar */
}

/* Style the track of the scrollbar */
html::-webkit-scrollbar-track {
    background: white; /* Light grey track background */
}

/* Style the draggable thumb of the scrollbar */
html::-webkit-scrollbar-thumb {
    background: 10px solid black; /* Gradient for the scrollbar thumb */
}

/* Optional: Hover effect for the scrollbar thumb */
html::-webkit-scrollbar-thumb:hover {
    background: black/* Darker gradient when hovered */
}

/* Ensure no horizontal scrollbar styling is applied */
html::-webkit-scrollbar:horizontal {
    display: none; /* Hide or do not style horizontal scrollbar */
}


body {
    margin: 0;
    background-color: #FEFCDF;
    font-family: Arial, Helvetica, sans-serif;
    font-size: xx-large;
}
.scroll-container {
    width: 100%;
    overflow-x: scroll; /* Enable horizontal scrolling */
    white-space: nowrap; /* Prevent line breaks */
    scrollbar-width: 100%; /* Adjust scrollbar width (for modern browsers) */
}
.scroll-container::-webkit-scrollbar {
    height: 50px; /* Adjust scrollbar height for WebKit browsers */
}
.scroll-container::-webkit-scrollbar-thumb {
    background-color: red; /* Scrollbar thumb color */
}
.scroll-container::-webkit-scrollbar-thumb:hover {
    background-color: whitesmoke; /* Scrollbar thumb hover color */
}


.image {
    display: inline-block; /* Keep images inline */
    margin: 15px;
    
}

.image img {
    margin-top: 50px;
    width: 500px;
    height: 520px;
    object-fit: contain; /* Adjust image fit */
    border: 10px solid #0076cf; /* Default border */
    border-radius: 25px;
    transition: transform 0.3s ease, border-color 0.3s ease; /* Smooth transition */
}

/* Scale image on hover */
.image img:hover {
    transform: scale(1.05); /* Add hover effect */
}

/* Red border only when clicked */
.image img.clicked {
    border-color: red;
}

.image2 {
    display: inline-block; /* Keep images inline */
    margin: 15px;
    position: relative; /* Necessary for positioning the pseudo-element */
    overflow: hidden; /* Ensures the gradient stays inside the image */
}
.image2 img {
    width: 500px;
    height: 512px;
    object-fit: contain; 
    border: 10px solid #0076cf; 
    border-radius: 25px; 
    transition: transform 0.3s ease; 
    z-index: 1;
}

.image2:hover {
    /* background-color: #F1011F;  */
    border-radius: 25px;
    transform: scale(1.05); 
}
.image2:hover img {
    background-image: linear-gradient(180deg, red 70%, #0076cf);
}

.image2::after {
    /* content: ''; */
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 50%; /* Covers half of the image */
    background: linear-gradient(to bottom, rgba(255, 0, 0, 0) 0%, rgba(255, 0, 0, 1) 60%, rgba(0, 118, 207, 1) 100%); /* Smooth gradient from red to hot pink */
    opacity: 0; /* Initially hidden */
    border-radius: 25px; /* Optional: Add rounded corners */
    transition: opacity 0.3s ease; /* Smooth fade-in */
    z-index: 2; /* Places the gradient on top of the image */
    }

    .image2:hover::after {
        opacity: 1;
            }



div.page-content{
    width: 100%;
    height: calc(100vh - 47.5px);
    background-color: bisque;
    display: flex;
}

div.page-content > * {
    flex-basis: 50%;
    flex-grow: 0;
    flex-shrink: 0;
}

main{
    /* height: 100%; */
    /* width: 50%; */
    /* height: 200vh; */
    padding-top: 47.5px;
    background-color: #FEFCDF;
    overflow-y: auto;
}

main div{
position: relative;
/* float: left;
clear: right;
width: 90%;
height: 100px; */
padding-left: 20px;
}

footer{
    position: fixed;
    bottom:0;
    left: 0;
    padding-left: 15px;
    background-color: #0076cf;
    width: 100%;
    height: 50px;
    z-index: 999;   
}

aside{
    /* position: fixed; */
    /* top: 0;
    right:0;
    width: 50%;
    height: 100%; */
    background-color: #F1011F;
    
    overflow-y: clip;

    justify-content: center;
    align-items: center;
    display: flex;
}

aside img {
    width: 100%;
    height: 100%;
    object-fit: cover;

    
    pointer-events: none;
}

.image3 {
    display: inline; /* Keep images inline */
    margin: 0;
}
.image3 img {
    width: 100%;
    height: 100%;
    transition: transform 0.3s ease;
    transform: rotate(0);
    object-fit: fill; /* Adjust image fit */
}

aside:hover .image3 img {
/* .image3 img:hover { */
    transform: rotate(90deg);
}

 /* Button styling */
 #musicButton {
    position: fixed;
    bottom: 20px;
    right: 20px;
    padding: 15px;
    color: pink;
    border-radius: 50%;
    border: none;
    font-size: 50px;
    cursor: pointer;
    z-index: 1000;
}

/* The container that holds the iframe, initially hidden */
#videoContainer {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    z-index: 999;
    justify-content: center;
    align-items: center;
}

/* Iframe styling */
#videoContainer iframe {
    width: 70%;
    height: 70%;
    border: 15px solid red;
    border-radius: 25px;
}

/* Close button */
#closeButton {
    position: absolute;
    top: 20px;
    right: 20px;
    color: red;
    border: none;
    font-size: 20px;
    cursor: pointer;
    z-index: 1001;
}

/* Basic styling for the particle effect */
body {
    margin: 0;
    padding: 0;
    overflow: hidden; /* Prevents scrolling from affecting particle positioning */
    cursor: none; /* Hides the default cursor */
}

/* Particle styling */
.particle {
    position: absolute;
    width: 10px;
    height: 10px;
    background: radial-gradient(circle, rgba(255, 0, 0, 1), rgba(255, 0, 0, 0)); /* Red particle effect */
    border-radius: 50%;
    pointer-events: none; /* Allow interaction through the particles */
    animation: fade-out 1s ease-out forwards; /* Smooth fade and shrink */
}

/* Fade-out animation for particles */
@keyframes fade-out {
    0% {
        opacity: 1;
        transform: scale(1);
    }
    100% {
        opacity: 0;
        transform: scale(0.5);
    }
}


/* Find Recipe Button in Top-Right Corner */
  
  .find-recipe-button {
    position: absolute; /* Position relative to the closest positioned ancestor (usually body) */
    font-size: 30px;
    font-family: Arial, Helvetica, sans-serif;
    top: 5px; /* Distance from the top of the viewport */
    right: 20px; /* Distance from the right of the viewport */
    background-color: transparent; /* Adds visual appeal */
    border: 5px solid #0076cf; /* Removes the button border */
    padding: 3px 3px; /* Adds padding for better appearance */
    padding-left: 10px;
    padding-right: 10px;
    border-radius: 25px;
    cursor: pointer; /* Changes cursor to pointer on hover */
    z-index: 1000; /* Ensures the button stays on top of other content */
  }

  .find-recipe-button:hover {
    position: absolute; /* Position relative to the closest positioned ancestor (usually body) */
    font-size: 30px;
    font-family: Arial, Helvetica, sans-serif;
    top: 5px; /* Distance from the top of the viewport */
    right: 20px; /* Distance from the right of the viewport */
    background-color: transparent; /* Adds visual appeal */
    border: 5px solid red; /* Removes the button border */
    border-radius: 25px;
    padding: 3px 3px; /* Adds padding for better appearance */
    padding-left: 10px;
    padding-right: 10px;
    cursor: pointer; /* Changes cursor to pointer on hover */
    z-index: 1000; /* Ensures the button stays on top of other content */
  }
  

  .back-link {
    position: fixed;
    top: 0; left: 0;

    width: 15%;
    padding-left: 35px;
    margin: 1rem;
    color: black;
    border: 5px solid #0076cf;
    border-radius: 40px;
    box-sizing: border-box;
    display: inline-block;
    z-index: +1;
  }

  
  