/* style.css */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: 'Comic Sans MS', cursive, sans-serif;
}

body {
    background: #87ceeb;
    /* Sky blue */
    overflow-x: hidden;
}


.hero {
    background: url('assets/sky-bg.jpg') no-repeat center center;
    background-size: cover;
    height: 100vh;
    padding: 100px 20px;
    text-align: center;
    position: relative;
}


.hero h1 {
    font-size: 2.5rem;
    color: #ff0000;
    animation: titleBounce 1s ease-out;
}

.hero p {
    font-size: 1.2rem;
    color: #fff;
    margin-top: 10px;
}

.mario {
    width: 150px;
    animation: jump 1.5s ease-in-out infinite alternate;
}

/* Animations */
@keyframes jump {
    0% {
        transform: translateY(0);
    }

    100% {
        transform: translateY(-30px);
    }
}

@keyframes titleBounce {
    0% {
        transform: scale(0);
        opacity: 0;
    }

    80% {
        transform: scale(1.1);
        opacity: 1;
    }

    100% {
        transform: scale(1);
    }
}

.features {
    background: #fff3cd;
    padding: 80px 20px;
    text-align: center;
}

.features h2 {
    font-size: 2rem;
    margin-bottom: 40px;
    color: #d35400;
}

.power-ups {
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
}

.power-up {
    background: #ffffff;
    border: 3px solid #f39c12;
    border-radius: 15px;
    padding: 20px;
    width: 200px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.power-up img {
    width: 80px;
    height: auto;
    margin-bottom: 15px;
    transition: transform 0.3s ease;
}

.power-up:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
}

.power-up:hover img {
    transform: rotate(10deg) scale(1.1);
}


.power-up.hidden {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.power-up.show {
    opacity: 1;
    transform: translateY(0);
}


.links {
    background: url('assets/mario-background.png') no-repeat center center fixed;
    background-size: cover;
    padding: 80px 20px;
    text-align: center;
    min-height: 500px;
    color: #000;
}






.links h2 {
    font-size: 2rem;
    margin-bottom: 40px;
    color: #2c3e50;
}

.link-buttons {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 20px;
}

.mario-btn {
    background: #2ecc71;
    color: white;
    text-decoration: none;
    padding: 15px 25px;
    font-size: 1rem;
    font-weight: bold;
    border-radius: 10px;
    border: 3px solid #27ae60;
    transition: background 0.3s, transform 0.3s;
}

.mario-btn:hover {
    background: #27ae60;
    transform: scale(1.1);
}

.mario-btn i {
    margin-right: 8px;
}

.hidden {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.show {
    opacity: 1;
    transform: translateY(0);
}