/* Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Orbitron:wght@600&family=Audiowide&display=swap');

/* Page layout */
html, body {
  height: 100%;
  margin: 0;
  font-family: Arial, sans-serif;
  background: #fff;
  color: #222;
 /* added to make the footer stick to the bottom */
  display: flex;
  flex-direction: column;
}

/* Banner */
.banner {
  display: flex;
  align-items: center;
  padding: 12px 20px;
  background: #000;
  align-items: center;
}

.banner img {
  height: 50px;
  margin-right: 15px;
}

.divider {
  width: 2px;
  height: 40px;
  background: #ff0000;
  margin-right: 15px;
}

.banner-text {
  display: flex;
  flex-direction: column;
}

.logo-text {
  font-family: 'Orbitron', 'Audiowide', sans-serif;
  font-size: 22px;
  color: #ff0000;
  font-weight: bold;
  letter-spacing: 1px;
}

.slogan {
  font-family: 'Orbitron', 'Audiowide', sans-serif;
  font-size: 14px;
  color: #ff4d4d;
  font-style: italic;
}
/* making the login and sign in button push to the very end */
.banner-right {
  margin-left: auto;
  display: flex;
  align-items: center;
}
.banner-right a {
  color: #fff;
  font-weight: 700;
  text-decoration: none;
  margin-left: 15px;
}

.banner-right a:hover {
  color: #c30000;
}


 /* css styling for the main div, make the footer stick to the bottom */
    .main {
    flex: 1;
    display: flex;
    flex-direction: column;
    }


    /* Order Summary */
.order-summary {
  border: 1px solid #ccc;
  border-radius: 8px;
  padding: 15px;
  margin-bottom: 25px;
  background: #f3f3f3;
}

.order-summary h3 {
  margin-top: 0;
  color: #c30000;
  font-family: 'Orbitron', 'Audiowide', sans-serif;
  text-align: center;
}

.summary-content {
  display: flex;
  align-items: center;
  gap: 15px;
}

.summary-content img {
  width: 80px;
  height: 80px;
  object-fit: contain;
  border: 1px solid #ddd;
  border-radius: 6px;
}

.summary-details p {
  margin: 3px 0;
  font-size: 14px;
  font-weight: bold;
}

/* Main container / card */
.container,
.checkout-container {
  max-width: 500px;
  width: 100%;
  margin: 40px auto;
  padding: 30px;
  background: #f9f9f9;
  border: 1px solid #ddd;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
  display: flex;
  flex-direction: column;
}

.container {
  padding: 32px;
}

.card h2,
.checkout-container h2 {
  text-align: center;
  color: #c30000;
  margin-bottom: 24px;
  font-family: 'Orbitron', 'Audiowide', sans-serif;
}

/* Form elements */
label {
  display: block;
  margin: 10px 0 6px;
  font-size: 15px;
  color: #555;
  font-weight: normal;
}

input[type="text"],
input[type="email"],
input[type="password"],
textarea,
select {
  width: 100%;
  padding: 12px;
  margin-bottom: 16px;
  border: 1px solid #ccc;
  border-radius: 6px;
  background: #fff;
  font-size: 14px;
  resize: vertical;
}

textarea {
  min-height: 80px;
}

button,
input[type="submit"] {
  width: 100%;
  padding: 12px;
  background: #c30000;
  color: #fff;
  border: none;
  border-radius: 6px;
  font-size: 15px;
  font-weight: bold;
  cursor: pointer;
}

button:hover,
input[type="submit"]:hover {
  background: #a80000;
}

/* Checkbox / payment */
.payment-method {
  margin: 15px 0 25px;
  font-size: 14px;
}

.payment-method label {
  font-weight: normal;
}

/* Footer */
.footer {
  background: #000;
  color: #fff;
  text-align: center;
  padding: 15px 0;
  margin-top: 40px;
}

.footer a {
  color: #c30000;
  text-decoration: none;
  margin: 0 5px;
}

.footer-slogan {
  color: #ff4d4d;
  font-style: italic;
  margin: 8px 0;
}

.footer-social img {
  width: 22px;
  height: 22px;
  margin: 0 6px;
  object-fit: contain;
}

/* Responsive */
@media (max-width: 600px) {
  .container,
  .checkout-container {
    padding: 20px;
    margin: 20px auto;
  }

  .card h2,
  .checkout-container h2 {
    font-size: 20px;
  }

  .banner {
    flex-direction: column;
    align-items: flex-start;
  }

  .divider {
    display: none;
  }

  .banner img {
    margin-bottom: 8px;
  }
}
