/* Resetting default browser styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* Basic styling for the whole page */
body {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  background-color: #000000;
}

.container {
  max-width: 80%;
  margin: 0 auto;
  overflow: hidden;
  /* Clearfix hack */
}

/* Header styles */
header {
  background-color: #272727;
  color: #ffffff;
  /* padding: 1em 0; */
  /* height: 100%; */
}

main iframe {
  background-color: #fff;
}

header nav ul li a {
  color: #fff;
  text-decoration: none;
}

/* Main styles */
main {
  padding: 0px 0;
}

section {
  padding: 40px 0;
  background-color: #fff;
  margin-bottom: 20px;
}

section h2 {
  font-size: 2em;
  margin-bottom: 20px;
  text-align: center;
}

section p {
  text-align: center;
}

#headerimg {
  width: 20%;
}

.banner {
  background-color: rgb(211, 34, 34);
  /* padding: 0 0; */
}

.redp {
  color: red;
  display: inline;
}

#banner {
  background-size: cover;
  background-position: center;
  color: #000000;
  text-align: center;
  padding: 10px 0;
  margin-bottom: 0;
  color: white;
}

#banner h1 {
  font-size: 1.5em;
}

#banner a {
  color: black;
}

.banner2 {
  background-color: black;
  /* padding: 0 0; */
}

#banner2 {
  background-size: cover;
  background-position: center;
  color: #000000;
  text-align: center;
  padding: 10px 0;
  margin-bottom: 0;
  color: white;
}

#banner2 h1 {
  font-size: 1.5em;
}

#banner2 p {
  color: white;
  /* text-decoration: underline; */
}


/* Hero section */
#hero {
  background-size: cover;
  background-position: center;
  color: #000000;
  text-align: center;
  padding: 100px 0;
}

#hero h2 {
  font-size: 3em;
  margin-bottom: 20px;
}

#hero p {
  font-size: 1.2em;
  margin-bottom: 20px;
}

#hero .btn {
  display: inline-block;
  padding: 10px 20px;
  background-color: black;
  color: #fff;
  text-decoration: none;
  border-radius: 5px;
}

#hero .btn:hover {
  background-color: #000000;
}

/* Footer styles */
footer {
  background-color: black;
  color: #fff;
  padding: 10px 0;
  text-align: center;
  position: absolute;
  width: 100%;
}

.footer-content {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
}

.footer-section {
  margin: 10px;
  flex: 1 1 30%;
}

.footer-section h3 {
  color: #c7c7c7;
  font-size: 18px;
  margin-bottom: 10px;
}

.footer-section ul {
  list-style-type: none;
  padding: 0;
}

.footer-section ul li {
  margin-bottom: 8px;
}

.social-icons a {
  display: inline-block;
  width: 30px;
  height: 30px;
  line-height: 30px;
  background-color: #3498db;
  border-radius: 50%;
  margin-right: 10px;
  transition: background-color 0.3s ease;
  overflow: hidden; /* Ensure the image fits within the circle */
}

.social-icon {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

footer p {
  font-size: 14px;
  margin-top: 20px;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 2rem;
  background-color: black;
}

.logo-link {
  text-decoration: none;
  color:white;
  font-size: 0.65em;
  text-align: center;
  line-height: 12px;
}

.logo-image {
  height: 50px;
}

.navbar {
  flex-grow: 1;
}

.nav-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  justify-content: flex-end;
}

.nav-link {
  color: white;
  text-decoration: none;
  padding: 0.5rem 1rem;
  display: block;
}

.nav-link:hover {
  background-color: #555;
}

.dropdown {
  position: relative;
}

.dropdown-toggle::after {
  content: " ▼";
  font-size: 0.8em;
}

.dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background-color: #444;
  list-style: none;
  padding: 0;
  margin: 0;
  min-width: 190px;
}

.dropdown-menu .dropdown-item {
  color: white;
  text-decoration: none;
  padding: 0.5rem 1rem;
  display: block;
}

.dropdown-menu .dropdown-item:hover {
  background-color: #666;
}

.dropdown:hover .dropdown-menu {
  display: block;
}

.responsive-iframe {
  width: 100vw;
  height: 100vh;
}

.center {
  display: block;
  margin-left: auto;
  margin-right: auto;
  width: 50%;
}

.login-container {
  width: 320px;
  background-color: #fff;
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.login-form h2 {
  text-align: center;
  margin-bottom: 20px;
}

.form-group {
  margin-bottom: 15px;
}

.form-group label {
  display: block;
  font-weight: bold;
}

.form-group input {
  width: 100%;
  padding: 8px;
  font-size: 16px;
  border: 1px solid #ccc;
  border-radius: 4px;
}

button {
  width: 100%;
  padding: 10px;
  font-size: 18px;
  background-color: black;
  color: white;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

button:hover {
  background-color: grey;
}

/* Slideshow container */
#slideshow {
  position: relative;
  max-width: 100%;
  margin: 0 auto;
  padding: 0px 0;
  overflow: hidden;
  margin-bottom: 20px;
  background-color: black;
}

.slideshow-container {
  position: relative;
  max-width: 100%;
  margin: auto;
  overflow: hidden;
}

/* Slide container to maintain aspect ratio and cropping */
.slide {
  display: none;
  position: relative;
  width: 100%;
  height: 400px; /* Adjust this to your preferred height */
  overflow: hidden;
}

/* Ensure image covers the slide container and is cropped properly */
.slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  /* Ensure images fill the slide container and maintain aspect ratio */
}

/* Next & previous buttons */
.prev, .next {
  cursor: pointer;
  position: absolute;
  top: 50%;
  width: auto;
  padding: 16px;
  margin-top: -22px;
  color: white;
  font-weight: bold;
  font-size: 18px;
  border-radius: 0 3px 3px 0;
  user-select: none;
  background-color: rgba(0,0,0,0.5);
}

.next {
  right: 0;
  border-radius: 3px 0 0 3px;
}

.prev:hover, .next:hover {
  background-color: rgba(0,0,0,0.8);
}

/* Fade effect */
.fade {
  -webkit-animation: fade 1.5s ease-in-out;
  animation: fade 1.5s ease-in-out;
}

@-webkit-keyframes fade {
  from { opacity: .4 } 
  to { opacity: 1 }
}

@keyframes fade {
  from { opacity: .4 } 
  to { opacity: 1 }
}

.fix-width {
  max-width: 60%;
  margin: 0 auto;
  text-align: justify;
  text-align-last: center;
}

/* Responsive design */
@media (max-width: 768px) {
  /* .container {
    width: 90%;
  }

  header nav ul li {
    display: block;
    margin: 10px 0;
  }

  TODO
  #hero {
    padding: 80px 0;
  } */

  header {
    font-size: 0.84rem;
  }

  .site-header {
    flex-direction: column;
    padding: 1rem 0rem;
  }

  .banner {
    font-size: small;
  }

  .banner2 {
    font-size: small
  }


  .nav-link {
    /* color: white; */
    /* text-decoration: none; */
    padding: 0.5rem 0.3rem;
    /* display: block; */
  }

  #about {
    font-size: 0.8rem;
  }

  .fix-width {
    min-width: 90%;
  }

  main section div {
    font-size: 0.75rem;
  }

  .slide {
    height: 200px;
  }
/* 
  section {
    padding: 20px 0;
  } */

  #hero {
    padding: 50px 0;
  }

  .prev, .next {
    font-size: 14px;
  }

  /* .footer-content {
    flex-direction: column;
  } */


}

