* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background-image: url("../2d-graphic-colorful-wallpaper-with-grainy-gradients.jpg");
  background-repeat: no-repeat;
  background-size:cover;
  background-position:center;
  background-size: 200% 102%;
  font-family: Arial;
  
}


.navbar {
  overflow: hidden;
  background-color: #333;
  padding: 5px;
  height: 50px;
  margin: 10px;
}
.navbar img{
  float: right;
  right: 20px;
  width: 7%;
  margin-top: -20px;
  position: relative;
}

/* Navbar links */

.navbar a {
  float: left;
  display: block;
  color: #f2f2f2;
  font-family: Verdana, sans-serif;
  text-align:center;
  padding: 1px 8px;
  text-decoration: none;
}
/* Links - change color on hover */
.navbar a:hover {
  background-color: #3591e0;
  color: black;
  transform: scale(1.05); /* Slightly enlarge on hover */
  transition: transform 0.3s ease, border-color 0.3s ease; /* Smooth transition */
}



* {box-sizing: border-box}
body {font-family: Verdana, sans-serif; margin:0}
.mySlides {display: none}
img {vertical-align: middle;}

/* Slideshow container */
.slideshow-container {
  max-width: 1000px;
  position: relative;
  margin: auto;
  bottom: -6px;
}

/* Next & previous buttons */
.prev, .next {
  cursor: pointer;
  position: absolute;
  top: 50%;
  width: auto;
  padding: 16px;
  margin-top: -22px;
  color: rgb(49, 49, 49);
  font-weight: bold;
  font-size: 18px;
  transition: 0.6s ease;
  border-radius: 0 3px 3px 0;
  user-select: none;
}

/* Position the "next button" to the right */
.next {
  right: 0;
  border-radius: 3px 0 0 3px;
}

/* On hover, add a black background color with a little bit see-through */
.prev:hover, .next:hover {
  background-color: rgba(230, 227, 227, 0.8);
}

.container {
  background-color: #333;
  width: 80%;
  padding: 12px 12px;
  align-items: center;
  justify-content: center;
  margin-left: 10%;
}

.container h1, p{
  margin-top: 2%;
}
.container h1{
  text-align: start;
  font-family: Arial, "Helvetica Neue", Helvetica, sans-serif;
  color: #e5e112;
  font-size: 30px;
  margin-left: 13%;
  
  width: 75%;
}
.container p {
  text-align: start;
  font-family: Arial, "Helvetica Neue", Helvetica, sans-serif;
  color: #f2f2f2;
  font-size: 20px;
  padding: 1px 12px;
  bottom: 8px;
  width: 75%;
}

/* Number text (1/3 etc) */
.numbertext {
  background-color: #454545;
  color: #ebebe9;
  font-size: 12px;
  padding: 8px 12px;
  position: absolute;
  top: 0;
}

/* The dots/bullets/indicators */
.dot {
  cursor: pointer;
  height: 15px;
  width: 15px;
  margin: 0 2px;
  background-color: #0a0a0a;
  border-radius: 50%;
  display: inline-block;
  transition: background-color 0.6s ease;
}

.active, .dot:hover {
  background-color: #717171;
}

/* Fading animation */
.fade {
  animation-name: fade;
  animation-duration: 1.5s;
}

@keyframes fade {
  from {opacity: .4} 
  to {opacity: 1}
}

.intro-text {
    font-family: Cambria, Cochin, Georgia, Times, 'Times New Roman', serif;
    font-size: larger;
    position: relative; /* Position relative to the image container */
    z-index: 1; /* Ensure text is above images */
    text-align: center; /* Center the text */
    padding: 29px; /* Add some padding */
    margin: auto;
    left: 210px;
}

.intro-text p {
  max-width: 90%;
  text-align: center;
  margin-left: 20px
}
  .intro-text h1{
    margin-left: 20px
  }

/* Footer */
.footer {
  padding: 30px;
  background: #ddd;
  margin-top: 50px;
}

.footer h4, p{
  margin: auto;
  text-align: center;
}

/* On smaller screens, decrease text size */
@media (max-width: 768px) {
  .navbar img{
    width: 15%;
    margin-top: -18px;
    }
  .intro-text {
        font-size: medium; /* Adjust font size for smaller screens */
        padding: 15px; /* Reduce padding */
        left: 18px; /* Adjust left position */
        bottom: 5px; /* Adjust bottom position */
  } 
}
