/* Make sure html and body fill the screen */
html, body {
  margin: 0;
  padding: 0;
  height: 100%;
}

/* Flex layout for full-height column */
body {
  display: flex;
  flex-direction: column;
  font-family: Arial, sans-serif;
  background: #f4f6f8;
  min-height: 100vh;
}

/* Navbar */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 40px;
    background-color: #2c3e50;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.navbar .logo img {
    height: 40px;
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 20px;
}

.nav-links li {
    display: inline;
}

.nav-links a {
    text-decoration: none;
    color: #fff;
    font-size: 18px;
    transition: 0.3s;
}

.nav-links a:hover {
    color: #ffcc00;
}
.contact-dropdown {
    position: relative;
}

.contact-menu {
    display: none;
    position: absolute;
    background: #2c3e50;
    padding: 10px;
    border-radius: 5px;
    top: 100%;
    left: 0;
    min-width: 150px;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.2);
}

.contact-menu a {
    display: block;
    color: white;
    padding: 8px 12px;
    text-decoration: none;
    transition: 0.3s;
}

.contact-menu a:hover {
    background: #ffcc00;
    color: #222;
}

.contact-dropdown:hover .contact-menu {
    display: block;
}


/* Main holds centered content */
.main {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 40px 20px;
  box-sizing: border-box;
  width: 100%;
}

/* Container properly constrained */
.container {
  max-width: 480px;
  width: 100%;
  text-align: center;
  flex: none;
  box-sizing: border-box;
}
.top-section {
  margin-bottom: 30px;
  padding: 10px;
}

.top-section img {
  max-width: 30%;
  height: auto;
  user-select: none;
}

/* PayPal form styles */
form {
  background: white;
  padding: 2.5rem 2rem;
  border-radius: 16px;
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.1);
}

.payment-logo-container {
  margin-bottom: 1.5rem;
}

.payment-logo {
  width: 120px;
  user-select: none;
}

input[type="number"] {
  width: 100%;
  padding: 12px 14px;
  font-size: 1.1rem;
  border-radius: 10px;
  border: 1px solid #ccc;
  margin-bottom: 1.5rem;
  box-sizing: border-box;
  transition: border-color 0.3s;
}

input[type="number"]:focus {
  border-color: #0070ba;
  outline: none;
}

input[type="submit"] {
  background-color: #0070ba;
  color: white;
  border: none;
  padding: 14px 0;
  font-size: 1.2rem;
  font-weight: 600;
  border-radius: 25px;
  cursor: pointer;
  width: 100%;
  transition: background-color 0.3s;
}

input[type="submit"]:hover {
  background-color: #005c99;
}

.info-text {
  font-size: 1rem;
  color: #444;
  margin-bottom: 1.5rem;
  line-height: 1.4;
}
.telegram-contact {
  margin-top: 1.5rem;
  text-align: center;
  font-size: 0.95rem;
  color: #555;
}

.telegram-contact a {
  color: #0088cc;
  font-weight: bold;
  text-decoration: none;
}

.telegram-contact a:hover {
  text-decoration: underline;
}

/* Footer */
.footer {
    padding: 20px;
    background-color: #222;
    color: white;
    font-size: 14px;
    text-align: center;
    width: 100%;
}
.footer a {
    color: #ffcc00;
    text-decoration: none;
    margin: 0 10px;
}

.footer a:hover {
    text-decoration: none;
}
.footer p:last-child {
    font-size: 0.6rem;
}
@media (max-width: 768px) {
	
/* Navbar */
.navbar {
    padding: 5px 30px;
}
.navbar .logo img {
height: 25px;
}

.nav-links a {
font-size: 12px;
}
}
@media (max-width: 480px) {

.navbar {
    padding: 5px 20px;
}

.navbar .logo img {
height: 20px;
}

.nav-links a {
font-size: 12px;
}

.main {
padding: 20px 10px;
align-items: flex-start;
}
.container {
max-width: 350px;
width: 80%;
}
.info-text {
  font-size: 0.8rem;
}
.payment-logo {
  width: 80px;
}

.footer {
    padding: 1px;

}
.footer a {
	font-size: 0.6rem;
    margin:0px;
}
.footer p {
	font-size: 0.6rem;
	margin-top: 1rem;
}
.footer p:last-child {
    font-size: 0.4rem;
}
}
