/* General Reset */

@media (max-width: 768px) {
    body {
        background-size: cover;
        /* Fill the viewport on smaller screens */
    }
}



body {
    margin: 0;
    padding: 0;
    font-family: Arial, sans-serif;
    background-color: #121212; /* Very dark grey */
    color: #ffffff; /* Light text for contrast */
}


.notifications-page {
    background-color: #707070; /* Set the background color for the notifications page */
}

.unread-notifications {
    background-color: red !important;
    color: white;
    font-weight: bold;
}




/* Specific background for mantoys.php */

body.mantoys-page {
    margin: 0;
    padding: 0;
    font-family: Arial, sans-serif;
    background-image: url('images/logo2.jpg');
    /* Replace with your image path */
    background-size: 100%;
    /* Scale the image to fit entirely within the viewport */
    background-repeat: repeat;
    /* Prevent tiling */
    background-position: top center;
    /* Align the image at the top center */
    background-attachment: fixed;
    /* Make the background stay fixed during scrolling */
    color: #000000;
}


/* Header */
/* Header */
header {
    background-color: #282c34;
    color: white;
    padding: 20px;
    text-align: center;
    width: 95%; /* Set header width to 90% */
    margin-left: auto; /* Center horizontally */
    margin-right: auto; /* Center horizontally */
}


header .back-to-home {
    display: block;
    margin-top: 10px;
    color: #61dafb;
    text-decoration: none;
}

header .back-to-home:hover {
    text-decoration: underline;
}


/* Main Content */
main {
    padding: 20px;
}

/* Meme Upload Form */
.upload-section {
    width: 40em;
    /* Increase this value to make the section wider */
    max-width: 450px;
    margin: 20px auto;
    /* Center the form on the page */
    padding: 10px;
    background-color: #707070;
    border: 1px solid #ddd;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    text-align: center;
}

@media (max-width: 720px) {

    /* For screens smaller than 768px */
    .upload-section {
        width: 98%;
        /* Adjust width to 95% for smaller screens */
        max-width: none;
        /* Allow width to grow dynamically */
    }
}

.meme-form label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
}

.meme-form input[type="text"],
.meme-form input[type="file"] {
    width: 100%;
    padding: 5px;
    margin-bottom: 15px;
    border: 1px solid #ccc;
    border-radius: 4px;
}

