@import url("https://fonts.googleapis.com/css2?family=Open+Sans:wght@400;600&display=swap");

.containeros {
  --animation-time: 0.2s;
}

.containeros {
  display: flex;
  margin-top: 10px;
  margin-bottom: 40px;
  justify-content: center;
  flex-direction: row;
}

.cardos {
  box-shadow: 0px 10px 15px -3px rgba(0, 0, 0, 0.1);
  cursor: pointer;
  height: 15rem;
  width: 4rem;
  border-radius: 2rem;
  margin: 0.5rem;
  background-position: end;
  background-repeat: no-repeat;
  background-size: cover;
  overflow: hidden;

  transition: width var(--animation-time) linear;
}

.oscircle {
  box-shadow: 0px 10px 15px -3px rgba(0, 0, 0, 0.1);
  background-color: white;
  width: 2.5rem;
  height: 2.5rem;
  margin: 0.7rem;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.contentos {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  height: 95%;
  transform: scale(0.6666666666666);
  transition: all var(--animation-time) linear;
}

.cardos.active .contentos {
  transform: scale(1);
}

.filler {
  flex: 1;
  border: 2px solid green;
}

.osdata {
  display: flex;
  width: 1000rem;
}

.osdetail {
  margin-top: 0.75rem;
  margin-left: 1rem;
  transition: all var(--animation-time) linear;
  color: white;
  opacity: 0;
}

h4 {
  font-size: 1.25rem;
}
p {
  font-size: 0.9rem;
}

.cardos.active .osdetail {
  opacity: 1;
  margin-left: 0;
}

.bg {
  height: inherit;
  width: 4rem;
  box-shadow: inset 0px -20px 100px 10px rgba(0, 0, 0, 0.7);
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  overflow: hidden;
  transform: scale(1.5);
  transition: all var(--animation-time) linear;
}

.cardos.active .bg {
  width: 30rem;
  transform: scale(1);
}

/* media query that sets the width of cardos to none if max width is less than 1000px */
@media (max-width: 1000px) {
  .cardos.active {
    width: none;
  }
}
@media (min-width: 1000px) {
  .cardos.active {
    width: 30rem;
  }
}

