.careers{
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-content: center;
  margin: 0px;
  padding: 75px 0px 0px;
}

.careers__container{
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-content: center;'
  gap: 25px;
  margin: 0px auto;
  padding: 0px 25px;
  box-sizing: border-box;
}

.careers__information{
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-content: flex-start;
  margin: 0px auto;
  padding: 55px 0px;
  max-width: 500px;
  width: 100%;
  box-sizing: border-box;
}

.careers__subtext{
  font-family: Inter, sans-serif;
  font-size: 20px;
  font-weight: regular;
  text-align: left;
  text-decoration: none;
  max-width: 750px;
  width: 100%;
  margin: 0px;
}

.careers__header{
  font-family: Playfair Display, serif;
  font-size: 36px;
  font-weight: bold;
  text-align: left;
  text-decoration: none;
  width: 300px;
  margin: 10px 0px 40px;
}

.careers__paragraph{
  font-family: Inter, sans-serif;
  font-size: 16px;
  font-weight: regular;
  text-align: left;
  text-decoration: none;
  line-height: 35px;
  max-width: 750px;
  width: 100%;
  margin: 0px 0px 25px;
  transition: all 0.3s ease;
}

.careers__icon svg{
  width: 20px;
}

.careers__points{
  display: flex;
  justify-content: flex-start;
  align-items: center;
  gap: 15px;
  font-family: Inter, sans-serif;
  font-size: 16px;
  font-weight: regular;
  text-align: left;
  text-decoration: none;
  line-height: 35px;
  max-width: 750px;
  width: 100%;
  margin: 0px 0px 20px;
}

.careers__credentials{
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-end;
  gap: 10px;
  margin: 0px auto;
  padding: 55px 0px;
  max-width: 700px;
  width: 100%;
}

.careers__credential{
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  background-size: 125%;
  background-position: center;
  background-repeat: no-repeat;
  box-shadow: 0px 5px 5px rgba(0,0,0,0.25);
  border-radius: 10px;
  animation: scroll 50s infinite alternate-reverse linear;
  max-width: 750px;
  width: 100%;
  gap: 5px;
  overflow: hidden;
}

.careers__credential-background{
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  color: #000;
  background-color: #FFFAEF;
  max-width: 350px;
  width: 100%;
  height: 250px;
  padding: 15px;
  border-radius: 0px 0% 75% 0px;
  clip-path: polygon(0 0, 80% 0, 100% 100%, 0% 100%);
}

.careers__credential-data{
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  font-family: Inter, sans-serif;
  font-size: 16px;
  font-weight: bold;
  text-align: left;
  gap: 10px;
  margin: 0px 50px;
  width: 250px;
}

.careers__credential-stat{
  font-size: 36px;
}

.careers__credential-icon{
  width: 24px;
}

.careers__credential-text{
  display: flex;
  justify-content: flex-start;
  align-items: center;
  font-family: Inter, sans-serif;
  font-size: 14px;
  font-weight: regular;
  text-align: left;
  width: 260px;
}
.careers__points-container{
  display: none;
}
@media screen and (max-width: 954px){
  .careers__paragraph, .careers__points{
    font-size: 14px;
  }
}
@media screen and (max-width: 858px){
  .careers__container{
    flex-direction: column;
  }
  .careers__information{
    padding: 0px;
    max-width: 700px;
  }
  .careers__points{
    display: none;
  }
  .careers__credentials{
    padding: 0px 0px 55px;
  }
  .careers__credential{
    flex-direction: row;
    gap: 0px;
    justify-content: center;
    align-items: center;
    box-sizing: border-box;
    background-size: 180%;
  }
  .careers__credential-background{
    max-width: 220px;
    width: 100%;
    border-radius: 0px;
    clip-path: none;
    box-sizing: border-box;
    height: 230px;
  }
  .careers__credential-data{
    max-width: 200px;
    width: 100%;
    margin: 0px auto;
  }
  .careers__points-container{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    font-family: Inter, sans-serif;
    font-size: 14px;
    font-weight: regular;
    text-align: right;
    color: #fff;
    background-color: rgba(0,0,0,.2);
    backdrop-filter: blur(4px);
    gap: 15px;
    width: 100%;
    height: 230px;
    margin: 0px auto;
    padding: 25px;
    box-sizing: border-box;
  }
  .careers__points_overlay{
    display: flex;
    justify-content: flex-start;
    align-items: flex-start;
    gap: 10px;
    font-family: Inter, sans-serif;
    font-size: 14px;
    font-weight: bold;
    text-align: left;
    text-decoration: none;
    max-width: 700px;
    width: 100%;
    margin: 0px;
    box-sizing: border-box;
  }
}

@media screen and (max-width: 547px){
  .careers__credential{
    flex-direction: column;
    gap: 0px;
    justify-content: center;
    align-items: center;
    box-sizing: border-box;
    background-size: 180%;
  }
  .careers__credential-background{
    justify-content: center;
    align-items: center;
    max-width: none;
    height: 100%;
  }
  .careers__credential-data{
    text-align: center;
    justify-content: center;
    align-items: center;
  }
}
@keyframes scroll {
  from {
    background-position: 0%;
  }
  to {
    background-position: 100%;
  }
}
