@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;500;700&display=swap');

* {
  box-sizing: border-box;
  font-family: 'Poppins', sans-serif;
  transition: all 0.3s ease-in-out;
}

body {
  background-color: #3a3656;
  color: white;
  margin: 0;
  padding: 0;
}

a {
  color: white;
  text-decoration: none;
}

a:hover {
  background-color: #eab6fc;
  color: #5d4f77;
  border-radius: 10px;
  padding: 0.2rem 0.4rem;
}

nav {
  position: fixed;
  width: 20vh;
  height: 100%;
  background-color: #5d4f77;
  box-shadow: 2px 0 8px rgba(0, 0, 0, 0.3);
  padding-top: 2rem;
}

.sidebar-link {
  display: block;
  padding: 1rem;
  color: white;
}

.sidebar-link:hover,
.sidebar-link.active {
  background-color: #f8fc7f;
  color: #5d4f77;
  font-weight: bold;
}

.container {
  max-width: 85vw;
  margin-left: 22vh;
  background-color: #5d4f77;
  padding: 2rem;
  border-radius: 1.5rem;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
  margin-top: 2rem;
}

.profile-section {
  text-align: center;
  padding: 1rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.profile-info h6 {
  margin: 0;
  font-size: 1rem;
}
.profile-info small {
  font-size: 0.8rem;
  color: #ccc;
}

.mySlides1 {
  display: none;
  opacity: 0;
  transition: opacity 1s ease-in-out;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
}

.mySlides1.active {
  display: block;
  opacity: 1;
  position: relative;
}

.prev,
.next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background-color: rgba(255, 255, 255, 0.6);
  color: #3a3656;
  padding: 0.5rem;
  font-size: 1.5rem;
  border-radius: 50%;
  cursor: pointer;
}
.prev:hover,
.next:hover {
  background-color: #f8fc7f;
  color: #5d4f77;
}

.prev {
  left: 10px;
}
.next {
  right: 10px;
}

.slide-in-right {
  animation: slideInRight 0.8s forwards;
}
.slide-in-left {
  animation: slideInLeft 0.8s forwards;
}

@keyframes slideInRight {
  0% {
    transform: translateX(100%);
    opacity: 0;
  }
  100% {
    transform: translateX(0%);
    opacity: 1;
  }
}

@keyframes slideInLeft {
  0% {
    transform: translateX(-100%);
    opacity: 0;
  }
  100% {
    transform: translateX(0%);
    opacity: 1;
  }
}

.slideshow-container {
  position: relative;
  width: fit-content;
  margin: auto;
  overflow: hidden;
  border-radius: 1rem;
  box-shadow: 0 0 10px rgba(255, 255, 255, 0.2);
}

.slideshow-container img {
  height: 80vh;
  width: auto;
  object-fit: cover;
  border-radius: 1rem;
  box-shadow: 0 0 10px rgba(255, 255, 255, 0.3);
}
