* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
body {
    font-family: Arial, sans-serif;
    background-color: #000;
    color: #fff;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    min-height: 100vh;
}

.form-container {
    padding: 20px;
    width: 90%;
    max-width: 500px;
    margin-top: 20px;
    border: 1px solid #555;
    border-radius: 12px; /* More rounded corners */
    background: linear-gradient(145deg, #1c1c1c, #2c2c2c); /* Gradient background */
    color: #fff;
    text-align: center;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3); /* Add shadow */
}
h3 {
    color: #ff3333;
    margin-bottom: 20px;
}

/* Base form and page styles */
#form1, #form2, #form3, #page1, #page2 {
    display: none; /* Hide elements by default */
    flex-direction: column;
    align-items: center;
    width: 100%;  /* Ensure elements take up full width */
    box-sizing: border-box; /* Ensure padding doesn't break layout */
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

#form1.show, #form2.show, #form3.show, #page1.show, #page2.show {
    display: flex;
    animation: fadeIn 0.5s ease; /* Fade-in animation */
}

label {
    margin-top: 10px;
    color: #fff;
    font-weight: bold;
}
input[type="text"], input[type="email"], select {
    width: 80%;
    padding: 10px;
    margin-top: 5px;
    border: 1px solid #555;
    border-radius: 4px;
    font-size: 16px;
    background-color: #333;
    color: #fff;
    text-align: center;
    appearance: none; 
}
input[type="text"]:focus, input[type="email"]:focus, select:focus {
    border-color: red; /* Change border color to red on focus */
    box-shadow: 0 0 15px rgba(255, 0, 0, 0.8); /* Adjust the shadow color intensity */
}
select {
    cursor: pointer;
    background-image: url('data:image/svg+xml;charset=US-ASCII,%3Csvg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 4 5"%3E%3Cpath fill="%23fff" d="M2 0L0 2h4zM2 5L0 3h4z"/%3E%3C/svg%3E'); /* Custom dropdown arrow */
    background-repeat: no-repeat;
    background-position: right 10px center;
    background-size: 12px 12px;
}
input[type="submit"] {
    background-color: #ff3333;
    color: #fff;
    padding: 10px 20px;
    margin-top: 20px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 16px;
    transition: background-color 0.3s ease;
}
input[type="submit"]:hover {
    background-color: #cc0000;
}
.input-container {
    position: relative;
    display: inline-block;
}
#pixCopiaECola {
	width: 100%;
	padding-right: 60px; /* Adjust this value based on button width */
	box-sizing: border-box;
}
.copy-btn {
	position: absolute;
	right: 0;
	top: 50%;
	transform: translateY(-50%);
	background-color: red;
	color: white;
	border: none;
	padding: 0 10px;
	height: 100%;
	cursor: pointer;
}

.copy-btn:focus {
	outline: none;
}
h5 {
    font-size: 14px; /* Set a fixed font size */
}

/* Top Menu Styles */
.top-menu {
    width: 90%;
    padding: 10px; /* Fixed incorrect value */
    display: flex;
    border-radius: 8px;
    justify-content: center;
    margin-bottom: 20px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);

    /* Gradient animation */
    background: linear-gradient(90deg, #1c1c1c, #2c2c2c);
    background-size: 200% 200%;
    animation: gradientMove 4s ease infinite;
}

/* Button Styling */
.top-menu button {
    background: none;
    border: none;
    color: #fff;
    cursor: pointer;
    text-align: center;
    padding: 5;
    margin: 0 10px;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    font-size: 14px;
}


/* Icon Styling */
.top-menu button i {
    font-size: 20px;
    margin-bottom: 5px;
}

/* Hover Effects */
.top-menu button:hover {
    transform: scale(1.1);
    color: #ff3333;
}



.terms-content {
    width: 90%;
    text-align: left;
    padding: 20px;
    background: #222;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
    margin-top: 10px;
    line-height: 1.6;
}

ul {
    padding-left: 20px;
}

p {
    margin: 10px 0;
}

.tutorial-item {
    margin-bottom: 10px;
    border-radius: 10px;
    overflow: hidden;
}

.tutorial-header {
    width: 400px;  /* Fixed height */
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 20px;
    color: white;
    cursor: pointer;
    font-size: 18px;
    border-radius: 10px;
    transition: background-color 0.3s ease;
}

.tutorial-header i {
    transition: transform 0.3s ease;
}

.tutorial-header.active i {
    transform: rotate(180deg);
}

.tutorial-content {
    width: 90%;
    overflow: auto;  /* Enables scrolling */
    text-align: left;
    padding: 20px;
    background: #222;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    margin: 10px auto;
    line-height: 1.6;
    display: none;
}

.tutorial-content iframe {
    max-width: 100%;
    height: 180px; /* Adjust to fit within the fixed height */
}

.language-toggle {
    margin-bottom: 20px;
    text-align: center;
}

.language-toggle button {
    padding: 10px 20px;
    margin: 0 5px;
    background-color: #333;
    color: white;
    border: none;
    border: 1px solid #555;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.language-toggle button.active {
    border-color: red; /* Change border color to red on focus */
    box-shadow: 0 0 15px rgba(255, 0, 0, 0.8); /* Adjust the shadow color intensity */
}

.language-toggle button:hover {
    border-color: red; /* Change border color to red on focus */
    box-shadow: 0 0 8px rgba(255, 0, 0, 0.3); /* Adjust the shadow color intensity */
}


.logo-container {
    position: relative;
    width: 256px; /* Match the logo width */
    height: 256px; /* Match the logo height */
    display: flex;
    justify-content: center;
    align-items: center;
}

.logo {
    position: absolute; /* Position the logo on top */
    z-index: 2; /* Ensure the logo is above the text */
    width: 256px; /* Match the logo width */
    height: 256px; /* Match the logo height */
    border-radius: 24px; /* Keep your border-radius */
}

.spinning-text {
    position: absolute;
    z-index: 1; /* Ensure the text is below the logo */
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%); /* Center the text */
    font-size: 16px;
    font-weight: bold;
    color: #ffaa00; /* Default color */
}

table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
}
th, td {
    padding: 10px;
    text-align: center;
    border: 1px solid #444;
}
th {
    background-color: #333;
    color: #ff3333;
}
tr:nth-child(even) {
    background-color: #2c2c2c;
}
tr:nth-child(odd) {
    background-color: #1c1c1c;
}
tr:hover {
    background-color: #444;
}

.donate-title {
color: green;
font-size: 2rem;
font-weight: bold;
text-shadow: 2px 2px 0 black, -2px -2px 0 black, -2px 2px 0 black, 2px -2px 0 black;
}

@media (max-width: 600px) {
    .form-container {
        width: 90%;
    }
    .terms-container {
        width: 100%;
    }
    .top-menu {
        width: 100%;
    }
    input[type="text"], input[type="email"] {
        font-size: 14px;
    }
    input[type="submit"] {
        padding: 8px 16px;
        font-size: 14px;
    }
    .tutorial-header {
        width: 100%;
    }
    #form1, #form2, #form3, #page1, #page2 {
        width: 100%; /* Ensure forms take full width */
        padding: 15px; /* Optional: Add some padding for better spacing */
    }
    th, td {
        padding: 5px; /* Reduce padding to make table rows shorter */
        font-size: 12px; /* Optionally reduce font size for better fit */
    }
    
    table {
        font-size: 12px; /* Reduce overall table font size */
    }
}