@import url('https://fonts.googleapis.com/css?family=Poppins:100,200,300,400,500,600,700,800,900');
*
{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins',sans-serif;
}
:root
{
    --clr:#636363;
}
.nav{
    margin-left: auto;
    display: flex;
    justify-content: center;
    align-items: center;
    background: var(--clr);
}
.navigation{
    position: relative;
    width: 460px;
    height: 75px;
    background: white;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 10px;
}
.navigation ul{
    display: flex;
    width: 430px;
}
.navigation ul li{
    position: relative;
    list-style: none;
    width: 75px;
    height: 75px;
    z-index: 1;
}
.navigation ul li a{
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    text-align: center;
    width: 100%;
    font-weight: 500;
}
.navigation ul li a .icon{
    position: relative;
    display: block;
    line-height: 80px;
    font-size: 2em;
    text-align: center;
    transition: 0.5s;
    color: var(--clr);
}
.navigation ul li.active a .icon{
    transform: translateY(-32px);
    
}
.navigation ul li a .text{
    position: absolute;
    color: var(--clr);
    font-weight: 400;
    font-size: .75em;
    letter-spacing: 0.05em;
    transition: 0.5s;
    opacity: 0;
    transform: translateY(20px);
    padding-top: 20px;
}
.navigation ul li.active a .text{
    opacity: 1;
    transform: translateY(10px);
}
.indicater{
    position: absolute;
    top: -50%;
    width: 65px;
    height: 65px;
    background: rgb(193, 0, 42);
    border-radius: 50%;
    border: 6px solid var(--clr);
    transition: 0.5s;
}
.indicater::before{
    content: '';
    position: absolute;
    top: 50%;
    left: -22.5px;
    width: 20px;
    height: 20px;
    background: transparent;
    border-top-right-radius: 20px;
    box-shadow: 1px -10px 0 0 var(--clr);
}
.indicater::after{
    content: '';
    position: absolute;
    top: 50%;
    right: -22.5px;
    width: 20px;
    height: 20px;
    background: transparent;
    border-top-left-radius: 20px;
    box-shadow: -1px -10px 0 0 var(--clr);
}
.navigation ul li:nth-child(1).active ~ .indicater{
    transform: translateX(calc(70px * 0));
}
.navigation ul li:nth-child(2).active ~ .indicater{
    transform: translateX(calc(70px * 1));
}
.navigation ul li:nth-child(3).active ~ .indicater{
    transform: translateX(calc(70px * 2));
}
.navigation ul li:nth-child(4).active ~ .indicater{
    transform: translateX(calc(68px * 3));
}
.navigation ul li:nth-child(5).active ~ .indicater{
    transform: translateX(calc(66px * 4));
}
.navigation ul li:nth-child(6).active ~ .indicater{
    transform: translateX(calc(68.5px * 5));
}

/* General Styles */
body {
    font-family: 'Roboto', sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f0f4f8;
    color: #636363;
}

/* Header Styles */
header {
    background: linear-gradient(135deg, #636363, #636363);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    padding: 20px;
}

header img {
    margin-right: 2rem;
    width: 130px;
    height: 130px;
}

header h1 {
    margin: 0;
    font-size: 2.3rem;
    font-weight: bold;
    align-items: center;
}
section h3 {
    font-size: 1.1rem;
    color: #C1002A;
    padding-left: 10px;
    margin-bottom: 1rem;
}

header p {
    margin-top: 0.5rem;
    font-size: 1.2rem;
    opacity: 0.9;
}
        
/* Main Content Styles */
main {
    padding: 2rem;
    max-width: 900px;
    margin: 0 auto;
    background: white;
    border-radius: 10px;
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.1);
}

section {
    margin-bottom: 2rem;
}

section h2 {
    font-size: 1.8rem;
    color: #C1002A;
    padding-left: 10px;
    margin-bottom: 1rem;
    clear: both;
}

section p {
    line-height: 1.6;
    margin-bottom: 1rem;
}

ul {
    margin: 0;
    padding-left: 20px;
    list-style-type: disc;
}

ul li {
    margin-bottom: 0.7rem;
}

.clearfix {
    overflow: auto;
    border: 5px double rgb(193, 0, 42);
    padding: 10px;
}

.img1 {
    float: right;
}

