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

html,
body {
    height: 100%;

    width: 100%;
}

*::selection {
    background-color: #fff;
    color: #95c11e;
}

body::-webkit-scrollbar {
    display: block;
    width: 8px;
    background: #95c11e;
}

body::-webkit-scrollbar-thumb {
    background-color: #fff;

    border-radius: 50px;
}

body {
    overflow-x: hidden;
}

#cursor {
    height: 20px;
    width: 20px;
    background-color: #95c11e;
    border-radius: 50%;
    position: fixed;
    z-index: 99;
    transition: all linear 0.1s;
}

#cursor-blur {
    height: 500px;
    width: 500px;
    background-color: rgba(150, 193, 30, 0.3);
    border-radius: 50%;
    position: fixed;
    filter: blur(80px);
    z-index: 9;
    transition: all linear 0.4s;
}

#nav {
    height: 130px;
    width: 100%;
    /* background-color: red; */
    display: flex;
    align-items: center;
    padding: 0 120px;
    gap: 50px;
    position: fixed;
    justify-content: flex-start;
    z-index: 999;
}

#nav img {
    height: 4.5vw;
}

#nav h4 {
    text-transform: uppercase;
    font-weight: 500;
    cursor: pointer;
    font-size: 1.15vw;
}

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

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

#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: 7.5vw;
    font-weight: 900;
    position: relative;
}

#page1 h1::before {
    content: "EAT. DRINK. PLAY.";
    position: absolute;
    color: #000;
    top: -5px;
    left: -5px;
    -webkit-text-stroke: 1.5px #95c11e;
    z-index: -1;
}

#page1 h2 {
    font-size: 30px;
    font-weight: 800;
    margin-top: 10px;
    margin-bottom: 20px;
}

#page1 p {
    font-size: 1.2vw;
    font-weight: 500;
    width: 40%;
}

#page1 #arrow {
    height: 250px;
    width: 250px;
    background-color: transparent;
    border: 2px solid #95c11e;
    position: absolute;
    display: flex;
    left: -2%;
    bottom: 0%;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all ease 0.5s;
}

#page1 #arrow i {
    font-size: 50px;
    font-weight: 100;
}

#page1 #arrow:hover {
    scale: 0.4;
    background-color: #95c11e;
}

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

#scroller {
    /* background-color: red; */
    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: scroll;
    animation-duration: 40s;
    animation-timing-function: linear;
    animation-iteration-count: infinite;
}

#scroller h4 {
    display: inline-block;
    font-size: 110px;
    font-weight: 900;
    font-family: 'gilroy', sans-serif;
    margin-right: 20px;
    transition: all linear 0.3s;
    color: #000;
    -webkit-text-stroke: 2px #ffffff;
}

#scroller h4:hover {
    color: #95c11e;
    -webkit-text-stroke: 2px #95c11e;
}

@keyframes scroll {
    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(-100%);
    }
}

#about-us {
    height: 40vh;
    width: 100%;
    /* background-color: red; */
    display: flex;
    padding: 0 50px;
    align-items: center;
    position: relative;
    z-index: 10;
    justify-content: space-around;
}

#about-us img {
    height: 220px;
    width: 220px;
    border-radius: 20px;
    object-fit: cover;
}

#about-us-in {
    width: 50%;
    text-align: center;
}

#about-us-in h3 {
    font-size: 54px;
    font-weight: 800;
    margin-bottom: 30px;
}

#about-us-in p {
    font-size: 20px;
    line-height: 35px;
}

#cards-container {
    height: 80vh;
    display: flex;
    align-items: center;
    justify-content: space-evenly;
    gap: 70px;
    position: relative;
    z-index: 10;
}

.card {
    height: 80%;
    width: 24%;
    border-radius: 20px;
    background-size: cover;
    background-position: center;
    overflow: hidden;
    position: relative;
    transition: all ease 0.6s;
}

#card1 {
    background-image: url(assets/card1.avif);
}

#card2 {
    background-image: url(assets/card2.webp);
}

#card3 {
    background-image: url(assets/card3.avif);
}

.card::before {
    content: attr(data-title);
    position: absolute;
    bottom: 30px;
    left: 30px;
    font-size: 28px;
    font-weight: 800;
    color: white;
    text-transform: uppercase;
    font-family: "Montserrat", sans-serif;
    z-index: 2;
    transition: opacity 0.5s ease;
}

.card:hover::before {
    opacity: 0;
}

.overlay {
    height: 100%;
    width: 100%;
    background-color: #95c11e;
    color: #000;
    padding: 30px;
    opacity: 0;
    transition: all ease 0.6s;
    position: absolute;
    top: 0;
    left: 0;
}

.overlay h4 {
    font-size: 30px;
    font-weight: 800;
    text-transform: uppercase;
    margin-bottom: 20px;
}

.overlay p {
    font-size: 18px;
}

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

.card:hover {
    transform: rotate3d(-1, 1, 0, 20deg);
}

#green-div {
    height: 30vh;
    display: flex;
    align-items: center;
    justify-content: space-between;
    /* background-color: red; */
    background: linear-gradient(to left bottom, #119f3a, #ace022);
}

#green-div h4 {
    width: 45%;
    line-height: 50px;
    color: #000;
    text-align: center;
    font-weight: 800;
    font-size: 27px;
    text-transform: uppercase;
}

