* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Comic Sans MS', sans-serif;
    ;
    scroll-behavior: smooth;


}


.tree {
    display: flex;
    justify-content: space-evenly;
    gap: 750px;
    animation: fadeIn 1.5s ease-in-out;
}

.marg {
    height: 20vh;
}

.tree img {
    height: 300px !important;
    width: 300px !important;
    margin-top: -300px;
    object-fit: cover;
    transition: transform 0.4s ease-in-out;
}

.tree img:hover {
    transform: scale(1.1) rotate(10deg);
}

.Home-img-section {
    height: auto;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 10px;
    animation: popIn 1.2s ease-in-out;
}

.img-text h1 {
    color: var(--hedColor);
    font-weight: 700;
    font-size: 3.1rem;
    text-align: center;
    margin-bottom: 1rem;
    animation: bounceIn 1.5s ease-in-out;
}

.img-container {
    display: flex;
    justify-content: space-around;
    align-items: center;
    width: 100%;
    height: calc(100vh - 80px);
}

.vid-container {
    width: 50%;
    height: 70%;
    margin-left: 10px;
    animation: fadeIn 1.2s ease-in-out;
}

.vid-container video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 10px;
    transition: transform 0.4s ease-in-out;
}

.vid-container video:hover {
    transform: scale(1.1);
}

.grid-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: repeat(2, 1fr);
    gap: 10px;
    width: 50%;
    height: 70%;
    padding: 10px;
    animation: fadeIn 1.2s ease-in-out;
}

.grid-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 10px;
    transition: transform 0.4s ease-in-out;
}

.grid-container img:hover {
    transform: scale(1.1);
}

@media (max-width: 1020px) {
    .Home-img-section {
        height: auto;
    }

    .img-1 {
        width: 100%;
        height: auto;
        object-fit: cover;
    }

    .img-text h1 {
        font-size: 2.8rem;
    }

    .vid-container,
    .grid-container {
        width: 48%;
    }
}

@media (max-width: 768px) {
    .Home-img-section {
        height: auto;
    }

    .img-container {
        flex-direction: column;
        height: auto;
    }

    .img-1 {
        width: 100%;
        height: auto;
        object-fit: cover;
    }

    .vid-container,
    .grid-container {
        width: 100%;
        height: 45vh;
    }

    .img-text h1 {
        font-size: 2.5rem;
    }
}

@media (max-width: 450px) {
    .Home-img-section {
        height: auto;
    }

    .img-1 {
        width: 100%;
        height: auto;
        object-fit: cover;
    }

    .vid-container {
        height: 30vh;
        width: 100%;
    }

    .grid-container {
        width: 100%;
        height: auto;
    }

    .img-container {
        flex-direction: column;
        height: auto;
    }

    .grid-container {
        grid-template-columns: 1fr 1fr;
        grid-template-rows: repeat(3, 1fr);
        gap: 5px;
    }

    .img-text h1 {
        font-size: 2rem;
    }
}

#events {
    background-color: #f8f9fa;
    padding: 30px;
    border-radius: 8px;
    animation: slideIn 1.5s ease-in-out;
}

.event-item {
    background: #ffffff;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: transform 0.4s ease-in-out;
}

.event-item:hover {
    transform: scale(1.05);
}

.event-title {
    margin-top: 10px;
    font-size: 1.2em;
    color: #333;
}

.img-fluid {
    border-radius: 8px;
    transition: transform 0.4s ease-in-out;
}

.img-fluid:hover {
    transform: scale(1.1);
}

