/* Reset some defaults */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
    background: #fff;
    color: #333;
}

.hero {
    position: relative;
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
}

#toadCanvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    z-index: -1;
}

.logo {
    position: absolute;
    top: 40%; /* Move it up slightly to give room for the text */
    left: 50%;
    transform: translate(-50%, -50%);
    width: 200px; /* Adjust size as needed */
    z-index: 2;
    animation: pulse 3s ease-in-out infinite;
}

/* Pulsating Animation */
@keyframes pulse {
    0%, 100% {
        transform: translate(-50%, -50%) scale(1);
    }
    50% {
        transform: translate(-50%, -50%) scale(1.1); /* Scale up slightly */
    }
}

/* Glitch Effect for TOADST Text */
h1 {
    font-size: 8rem;
    font-weight: bold;
    letter-spacing: -5px;
    color: #333;
    z-index: 1;
    margin-top: 30px; /* Space between logo and text */
    text-align: center;
    position: relative;
    top: 10%; /* Adjust to move it below the logo */
    animation: glitch 2s infinite;
}

/* Glitch Animation */
@keyframes glitch {
    0% {
        transform: translate(0);
        text-shadow: 1px 1px red, -1px -1px blue;
    }
    20% {
        transform: translate(-2px, 2px);
        text-shadow: 2px 2px red, -2px -2px blue;
    }
    40% {
        transform: translate(2px, -2px);
        text-shadow: -2px -2px red, 2px 2px blue;
    }
    60% {
        transform: translate(-1px, 1px);
        text-shadow: 1px -1px blue, -1px 1px red;
    }
    80% {
        transform: translate(1px, -1px);
        text-shadow: -1px 1px blue, 1px -1px red;
    }
    100% {
        transform: translate(0);
        text-shadow: 1px 1px red, -1px -1px blue;
    }
}

/* Floating Animation for Subtitle */
p {
    font-size: 1.5rem;
    margin-top: 1rem;
    z-index: 1;
    color: #666;
    position: relative;
    top: 15%; /* Adjust to move it slightly below the main title */
    animation: float 3s ease-in-out infinite;
}

/* Highlight Effect for Brutalist Style */
p.highlight {
    position: relative;
    font-size: 1.5rem;
    color: #333;
    z-index: 2;
    background: none;
    display: inline-block;
    padding: 5px;
}

p.highlight::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #ffde59; /* Bright yellow for a 'highlighted' look */
    z-index: -1;
    transform: scale(1.1) translateY(-50%);
    transform-origin: center;
    clip-path: polygon(
        0% 20%, 15% 10%, 30% 15%, 45% 0%, 60% 20%, 
        75% 10%, 90% 15%, 100% 0%, 85% 25%, 70% 30%, 
        55% 45%, 40% 35%, 25% 50%, 10% 40%
    );
    opacity: 0.8;
}

/* Floating Animation */
@keyframes float {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px); /* Slight floating effect */
    }
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    padding: 2rem;
}

.info-block {
    background: #ddd;
    padding: 3rem;
    font-size: 2rem;
    font-weight: bold;
    color: #333;
    text-align: center;
    border: 3px solid #333;
    transition: all 0.3s ease;
}

.info-block:hover {
    background: #333;
    color: #fff;
    cursor: pointer;
}

/* Footer Section Styling */
.footer {
    background-color: #333;
    color: #fff;
    padding: 50px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.footer-content {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin-bottom: 20px;
}

.footer-link {
    font-size: 2rem;
    font-weight: bold;
    text-transform: uppercase;
    color: #fff;
    position: relative;
    padding: 10px 20px;
    text-decoration: none;
    transition: transform 0.3s;
}

.footer-link:hover {
    transform: translateY(-5px);
    color: #DAA520; /* Toast-like gold color */
}

/* Monochrome Pattern (e.g., grid pattern) */
.footer::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: linear-gradient(45deg, #444 25%, transparent 25%), 
                      linear-gradient(-45deg, #444 25%, transparent 25%);
    background-size: 50px 50px;
    opacity: 0.1;
    z-index: 1;
}

/* Animated Text in Footer */
.footer-animated-text {
    font-size: 1.5rem;
    color: #DAA520;
    animation: bounce 1s infinite alternate ease-in-out;
    position: relative;
    z-index: 2;
}

/* Bounce Animation */
@keyframes bounce {
    0% {
        transform: translateY(0);
    }
    100% {
        transform: translateY(-10px);
    }
}

/* Hide Main Content */
.hidden {
    display: none !important;;
}

/* Collapsed Message Styling */
#collapsed-message {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100vh;
    background-color: #222;
    color: #ffde59;
    text-align: center;
    font-size: 2rem;
    padding: 20px;
    animation: collapse 0.5s ease-out;
}

#collapsed-message h1 {
    font-size: 4rem;
    margin-bottom: 20px;
}

#collapsed-message p {
    font-size: 1.5rem;
    color: #fff;
}

/* Crude Collapse Animation */
@keyframes collapse {
    0% {
        opacity: 0;
        transform: scale(1.1);
    }
    100% {
        opacity: 1;
        transform: scale(1);
    }
}