@font-face {
    font-family: 'montserrat';
    src: url('fonts/Montserrat-Regular.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'montserrat';
    color: #fff;
}

html, body {
    height: 100%;
    width: 100%;
}

#cursor {
    height: 12px;
    width: 12px;
    background-color: #92be19;
    border-radius: 50%;
    position: fixed;
    z-index: 100;
}

#cursor-blur {
    height: 300px;
    width: 300px;
    background-color: #92be1981;
    border-radius: 50%;
    position: fixed;
    filter: blur(45px);
    z-index: 10;
}

#nav {
    height: 120px;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    padding: 0 150px;
    gap: 30px;
    text-transform: uppercase;
    position: fixed;
    z-index: 100;
}

#nav h4 {
    color: white;
}

#nav img {
    height: 35px;
    width: 40px;
}

video {
    height: 100%;
    width: 100%;
    object-fit: cover;
    position: fixed;
    z-index: -1;
}

#main {
    position: relative;
    background-color: rgba(0, 0, 0, 0.329);
}

#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: 95px;
    font-weight: 800;
    position: relative;
}

#page1 h1::before {
    content: "EAT. DRINK. PLAY.";
    position: absolute;
    top: -4px;
    left: -4px;
    color: black;
    z-index: -1;
    -webkit-text-stroke: 2px #92be19;
}

#page1 h2 {
    font-size: 25px;
    font-weight: 700;
    margin-top: 10px;
    margin-bottom: 8px;
    text-transform: uppercase;
}

#page1 p {
    font-size: 18px;
    font-weight: 400;
    width: 50%;
}

#page2 {
    min-height: 100vh;
    width: 100%;
    z-index: 10;
}

#scroller {
    white-space: nowrap;
    overflow-x: auto;
    overflow-y: hidden;
    position: relative;
    z-index: 10;
}

#scroller::-webkit-scrollbar {
    display: none;
}

#scroller-in {
    display: inline-block;
    white-space: nowrap;
    animation-name: scrolling-effect;
    animation-duration: 20s;
    animation-timing-function: linear;
    animation-iteration-count: infinite;
}

#scroller h4 {
    display: inline-block;
    color: transparent;
    font-size: 120px;
    font-weight: 900;
    font-family: gilroy;
    margin-right: 5px;
    transition: all linear 0.4s;
    -webkit-text-stroke: 2px white;
}

#scroller h4:hover {
    color: #95c11e;
}

@keyframes scrolling-effect {
    from {
        transform: translateX(0);
    }
    to {
        transform: translateX(-50%);
    }
}

#page3 {
    margin-top: 75px;
    position: relative;
    display: flex;
    justify-content: space-between;
    z-index: 10;
}

#about {
    position: absolute;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}

#about h3 {
    font-size: 45px;
    font-weight: 900;
}

#about p {
    margin-top: 25px;
    font-size: 20px;
    width: 55%;
    line-height: 35px;
    text-align: center;
}

#about h4 {
    margin-top: 25px;
}

#img1 img {
    height: 27vh;
    width: 11%;
    position: absolute;
    left: 70px;
    top: 100px;
    border-radius: 10px;
    object-fit: cover;
}

#img2 img {
    height: 35vh;
    width: 11%;
    position: absolute;
    left: 1050px;
    top: 60px;
    border-radius: 10px;
    object-fit: cover;
}

#card-box {
    background-color: black;
    height: 100vh;
    position: relative;
    top: 330px;
    display: flex;
    align-items: center;
    justify-content: space-evenly;
    z-index: 10;
}

.card {
    height: 80%;
    width: 25%;
    border-radius: 20px;
    background-size: cover;
    background-position: center;
    position: relative;
    overflow: hidden;
}

.card h3 {
    position: absolute;
    color: white;
    width: 50%;
    font-size: 33px;
    padding-top: 350px;
    padding-left: 15px;
    font-weight: 900;
    text-transform: uppercase;
    font-family: 'Montserrat', sans-serif;
}

.card:hover h3 {
    opacity: 0;
}

#card1 {
    background-image: url(https://eiwgew27fhz.exactdn.com/wp-content/uploads/2023/02/home-toptracer.jpg?strip=all&lossy=1&sharp=1&ssl=1);
}

#card2 {
    background-image: url(https://eiwgew27fhz.exactdn.com/wp-content/uploads/2023/02/hero-4.jpg?strip=all&lossy=1&sharp=1&ssl=1);
}

#card3 {
    background-image: url(https://eiwgew27fhz.exactdn.com/wp-content/uploads/2023/02/home-lessons.jpg?strip=all&lossy=1&sharp=1&ssl=1);
}

.overlay {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    background-color: #A8D431;
    padding: 20px;
    border-radius: 20px;
    opacity: 0;
    transition: all ease 0.5s;
    z-index: 2;
}

.overlay h4 {
    padding-top: 70px;
    font-size: 30px;
    color: black;
    font-family: 'montserrat';
    text-transform: uppercase;
    font-weight: 900;
}

.overlay p {
    color: black;
    font-weight: 500;
    margin-top: 20px;
    font-size: 16px;
}

.card:hover .overlay {
    opacity: 1;
}
