/* Reset margins and paddings */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Lato", sans-serif;
  background-color: #0F0F0F;
  overflow: hidden; /* Prevent scrolling */
}

.header {
  position: fixed;
  top: 0;
  left: 0;
  min-width: 240px;
  max-width: 30%;
  padding: 10px;
  background: rgba(255, 255, 255, 0.9);
  border-radius: 0 0 15px 0;
  color: white;
  text-align: center;
  z-index: 10;
}

.logo img {
  max-width: 150px;
  height: auto;
}

.slider {
  position: relative;
  width: 100vw; /* Full viewport width */
  height: 100vh; /* Full viewport height */
  overflow: hidden; /* Hide overflow */
}

.slides {
  display: flex;
  height: 100%;
  transition: transform 0.5s ease;
}

.slide {
  width: 95vw; /* Full viewport width */
  height: 100vh; /* Full viewport height */
  flex-shrink: 0; /* Prevent slides from shrinking */
  padding-right: 2px;
}

.slide img {
  width: 100%;
  height: 100%;
  object-fit: cover; /* Cover the container */
}

.prev, .next {
  cursor: pointer;
  position: absolute;
  top: 50%;
  padding: 16px;
  color: white;
  background-color: rgba(0, 0, 0, 0.5);
  border: none;
  width: 24px; height: 24px;
  box-sizing: content-box;
  font-size: 18px;
  transform: translateY(-50%);
  z-index: 100;
  border-radius: 50%;
  outline: 1px solid white;
  transition: background-color 0.3s ease, opacity 0.3s ease;
}

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

.prev:disabled, .next:disabled {
  background-color: rgba(0, 0, 0, 0.3); /* Lighter background for disabled */
  cursor: not-allowed; /* Change cursor to indicate disabled state */
  opacity: 0.5; /* Reduced opacity for disabled state */
  outline: none;
}

/* Position of navigation buttons */
.prev {
  left: 10px;
}

.next {
  right: 10px;
}

.contact-details {
  position: fixed;
  bottom: 0;
  right: 0;
  /* background: #000000aa; */
  border-radius: 15px 0 0 0;
  background-color: rgba(0, 0, 0, 0.3);
  color: rgb(255, 255, 255);
  padding: 10px;
  z-index: 10;
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(2px);
}

.contact-details a, address {
  color: inherit;
  text-decoration: none;
  font-style: inherit;
}

address > p {
  display: grid;
  grid-template-columns: 80px 1fr;
}

address p {
  margin: 2px 0;
}

.contact-details a {
  text-decoration: underline;
  text-decoration-color: rgb(0, 171, 0);
  background-color: rgba(0, 192, 0, 0.08);
  padding: 0 0.2em;
  border-radius: 0.2em;
  width: fit-content;
}

.contact-details a:hover {
  text-decoration: underline;
}

@media screen and (max-width: 500px) {
  body {
    overflow: auto;
  }

  .slider {
    margin-top: 55px;
    width: auto;
    height: auto;
  }

  .slides {
    flex-flow: column;
  }

  .slide {
    width: 100vw;
    height: auto;
    padding: 0;
    padding-bottom: 1px;
  }

  .prev, .next {
    display: none;
  }

  .slide img {
    object-fit: contain;
  }
}
