/* All elements */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}

/* Background */


/* Paragraph Styling */
.main {
  padding: 20px;
  color: white;
  text-align: center;
  font-size: 20px;
  max-width: 800px;
  margin: auto;
  background-color: rgba(29, 8, 8, 0.15);
  backdrop-filter: blur(10px);
  box-shadow: 0px 0px 16px 0px rgba(0, 0, 0, 0.9);
  border-radius: 4px;
  margin-bottom: 1%;
  transition: max-width 0.4s ease-in-out;
}


/* Responsive styles for smaller screen sizes */
@media screen and (max-width: 870px) {
  .main {
    max-width: 700px;
    font-size: 19px;
  }
}
@media screen and (max-width: 745px) {
  .main {
    max-width: 650px;
    font-size: 19px;
  }
}

@media screen and (max-width: 700px) {
  .main {
    max-width: 600px;
    font-size: 18px;
  }
}

@media screen and (max-width: 640px) {
  .main {
    max-width: 550px;
    font-size: 17px;
  }
}

@media screen and (max-width: 580px) {
  .main {
    max-width: 500px;
  }
}

@media screen and (max-width: 535px) {
  .main {
    max-width: 450px;
  }
}

/* Adjust the images within the main container */
.main img {
  max-width: 100%;
  height: auto;
}

/* Heading Styling */
.heading h1 {
  font-family: Verdana;
  font-size: 70px;
  font-weight: 700;
  color: #f5f5f5;
  display: flex;
  justify-content: center;
  align-items: center;
  padding-bottom: 1%;
  text-shadow: 1px 1px 1px #00cafc, 1px 2px 1px #00cafc, 1px 3px 1px #00cafc,
    1px 4px 1px #00cafc, 1px 5px 1px #00cafc, 1px 6px 1px #00cafc,
    1px 7px 1px #00cafc, 1px 8px 1px #00cafc, 1px 9px 1px #00cafc,
    1px 10px 1px #00cafc, 1px 18px 6px rgba(16, 16, 16, 0.4),
    1px 22px 10px rgba(16, 16, 16, 0.2), 1px 25px 35px rgba(16, 16, 16, 0.2),
    1px 30px 60px rgba(16, 16, 16, 0.4);
}

#header-top {
  width: 100%;
  height: 82.5vh;
  background-image: url(images/background-city.png);
  background-position: center;
  background-size: cover;
}

.container1 {
  padding: 10px 10%;
}

.header-top-text {
  font-size: 40px;
  margin-top: 19%;
}

.header-top-text h1 {
  font-size: 60px;
  margin-top: 20px;
}

.header-top-text h1 {
  color: #00cafc;
}

.header-top-text h1 span {
  color: #fdfdfd;
}

@media screen and (max-width: 525px) {
  .heading h1 {
    font-size: 60px;
  }
}

/* Navbar Styling */
.navbar {
  position: sticky;
  top: 0;
  z-index: 999;
  background-color: rgba(29, 8, 8, 0.8);
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
  font-family:'Courier New', Courier, monospace;
  font-style: oblique;
}

.navbar ul {
  list-style-type: none;
  margin: 0;
  padding: 0;
  display: flex;
  justify-content: center;
}

.navbar li {
  margin: 0 10px;
  transform-style: preserve-3d;
  transition: transform 0.3s ease-in-out;
}

.navbar a {
  display: block;
  padding: 20px;
  color: white;
  text-decoration: none;
  transition: color 0.3s ease-in-out;
}

/* Add 3D Effects */
.navbar li:hover {
  transform: translateZ(10px);
  transform: scale(1.3);
}

