/* General styles */
body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 10px; /* Add padding around the edges of the browser window */
    background: url('images/bgshoeanim.gif') repeat; /* Set the background image to repeat */
    background-attachment: fixed;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

header {
    background-color: white;
    padding: 30px; /* Add 30px padding on all sides */
    position: fixed; /* Fix the header at the top */
    top: 0;
    left: 0;
    right: 0;
    width: calc(100% - 20px); /* Adjust width to account for body padding */
    z-index: 1000;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    transition: top 0.3s ease; /* Add transition for sliding effect */
}

header.hidden {
    top: -100px; /* Move the header up when hidden */
}

header .logo a {
    font-size: 48px;
    font-weight: bold;
    color: black;
    text-decoration: none;
}

header nav {
    display: flex;
    align-items: center;
}

header nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    gap: 20px;
}

header nav ul.nav-links {
    margin-left: auto;
}

header nav ul li {
    margin-left: 20px;
}

header nav ul li a {
    color: black;
    text-decoration: none;
    font-size: 48px;
    padding: 5px 10px;
}

header nav ul li a:hover {
    color: #007bff;
}

main {
    padding-top: 120px; /* Add padding to ensure content starts below the header */
}

main.content-box {
    padding: 60px 15px 20px; /* Adjust padding to account for fixed header */
    background-color: white; /* White background for the content box */
    margin: 20px auto; /* Add margin to center the box */
    border: 5px solid fuchsia; /* Add a fuchsia border around the content box */
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1); /* Add a subtle shadow */
    max-width: 900px; /* Set a maximum width for the content box */
    border-radius: 0px; /* Optional: Add rounded corners */
    text-align: center; /* Center the content inside the content box */
}

.hero img {
    width: 100%;
    height: auto;
    display: block;
    margin-bottom: 20px;
}

.text-content {
    margin-bottom: 20px;
}

/* Textbox styles */
.textbox {
    width: 70%; /* Set the width of the textbox to 50% of the content box */
    height: 400px; /* Set a fixed height for the textbox */
    overflow-y: scroll; /* Add a vertical scrollbar */
    margin: 0 auto; /* Center the textbox horizontally */
    border: 5px solid #ff00c3; /* Optional: Add a border to the textbox */
    padding: 0px; /* Optional: Add padding inside the textbox */
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.1); /* Optional: Add an inset shadow */
    background-color: #e5baba; /* Optional: Set a background color for the textbox */
}

button {
    padding: 10px 20px;
    font-size: 16px;
    border: none;
    background-color: #ff00fb;
    color: white;
    cursor: pointer;
    margin-right: 10px;
}

button:hover {
    background-color: #5eff00;
}

input[type="file"] {
    display: block;
    margin-bottom: 20px;
}

#meme-canvas-container {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 20px;
    width: 100%;
    height: auto;
}

#meme-canvas, #overlay-canvas {
    position: absolute;
    top: 0;
    left: 0;
    margin: auto;
}

/* Ticker styles */
.ticker {
    width: 100vw; /* Ensure ticker spans the full viewport width */
    background-color: rgb(255, 255, 255);
    color: rgb(0, 0, 0); /* Set text color to black */
    overflow: hidden;
    white-space: nowrap;
    box-sizing: border-box;
    position: fixed;
    z-index: 1001;
    height: 90px; /* Increase height of the ticker */
    line-height: 90px; /* Center text vertically */
    font-size: 30px; /* Increase font size */
    left: 0;
    bottom: 0;
}

.ticker-content {
    display: inline-block;
    padding: 0 10px;
    animation: ticker-left 45s linear infinite; /* Slower animation speed */
}

.ticker-content img {
    vertical-align: middle;
    height: 60px; /* Increase gif height */
    margin: 0 10px;
}

@keyframes ticker-left {
    0% {
        transform: translateX(15%);
    }
    100% {
        transform: translateX(-100%);
    }
}

/* Gallery styles */
.gallery {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 20px;
}

.image-item {
    flex: 1 1 calc(33.333% - 10px);
    position: relative;
}

.image-item img, .image-item video {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

/* Styles for ask container */
.ask-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 20px;
}

#question-input {
    width: 50%; /* Increase the width of the input box */
    padding: 15px; /* Increase padding for a bigger input box */
    font-size: 20px; /* Increase font size */
    border: 4px solid #ff00d9; /* Add a border */
    border-radius: 5px; /* Add rounded corners */
    margin-bottom: 10px; /* Add some space below the input */
}

#submit-button {
    padding: 10px 20px; /* Increase padding for a bigger button */
    font-size: 18px; /* Increase font size */
    border: none;
    background-color: #26ff00;
    color: rgb(0, 0, 0);
    cursor: pointer;
    border-radius: 5px; /* Add rounded corners */
}

#submit-button:hover {
    background-color: #0056b3;
}

#answer-output {
    margin-top: 48px;
    font-size: 48px; /* Increase font size of the output text */
    color: #333; /* Set color for the output text */
}

/* Blinking effect */
.blinking {
    animation: blinkingText 1s infinite;
}

@keyframes blinkingText {
    0% { opacity: 1; }
    50% { opacity: 0; }
    100% { opacity: 1; }
}

/* Responsive Styles */
@media (max-width: 768px) {
    body {
        padding: 5px; /* Reduce padding around the edges */
    }

    header {
        padding: 20px; /* Reduce padding */
        width: calc(100% - 10px); /* Adjust width for body padding */
        font-size: 24px; /* Adjust font size */
    }

    header .logo a {
        font-size: 24px; /* Adjust font size */
    }

    header nav ul {
        flex-direction: column;
        gap: 10px; /* Reduce gap between items */
    }

    header nav ul li a {
        font-size: 24px; /* Adjust font size */
        padding: 5px; /* Adjust padding */
    }

    main.content-box {
        padding: 30px 10px; /* Adjust padding */
        margin: 10px auto; /* Adjust margin */
        max-width: 100%; /* Full width */
    }

    .hero img {
        width: 100%;
        height: auto;
    }

    .textbox {
        width: 90%; /* Adjust width */
        height: auto; /* Auto height */
        padding: 10px; /* Adjust padding */
    }

    button {
        width: 100%; /* Full width */
        margin-bottom: 10px; /* Space between buttons */
    }

    .ticker {
        font-size: 18px; /* Adjust font size */
        line-height: 40px; /* Adjust line height */
        height: 40px; /* Adjust height */
    }

    .ticker-content img {
        height: 30px; /* Adjust gif height */
        margin: 0 5px; /* Adjust margin */
    }

    /* Adjustments for ask container */
    .ask-container {
        width: 100%;
        padding: 10px;
    }

    #question-input {
        width: 90%; /* Adjust width */
        font-size: 16px; /* Adjust font size */
        padding: 10px; /* Adjust padding */
    }

    #submit-button {
        font-size: 16px; /* Adjust font size */
    }

    #answer-output {
        font-size: 24px; /* Adjust font size */
    }
}






