* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Space Grotesk";
    color: white;
}

html,
body {
    height: 100%;
    width: 100%;
}

#cursor {
    height: 20px;
    width: 20px;
    background-color: limegreen;
    border-radius: 50%;
    position: fixed;
    z-index: 99;
    transition: all linear 0.3s;
    pointer-events: none;
}

#nav {
    height: 120px;
    width: 100%;
    /* background-color: red; */
    display: flex;
    justify-content: flex-start;
    align-items: center;
    padding: 0 150px;
    gap: 50px;
    letter-spacing: 2px;
    position: fixed;
    z-index: 99;
}

#nav img {
    height: 310px;
    display: flex;
    align-items: flex-start;
    margin-left: -180px;
}

#nav h4 {
    font-weight: 400;
    font-family: "Righteous";
    font-size: 22px;
    text-transform: uppercase;
}

video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: fixed;
    z-index: -1;
}

#main {
    position: relative;
    background-color: rgba(0, 0, 0, 0.55);
}

#page1 {
    height: 100vh;
    width: 100%;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    text-align: center;
    z-index: 10;
}

#page1 h1 {
    font-size: 140px;
    font-family: "Bubblegum Sans";
    position: relative;
}

#page1 h1::before {
    content: "FUEL.THE.PASSION";
    position: absolute;
    color: rgb(22, 21, 21);
    top: -4px;
    left: -1px;
}

#page1 h2 {
    font-size: 40px;
    font-family: "Baumans";
}

#page1 p {
    font-size: 20px;
    font-size: 500;
    width: 50%;
    padding-top: 20px;
}

#page2 {
    min-height: 100vh;
    width: 100%;
    background-color: transparent;
    z-index: 10;
}

#scroller {
    /* background-color: black; */
    white-space: nowrap;
    overflow-x: auto;
    overflow-y: hidden;
}

#scroller::-webkit-scrollbar {
    display: none;
}

#scroller-in {
    display: inline-block;
    white-space: nowrap;
    animation-name: scroll;
    animation-duration: 20s;
    animation-timing-function: linear;
    animation-iteration-count: infinite;
}

#scroller h4 {
    display: inline-block;
    font-size: 130px;
    font-family: "Orbitron";
    gap: 50px;
    margin-right: 20px;
    font-weight: 800;
    color: transparent;
    -webkit-text-stroke: 2px rgb(193, 135, 248);
    transition: all linear 0.2s;
}

#scroller h4:hover {
    color: rgb(193, 135, 248);
}

@keyframes scroll {
    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(-100%);
    }
}

#about-us {
    height: 40vh;
    width: 100%;
    display: flex;
    padding: 0 50px;
    align-items: center;
    justify-content: space-between;
}

#about-us img {
    height: 220px;
    width: 220px;
    object-fit: cover;
    border-radius: 40px;
    transition: all 0.9s ease;
    filter: grayscale(20%) brightness(0.9) contrast(1.1);
    box-shadow: 0 0 5px #0ff, 0 0 10px #0ff, 0 0 15px #f0f, 0 0 20px #f0f;
    animation: neonPulse 5s infinite alternate;
}



/* Optional hover effect to intensify glow */
#about-us img:hover {
    transform: scale(1.05);
    filter: grayscale(0%) brightness(1.2) contrast(1.2);
}


#about-us h3 {
    font-size: 150px;
    align-items: center;
    justify-content: center;
}

#about-us-in {
    width: 40%;
    text-align: center;
    margin-bottom: 80px;
}

#about-us-in h3 {
    font-size: 100px;
    font-weight: 800;
}

#about-us-in p {
    font-size: 30px;
}

#card-container {
    height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 70px;
    position: relative;
    z-index: 10;
}

.card {
    height: 80%;
    width: 20%;
    border-radius: 15px;
    background-size: cover;
    background-position: center;
    overflow: hidden;
    transition: all ease 0.6s;
}

#card1 {
    background-image: url("ford-mustang.jpg");
}

#card2 {
    background-image: url("lmabo.jpg");
}

