/* Basic Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Roboto', sans-serif;
  color: #333333; /* Text Color */
   background-image: url('/Graphics/BG1.jpg'); /* Replace with your image path */
    background-repeat: repeat; /* Repeats the image to fill the entire background */
    background-size: 50%; /* Ensures the image covers the entire background area */
    background-attachment: fixed; /* Keeps the background in place while scrolling */
    background-position: center; /* Centers the background image */
  line-height: 1.6;
  padding-top: 60px; /* For fixed header */
  padding-bottom: 100px; /* Adjust based on the height of your footer */
}

/* Header */
header {
    background: #D32F2F; /* Main Color: Red */
    color: #FFFFFF;
    padding: 10px 0;
    text-align: center;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

header h1 {
  margin: 0;
  font-size: 2.5em;
}

/* Navigation */
nav {
  display: flex;
  justify-content: center;
  background: #B71C1C; /* Darker shade of Main Color: Red */
  padding: 10px 0;
}

nav a {
  color: #FFFFFF;
  padding: 15px 20px;
  text-decoration: none;
  text-transform: uppercase;
  font-size: 1em;
  transition: background 0.3s;
}

nav a:hover {
  background: #C62828; /* Hover State of Main Color: Red */
}

/* Container */
.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
  overflow: hidden;
  padding: 20px 0;
}

/* Sections */
section {
  padding: 20px 0;
}

section h2 {
  font-size: 2em;
  margin-bottom: 10px;
  border-bottom: 2px solid #D32F2F; /* Main Color: Red */
  display: inline-block;
}

section p {
  font-size: 1.1em;
  margin-bottom: 20px;
}

/* Cards */
.card {
  background: #FFFFFF; /* Background Color */
  padding: 20px;
  margin: 10px 0;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
  border-radius: 5px;
  cursor: pointer;
  transition: transform 0.3s, box-shadow 0.3s;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.card h3 {
  margin-top: 0;
  font-size: 1.5em;
}

.card p {
  font-size: 1em;
}

/* Registration Button */
.register-button {
  background-color: #B71C1C;
  border: none;
  color: white;
  padding: 15px 32px;
  text-align: center;
  text-decoration: none;
  display: inline-block;
  font-size: 16px;
  margin: 4px 2px;
  cursor: pointer;
}

.register-button:hover {
  background-color: #C62828; /* Lighter shade of Main Color: Red */
}

/* Footer */
footer {
  background: #D32F2F; /* Main Color: Red */
  color: #FFFFFF;
  text-align: center;
  padding: 20px 0;
  position: fixed;
  bottom: 0;
  width: 100%;
  box-shadow: 0 -2px 5px rgba(0, 0, 0, 0.1);
}

footer p {
  margin: 0;
}

footer .social-icons {
  margin-top: 10px;
}

footer .social-icons a {
  color: #FFFFFF;
  margin: 0 10px;
  font-size: 1.2em;
  transition: color 0.3s;
}

footer .social-icons a:hover {
  color: #FFCDD2; /* Secondary Color: Light Red */
}

/* Responsive */
@media (max-width: 768px) {
  nav {
    flex-direction: column;
  }
  
  .container {
    width: 95%;
  }
}

/* Hide the element on mobile devices */
@media (max-width: 768px) {
  .desktop-only {
    display: none;
  }
}

/* Show the element on desktop devices */
@media (min-width: 769px) {
  .desktop-only {
    display: block;
  }
}

/* Show the element on mobile devices */
@media (max-width: 768px) {
  .mobile-only {
    display: block;
  }
}

/* Hide the element on desktop devices */
@media (min-width: 769px) {
  .mobile-only {
    display: none;
  }
}
