@font-face {
  font-family: "Soft";
  src: url("./fonts/Soft.otf") format("opentype");
  font-weight: normal;
  font-style: normal, italic, oblique;
}
@font-face {
  font-family: "Boston";
  src: url("./fonts/Boston.ttf") format("truetype");
  font-weight: bold;
  font-style: normal, italic, oblique;
}

body,
html {
  height: 100%;
  width: 100%;
  font-family: "Boston", sans-serif;
  display: flex;
  flex-direction: column; 
  align-items: center;
  background: linear-gradient(#fcebcc, #edab56);
  margin: 0;
}

.nav-button {
  background-color: rgba(0, 0, 0, 0.5);
  border: 3px solid transparent;
  color: white;
  padding: 10px;
  font-size: 24px;
  cursor: pointer;
  border-radius: 15px;
  margin: 0 80px;
}
.nav-button:hover {
  background-color: rgba(0, 0, 0, 0.7);
  border-radius: 17px;
}
ul {
  display: flex;
  list-style-type: none;
  border: 10px;
}

.navbar {
  z-index: 1000;
  width: 1560px;
  height: 100px;
  position: sticky;
  left: 0px;
  background: rgba(0, 0, 0, 0.5);
  display: flex;
  justify-content: center;
  margin: 70px;
  border-radius: 25px;
}

.inner-rect {
  background-color: rgba(0, 0, 0, 0.3);
  position: sticky;
  top: 0px;
  left: 0px;
  border-radius: 25px;
  padding: 18px 120px;
  flex-wrap: wrap;

  color: white;

  margin: 35px;
  z-index: 10000;
}

.nav-links {
  list-style: none;
  display: flex;
  position: sticky;
  justify-self: center;
  align-self: center;
  justify-content: center;
  padding: 10px;
}

.nav-links li a {
  text-decoration: none;
  color: white;
  font-size: 1.7rem;
  font-weight: bold;
}

.nav-links li a:hover {
  color: #ffcc00;
}
.nav-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 40px;
  margin-top: 50px;
  flex-wrap: wrap; 
}

.image-container {
  display: flex;
  position: relative;
  width: 1016.67px;
  height: 571.867px;
  overflow: hidden;
  z-index: 1;
  border-radius: 25px;
}
img {
  left: 400px;
}

.slide-image {
  width: fit-content;
  height: fit-content;
  position: relative;
  transition: transform 0.6s ease-in-out;
}
.carousel-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  top: 0;
  left: 100%;
  /* opacity: 0; */
  transition: all 0.6s ease-in-out;
}

.carousel-img.active {
  left: 0;
  opacity: 1;
  z-index: 2;
}

.carousel-img.exiting {
  left: -100%;
  /* opacity: 0; */
  z-index: 1;
}
.slide-image {
  position: absolute;
  top: -100%;
  left: 0;
  width: 100%;
  height: auto;
}
