.container {
  padding: 20px 0 0 0;
  margin: 10px 0 20px 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-around;
  width: 100%;
}
#controls{
  display: flex;
  align-items: center;
  margin: 10px 0;
}
/*remember to delete the line when u have more then 3 articles*/
.carousel {
  width: 85%;
  display: grid;
  grid-auto-flow: column;
  /*justify-content: center;/*this line*/
  overflow-x: scroll; 
  overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  -ms-overflow-style: none;
  transition: transform 0.8s ease;
}
@media screen and (max-width: 1306px) {
  .carousel{
    justify-content: initial;
  }
}

.carousel::-webkit-scrollbar {
  display: none;
}

#grid{
  margin:0 13px;
  border: #008486 solid 3px;
  width: 350px;
  height: 420px;
  border-radius: 25px;
  display: flex;
  flex-direction: column;
  justify-content: space-around;
}

.card{
  height: fit-content;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.img-grid{
  width: 300px;
  height: auto;
  border-radius: 25px;
}
.txt-grid{
  margin: 20px 0;
  width: fit-content;
  text-align: center;
  font-size: 1.3rem;
  font-weight: 700;
  color: #008486; 
}

.pr-grid{
  margin: 0 20px 20px 20px;
  width: fit-content;
  height: auto;
  font-size: 1rem;
  font-weight: 600;
  color: #008486; 
}
.button-grid{
  font-weight: 600;
  border-radius:25px ;
  width: 300px;
  height: 50px;
  background-color: #008486;
  color: white;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-around;
}
.link-grid{
  text-decoration: none;
  font-weight: 600;
  color: white;
}

.index-bar {
  margin-top: 0;
  display: flex;
  justify-content: center;
}

.indicator {
  width: 3rem;
  height: 10px;
  background-color: #00f4f7;
  border-radius: 25px;
  margin: 0 5px;
  cursor: pointer;
}

.active {
  background-color: #008486;
}

.btn-slide{
  margin: 0 10px ;
  border-style: none;
  display: flex;
  justify-content: space-around;
  text-align: center;
  color: white;
  font-size: 2em;
  font-weight: 600;
  background-color: #008486;
  width: 40px;
  height: 40px;
  border-radius: 50%;
}