/* General Styles */
body, html {
    margin: 0;
    padding: 0;
    height: 100%;
    font-family: 'Arial', sans-serif;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #fff9f0;
    overflow: visible;
}

/* Splash Screen */
.splash {
    text-align: left;
    opacity: 1;
    transition: opacity 1.5s ease-in-out;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #fff9f0;
}

.splash .content {
    padding: 20px;
    max-width: 600px;
    text-align: left;
}

.splash .content p {
    margin: 10px 0;
    line-height: 1.5;
    font-size: 1.2rem;
    color: #333;
}

.splash .content strong {
    font-weight: bold;
}

.splash .content em {
    font-style: italic;

}

.redish em {color: #ff877d; }

/* Easel Container */
.easel {
    text-align: center;
    opacity: 0;
    transition: opacity 1.5s ease-in-out;
    max-width: 900px; /* Adjusted for a wider layout */
    width: 90%; /* Allows it to scale with the viewport */
    margin: 0 auto; /* Center the container */
    position: relative;
}

/* Logo */
.logo {
    width: 100%; /* Ensure it scales with the easel container */
    max-width: 350px; /* Set a reasonable maximum size */
    height: auto;
    margin-bottom: 10px;
}

/* Email Input Container */
.input-container {
    position: relative;
    margin-bottom: 10px;
}

input[type="email"] {
    background-color: #f4f4f4;
    width: 100%;
    border: none;
    border-bottom: 4px solid #333;
    font-size: 1.2rem;
    padding: 10px 0;
    text-align: left;
    outline: none;
}

input[type="text"] {
    background-color: #f4f4f4;
    width: 100%;
    border: none;
    border-bottom: 4px solid #333;
    font-size: 1.2rem;
    padding: 10px 0;
    text-align: left;
    outline: none;
}

input[type="email"]::placeholder {
    color: black;
}





.footer {
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    width: 100%;
    font-size: 0.9rem;
    color: #666;
    opacity: 0;
    transition: opacity 1.5s ease-in-out;
}


/* Login Instructions */
.login-instructions{
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 50px;
    min-height: 50px;
    clear:both;
}

.login-instructions span {
    font-size: 1.2rem;
    color: #333;
    flex-grow: 1; /* Allows the text to grow within the container */
    text-align: center; /* Center the text */
    min-width: 250px; /* Set a minimum width to accommodate longer text */
}

.uhoh {
    font-size: 1.2rem;
    display: none;
}

.icon {
    max-width: 10%; /* Make icons relative to the easel container */
    height: auto;
    cursor: grab;
    position: relative;
    touch-action: none;
}

.icon:active {cursor: grabbing;}

.icon.food {z-index: 2;}
.icon.animal {z-index: 1;}


.login-instructions span {
    font-size: 1.2rem;
    color: #333;
}

/* Signup Button */
.signup-btn {
    background-color: #00676f;
    color: #fff;
    border: none;
    padding: 17px 30px;
    border-radius: 20px;
    font-size: 1.2rem;
    width: 80%; /* Make the button responsive to the container width */
    max-width: 250px; /* Set a max-width for larger screens */
    margin: 0 auto; /* Center the button */
    cursor: pointer;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.signup-btn:hover {
    background-color: #036c74a2;
    transform: scale(1.05);
}

/* Sign-up Image */
.signup-img {
    position: absolute;
    top: 8.5%; /* Adjust based on your preference */
    left: -100%; /* Start from outside the screen */
    width: 20%; /* Adjust based on your preference */
    max-width: 140px; /* Adjust the size */
    height: auto;
    opacity: 0;
    transform: rotateY(90deg);
    transition: opacity 0.5s ease, transform 0.5s ease, left 0.5s ease;
}

.signup-img.animate {
    left: 95%;
    transform: translate(-50%, -50%) rotateY(0deg);
    opacity: 1;
}

.cf-turnstile {
    transition: opacity 0.6s ease;
    position: absolute; left: 50%; bottom: -100px; transform: translateX(-50%);
    width: 100%;
}



/* Fade-Out Effect */
.fade-out {
    opacity: 0 !important;
    transition: opacity 0.5s ease;
    pointer-events: none;
}

.fade-in {
    opacity: 1;
    transition: opacity 0.3s ease;
}

.signin-btn {
    display: none; /* Hidden initially */
    background-color: #00676f;
    color: #fff;
    border: none;
    padding: 17px 30px;
    border-radius: 20px;
    font-size: 1.2rem;
    width: 80%; /* Make the button responsive to the container width */
    max-width: 250px; /* Set a max-width for larger screens */
    margin: 0 auto; /* Center the button */
    cursor: pointer;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.signin-btn:hover {
    background-color: #036c74a2;
    transform: scale(1.05);
}

.yellow {color: yellow;}

.usernamefield {
    position: absolute; left: 190%; top: 200%;
}

.uhoh {
    position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
}

.toplogo {
width: 150px; position: absolute; left: 50%; top: 5px; transform: translate(-50%);
display: none;
}
