@font-face {
    font-family: 'Pixelmania';
    src: url(/Fonts/Pixelmania.ttf);
}

@keyframes float {
    0% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(5px);
    }

    100% {
        transform: translateY(0px);
    }
}

body::before {
    content: "";
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background-image: url(/img/Background.jpeg);
    background-repeat: no-repeat;
    background-size: cover;
    background-attachment: fixed;
    filter: opacity(0.9) brightness(0.5) contrast(1.6);
    z-index: -1;
}

body::after {
    content: "";
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background-color: rgb(118, 88, 88);
    mix-blend-mode: multiply;
    z-index: -1;
}

body {
    font-family: Helvetica, sans-serif;
    font-size: 16px;
    color: #968C8C;
    margin: 0;
    padding: 0;
    overflow-x: hidden;
}

.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100px;
    /* Adjust the desired height */
    background-color: black;
    z-index: 1000;
    transition: height 0.3s ease-in-out;
}

.header.larger-header {
    height: 120px;
    /* Adjust the desired height */
}

.header-background::before {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background-color: rgba(0, 255, 140, 0.09);
    filter: blur(10px);
    z-index: -1;
    transition: opacity 0.3s ease-in-out;
    opacity: 1;
}


.ham-menu {
    position: fixed;
    cursor: pointer;
    height: 30px;
    width: 70px;
    top: 10px;
    right: 10px;
    z-index: 1000;
    margin-top: 20px;
}

.line1,
.line2,
.line3 {
    background-color: white;
    width: 50px;
    height: 3px;
    margin: 10px 0;
    transition: transform 0.3s, opacity 0.3s;
}

.line2 {
    width: 50px;

}

.navbar {
    padding: 30px;
    height: 100%;
    position: fixed;
    top: 0;
    right: -500px;
    z-index: 999;
    background-color: #FFFFFF;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease-in-out, opacity 0.3s;
}

ul {
    list-style-type: none;
    padding: 0;
}

li {
    margin: 30px;
    padding: 20px;
    text-align: center;
}

.navbar a {
    color: #968C8C;
    font-size: 20px;
    font-weight: bold;
    font-family: 'Pixelmania';
    text-decoration: underline;
    text-underline-offset: 18px;
}

.active {
    right: 0;
}

.line1.active,
.line2.active,
.line3.active {
    background-color: #775F55;
    height: 2px;
}

.line1.active {
    transform: rotate(-45deg) translate(-8px, 10px);
}

.line2.active {
    opacity: 0;
}

.line3.active {
    transform: rotate(45deg) translate(-8px, -10px);
}

.ham-menu.active {
    margin-top: 11px;
    margin-right: 290px;
    transition: all 0.3s ease-in-out;
}

.Homepage-title {
    font-family: 'Pixelmania';
    font-size: 8px;
    width: 30px;
    margin: 30px;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 900;
}

.banner {
    display: flex;
    background-image: url(/img/Banner.png);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    position: relative;
    height: 230px;
    width: 100%;
    margin-top: 150px;
    align-items: center;
    justify-content: center;
}

.banner-text {
    display: flex;
    align-items: center;
    flex-direction: column;
    justify-content: center;
    color: #f4f4f4;
    font-family: 'Pixelmania';
    font-size: 20px;
    padding: 20px;
    backdrop-filter: none;
    background-color: #775F55;
    height: 100px;
    width: 500px;
}

.banner-text h1 {
    font-size: 20px;
    margin: 0;
}

.banner-text h2 {
    font-size: 20px;
    margin: 0;
}

.banner-text h3 {
    font-size: 10px;
    margin: 0;
}

.introduction {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin: 50px 0;
}


.introduction p {
    font-family: 'helvetica';
    text-align: left;
    padding: 20px;
    font-size: 20px;
    color: #FFFFFF;
}

.introduction button {
    background-color: #775F55;
    color: #f4f4f4;
    border: none;
    border-radius: 5px;
    padding: 20px 20px;
    font-family: 'Pixelmania';
    font-size: 15px;
    margin: 20px;
    cursor: pointer;
}

.introduction button:hover {
    background-color: #968C8C;
    color: #f4f4f4;
    transition: all 0.3s ease-in-out;
}

.introduction button:focus {
    outline: none;
}

.introduction button:active {
    transform: scale(0.9);
}

.news-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 1fr 1fr;
    gap: 0px 0px;
    grid-auto-flow: row;
    grid-template-areas:
        "news-img1 news-title"
        "news-img2 news-img3";
}


.news-img1 {
    grid-area: news-img1;
    display: flex;
    justify-content: center;
    margin-bottom: 30px;
}

.news-img2 {
    grid-area: news-img2;
    display: flex;
    justify-content: center;
    margin-top: 30px;
}

.news-title {
    grid-area: news-title;
    display: flex;
    justify-content: center;
}

.news-img3 {
    grid-area: news-img3;
    display: flex;
    justify-content: center;
    margin-top: 30px;
}

.news-container img {
    object-fit: cover;
    width: 100%;
    height: 100%;
}

.news-img1:hover,
.news-img2:hover,
.news-img3:hover {
    width: 100%;
    transform: scale(1.1);
    transition: all 0.5s ease-in-out
}

footer {
    background-color: rgba(255, 255, 255, 0.122);
    display: flex;
    align-items: center;
    text-align: center;
    font-size: 10px;
    width: 100%;
    margin-top: 110px;
    /* flex-wrap: wrap; */
}

footer h1 {
    font-family: 'Pixelmania';
    font-size: 7px;
    text-decoration: underline;
    text-underline-offset: 10px;
}

