/* Yleiset tyylit */
body {
  color: rgb(2, 2, 2);
  padding-top: 50px;
  background-color: #d7eefc;
  font-family: "Roboto", sans-serif;
  font-size: xx-large;
  overflow-x: hidden;
  position: relative;
}

.maintitle {
  margin-top: 5%;
  text-align: center;
  color: rgb(234, 23, 249);
  font-family: "Gloria Hallelujah", cursive;
  font-weight: 400;
  font-style: normal;
  font-size: 3rem;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}
.paws {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  /*background-image: url("path-to-your-image.jpg");  Korvaa 'path-to-your-image.jpg' oikealla polulla */
  background-size: cover;
  background-position: center;
  opacity: 0.3; /* Säätää kuvan läpinäkyvyyttä, pienempi arvo tekee kuvasta himmeämmän */
  filter: blur(3px); /* Lisää sumeutta kuvaan */
  z-index: -1; /* Varmistaa, että kuva on kaikkien muiden elementtien takana */
}

body::before {
  content: "";
  color: #050505;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
  filter: sepia(50%) opacity(0.7);
  z-index: -1;
  transition: all 0.3s ease-in-out;
} /* Mobile (default) */
.profile-pic {
  border-radius: 50%;
  width: 250px;
  height: 250px;
  object-fit: cover;
}

/* PC / Desktop */
@media (min-width: 1024px) {
  .profile-pic {
    width: 320px;
    height: 320px;
  }
}
p {
  margin: 0 auto;
  letter-spacing: 1px;
  color: rgb(99, 59, 246);
  max-width: 100%;
}

.bye {
  display: inline block;
  font-size: 1.5rem;
  color: rgb(5, 5, 5);
  font-family: "Gloria Hallelujah", cursive;
  font-weight: 400;
  font-style: normal;
}

#scrollUpButton {
  width: 60px;
  height: 60px;
}
@media only screen and (max-width: 600px) {
  #scrollUpButton {
    width: 50px;
    height: 50px;
    bottom: 10px;
    right: 10px;
  }
}

.logo img {
  width: 100%;
}

.instaLogo {
  width: 50px;
  margin-bottom: 6%;
}

.profiilikuva {
  max-width: 300px;
  min-width: 100px;
  margin: 10px;
  border-radius: 50%;
  overflow: hidden;
  border: 2px solid white;
  object-fit: cover;
}

section {
  padding: 30px;
  display: grid;
  place-items: center;
  align-content: center;
  position: relative;
  overflow: hidden;
}

.theParagraph h1 {
  margin: 20px auto;
  color: #050505;
  font-family: "Gloria Hallelujah", cursive;
  font-weight: 400;
  font-style: normal;
}

.theParagraph {
  margin: 0 auto;
  padding: 10px;
  text-align: left;
  color: #fbf9fb;
  font-size: 1.2rem;
  width: 70%;
}

.logos {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
}

.logo {
  margin: 15px;
  transition: all 1s;
}

.logo:nth-child(2) {
  transition-delay: 200ms;
}

.logo:nth-child(3) {
  transition-delay: 400ms;
}

.logo:nth-child(4) {
  transition-delay: 600ms;
}

.hiddenLeft {
  opacity: 0;
  filter: blur(5px);
  transform: translateX(-10%);
  transition: all 1.5s;
}

.hiddenRight {
  opacity: 0;
  filter: blur(5px);
  transform: translateX(10%);
  transition: all 2s;
}

.flaticon {
  font-size: 10px;
}

.show {
  opacity: 1;
  filter: blur(1);
  transform: translateX(0);
}

.showVertical {
  opacity: 1;
  filter: blur(0);
  text-align: center;
  transform: translateY(0) scale(1);
}

.closing {
  opacity: 0;
  filter: blur(0);
  transform: translateY(50%);
  transition: all 1.5s;
  margin: 10% 0;
}

.closing.showVertical {
  opacity: 1;
  transform: translateY(0) scale(1);
  transition:
    opacity 1.5s,
    transform 2s;
}

h1 {
  font-size: xx-large;
  margin: auto;
  max-width: 700px;
  transform: scale(1);
  font-family: "Gloria Hallelujah", cursive;
  font-weight: 400;
  font-style: normal;
  transition:
    transform 1s,
    font-size 1s,
    opacity 1s;
}

#scrollUpButton {
  position: fixed;
  bottom: 20px;
  right: 40px;
  z-index: 100;
  background-color: #9a33f5;
  color: #fbf9fb;
  border: none;
  border-radius: 50%;
  width: 70px;
  height: 70px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  opacity: 0.5;
  transition: opacity 0.3s ease-in-out;
}

#scrollUpButton span {
  font-size: 15px;
}

.Jekkuinsta {
  font-family: "Gloria Hallelujah", cursive;
  color: rgb(244, 31, 248);
}

.emoji-container {
  display: inline-block;
  margin-right: 8px;
  animation: pointAnimation 1s infinite alternate;
}

@keyframes pointAnimation {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(10px);
  }
}

.infinite {
  animation-iteration-count: infinite;
}

/* Jekkukaruseelli */
.jekkukaruselli {
  padding: 5%;
  border-block-start-color: #9a33f5;
  width: 100%;
  max-width: 600px;
  height: auto;
  margin: auto;
  position: relative;
}

.carousel-item img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition:
    transform 1s ease-in-out,
    opacity 1s ease-in-out;
  filter: brightness(1.2) contrast(1.1);
}

.carousel-section {
  height: 500px;
}

@media (max-width: 768px) {
  .jekkukaruselli {
    padding: auto;
  }

  .carousel-item img {
    max-height: 100%;
  }
}

.carousel-item {
  width: 100%;
  border: solid white 10px;
  height: 100%;
  border-radius: 15px;
  overflow: hidden;
}

@media (max-width: 768px) {
  .jekkukaruselli {
    width: 100%;
    max-width: 500px;
  }

  .carousel-inner {
    height: 100%;
  }
}

/* Lisätty suurten näyttöjen tyylit */
@media (min-width: 1200px) {
  .carousel-item img {
    height: auto; /* Kuvat skaalataan oikeassa suhteessa */
    max-height: 500px; /* Voit säätää tätä arvoa tarpeen mukaan */
    object-fit: cover; /* Kuvat skaalataan täyttämään kokonaan, säilyttäen kuvasuhteen */
  }
}
