/* Add Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@400;700&display=swap');

body {
    font-family: 'Roboto', sans-serif; /* Updated font */
    margin: 0;
    padding: 0;
    background-color: #f4f7f9;
    color: #333;
    display: flex;
    flex-direction: column;
    min-height: 100vh; /* Ensure body takes full height */
}

header {
    background: linear-gradient(to right, #5865f2, #4a54f1); /* Gradient background */
    color: #fff;
    text-align: center;
    padding: 2em 0;
}

header h1 {
    margin: 0;
    font-size: 2.5em;
    text-transform: uppercase;
}

header p {
    margin: 0.5em 0 0;
    font-size: 1.2em;
    color: #e0e0e0; /* Light color for subtitle text */
}

nav {
    margin-top: 10px; /* Consistent margin for the navbar */
}

nav ul {
    list-style: none; /* Remove default list styles */
    padding: 0; /* Remove padding */
    display: flex; /* Use flexbox for horizontal layout */
    justify-content: center; /* Center the items */
}

nav li {
    margin: 0 15px; /* Add some space between items */
}

nav a {
    color: white;
    text-decoration: none;
    font-size: 18px;
    padding: 10px 20px; /* Consistent padding */
    border-radius: 25px;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

nav a:hover {
    background-color: #4b55d3;
    transform: scale(1.1);
}

main {
    padding: 20px;
    flex: 1; /* Allow main to grow and fill space */
}

.container {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 20px;
}

.box {
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    width: 300px;
    padding: 20px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease, background-color 0.3s ease;
}

.box:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
    background-color: #f7f9fc;
}

h2 {
    color: #5865f2;
    margin-top: 0;
}

/* Footer Styles */
footer {
    width: 100%;
    background-color: #5865f2;
    color: white;
    padding: 20px; /* Ensure consistent padding */
    text-align: center;
    border-top: 4px solid #341c91;
    box-sizing: border-box;
    position: relative; /* Change to relative if you want it to be at the bottom of the content */
}

footer p {
    margin: 5px 0;
    font-size: 14px; /* Ensure consistent font size */
}

footer .social-links {
    margin-top: 10px;
}

footer .social-icon {
    margin: 0 10px;
    display: inline-block;
    transition: transform 0.3s ease;
}

footer .social-icon:hover {
    transform: scale(1.2);
}

footer .company-info {
    margin-top: 10px;
}

.company-info p {
    margin: 5px 0;
}

.company-info a {
    color: #fff;
    text-decoration: none;
}

.company-info a:hover {
    text-decoration: underline;
}

/* Add styles for clickable links in boxes */
.box a {
    color: #5865f2;
    text-decoration: none;
}

.box a:hover {
    text-decoration: underline;
}

.button {
    display: inline-block;
    padding: 10px 20px;
    background-color: #5865f2;
    color: white;
    border-radius: 5px;
    text-decoration: none;
    transition: background-color 0.3s;
}

.button:hover {
    background-color: #4b55d3;
}

/* Styling the 'Free Gaming Subdomain' box */
.box h2 {
    color: #5865f2; /* Color for the title */
}

.box p {
    font-size: 1em;
    color: #333;
}

.box ul {
    list-style-type: none;
    padding: 0;
}

.box ul li {
    font-size: 1em;
    color: #555;
}

.button {
    display: inline-block;
    padding: 12px 25px;
    background-color: #5865f2;
    color: white !important; /* Ensure text color is always white */
    border-radius: 5px;
    text-decoration: none;
    font-size: 1.1em;
    margin-top: 15px;
    transition: background-color 0.3s ease;
}

.button:hover {
    background-color: #4b55d3;
}

.button-container {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 20px;
}


   /* General Styles */
   body {
    font-family: 'Poppins', sans-serif;
    background-color: #f4f4f9;
    color: #333;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* Header Styles */
header {
    width: 100%;
    background-color: #5865f2;
    padding: 15px 0;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    text-align: center;
}

header h1 {
    margin: 0;
    font-size: 36px;
    color: white;
}

header p {
    margin: 5px 0 0;
    font-size: 18px;
    color: white;
}

nav {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 10px;
}

nav a {
    color: white;
    text-decoration: none;
    font-size: 18px;
    padding: 10px 20px;
    border-radius: 25px;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

nav a:hover {
    background-color: #4b55d3;
    transform: scale(1.1);
}

/* Main Content Styles */
main {
    width: 100%;
    max-width: 1200px;
    padding: 20px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    background-color: white;
    margin-top: 30px;
    border-radius: 15px;
    box-sizing: border-box;
}

.container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    box-sizing: border-box;
}

.box {
    background-color: #fff;
    border: 1px solid #ddd;
    border-radius: 10px;
    padding: 20px;
    margin: 10px;
    width: 300px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: transform 0.3s, box-shadow 0.3s;
}

.box:hover {
    transform: scale(1.05);
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.2);
}

.box h2 {
    font-size: 24px;
    color: #5865f2;
    margin-bottom: 15px;
    transition: color 0.3s ease;
}

.box p a {
    text-decoration: none;
    color: #333;
    transition: color 0.3s ease;
}

.box p a:hover {
    color: #5865f2;
}

/* Footer Styles */
footer {
    width: 100%;
    background-color: #5865f2;
    color: white;
    padding: 20px;
    text-align: center;
    border-top: 4px solid #341c91;
    box-sizing: border-box;
}

footer a {
    color: white;
    text-decoration: none;
}

footer .social-links {
    margin-top: 10px;
}

footer .social-icon {
    margin: 0 10px;
    display: inline-block;
    transition: transform 0.3s ease;
}

footer .social-icon:hover {
    transform: scale(1.2);
}

footer .company-info {
    margin-top: 10px;
}

/* Animations */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.box {
    animation: fadeIn 1s ease-in-out;
}

.social-icon img {
    width: 24px;
    height: 24px;
}

/* Add Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@400;700&display=swap');

body {
    font-family: 'Roboto', sans-serif; /* Updated font */
    margin: 0;
    padding: 0;
    background-color: #f4f7f9;
    color: #333;
    display: flex;
    flex-direction: column;
    min-height: 100vh; /* Ensure body takes full height */
}

