*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Montserrat Alternates", sans-serif;
    color: white;
}

html,body{
    height: 100%;
    width: 100%;
}
#nav{
    height: 140px;
    width: 100%;
    display: flex;
    color: white;
    align-items: center;
    justify-content: flex-start;
    padding: 0 8rem;
    gap: 2rem;
    position: fixed;
    z-index: 200;
}

#nav h4:hover{
    color: rgb(248, 106, 130);
    cursor: pointer;
}


#nav img{
    height: 5rem;
}
#nav h4{
    text-transform: uppercase;
    font-weight: 800;
}
video{
    height: 100%;
    width: 100%;
    object-fit: cover;
    position: fixed;
    z-index: -1;
}

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

}

.page1{
    height: 100vh;
    width: 100%;
    position: relative;
    display: flex;
    flex-direction: column;
    text-align: center;
    align-items: center;
    justify-content: center;
    z-index: 10;
}

.page1 h1{
    font-size: 80px;
    font-weight: 900;
    position: relative;
}

.page1 h2{
    color:gold;
    -webkit-text-stroke: 1px black;
}

.page1 h1::before{
    content: "Bust, Brawl, Battle, Boom, Farm!";
    position: absolute;
    color: black;
    top: -6px;
    left: -6px;
    -webkit-text-stroke: 1px #95c11e;
    z-index: -1;
}

.page1 h2{
    font-size: 30px;
    font-weight: 800;
    margin: 10px 0 10px 0;
}
.page1 p{
    font-size: 15px;
    font-weight: 500;
    line-height: 25px;
    width: 50%;
}

.page2{
    min-height: 150vh;
    width: 100%;
    z-index: 10;
}
#scroller{
    white-space: nowrap;
    overflow-x: auto;
    overflow-y: hidden;
    position: relative;
    z-index: 10;
}

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

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

#scroller h4{
    display: inline-block;
    font-size: 80px;
    font-weight: 900;
    margin-right: 20px;
    transition: all linear 0.4;
    color: transparent;
    -webkit-text-stroke: 2px pink;
}

#scroller h4:hover{
    color:palevioletred;
}

@keyframes scroll{
    from{
        transform:translateX(0)
    }
    to{
        transform: translateX(-100%);
    }
}
.mini-pekka{
    height: 50vh;
    object-fit: cover;
}
.rascals{
    height: 50vh;
    object-fit: cover;
}
#aboutus{
    height:80vh;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    text-align: center;
    padding: 0 30px;
    position: relative;
    z-index: 10;
}

.about-us-in{
    width: 40%;
    text-align: center;
}

.about-us-in h3{
    font-size: 50px;
    font-weight: 800;
    margin-bottom: 40px;
    background: linear-gradient(to top,lightblue,red);
    -webkit-background-clip: text;
    color: transparent;
}

.about-us-in p{
    font-size: 20px;
    line-height: 25px;
}

#cards-container{
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content:space-evenly;
    gap: 50px;
    flex-wrap:wrap;
    
}

.items{
    text-align: center;
    margin-bottom: 20px;
    font-size: 30px;
    font-weight: 900;
    z-index: 10;
}

.items h1{
    background: linear-gradient(to top,rgb(248, 55, 87),yellow );
    -webkit-background-clip: text;
    color: transparent;
}

.cards{
    height:40vh;
    width:30vw;
    /* border:5px solid white; */
    background-size: cover;
    background-position: center;
    z-index: 10;
    border-radius: 30px;
}

#card1{
    background-image: url(./assets/boom-beach.webp);
}
#card2{
    background-image: url(./assets/brawl-stars.webp);

}
#card3{
    background-image: url(./assets/coc.webp);
}
#card4{
    background-image: url(./assets/cr.webp);
}

#card5{
    background-image: url(./assets/squad-busters.webp);
}
#card6{
    background-image: url(./assets/hay-day.webp);
}

.overlay{
    height: 100%;
    width: 100%;
    background-color:rgb(247, 100, 125);
    padding: 40px;
    opacity: 0;
    border-radius: 30px;
}

.overlay h4{
    text-transform: uppercase;
    font-weight: 900;
    margin-bottom: 15px;
    color:black;
}

.overlay p{
    font-size: 15px;
    text-align: start;
    color: black;
}

.overlay:hover{
    opacity: 1;
    transition: all ease 0.6s;
}

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

#greendiv{
    display: flex;
    height: 30vh;
    align-items: center;
    justify-content:space-around;
    text-wrap: nowrap;
    /* background-color: red; */
    background: linear-gradient(to bottom ,red,royalblue);
}

#greendiv h4{
    width: 40%;
    color:white;
    font-size: 23px;
    text-transform: uppercase;
}
#greendiv i{
    font-size: 50px;
    color: white;
    font-weight: 400;
}
.google{
    margin-left: 20px;
}

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

#page3 .msg h2{
    text-align: center;
    background: linear-gradient(to top,red,royalblue);
    color: transparent;
    font-weight: 900;
    font-size: 40px;
    width: 100%;
    -webkit-background-clip: text;
   
}

#page3 .msg p{
    font-size: 20px;
    margin-top: 10px;
    font-weight: 500;
    width: 100%;
    line-height: 25px;
    background:linear-gradient(to left,red,royalblue);
    color: transparent;
    -webkit-background-clip: text;
    padding: 20px;
    text-align: center;
}

#page3 .princess img{
    height: 400px;
    margin-right: 100px;
}

.page4{
    background-color:black;
    height: 40vh;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px;
  
    position: relative;
    gap: 50px;
    

}
.page4 h1{
    position: absolute;
    font-size: 120px;
    z-index:8;
    font-weight: 900;
    font-family:'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
    top: -9px;
    background: linear-gradient(to right,lime,cyan);
    color: transparent;
    -webkit-background-clip: text;
}

.imgs{
    height:50%;
    width:20%;
    overflow: hidden;
    border-radius:12px;
    position: relative;
}
.imgs h2{
    height: 100%;
    width: 100%;
    background-color:#95c11f;
    font-size: 30px;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all ease 0.5s;
    position: absolute;
    z-index: 10;
}
.imgs p{
    position: absolute;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 18px;
    font-weight: 900;
    color:cyan;
    opacity: 0;
    transition: opacity 0.5s ease;
    -webkit-text-stroke: 1px black;
    height: 100%;
    width: 100%;
}

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

.imgs:hover h2{
    background-color: transparent;
    opacity: 0;
}

.imgs:hover p{
    opacity: 1;
    z-index: 11;
}

.imgs:hover img{
    background-color: transparent;
    scale:1;
}

#footer{
    height: 65vh;
    width: 100%;
    background-color:rgba(0, 0, 0, 0.251);
}

.socials{
    display: flex;
    flex-direction: column;
    justify-content:center;
    gap: 10px;
    align-items: center;
    height: 20vh;
    width: 100%;
    position: relative;
}

.socials::after {
    content: '';
    width: 70%; 
    border-bottom: 2px solid white; 
    position: absolute;
    bottom: 0;
    left: 50%; 
    transform: translateX(-50%);
}

.socials p{
    font-size: 20px;
    font-weight: 600;
}
.socials i{
    font-size: 30px;
    margin-left: 20px;
}

.service{
    height:30vh;
    display: flex;
    gap: 10px;
    align-items: center;
    justify-content:space-evenly;
}

.service h4{
    font-size: 15px;

}

.final{
    display: flex;
    align-items: center;
    justify-content: space-evenly;
}

.service h4:hover{
    color: rgb(235, 65, 93);
    cursor: pointer;
}

.flogo img{
    height: 50px;
}
