.logo-container {
    position: fixed;
    left: 50%;
    top: 5%;
    transform: translateX(-50%) scale(0.2) rotate(-180deg);
    transition: transform 0.8s ease, top 0.4s ease, left 0.4s ease;
    z-index: 1000;
    opacity: 0;
    animation: logoIntro 1.3s ease forwards;
}


.logo-container img {
    height: 220px;
}

.logo-container.scrolled {
    animation: none;
    top: -75px;
    left: -70px;
    transform: translateX(0) scale(0.2);
    opacity: 1;
}


@keyframes logoIntro {

 0% {
    opacity: 0;
    transform: translateX(-50%) scale(0.2) rotate(-180deg);
  }
  60% {
    opacity: 1;
    transform: translateX(-50%) scale(1.05) rotate(10deg);
  }
  100% {
    opacity: 1;
    transform: translateX(-50%) scale(1) rotate(0deg);
  }
}

@media (min-height: 1000px) {

  .logo-container img {
    height: 200px;
  }

  .logo-container.scrolled {
    top: -68px;
  }
}

@media (min-width: 425px) {

  .logo-container img {
    height: 220px;
    width: 220px;
  }

  .logo-container.scrolled {
    top: -69px;
    left: -65px;
  }
}


@media (min-width: 768px) {

  .logo-container img {
    height: 250px;
    width: 250px;
  }

  .logo-container.scrolled {
    top: -82px;
  }
}


/*When the width of the screen is greater than or equal to 1440px (desktop size)*/
@media (min-width: 1024px) {

  .logo-container {
    top: 4%;
  }
  
  .logo-container img {
    height: 300px;
    width: 300px;
  }

  .logo-container.scrolled {
    top: -105px;
    left: -90px;
  }

  .logo-container.scrolled {
    transform: scale(0.2);
  }
}


/*When the width of the screen is greater than or equal to 1440px (desktop size)*/
@media (min-width: 1440px) {

  .logo-container {
        top: 4%;
  }
  
  .logo-container img {
    height: 420px;
    width: 420px;
  }

  .logo-container.scrolled {
    top: -165px;
    left: -130px;
  }

  .logo-container.scrolled {
    transform: scale(0.18);
  }
}

