@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;600;700&display=swap');

body, html {
    margin: 0;
    padding: 0;
    width: 100%;
    height: 100%;
    overflow-x: hidden;
    touch-action: manipulation;
    -webkit-text-size-adjust: none;
    -webkit-tap-highlight-color: transparent;
    overscroll-behavior: none;
    /* Prevent iOS context menu */
    -webkit-touch-callout: none;
}

/* Base font */
* {
    font-family: 'Poppins', sans-serif;
}

/* Add this at the top with other global styles */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

[v-cloak] {
    display: none;
}

/* Add touch device specific styles */
@media (hover: none) and (pointer: coarse) {
    body, html {
        user-select: none;
    }
}

button {
    background-color: #4CAF50;
    border: none;
    color: white;
    padding: 10px 20px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-size: 16px;
    margin: 4px 2px;
    cursor: pointer;
    border-radius: 4px;
    user-select: none;
}
button:hover { background-color: #45a049; }
button:disabled {
    background-color: #cccccc;
    cursor: not-allowed;
}

h1 {
    margin-top: 0;
    margin-bottom: 10px;
    font-size: 3em;
    font-weight: 700;
    color: #4CAF50;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3),
                 0 0 20px rgba(76, 175, 80, 0.2);
    letter-spacing: 2px;
    text-transform: uppercase;
    background: linear-gradient(45deg, #4CAF50, #45a049);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    position: relative;
}

h1::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, transparent, #4CAF50, transparent);
}

p {
    margin-bottom: 20px;
    font-size: 1.2em;
    color: #e0e0e0;
}

.container {
    padding: 10px;
    margin: 0; /* Remove margin */
}
.container h1 {
    margin: 0 10px;
}

@media screen and (max-width: 180mm) {
    .container {
        padding: 0;
        margin: 0;
    }

    button {
        padding: 5px 10px;
    }
}

.menu-icon {
    cursor: pointer;
    font-size: 24px;
    padding: 10px;
    color: #4CAF50;
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
    user-select: none;
    min-width: 44px;
    min-height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 999;
}

.popup-menu {
    position: absolute;
    top: 60px;
    right: 20px;
    background-color: #2a2a2a;
    border-radius: 5px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.3);
    z-index: 1000;
    display: none;
}

.popup-menu.active {
    display: block;
    animation: fadeIn 0.2s ease-in-out;
}

.popup-menu button {
    display: block;
    width: 100%;
    padding: 12px 20px;
    text-align: left;
    background: none;
    border: none;
    color: white;
    user-select: none;
}

.popup-menu button:hover {
    background-color: #3a3a3a;
}

a {
    color: #7dcaff;  /* Light blue color */
    text-decoration: none;
    transition: color 0.2s ease;
}

a:hover {
    color: #4CAF50;  /* Green color on hover, matching the theme */
}

a:visited {
    color: #bb86fc;  /* Light purple for visited links */
}

a:visited:hover {
    color: #4CAF50;
}
