/* Import Google font - Poppins */

html{
  overflow: auto;
  background-color: var(--secondary);
}

body{
  display: flex;
  flex-direction: column;
  color: white;
}


.wrapper {
  max-width: 1300px;
  width: 90%;
  position: relative;
  margin: auto;
  margin-top: 16vh;
  margin-bottom: 4vh;
  flex-direction: column;
}

.title{
  font-size: 1.7rem;
  color:white;
  margin-bottom: 1rem;
  text-transform: uppercase;
  text-align: center;
}

.wrapper i {
  top: 50%;
  height: 50px;
  width: 50px;
  cursor: pointer;
  font-size: 1.25rem;
  position: absolute;
  text-align: center;
  line-height: 50px;
  background: #fff;
  border-radius: 50%;
  box-shadow: 0 3px 6px rgba(0,0,0,0.23);
  transform: translateY(-50%);
  transition: transform 0.1s linear;
  color: var(--main);
}
.wrapper i:active{
  transform: translateY(-50%) scale(0.85);
}
.wrapper i:first-child{
  left: -22px;
}
.wrapper i:last-child{
  right: -22px;
}
.wrapper .carousel{
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: calc((100% / 3) - 12px);
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  gap: 16px;
  border-radius: 8px;
  scroll-behavior: smooth;
  scrollbar-width: none;
}
.carousel::-webkit-scrollbar {
  display: none;
}
.carousel.no-transition {
  scroll-behavior: auto;
}
.carousel.dragging {
  scroll-snap-type: none;
  scroll-behavior: auto;
}
.carousel.dragging .card {
  cursor: grab;
  user-select: none;
}
.carousel :where(.card, .img) {
  display: flex;
  justify-content: center;
  align-items: center;
}
.carousel .card {
  scroll-snap-align: start;
  height: 342px;
  list-style: none;
  background: var(--main);
  cursor: pointer;
  padding-bottom: 15px;
  flex-direction: column;
  border-radius: 8px;
}
.carousel .card .img {
  width: 100%;
  border-radius: 8px;
}

.card .img img {
  width: 100%;
  height: 259px;
  border-radius: 8px;
  object-fit: cover;
}

.carousel .card span {
  margin: 30px 0 5px;
  font-size: 1.41rem;
}



@media screen and (max-width: 900px) {
  .wrapper .carousel {
    grid-auto-columns: calc((100% / 2) - 9px);
  }
}

@media screen and (max-width: 600px) {
  .wrapper .carousel {
    grid-auto-columns: 100%;
  }
}


.textcontainer{
  /* height: auto; */
  display: flex;
  flex-flow: row wrap;
  justify-content: center;
  margin: 5px 0;
}

.column{
  flex:1;
  border: 1px solid #666;
  margin:2px;
  padding: 10px;
  background: var(--main);
  transition: 0.3s;
}

.column:first-child{
  margin-left: 0;
  background: var(--main);
}
.column:last-child{
  margin-left: 0;
  background: var(--main);
}

@media screen and (max-width:980px){
  .column{
    margin-bottom: 5px;
    flex-basis:40%;
  }
  .column:last-child{
    flex-basis: 100%;
    margin: 0;
  }
  .column:nth-last-child(2){
    margin-right: 0;
  }
  .title{
    font-size: 1.2rem;
  }
}

@media screen and (max-width:680px){
  .column{
    flex-basis: 100%;
    margin: 0 0 5px 0;
  }
}