#green-div img {
    height: 100%;
    object-fit: cover;
    width: 14%;
}

#page3 {
    height: 100vh;
    width: 100%;
    background-color: #000;
    display: flex;
    align-items: center;
    position: relative;
    justify-content: center;
}

#page3>p {
    font-size: 35px;
    font-weight: 700;
    width: 60%;
    line-height: 45px;
    text-align: center;
}

#page3 img {
    position: absolute;
    height: 60px;
}

#page3 #colon1 {
    left: 15%;
    top: 25%;
}

#page3 #colon2 {
    bottom: 30%;
    right: 15%;
}

#page4 {
    height: 30vh;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 70px;
    position: relative;
}

.elem {
    height: 70%;
    width: 26%;
    overflow: hidden;
    border-radius: 20px;
    position: relative;
}

.elem h2 {
    height: 100%;
    width: 100%;
    background-color: #95c11e;
    display: flex;
    color: #000;
    font-weight: 800;
    align-items: center;
    justify-content: center;
    transition: all ease 0.5s;
    font-size: 2vw;
    position: absolute;
    z-index: 10;
}

.elem img {
    height: 100%;
    width: 100%;
    object-fit: cover;
    transition: all ease 0.5s;
    scale: 1.1;
}

.elem:hover h2 {
    color: #fff;
    background-color: transparent;
}

.elem:hover img {
    scale: 1;
}

#page4 h1 {
    font-size: 5vw;
    position: absolute;
    top: -15%;
    font-weight: 900;
    font-family: 'gilroy', sans-serif;
    color: #000;
    -webkit-text-stroke: 2px #fff;
}

#footer {
    height: 40vh;
    width: 100%;
    background: linear-gradient(to left bottom, #119f3a 0%, #a3d421 80%);
    position: relative;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 6.5vw;
    padding: 0 100px;
}

#footer>img {
    position: absolute;
    left: 0;
    height: 100%;
    z-index: 0;
}

#f1 img {
    height: 100px;
}

#f1,
#f2,
#f3,
#f4 {
    width: fit-content;
    position: relative;
    z-index: 99;
    /* background-color: red; */
}

#f2 h3 {
    font-size: 1.6vw;
    white-space: nowrap;
    text-transform: uppercase;
    color: #000;
    font-weight: 900;
    margin-bottom: 8px;
}

#f3 h3 {
    font-size: 1.6vw;
    white-space: nowrap;
    text-transform: uppercase;
    color: #000;
    font-weight: 800;
    margin-bottom: 8px;
}

#f4 h4 {
    font-size: 1vw;
    white-space: nowrap;
    text-transform: uppercase;
    color: #000;
    font-weight: 600;
    line-height: 20px;
    margin-bottom: 8px;
}

/* Mobile devices (max-width 767px) */
@media (max-width: 767px) {
    #nav {
        padding: 0 20px;
        flex-wrap: wrap;
        gap: 10px;
    }

    #nav h4 {
        font-size: 0.9rem;
    }

    #page1 h1 {
        font-size: 10vw;
    }

    #page1 h2 {
        font-size: 1.5rem;
    }

    #page1 p {
        width: 90%;
        font-size: 0.9rem;
    }

    #arrow {
        height: 60px;
        width: 60px;
    }

    #scroller h4 {
        font-size: 3rem;
    }

    #about-us {
        flex-direction: column;
        padding: 0 20px;
        height: auto;
    }

    #about-us img {
        height: 150px;
        width: 150px;
    }

    #about-us-in {
        width: 90%;
    }

    #cards-container {
        flex-direction: column;
        height: auto;
        gap: 20px;
        padding: 20px 0;
    }

    .card {
        width: 90%;
        height: 300px;
    }

    #green-div {
        flex-direction: column;
        height: auto;
        gap: 10px;
        text-align: center;
        padding: 20px 0;
    }

    #green-div h4 {
        width: 100%;
        font-size: 1rem;
        line-height: 1.3;
    }

    #page3>p {
        width: 90%;
        font-size: 1rem;
    }

    #page4 {
        flex-direction: column;
        gap: 20px;
        height: auto;
    }

    .elem {
        width: 90%;
        height: 250px;
    }

    .elem h2 {
        font-size: 1.2rem;
    }

    #footer {
        flex-direction: column;
        padding: 20px;
        gap: 15px;
    }

    #f2 h3,
    #f3 h3 {
        font-size: 1rem;
    }

    #f4 h4 {
        font-size: 0.8rem;
        line-height: 1.2;
    }
}

/* Tablets (768px to 1023px) */
@media (min-width: 768px) and (max-width: 1023px) {
    #page1 h1 {
        font-size: 8vw;
    }

    #page1 h2 {
        font-size: 2rem;
    }

    #page1 p {
        width: 70%;
        font-size: 1rem;
    }

    #cards-container {
        gap: 30px;
    }

    .card {
        width: 45%;
        height: 350px;
    }

    #about-us {
        flex-direction: row;
        gap: 20px;
    }

    #about-us-in {
        width: 60%;
    }

    .elem {
        width: 45%;
        height: 250px;
    }

    .elem h2 {
        font-size: 1.5rem;
    }

    #footer {
        flex-wrap: wrap;
        padding: 30px;
        gap: 20px;
    }
}