#card3 {
    background-image: url("pagani.jpg");
}

.overlay {
    height: 100%;
    width: 100%;
    background-color: lightgreen;
    padding-top: 150px;
    padding: 20px;
    opacity: 0;
    transition: all ease 0.6s;
}

.overlay h4 {
    color: black;
    font-size: 40px;
    text-transform: uppercase;
    font-weight: 700;
    margin-bottom: 20px;
}

.overlay p {
    color: black;
    font-size: 20px;
}

.overlay1 {
    height: 100%;
    width: 100%;
    background-color: lightgreen;
    padding-top: 150px;
    padding: 20px;
    opacity: 0;
    transition: all ease 0.6s;
}

.overlay1 h4 {
    color: black;
    font-size: 40px;
    text-transform: uppercase;
    font-weight: 700;
    margin-bottom: 20px;
}

.overlay1 p {
    color: black;
    font-size: 20px;
}

.card:hover .overlay {
    opacity: 1;
}

.card:hover .overlay1 {
    opacity: 1;
}

.card:hover {
    transform: rotate3d(-1, 1, 0, 10deg);
}

#green-div {
    height: 50vh;
    display: flex;
    align-items: center;
    justify-content: space-evenly;
}

#green-div h3 {
    width: 50%;
    font-size: 30px;
    text-transform: uppercase;
    text-align: center;
    color: rgba(255, 255, 255, 0.589);
    transition: all 0.5s;
}

#green-div img {
    height: 70%;
    object-fit: cover;
    width: 20%;
    border-radius: 10px;
    filter: drop-shadow(0 0 3px rgb(0, 255, 255)) drop-shadow(0 0 6px rgb(0, 255, 255));
    transition: all 0.5s;
}

#green-div img:hover {
    transform: scale(1.1) rotate(-2deg);
    filter: drop-shadow(0 0 5px rgb(0, 255, 255)) drop-shadow(0 0 10px rgb(0, 255, 255)) drop-shadow(0 0 15px rgb(0, 255, 255));
}

#green-div h3:hover {
    color: white;
}

#page3 {
    height: 90vh;
    width: 100%;
    background-color: black;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

#page3 p {
    font-size: 30px;
    font-weight: 700;
    width: 55%;
    line-height: 50px;
    text-align: center;
    font-family: "Orbitron";
}

#page3 img {
    position: absolute;
    height: 150px;
}

#page3 #car1 {
    left: 10%;
    top: 25%;
}

#page3 #car2 {
    bottom: 25%;
    right: 10%;
}

#car1 {
    transform: scaleX(-1);
}
#edits {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 20px;
    background-color: black;
    height: 60vh;
    position: relative;
    margin-top: -220px;

    
}
#edits video {
    position: relative;
    z-index: 1;
    width: 20%;
    max-width: 220px;
    height: auto;
    object-fit: cover;
    border-radius: 20px;
    transition: all ease 0.3s;
}
#edits video:nth-child(1):hover {
    transform: scale(1.08);
    box-shadow: 0 0 20px #ff0055, 0 0 20px #ff0055, 0 0 40px #ff0055;
}

#edits video:nth-child(2):hover {
    transform: scale(1.08);
    box-shadow: 0 0 20px #00ff99, 0 0 20px #00ff99, 0 0 40px #00ff99;
}

#edits video:nth-child(3):hover {
    transform: scale(1.08);
    box-shadow: 0 0 20px #00ccff, 0 0 20px #00ccff, 0 0 40px #00ccff;
}

#edits video:nth-child(4):hover {
    transform: scale(1.08);
    box-shadow: 0 0 20px #cc00ff, 0 0 20px #cc00ff, 0 0 40px #cc00ff;
}

#edits video:nth-child(5):hover {
    transform: scale(1.08);
    box-shadow: 0 0 20px #ffee00, 0 0 20px #ffee00, 0 0 40px #ffee00;
}

#edits video:nth-child(6):hover {
    transform: scale(1.08);
    box-shadow: 0 0 20px #ff6600, 0 0 20px #ff6600, 0 0 40px #ff6600;
}

