* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    display: grid;
    place-items: center;
    background-color: black;
    color: white;
    margin: 0rem;
    font-family: 'Montserrat', sans-serif;
}


.dark {
    background-color: white;
    color: black;
}
.dark .gallery:before {
    background: linear-gradient(to left, rgba(0, 0, 0, 0), white);
}
.dark .gallery:after {
    background: linear-gradient(to right, rgba(0, 0, 0, 0), white);
}
.dark .long-boi p {
    color: black;
}

.switch {
    margin-top: 3rem;
}

.checkbox {
    opacity: 0;
    position: absolute;
  }
  .checkbox-label {
    width: 50px;
    height: 26px;
    border-radius: 50px;
    position: relative;
    padding: 5px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
  }
  .checkbox-label .ball {
    background-color: #fff;
    width: 22px;
    height: 22px;
    position: absolute;
    left: 2px;
    top: 2px;
    border-radius: 50%;
    transition: transform 0.2s linear;
  }
  .checkbox:checked + .checkbox-label .ball {
    transform: translateX(24px);
  }


  
.content{
    font-family: 'Major Mono Display', monospace;
    margin-top: 3rem;
}
div.content h1{
    font-size: 6rem;
    padding: 0rem clamp(1rem, 2vw, 3rem);
    border-radius: clamp(0.4rem, 0.75vw, 1rem);
    cursor: pointer;
}
div.content h2{
    font-size: 4rem;
    padding: 0rem clamp(1rem, 2vw, 3rem);
    border-radius: clamp(0.4rem, 0.75vw, 1rem);
    cursor: pointer;
}
div.content h3{
    display: flex;
    justify-content: center;
    margin-top: 2rem;
}


.divider{
    display: flex;
    justify-content: center;
    flex-direction: column;
    font-family: 'Major Mono Display', monospace;
    margin-top: 3rem;
    margin-bottom: 3rem;
    font-size: 4rem;
    padding: 0rem clamp(1rem, 2vw, 3rem);
    border-radius: clamp(0.4rem, 0.75vw, 1rem);
}

.text{
    display: flex;
    width: 75%;
    flex-direction: row;
    margin: 3rem;
    align-items: center;
}
.quote{
    margin-right: 2rem;
}
div.text h4{
    font-size: 1.4rem;
}

.text-2{
    display: flex;
    width: 75%;
    flex-direction: row;
    margin: 3rem;
    align-items: center;
    font-size: 1.2rem;
}

.text-3{
    display: flex;
    width: 75%;
    flex-direction: row;
    margin: 3rem;
    align-items: center;
    font-size: 1.2rem;
}
div.text-3 img {
    width: 20em;
    margin-right: 2rem;
}
.par {
    display: flex;
    flex-direction: column;
}
div.par p{
    margin-bottom: 1rem;
}

.text-4{
    display: flex;
    width: 75%;
    flex-direction: row;
    margin: 3rem;
    align-items: center;
    font-size: 1.2rem;
}
div.text-4 img {
    width: 20em;
    margin-left: 2rem;
}
.par-2 {
    display: flex;
    flex-direction: column;
}
div.par-2 p{
    margin-bottom: 1rem;
}



/* Za galeriju sam koristio ovaj source kod koji sam izmjenio kako bi bolje radio u mojem scenariju: https://github.com/Coding-with-Robby/infinite-logo-carousel/tree/css */
@keyframes slide {
    from {
      transform: translateX(0);
    }
    to {
      transform: translateX(-100%);
    }
  }
  .gallery {
    overflow: hidden;
    width: 80%;
    padding: 60px 0;
    white-space: nowrap;
    position: relative;
  }
  .gallery:before,
  .gallery:after {
    position: absolute;
    top: 0;
    width: 250px;
    height: 100%;
    content: "";
    z-index: 2;
  }
  .gallery:before {
    left: 0;
    background: linear-gradient(to left, rgba(255, 255, 255, 0), rgb(0, 0, 0));
  }
  .gallery:after {
    right: 0;
    background: linear-gradient(to right, rgba(255, 255, 255, 0), rgb(0, 0, 0));
  }
  .gallery-slide {
    display: inline-block;
    animation: 80s slide infinite linear;
  }
  .gallery-slide img {
    height: 400px;
    width: 400px;
    margin: 0 40px;
}



.container {
    display: flex;
    align-items: center;
    width: 100%;
    overflow: hidden;
  }

  .scroll {
    white-space: nowrap;
    margin: 0 2em;
  }
  
  .scroll div {
    display: flex;
    gap: 2em;
  }
  
  .scroll p {
    font-size: 1.5rem;
    color: white;
    font-weight: bold;
    margin-bottom: 0;
    line-height: 10px;
  }
  
  .long-boi {
    animation: long-boi 10s infinite linear;
  }
  
  @keyframes  long-boi {
    from {
      transform: translateX(0%);
    }
    to {
      transform: translateX(-50%);
    }
  }
  
  .LeftToRight {
    animation: long-boi 10s infinite linear;
  }
  
  @keyframes  long-boi {
    from {
      transform: translateX(-50%);
    }
    to {
      transform: translateX(0%);
    }
  }