﻿@import url("https://fonts.googleapis.com/css2?family=Lato:wght@400;700&display=swap");

html {
  box-sizing: border-box;
}

*,
*:before,
*:after {
  box-sizing: inherit;
}


.container {
  width: 130%;
  overflow: hidden;
  position: relative;
}

h1 {
  text-align: center;
  margin-bottom: 30px;
}

.marquee {
  width: 100%;
  overflow: hidden;
  background-color: #f1f1f1;
  padding: 10px 0;
  box-sizing: border-box;

  &:hover {
    .marquee-content {
      animation-play-state: paused;
    }
  }
}

.marquee-content {
  display: inline-flex;
  white-space: nowrap;
  animation: marquee 20s linear infinite;

  img {
    height: 60px;
    margin-right: 20px;
    vertical-align: middle;
  }
}

@keyframes marquee {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}
