* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  padding: 48px 24px;
  min-height: 100vh;
  display: flex;
  flex-direction: column;

  @media screen and (min-width: 768px) {
    padding: 96px 24px;
  }
}

.logos-wrapper {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 96px;

  @media screen and (min-width: 1024px) {
    justify-content: space-between;
  }
}

.carefordesign-logo {
  max-width: 250px;
  width: 100%;
  animation: rotate-anticlockwise 20s linear infinite;

  @media screen and (min-width: 768px) {
    max-width: 357px;
  }
}

@keyframes rotate-anticlockwise {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(-360deg);
  }
}

.logos {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 32px;

  @media screen and (min-width: 768px) {
    align-items: center;
    flex-wrap: nowrap;
    flex-direction: row;
    max-height: 62px;
  }

  @media screen and (min-width: 1024px) {
    gap: 96px;
  }

  .logo-desktop {
    display: none;

    @media screen and (min-width: 768px) {
      display: block;
    }
  }

  .logo-mobile {
    display: block;

    @media screen and (min-width: 768px) {
      display: none;
    }
  }
}

.logos img {
  max-height: inherit;
}