.images {
    margin-top: 100px;
    position: relative;
    border: 5px double rgb(193, 0, 42);
    overflow: auto;
    width: 400px;
    height: 470px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.images img {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 2s ease-in-out;
}

.images img.active {
    opacity: 1;
}

.pic {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 2rem 0;
}

.pic .content {
    flex: 1;
    margin-right: 2rem;
}
.game-container{
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-top: 2rem;
    gap: 2rem;
}
.game-left{
    flex: 1;
}
.game-right{
    flex-shrink: 0;
    width: 200px;
    margin-top: 70px;
}
.game-right img{
    width: 200px;
    height: auto;
    border: 3px solid rgb(193, 0, 42);
    box-shadow: 0 4px 8px rgb(62, 62, 84);
}
#game {
    margin: 1rem 0;
    width: 360px;
    height: 360px;
    margin: 0 auto;
    border: 5px double rgb(193, 0, 42);
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: repeat(3, 1fr);
    gap: 0;
}
#game img {
    width: 100%;
    height: 100%;
    object-fit: cover; 
    border: 1px solid rgb(193, 0, 42);
    box-sizing: border-box;
}
/* About us */
.gallery{
    width: 400px;
    display: flex;
    overflow-x: scroll;
}
.gallery div{
    width: 100%;
    display: grid;
    grid-template-columns: auto auto auto;
    grid-gap: 20px;
    padding: 10px;
    flex: none;
}
.gallery div img{
    width: 100%;
    
    
}
.gallery::-webkit-scrollbar{
    display: none;
}
.gallery-wrap{
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 10% auto;
}
#backBtn, #nextBtn{
    width: 50px;
    cursor: pointer;
    margin: 40px;
}
.gallery div img:hover{
    filter: grayscale(0);
    cursor: pointer;
    transform: scale(1.1);
}
/* ContactUs */
.hero{
    width: 100%;
    height: 100vh;
    background-image: linear-gradient(rgba(0,0,0,0.7),#c5cce1), url(Images/contact.jpg);
    background-position: center;
    background-size: cover;
    display: flex;
    align-items: flex-start;
    justify-content: center;
 }
 form{
     margin-top: 70px;
     width: 90%;
     max-width: 600px;
 }
 .input-group{
     margin-bottom: 30px;
     position: relative;
 }
 input, textarea{
     width: 100%;
     padding: 10px;
     outline: 0;
     border: 1px solid #fff;
     color: #fff;
     background: transparent;
     font-size: 15px;
 }
 .item.error{
     border: 1px solid red;
 }
 label{
     height: 100%;
     position: absolute;
     left: 0;
     top: 0;
     padding: 10px;
     color: #fff;
     cursor: text;
     transition: .2s;
 }
 button{
     padding: 10px 0;
     color: #fff;
     outline: none;
     background: transparent;
     border: 1px solid #fff;
     width: 100%;
     cursor: pointer;
 }
 input:focus ~ label,
 input:valid ~ label,
 textarea:focus ~ label,
 textarea:valid ~ label{
     top: -35px;
     font-size: 14px;
 }
  
/* AboutUs */

 .gallery-wrap {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 20px;
    width: 100%;
}
.gallery {
    width: 900px;
    display: flex;
    overflow-x: scroll;
    scroll-behavior: smooth;
}
.gallery div {
    width: 100%;
    display: grid;
    grid-template-columns: auto auto auto;
    grid-gap: 10px;
    padding: 10px;
    flex: none;
}
.gallery div img {
    width: 100%;
    filter: grayscale(100%);
    transition: transform 0.5s;
}
.gallery div img:hover {
    filter: grayscale(0);
    cursor: pointer;
    transform: scale(1.1);
}
.gallery::-webkit-scrollbar {
    display: none;
}
#backBtn, #nextBtn {
    width: 50px;
    cursor: pointer;
    margin: 40px;
}

.KhIMU { 
float: right;
margin: 0 0 1.0rem 1.0rem; /* Adjust spacing as needed */
width: 200px; /* Set the image width */
height: auto;
}
.leo{ 
    float: right;
    margin: 0 0 1.0rem 1.0rem; /* Adjust spacing as needed */
    width: 300px; /* Set the image width */
    height: auto;
    }
#threedd {
    width: 500px;
    height: 450px;
    margin-left: 200px;
    }  
.float-right {
    float: right;
    margin: 0 0 1.0rem 1.0rem; /* Adjust spacing as needed */
    width: 500px; /* Set the image width */
    height: auto; /* Maintain aspect ratio */
    }
.clearfix::after {
    content: "";
    display: table;
    clear: both;
    }  
    
/* Information */

.right {
    float: right;
    margin: 0 0 1.0rem 1.0rem; 
    width: 250px; 
    height: auto;
    }