@import url("https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100;0,200;0,500;1,100;1,200&display=swap");

* {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
}

body {
  background-color: #f8f8f8;
  display: flex;
}

html {
  font-family: "Montserrat", sans-serif;
}

a {
  text-decoration: none;
}

p {
  font-size: 10pt;
  text-align: justify;
  margin-top: 5px;
  font-weight: 300;
}

section {
  /* background-color:  	#F8F8F8; */
  width: 100vw;
  height: 100vh;
}
.wrapper {
  width: 100vw;
  height: 100vh;

  overflow-y: scroll;
  scroll-snap-type: y mandatory;
}

.container {
  height: 100vh;
  max-width: calc(100vh * 1.3);
  margin: auto auto;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 5vh 0;
  scroll-snap-align: start;
}

.section-title {
  font-size: 2rem;
  font-weight: 100;
  margin-bottom: 2rem;
  color: black;
  /* text-transform: uppercase; */
  /* letter-spacing: 0.2rem; */
}

.opis {
  width: 100%;
  height: 100%;
  padding-left: 15rem;
  padding-right: 15rem;
  display: flex;
  flex-direction: column;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  border-radius: 2px;
  box-shadow: 15px 15px 5px #e2e2e2e8, -1px -1px 35px #e2e2e2;
}

.wspolpraca-opis {
  width: 100%;
  height: 100%;
  padding-left: 10rem;
  padding-right: 10rem;
  display: flex;
  /* flex-direction: column; */
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  border-radius: 2px;
  box-shadow: 15px 15px 5px #e2e2e2e8, -1px -1px 35px #e2e2e2;
}

#hero {
  background-image: url(./images/hero_background.png);
  background-size: cover;
  position: relative;
  z-index: 1;
}

#hero::after {
  position: absolute;
  content: "";
  left: 0;
  top: 0;
  height: 100%;
  width: 100%;
  background-color: black;
  opacity: 0.1;
  z-index: -1;
}

#hero img {
  max-width: 40vw;
  min-width: 300px;
}

.slider {
  /* height: auto; */
  /* margin: auto; */
  overflow: hidden;
  position: relative;
  width: 100%;
  display: flex;
  justify-content: center;
}

.slider .slide-track {
  /* animation: scroll 10s linear infinite; */

  flex-wrap: wrap;
  width: 80%;
  margin: 1rem 1rem;
  display: grid;
  grid-template-columns: auto auto auto;
  justify-content: center;
  align-items: center;
}

.slider .slide {
  /* height: 100px; */
  height: auto;
  width: auto;
  margin: 1rem 1rem;
}

.slide img {
  width: 100%;
  max-height: max-content;
  min-width: 100px;
  max-width: max-content;
  margin: 1rem 1rem;
}

/* @keyframes scroll {
    0%{
        transform: translateX(0);
    }
    
    100% {
        transform: translateX(calc(-250px * 2));
    }
} */

@media screen and (max-width: 1024px) {
  .container {
    margin: 5vw 5vw;
    display: grid;
  }

  .slider .slide {
    width: 60%;
  }

  .opis {
    padding-left: 2rem;
    padding-right: 2rem;
  }
}
