/* styles.css */
body {
    font-family: 'Montserrat', sans-serif;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    color: #333;
    overflow-x: hidden;
}

header {
    background-color: #4CAF50;
    padding: 1em 2em;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: white;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}

nav ul {
    list-style-type: none;
    display: flex;
    gap: 1.5em;
}

nav ul li a {
    color: white;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

nav ul li a:hover {
    color: #ff6347;
}

.hero {
    background-color: #f5f5f5;
    padding: 7em 2em;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.animated-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: -1;
}

.circle {
    width: 200px;
    height: 200px;
    background-color: rgba(76, 175, 80, 0.3);
    position: absolute;
    border-radius: 50%;
    animation: move 20s infinite ease-in-out;
}

.circle:nth-child(1) {
    top: 10%;
    left: 15%;
}

.circle:nth-child(2) {
    top: 50%;
    left: 70%;
    width: 300px;
    height: 300px;
    background-color: rgba(255, 99, 71, 0.3);
}

.circle:nth-child(3) {
    top: 70%;
    left: 25%;
    width: 150px;
    height: 150px;
    background-color: rgba(33, 150, 243, 0.3);
}

@keyframes move {
    0%, 100% {
        transform: translateY(0) rotate(0deg);
    }
    50% {
        transform: translateY(-50px) rotate(45deg);
    }
}

.hero h1 {
    font-size: 3em;
    margin-bottom: 0.5em;
    color: #333;
    animation: fadeInUp 2s ease;
}

.hero p {
    font-size: 1.25em;
    margin-bottom: 1.5em;
    color: #555;
    animation: fadeInUp 2.5s ease;
}

.cta-button {
    background-color: #ff6347;
    color: white;
    padding: 0.75em 1.5em;
    text-decoration: none;
    border-radius: 5px;
    font-weight: 600;
    animation: fadeInUp 3s ease;
    display: inline-block;
}

.about, .tutorials, .subscribe {
    padding: 5em 2em;
    text-align: center;
}

.about h2, .tutorials h2, .subscribe h2 {
    font-size: 2.5em;
    margin-bottom: 1em;
    color: #4CAF50;
}

.tutorial-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2em;
    margin-top: 2em;
}

.tutorial {
    background-color: #f5f5f5;
    padding: 2em;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.tutorial:hover {
    transform: translateY(-10px);
}

.subscribe-button {
    background-color: #4CAF50;
    color: white;
    padding: 0.75em 1.5em;
    text-decoration: none;
    border-radius: 5px;
    font-weight: 600;
    display: inline-block;
    margin-top: 1em;
}

footer {
    background-color: #333;
    padding: 1em 2em;
    text-align: center;
    color: white;
    margin-top: 2em;
}

@keyframes fadeInUp {
    0% {
        opacity: 0;
        transform: translateY(50px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 768px) {
    .tutorial-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 2em;
    }

    .hero p {
        font-size: 1em;
    }
}
