.wrapper-project {
  margin: auto;
  margin-top: 1rem;
/* height important! controls distance between content and wrapper */
  display: flex;
  width: 400px;
  height: 100%;
  overflow-x: scroll;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  scrollbar-color: #ED6000 #3D4F56;
  scrollbar-width: thin;
  cursor: grab;
  background-clip: content-box;
  transition: color 0.3s;

  &:hover {
    color: #0E242D;
  }
/* or proximity */
}
.img-project{
  margin-top: 1.3rem;
  padding: 1.5em;
  border-radius: 1.5rem;
  position: relative;
  border-radius: 0.5rem;
  object-fit: contain;
  cursor: none;
  box-shadow: rgba(6, 24, 44, 0.4) 0px 0px 0px 2px, 
  rgba(6, 24, 44, 0.65) 0px 4px 6px -1px, 
  rgba(255, 255, 255, 0.08) 0px 1px 0px inset;
}


.p-project {
  line-height: 2.5em;
  letter-spacing: 0.3em;
  font-weight: 400;
  color: whitesmoke;
  font-family: "Permanent Marker", cursive;
  font-style: normal;
  width: 100%;
  text-align: left;
  -webkit-transform:scale(1,1.1); /* Safari and Chrome */
    -moz-transform:scale(1,1.1); /* Firefox */
    -ms-transform:scale(1,1.1); /* IE 9 */
    -o-transform:scale(1,1.1); /* Opera */
    transform:scale(1,1.1); /* W3C */
}

.h2-second {
  color: #ED6000;
  font-family: "Caveat", cursive;
  font-size: 1.5rem;
  font-optical-sizing: auto;
  font-weight: 400;
}

.h2-second:hover {
  color: whitesmoke;
}