.navbar a:hover {
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

/* Add color change when clicked */
.navbar a:active {
  color: yellow;
}

@media screen and (max-width: 400px) {
  .navbar {
    position: static;
  }

  .navbar li {
    margin: 5px 0;
  }
}

/* Additional CSS for animations */
.main:hover {
  background-color: rgba(29, 8, 8, 0.6);
}

/* Additional CSS for image animations */
.main img {
  cursor: pointer;
  transition: transform 0.3s ease-in-out, filter 0.3s ease-in-out;
  box-shadow: 0px 0px 16px 0px rgba(0, 0, 0, 0.9);
}

.slideshow1 {
  height: 500px; /* Set the height of the slideshow1 */
  overflow: hidden; /* Hide the overflowing content */
  position: relative; /* Create a positioning context for the slides */
}

.slideshow1 img {
  position: absolute; /* Position the slides */
  top: 50%; /* Position the top of the image at 50% of the container */
  left: 50%; /* Position the left of the image at 50% of the container */
  transform: translate(-50%, -50%); /* Move the image back by 50% of its own width and height */
  opacity: 0; /* Initially hide the slides */
  transition: opacity 2s ease-in-out, transform 0.5s ease-in-out, filter 0.5s ease-in-out; /* Add transitions for opacity, transform, and filter */
}

.slideshow1 img.active {
  opacity: 1; /* Show the active slide */
}

.slideshow1:hover img {
  transform: translate(-50%, -50%) scale(1.1); /* Apply scale transformation while keeping centered */
  filter: brightness(1);
}

.slideshow2 {
  height: 420px; /* Set the height of the slideshow2 */
  overflow: hidden; /* Hide the overflowing content */
  position: relative; /* Create a positioning context for the slides */
}

.slideshow2 img {
  position: absolute; /* Position the slides */
  top: 0;
  left: 0;
  opacity: 0; /* Initially hide the slides */
  transition: opacity 2s ease-in-out, transform 0.5s ease-in-out, filter 0.5s ease-in-out; /* Add transitions for opacity, transform, and filter */
}

.slideshow2 img.active {
  opacity: 1; /* Show the active slide */
}

.slideshow2:hover img {
  transform: scale(1.1);
  filter: brightness(1.2);
}


/* Additional CSS for heading and subheading animations */
.heading h1,
.subheading h2,
.container1 h1 {
  transform: scale(1);
  transition: transform 0.5s ease-in-out;
}

.heading h1:hover,
.subheading h2:hover,
.container1 h1:hover {
  transform: scale(1.1);
  text-shadow: 2px 2px 4px rgba(0, 162, 255, 1);
}

.heading h1:hover{
  text-shadow: 1px 1px 1px #fce300, 1px 2px 1px #fce300, 1px 3px 1px #fce300,
  1px 4px 1px #fce300, 1px 5px 1px #fce300, 1px 6px 1px #fce300,
  1px 7px 1px #fce300, 1px 8px 1px #fce300, 1px 9px 1px #fce300,
  1px 10px 1px #fce300, 1px 18px 6px rgba(16, 16, 16, 0.4),
  1px 22px 10px rgba(16, 16, 16, 0.2), 1px 25px 35px rgba(16, 16, 16, 0.2),
  1px 30px 60px rgba(16, 16, 16, 0.4);
}

/* Subheading Styling */
.subheading {
  font-size: 13px;
  font-family: Verdana;
  padding-bottom: 1%;
  padding-top: 1%;
  text-align: center;
  max-width: 350px;
  margin: auto;
  position: relative;
  background: rgba(255, 255, 255, 0.5);
  backdrop-filter: blur(5px);
  color: black;
  border-radius: 50px;
  box-shadow: 0px 0px 16px 0px rgba(0, 0, 0, 0.5);
  margin-bottom: 1%;
  margin-top: 1%;
}

/* Background Styling */
.container {
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
  -moz-background-size: cover;
  -o-background-size: cover;
  -webkit-background-size: cover;
  -ms-content-zooming: none;
  position: absolute;
  width: 100%;
  height: 100%;
  overflow: scroll;
  background-image: url("background2.jpg");
  background-color: rgb(110, 108);
}

/* Link Styling */
a:link,
a:visited {
  color: white;
  background-color: transparent;
  text-decoration: none;
}

a:hover,
a:active {
  color: yellow;
  text-decoration: underline;
}

a:active {
  color: green;
}
