body {
    font-family: Arial, sans-serif;
    background-color: rgb(91, 136, 163);
    padding: 50px;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    min-height: 100vh; /* Ensure footer stays at the bottom */

}


header {
    background-image: url('./webimage.jpg'); /* Replace with your actual image path */
    background-size: cover; /* Adjust this based on your preference */
    background-position: center; /* Center the image */
    color: white;
    padding: 15px;
    text-align: center;
    position: relative; /* Positioning context for the header */
}

nav {
    display: flex;
    justify-content: space-around;
    background-color: #333;
}
nav a {
    color: white;
    padding: 14px 20px;
    text-decoration: none;
    text-align: center;
}
nav a:hover {
    background-color: #ddd;
    color: black;
}


/* Dropdown container */
.dropdown {
  position: relative;
  display: inline-block;
}

/* Dropdown content (hidden by default) */
.dropdown-content {
  display: none;
  position: absolute;
  background-color: #f9f9f9;
  min-width: 160px;
  box-shadow: 0px 8px 16px rgba(0, 0, 0, 0.2);
  z-index: 1;
}

/* Links inside the dropdown */
.dropdown-content a {
  color: black;
  padding: 12px 16px;
  text-decoration: none;
  display: block;
}

/* Show the dropdown content on hover */
.dropdown:hover .dropdown-content {
  display: block;
}

/* Style for the main dropdown link */
.dropdown > a {
  cursor: pointer;
}


.container {
  padding: 20px;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  flex-wrap: wrap;
  max-width: 800px;
  width: 90%;
  margin: auto;
  flex: 1; /* Allow the container to take available space */
}



form {
  width: 100%;
  max-width: 600px;
  padding: 40px;
  background-color: #f4f4f4;
  border-radius: 8px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
  display: flex;
  flex-direction: column;
  align-items: center;
}

        
label {
  display: block;
  width: 100%;
  margin-bottom: 10px;
  text-align: left;
}

.sidebar {
    flex: 1;
    padding: 15px;
    background-color: #f4f4f4;
    margin-right: 20px;
}
.content {
    flex: 2;
    padding: 15px;
}
footer {
    background-color: #333;
    color: white;
    text-align: center;
    padding: 10px;
    display: flex; /* Use flexbox for alignment */
    justify-content: center; /* Center items horizontally */
    align-items: center; /* Center items vertically */
    position: relative; /* Allow absolute positioning of logo */
}
.footer-logo {
    max-width: 100px; /* Set max width for logo */
    height: auto; /* Maintain aspect ratio */
    background-color: rgba(130, 175, 211, 0.8); /* Background color to match the footer */
    border-radius: 5px; /* Optional: Add border radius to the logo background */
    padding: 5px; /* Optional: Padding around the logo */
    margin-right: 10px; /* Space between logo and footer text */
}



input[type="text"],
input[type="email"],
input[type="password"],
textarea {
    width: calc(100% - 40px);
    padding: 10px;
    margin: 5px 0 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
}

.header {
    background-color: #866eb9;
     color: white;
    padding: 20px;
    text-align: center;
    border: 2px solid black;

  }
  
  .footer {
    background-color: #866eb9;
    color: white;
    padding: 10px;
    text-align: center;
  }

  h2 {
    color: #020202;
    font-size: 24px;
    text-align: left;
  }

  .hobby {
    padding: 20px;
    margin: 10px;
    background-color: #f9f9f9;
  }

  img {
    border: 5px solid #ccc;
    padding: 10px;
    margin: 10px;
  }

  video {
    border: 5px solid #ccc;
    height: 150px;
    padding: 10px;
    margin: 10px;
  }


  .topnav {
    overflow: auto;
    background-color: #3a8ae6;
  }
  
  .topnav a {
    float: left; 
    color: #f2f2f2;
    text-align: center;
    padding: 14px 16px;
    text-decoration: none;
    font-size: 17px;
    transition: background-color 0.3s, border-radius 0.3s;
  }
  
  .topnav a:hover {
    background-color: #116acf;
    color: black;
    border-radius: 10px; 
  }
  
  .topnav a.active {
    background-color: #0f62c0;
    color: black;
    border-radius: 10px; 
  }

