body {
    animation: pageEnter 1s ease;
    background: 
    linear-gradient(135deg, red,yellow, orange);
    background-attachment: fixed;
    color: white;
    font-family: Arial, Helvetica, sans-serif;
    text-align: center;
    padding-top: 120px;
    background-size: cover;
    background-position: center;
}

button{
    text-align: center;
    background-color: rgb(218, 93, 21);
    border: 3px solid rgb(218, 93, 21);
    border-radius: 50px;
    cursor: pointer;
    padding: 35px;
    font-size: 40px;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    width: 20%;
}

button:hover{
    transform: translateY(-5px);
    transition: 0.5s;
    background-color: rgb(189, 106, 59);
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 40px;
    direction: rtl;
}

.menu {
    display: flex;
    gap: 25px;
    direction: rtl;
}

.menu a  {
    color: white;
    text-decoration: none;
    font-size: 18px;
    transition: 0.3;
}

.menu a:hover {
    color: rgb(255, 153, 0);
}

.about {
    max-width: 800px;
    margin: 100px auto;
    padding: 40px;
    background-color: white;
    color: #111827;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    direction: rtl;
}


.about h1 {
    font-size: 45px;
    color: red;
    direction: rtl;
}

.about p {
    font-size: 20px;
    line-height: 2;
    color: orange;
    margin-bottom: 15px;
    direction: rtl;
}

.about {
    animation: showAbout 1s ease;
}

@keyframes showAbout {
    from {
        opacity: 0;
        transform:
        translateY(40px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }

}

.about h1 {
    animation: showTitle 1s ease 0.2s both;
    direction: rtl;
}

@keyframes showTitle {
    from {
        opacity: 0;
        transform: scale(0.8);
    }

    to {
         opacity: 1;
         transform: scale(1);
    }

}

.about a {
    display: inline-block;
    margin-top: 25px;
    padding: 12px 25px;
    background-color: #2563eb;
    color: white;
    text-decoration: none;
    border-radius: 12px;
    transition: 0.3;
    direction: rtl;

}

.about a:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
    direction: rtl;
}

.contact-form {

max-width: 700px;
margin: 40px auto;
padding: 30px;
background-color: white;
border-radius: 20px;
box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
display: flex;
flex-direction: column;
gap: 20px;
align-items: center;
direction: rtl;

}

.contact-form input
.contact-form textarea {
    width: 100%;
    padding: 15px;
    border: 2px solid #5dade2;
    border-radius: 10px;
    font-size: 16px;
    font-family: inherit;
    box-sizing: border-box;

}

.contact-form textarea {
    width: 30%;
    height: 70px;
    resize: none;
}

.contact-form button {
    width: 20%;
    padding: 15px;
    height: 70px;
    border: none;
    border-radius: 15px;
    background-color: #5dade2;
    color: white;
    font-size: 18px;
    cursor: pointer;
    transition: 0.3;
}

.contact-form button:hover {
    background-color: #1d4ed8;
    transform: scale(1.02);
}

#success-message  {
    display: none;
    max-width: 600px;
    margin: 20px auto;
    padding: 15px;
    background-color: #dcfce7;
    color: #166534;
    border-radius: 12px;
    text-align: center;
    font-size: 18px;
    font-weight: bold;
}

@media (max-width: 600px)  {
    .cards {
        flex-direction: column;
        align-items: center;

    }

}

.game-card {
    width: 300px;
    padding: 20px;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.game-card img {
    width: 100%;
    border-radius: 15px;
}

.game-window {
    width: 300px;
    padding: 20px;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.startbutton{
    width: 176.8px;
}