header {
    background: linear-gradient(to right, #5865f2, #4a54f1); /* Gradient background */
    color: #fff;
    text-align: center;
    padding: 2em 0;
}

header h1 {
    margin: 0;
    font-size: 2.5em;
    text-transform: uppercase;
}

header p {
    margin: 0.5em 0 0;
    font-size: 1.2em;
    color: #e0e0e0; /* Light color for subtitle text */
}

nav {
    margin-top: 10px; /* Consistent margin for the navbar */
}

nav ul {
    list-style: none; /* Remove default list styles */
    padding: 0; /* Remove padding */
    display: flex; /* Use flexbox for horizontal layout */
    justify-content: center; /* Center the items */
}

nav li {
    margin: 0 15px; /* Add some space between items */
}

nav a {
    color: white;
    text-decoration: none;
    font-size: 18px;
    padding: 10px 20px; /* Consistent padding */
    border-radius: 25px;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

nav a:hover {
    background-color: #4b55d3;
    transform: scale(1.1);
}

main {
    padding: 20px;
    flex: 1; /* Allow main to grow and fill space */
}

.container {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 20px;
}

.box {
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    width: 300px;
    padding: 20px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease, background-color 0.3s ease;
}

.box:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
    background-color: #f7f9fc;
}

h2 {
    color: #5865f2;
    margin-top: 0;
}

/* Popup Styles */
.popup-overlay {
    position: fixed; /* Fix the popup to the screen */
    top: 0;
    left: 0;
    width: 100vw; /* Full viewport width */
    height: 100vh; /* Full viewport height */
    background-color: rgba(0, 0, 0, 0.5); /* Semi-transparent background */
    display: flex;
    justify-content: center; /* Center the popup horizontally */
    align-items: center; /* Center the popup vertically */
    z-index: 9999; /* Ensure the popup is above other content */
    opacity: 0; /* Initially hidden */
    visibility: hidden; /* Initially hidden */
    transition: opacity 0.3s ease, visibility 0.3s ease; /* Smooth transition */
}

.popup-content {
    background: #fff;
    border-radius: 10px;
    padding: 20px;
    width: 80%;
    max-width: 600px; /* Limit the maximum width of the popup */
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    animation: fadeIn 0.5s ease-out;
}

/* Close button */
.popup-close {
    position: absolute;
    top: 10px;
    right: 10px;
    background-color: #e74c3c;
    color: white;
    border: none;
    padding: 10px;
    border-radius: 50%;
    font-size: 18px;
    cursor: pointer;
}

.popup-close:hover {
    background-color: #c0392b;
}

/* Keyframe for fading animation */
@keyframes fadeIn {
    0% {
        opacity: 0;
        transform: translateY(-50px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Make sure popup is centered when active */
.popup-overlay.active {
    opacity: 1;
    visibility: visible;
}

/* Button Styles */
.button {
    display: inline-block;
    padding: 12px 25px;
    background-color: #5865f2;
    color: white !important; /* Ensure text color is always white */
    border-radius: 5px;
    text-decoration: none;
    font-size: 1.1em;
    margin-top: 15px;
    transition: background-color 0.3s ease;
}

.button:hover {
    background-color: #4b55d3;
}