table {
    width: 100%;
    table-layout: fixed; /* Ensures columns stay within bounds */
    border-collapse: collapse;
}
th, td {
    word-wrap: break-word;
    overflow: hidden;
    text-align: center;
}


/*** For blogs.html ***/

.blog-file-upload {
            display: inline-block;
            padding: 6px 12px;
            cursor: pointer;
            background-color: #007bff;
            color: white;
            border-radius: 4px;
        }

.blog-file-upload input[type="file"] {
            display: none;
        }


.blog-box {
    background-color: white;
    border: 2px solid black;

    padding: 10px;
    border-radius: 10px; 
    margin: 10px 20px;
            display: flex;
            justify-content: space-between;
            align-items: center;
   }
.blog-content {
  flex: 1;
        }
.blog-box img {
    max-width: 200px;
    margin-left: 20px;
    display: block;
   }

.blog-box .blogtitle {
   font-size: 1.5em;
   font-weight: bold;
    }

.blog-box .traveldesc {
   margin-top: 5px;
   }

/*** For blogs.html ***/

/*** For About_me.html ***/

.form-container {
  background-color: #f9caca;
  padding: 10px;
  border: 2px solid black;
  }
.form-container h2 {
  text-align: center;
  }

.form-group {
  display: flex;
  align-items: center;
  margin-bottom: 15px;
  }

.form-group label {
  background-color: #a0d4b6;
  padding: 10px;
  text-align: center;
  margin-right: 10px;
  width: 100px;
  }

.form-group input {
  width: 100px;
  padding: 8px;
  border: 1px solid #ccc;
  }

.button-group {
  margin-left: 10px;
  justify-content: center;
  gap: 20px;
  }

.button-group button {
  background-color: #c9b6f2;
  border: 1px solid black;
  padding: 10px 20px;
  border-radius: 5px;
  cursor: pointer;
  font-size: 14px;
  margin-left: 10px;
  }

/*** For About_me.html ***/

/*** For Login.html ***/
.non-clickable { 
    pointer-events: none; 
    color: gray;  }


/*** For Login.html ***/





/*** For services.html ***/
.intro {
  background-color: #f4f4f4;
  color: #333;
  padding: 30px;
  text-align: center;
  margin-bottom: 20px;
  border-radius: 8px;
}
.intro h2 {
  font-size: 2rem;
  margin-bottom: 15px;
}
.intro p {
  font-size: 1.2rem;
  line-height: 1.6;
}
.cta-button {
  display: inline-block;
  background-color: #4caf50;
  color: white;
  text-decoration: none;
  border-radius: 5px;
  font-size: 1.2rem;
  font-weight: bold;
  transition: background-color 0.3s;
}
.cta-button:hover {
  background-color: #45a049;
}
/*** For services.html ***/

/*** for events.html ***/
        .container {
          display: flex;
          flex-direction: column;
          padding: 20px;
      }
      h2 {
          text-align: center;
      }
      table {
          width: 100%;
          border-collapse: collapse;
          margin: 5px 0;
          box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
      }
      th, td {
          padding: 1px;
          text-align: left;
          border: 1px solid #ddd;
      }
      th {
          background-color: #4CAF50;
          color: white;
      }
      td {
          background-color: #f4f4f4;
      }

.register-btn {
    display: inline-block;
    width: 120px;  /* Makes sure it doesn’t overflow */
    max-width: 120px; /* Restrict button size */
    text-align: left;
    padding: 5px 5px;
    background-color: #4CAF50;
    color: white;
    border-radius: 5px;
    white-space: nowrap; /* Prevents text from breaking */
}

.register-btn:hover {
    background-color: #45a049;
}
/*** for events.html ***/
