* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
    background-color: #f4f4f4;
    color: #333;
    background: url('img/main_bg.jpg') center/cover;
    overflow-x: hidden;
}


/* Colour variables */
:root {
    --primary-color: #ff4500;
    --secondary-color: #007bff;
    --background-light: #f9f9f9;
    --background-dark: #222;
    --text-light: #fff;
    --text-dark: #333;
}

/* Animations */
.fade-in {
    animation: fadeIn 1.5s ease-in-out forwards;
    opacity: 0;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.slide-in {
    transform: translateY(-50px);
    opacity: 0;
    animation: slideIn 1.5s ease-out forwards;
}

@keyframes slideIn {
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.delay {
    animation-delay: 0.5s;
}

.zoom-on-hover img {
    transition: transform 0.5s ease, box-shadow 0.5s ease;
}

.zoom-on-hover img:hover {
    transform: scale(1.1);
    box-shadow: 0px 15px 25px rgba(0, 0, 0, 0.2);
}

.popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    display: none;
    justify-content: center;
    align-items: center;
}

.popup-overlay:target {
    display: flex;
}

.popup-content {
    background: rgb(0, 0, 0);
    padding: 20px;
    text-align: center;
    position: relative;
    transform: scale(0.8);
    opacity: 0;
    animation: zoomIn 0.5s ease forwards;
}

@keyframes zoomIn {
    to {
        transform: scale(1);
        opacity: 1;
    }
}

.close-popup {
    position: absolute;
    top: 10px;
    right: 10px;
    font-size: 24px;
    text-decoration: none;
    color: #333;
}

.close-popup:hover {
    color: #999;
}

/* Banner */
.banner {
    background: url('img/main_banner.jpg') no-repeat center center/cover;
    height: 70vh;
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
    text-align: center;
    position: relative;
}

.banner::after {
    content: "";
    background: rgba(0, 0, 0, 0.4);
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
}

.banner-content {
    position: relative;
    z-index: 2;
}

.banner h1 {
    font-size: 5em;
    color: yellow; 
    padding-bottom: 15px;
}

.banner h2 {
    font-size: 2.5em;
    color: var(--text-light); 
    padding-bottom: 15px;
}

.banner p {
    font-size: 1.5em;
    color: var(--text-light); 
}


.about-section {
    padding: 60px 20px;
    max-width: 1200px;
    margin: 0 auto;
    margin-top: 40px;
    text-align: left;
    background-color: var(--background-light);
}

.about-section p {
    margin-bottom: 20px;
    line-height: 1.8;
}

.about-section h2 {
    text-align: center;
    margin-bottom: 20px;
}

/* SEO section */
.seo-section {
    padding: 40px 20px;
    max-width: 1200px;
    margin: 0 auto;
    background-color: var(--background-light);
}

.seo-section h1 {
    font-size: 2.5em;
    margin-bottom: 20px;
    text-align: center;
    color: var(--primary-color);
}


.seo-section h2 {
    font-size: 2em;
    margin-bottom: 20px;
    text-align: center;
    color: var(--primary-color);
}

.seo-section h3 {
    font-size: 1.5em;
    margin-top: 30px;
    margin-bottom: 15px;
    color: var(--secondary-color);
}

.seo-section p {
    font-size: 1.1em;
    margin-bottom: 20px;
    text-align: justify;
    padding: 0 15px;
    color: var(--text-dark); 
}

.seo-section ul, li {
    font-size: 1.1em;
    margin-bottom: 20px;
    text-align: justify;
    padding: 0 15px;
    color: var(--text-dark); 
}

.contact-section {
    padding: 60px 20px;
    max-width: 1200px;
    margin: 0 auto;
    background-color: var(--background-light);
    text-align: center; 
}

.contact-form {
    max-width: 600px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    text-align: left;
}

.contact-form label {
    margin-bottom: 10px;
    font-size: 1.2em;
    color: var(--primary-color);
}

.contact-form input,
.contact-form textarea {
    padding: 10px;
    margin-bottom: 20px;
    font-size: 1em;
    border: 1px solid var(--secondary-color);
    border-radius: 4px;
    transition: border-color 0.3s ease;
}

.contact-form input:focus,
.contact-form textarea:focus {
    border-color: var(--primary-color); 
}

.contact-form button {
    padding: 10px 20px;
    background-color: var(--primary-color);
    color: var(--text-light);
    border: none;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.contact-form button:hover {
    background-color: var(--secondary-color); 
    transform: translateY(-3px);
}

.contact-form button:active {
    transform: translateY(0);
}


.game-section {
    padding: 40px 20px;
    text-align: center;
    background-color: var(--background-light);
    max-width: 1200px;
  margin: 0 auto;
}

.game-section h2 {
    font-size: 2.5em;
    margin-bottom: 10px;
    color: var(--primary-color); 
}

.game-section h3 {
    font-size: 1.2em;
    margin-bottom: 30px;
    color: var(--secondary-color);
}


.game-container {
    display: flex;
    justify-content: center;
    align-items: center; 
    width: 100%;
    max-width: 600px;
    margin: 0 auto;
    height: 400px; 
    padding: 0;
    background-color: var(--background-light); 
}

.game-container img {
    width: 100%;
    height: 100%;
    object-fit: cover; 
    /* border: 3px solid var(--primary-color);
    border-radius: 8px;
    box-sizing: border-box; */
}

/* Footer */
footer {
    background-color: var(--background-dark);
    color: var(--text-light);
    text-align: center;
    padding: 20px 0;
    margin-top: 40px;
}

.footer-links a {
    color: var(--text-light);
    margin-right: 20px;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--secondary-color); 
}

.logos img {
    margin: 10px;
    transition: transform 0.3s ease;
}

.logos img:hover {
    transform: scale(1.1);
}

footer p {
    margin-top: 20px;
    font-size: 0.9em;
    max-width: 1200px;
    text-align: center; 
    margin-left: auto;
    margin-right: auto;
}