.meme-form button {
    width: 100%;
    padding: 10px;
    background-color: #000000;
    color: white;
    font-size: 1.2em;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.meme-form button:hover {
    background-color: #45a049;
}

/* Meme Gallery */
.meme-gallery {
    display: flex;
    flex-direction: column;
    gap: 20px;

}



.meme {
    width: 45%;
    /* Adjust container width for responsiveness */
    max-width: 400px;
    /* Limit maximum width */
    margin: 10px auto;
    /* Center the container */
    padding: 5px;
    background-color: #707070;
    border: 1px solid #ddd;
    border-radius: 4px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    text-align: center;
    overflow: hidden;
    /* Prevent content from spilling out */
}


@media (max-width: 720px) {

    /* For screens smaller than 768px */
    .meme {
        width: 100%;
        /* Adjust width to 100% for smaller screens */
        max-width: none;
        /* Allow width to grow dynamically */
    }
}

/* Add styles for images and videos inside the .meme container */
.meme img,
.meme video {
    width: 100%;
    /* Ensure content fits the container's width */
    aspect-ratio: 1 / 1;
    /* Set a square aspect ratio */
    object-fit: contain;
    /* The image keeps its aspect ratio, but is resized to fit within the given dimension */
    border-radius: 5px;
    /* Match the container's rounded corners */
}


.comments-list {
    list-style-type: none;
    /* Removes bullet points */
    padding: 0;
    /* Removes default padding */
    margin: 0;
    /* Removes default margin */
}

.comments-list li {
    margin-bottom: 10px;
    /* Adds spacing between comments */
}




.vote-comments {
    display: flex;
    /* Align items inline */
    gap: 10px;
    /* Add spacing between items */
    align-items: center;
    /* Vertically align items */
    justify-content: center;
    /* Center the items horizontally */
    margin: 10px 0;
    /* Optional: Add some spacing above and below */
}


.vote-buttons {
    display: flex;
    /* Ensure vote buttons stay inline */
    gap: 5px;
    /* Add spacing between vote buttons */
}

.vote-button {
    border: none;
    background-color: transparent;
    cursor: pointer;
    font-color: black;
    font-size: 1em;
}

.vote-buttons button:hover {
    transform: scale(1.2);
}

/* Footer bar styles */
.footer-bar {
    position: sticky;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: #333;
    /* Dark background color */
    text-align: center;
    padding: 2px 0;
    /* Reduce vertical padding for a sleeker look */
    z-index: 1000;
    /* Ensure it's above other content */
    box-shadow: 0 -1px 3px rgba(0, 0, 0, 0.2);
    /* Subtle shadow */
}

/* Footer link styles */
.footer-bar a {
    display: inline-block;
    /* Makes them button-like */
    margin: 3px;
    /* Slightly smaller spacing between links */
    padding: 6px 10px;
    /* Reduce padding for slimmer links */
    background-color: black;
    /* Button background color */
    color: white;
    /* Button text color */
    border: none;
    /* Removes any default link borders */
    border-radius: 4px;
    /* Slightly smaller rounded corners */
    text-decoration: none;
    /* Removes underline */
    font-size: 0.7em;
    /* Slightly smaller font size */
    font-weight: bold;
    /* Bold text */
    cursor: pointer;
    /* Pointer cursor on hover */
}

/* Footer link hover effect */
.footer-bar a:hover {
    background-color: #45a049;
    /* Optional hover background color */
    color: black;
    /* Optional hover text color */
}

/* Media query for mobile phones */
@media only screen and (max-width: 480px) {
    .footer-bar a {
        font-size: 1em;
        /* Adjust font size for smaller screens */
        padding: 8px 12px;
        /* Slightly larger padding for touch-friendliness */
    }
}



.site-header {
    text-align: center;
    background-color: rgba(0, 0, 0, 0.7);
    /* Change to any color you prefer */
    color: white;
    padding: 20px 10px;
    /* Adds spacing inside the header */
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
    /* Optional shadow for better appearance */
}

.site-header h1 {
    margin: 0;
    font-size: 2.5em;
}

.site-header p {
    margin: 10px 0 0;
    font-size: 1.2em;
}

/* Pagination Container */
.pagination {
    text-align: center;
    margin: 20px 0;
}

/* Pagination Links */
.pagination a {
    display: inline-block;
    padding: 8px 16px;
    margin: 0 5px;
    text-decoration: none;
    color: #007BFF;
    background-color: #f4f4f4;
    border: 1px solid #ddd;
    border-radius: 5px;
    transition: background-color 0.3s, color 0.3s;
}

/* Hover Effect for Links */
.pagination a:hover {
    background-color: #007BFF;
    color: #fff;
}

/* Active Page Link */
.pagination a.active {
    background-color: #007BFF;
    color: #fff;
    font-weight: bold;
    border-color: #007BFF;
}

.header-container {
    display: flex;
    width: 40em;
    /* Set a specific width */
    max-width: 80%;
    /* Ensure it doesn't overflow on smaller screens */
    align-items: center;
    /* Align items vertically */
    justify-content: space-between;
    /* Space out the link and the heading */
    padding: 10px 20px;
    /* Add padding for spacing */
    background-color: #282c34;
    /* Optional background color */
    margin: 0 auto;
    /* Center the container horizontally */
}

@media (max-width: 480px) {
    .header-container {
        flex-direction: column;
        /* Stack items vertically on very small screens */
        text-align: center;
        /* Center the text */
    }
}


.header-container a {
    color: #61dafb;
    /* Match your link color */
    text-decoration: none;
    font-size: 1.2em;
}

.header-container h2 {
    color: white;
    /* White text for the heading */
    margin: 0;
    /* Remove default margin */
    font-size: 1.5em;
    /* Adjust font size as needed */
}

.share-container {
    position: relative;
    display: inline-block;
    margin-top: 10px;
}

.share-icon {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background-color: black;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 16px;
    position: absolute;
    bottom: 10px;
    left: 100px;
    /* Adjust this value to position the button to the right of the comments */
    z-index: 10;
}

.share-buttons {
    display: none;
    position: absolute;
    bottom: 50px;
    left: 100px;
    /* Match the right value of the .share-icon */
    background-color: white;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    border-radius: 8px;
    overflow: hidden;
    z-index: 20;
}

.share-buttons button {
    display: block;
    padding: 10px;
    border: none;
    background-color: white;
    cursor: pointer;
    text-align: left;
    font-size: 14px;
    color: #333;
    transition: background-color 0.3s;
}

.share-buttons button:hover {
    background-color: #f1f1f1;
}

.tags {
    margin-top: 10px;
    font-size: 0.9em;
    color: #666;
}

.tags strong {
    color: #333;
}

.tag {
    display: inline-block;
    background-color: black;
    /* Slightly lighter than #707070 */
    color: white;
    /* White text for contrast */
    padding: 5px 10px;
    /* Adjust padding as needed */
    margin: 3px;
    /* Spacing between tags */
    border-radius: 12px;
    /* Rounded corners */
    font-size: 0.9em;
    /* Adjust size if necessary */
    text-align: center;
    /* Center the text */
}

/* Header bar styles */
.header-bar {
    position: sticky;
    top: 0;
    right: 0;
    width: 96%;
    background-color: #333;
    /* Dark background color */
    padding: 2px 10px;
    /* Reduce vertical padding and add right padding */
    z-index: 1000;
    /* Ensure it's above other content */
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
    /* Subtle shadow */
    display: flex;
    /* Use flexbox for alignment */
    justify-content: flex-end;
    /* Align items to the right */
    align-items: center;
    /* Center items vertically */
}

/* Header button styles */
.header-bar button {
    margin-left: 10px;
    /* Space between buttons */
    padding: 10px 15px;
    background-color: black;
    color: white;
    border: none;
    border-radius: 5px;
    font-size: 0.8em;
    font-weight: bold;
    cursor: pointer;
}

/* Button hover effect */
.header-bar button:hover {
    background-color: #45a049;
    /* Optional hover background color */
    color: black;
    /* Optional hover text color */
}

/* Media query for mobile phones */
@media only screen and (max-width: 480px) {
    .header-bar button {
        font-size: 1em;
        /* Adjust font size for smaller screens */
        padding: 8px 12px;
        /* Slightly larger padding for touch-friendliness */
    }
}

.main-title {
    font-size: 32px;
    font-weight: bold;
    text-align: center;
    margin-bottom: 15px;
    color: #ffffff; /* Or any color you prefer */
}

.logo-container {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 20px 0; /* Optional spacing */
}

@keyframes skibidiPulse {
    0% { transform: scale(1) rotate(0deg); }
    25% { transform: scale(1.05) rotate(-1deg); }
    50% { transform: scale(1) rotate(0deg); }
    75% { transform: scale(1.05) rotate(1deg); }
    100% { transform: scale(1) rotate(0deg); }
}

.logo {
    height: 100px;
    width: auto;
    animation: skibidiPulse 2.5s infinite ease-in-out;
    transition: transform 0.3s ease;
}

.logo-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 10px;
    gap: 10px;
}

.beer-donation a {
    font-size: 28px;
    text-decoration: none;
    transition: transform 0.2s ease;
    cursor: pointer;
}

.beer-donation a:hover {
    transform: scale(1.3);
}


.logo-bar {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    position: relative;
}

.beer-tip {
    font-size: 24px;
    cursor: pointer;
    position: relative;
}

.beer-message {
    display: none;
    position: absolute;
    top: -30px;
    left: 50%;
    transform: translateX(-50%);
    background-color: #f0f0f0; /* Matches header */
    color: black; /* Text is black */
    padding: 6px 12px;
    border-radius: 8px;
    font-size: 14px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.2);
    white-space: nowrap;
    z-index: 10;
}

