@keyframes gradientAnimation {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

body {
    margin: 0;
    max-width: 100%;
    overflow-x: hidden;
    font-family: "Dancing Script", cursive;
    background: linear-gradient(45deg, #cce7ff, #b3d1ff, #99bbff, #80a6ff, #6690ff, #4d7aff, #3364ff, #1a4eff);
    background-size: 300% 300%;
    animation: gradientAnimation 15s ease infinite;
}

.banner {
    width: 100vw;
    height: 100vh;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    padding: 20px;
    box-sizing: border-box;
}

.banner_content {
    display: flex;
    position: relative;
    z-index: 1;
    flex-direction: column;
    text-align: center;
    padding: 0 20px;
    box-sizing: border-box;
    flex: 1;
    justify-content: center;
}

span {
    font-size: 2.2rem;
    font-weight: bold;
    color: #fff;
    text-shadow: 0px 4px 12px #000000ba;
}

h1.greeting-text {
    margin: 0;
    font-size: 3.5rem;
    color: #fff;
    text-shadow: 0px 4px 12px #000000ba;
    padding: 0;
    box-sizing: border-box;
}

#canvas {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
}

img.previews-images {
    width: 100%;
    height: auto;
    max-height: 80vh; /* Use most of the screen for the image */
    object-fit: contain;
}

.fa-cloud-upload {
    font-size: 40px; /* Reduced to half of the original size */
    color: blue;
    margin-bottom: 10px;
}

.feed-nav-link {
    font-size: 30px; /* Increased to 150% of the current size */
    text-decoration: none;
    color: white;
    width: 100%;
    align-self: center;
    margin: 0; /* No space below the line */
}

input[type="text"],
input[type="email"],
input[type="password"] {
    width: 100%;
    padding: 10px;
    margin-bottom: 15px;
    border: 1px solid #ccc;
    border-radius: 3px;
    color: #000 !important;
}

.error {
    color: red;
}

#post-submit-btn {
    background-color: Green;
    color: white;
    align-self: center;
}

#post-submit-btn {
    padding: 10px;
}

button.close {
    float: right;
    width: 30px;
    color: red;
}

.text-center {
    text-align: center;
}

.scroll-images {
    width: 100%;
    overflow: hidden;
}

.images-container {
    width: 100%;
    height: auto;
    overflow: hidden;
}

@media (max-width: 767px) {
    .banner_content h1 {
        font-size: 1.5rem; /* Reduced size to fit in single row on mobile */
    }
    .banner_content span {
        font-size: 1.2rem;
    }
    .fa-cloud-upload {
        font-size: 30px; /* Reduced size for mobile */
    }
    .feed-nav-link {
        font-size: 24px; /* Increased to 150% for mobile */
    }
    img.previews-images {
        max-height: 70vh; /* Use most of the screen for the image */
    }
}