footer img {
    width: 10px;
    height: 10px;
    /* margin: 10px; */
}

footer li {
    background-color: #94B6D2;
    border-radius: 30px;
}

footer a {
    text-decoration: none underline;
    color: black;

}

footer a:hover {
    color: #775F55;
    transition: all 0.3s ease-in-out;
}

.social-links h1 {
    margin-top: 24px;
    font-size: 8px;
}

.quick-links h1 {
    margin-top: 24px;
    font-size: 8px;
}

.footer-title img {
    animation: float 0.7s ease-in-out infinite;
    height: 30px;
    width: 30px;
}

.copyright {
    display: block;
    position: fixed;
    bottom: 0;
    /* width: 100%; */
    left: 0;
}

.games-title {
    display: flex;
    font-family: 'Pixelmania';
    font-size: 8px;
    width: 100%;
    color: black;
    height: 318px;
    background-color: #775F55;
    align-items: center;
    justify-content: center;
    margin-top: 89px;
}
.all-games {
    display: flex;
    flex-direction: row;
    margin: 50px 0;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
}

.all-games img {
    width: 100%;
    height: 60px;
    object-fit: cover;
    border-radius: 10px;
}

.game {
    margin: 30px;
}

.our-games {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}   

.our-games-title{
    font-family: 'Pixelmania';
    font-size: 10px;
}

.our-games img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.gamecraft-games {
    display: flex;
}

.about-us {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin: 50px 0;
    background-color: #775F55;
    height: 500px;
    width: 100%;
}

.about-us-title {
    font-family: 'Pixelmania';
    font-size: 10px;
}

.about-us-paragraph {
    font-family: 'helvetica';
    text-align: center;
    padding: 20px;
    font-size: 20px;
    color: #d9d9d9;
    font-weight: 700;
    line-height: 50px;
    
    text-underline-offset: 12px;
}

.team h1{
    font-family: 'Pixelmania';
    font-size: 20px;
    margin: 30px;
}

.team img {
    width: auto;
    height: 100px;
    object-fit: cover;
    border-radius: 30px;
}

.profile1{
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 50px ;
    padding: 30px;
}

.profile2{
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 50px ;
    padding: 30px;
}

.weclome-message-contactform {
    font-family: 'pixelmania';
    font-size: 10px;
    margin-top: 134px;
    text-align: center;
}

form {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin: 50px 0;
    background-color: #F4F4F4; /* Light background color */
    padding: 20px; /* Added padding for spacing */
    border-radius: 10px; /* Rounded corners */
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1); /* Box shadow for a subtle lift */
}

input, .contact-form textarea {
    margin: 10px 0;
    padding: 10px; /* Added padding for better visual appeal */
    width: 100%; /* Full-width input fields */
    box-sizing: border-box; /* Include padding and border in the element's total width */
    border: 1px solid #D9D9D9; /* Light border color */
    border-radius: 5px; /* Rounded corners */
    resize: none;
}

.contact-form button {
    padding: 10px 20px;
    background-color: #4CAF50; /* Green background color */
    color: white; /* White text color */
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 16px;
}

/* Hover effect for the button */
.contact-form button:hover {
    background-color: #45a049; /* Darker green on hover */
}

.contact-form button:active {
    transform: scale(0.9);
    transition: all 0.3s ease-in-out;
}

@media screen and (min-width: 600px) {

    .news-img1 {
        justify-content: flex-end;
    }

    .news-img2 {
        grid-area: news-img2;
        display: flex;
        justify-content: flex-end;
        margin-top: 30px;
    }

    .news-title {
        justify-content: flex-start;
        margin: 0 130px;
    }

    .news-img3 {
        justify-content: flex-start;
    }

    .news-container img {
        margin: 0 130px;
        height: 200px;
        width: 200px;
    }

    .news-container {
        margin: 130px 0;
    }



    footer img {
        width: 20px;
        height: 20px;
    }

    footer {
        display: flex;
        justify-content: center;
        font-size: 20px;
        margin-top: 50px;
    }

    footer h1 {
        font-size: 15px;
    }

    .social-links {
        margin: 0 216px;
    }

    .ham-menu {
        display: none;
    }

    .navbar {
        padding: 0;
        background-color: transparent;
        backdrop-filter: none;
        position: relative;
        margin: 40px;
    }

    .navbar a {
        color: #968C8C;
        font-size: 10px;
        font-weight: bold;
        font-family: 'Pixelmania';
        text-decoration: underline;
        text-underline-offset: 18px;
    }

    .navbar ul {
        display: flex;
        align-items: center;
        justify-content: flex-end;
        margin-top: -55px;
        margin-right: 108px;
    }

    .navbar a:hover {
        color: #775F55;
        transition: all 0.3s ease-in-out;
    }

    .navbar a:active {
        transform: scale(0.9);
    }

    .header {
        display: flex;
    }

    .headerBackgroundClass {
        background-color: black;
    }

    .Homepage-title {
        position: relative;
        top: 0;
        left: 0;
    }

    .banner {
        height: 400px;
        margin-top: 27px;
    }

    .banner-text {
        height: 287px;
        width: 998px;
    }

    .banner-text h3 {
        font-size: 20px;
        margin: 0;
    }

    .banner-text h2 {
        font-size: 40px;
        margin: 0;
    }

    .banner-text h1 {
        font-size: 35px;
        margin: 0;
    }

    .all-games img {
        height: 100px;
    }

    .team h1{
        font-size: 50px;
    }
    
    .team img {
        height: 300px;
    }

    input, .contact-form textarea {
        width: 50%;
    }

    form {
        width: 50%;
        margin: 50px auto;
    }
}