section#experience .spotlight {
  max-width: 1200px;
  margin: 100px auto 0;
  padding-top: 84px;
}

section#experience .spotlight .header {
  margin-bottom: 93px;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
}

section#experience .spotlight .header h1 {
  font-family: Inter, sans-serif;
  font-size: 64px;
  color: #cfcfcf;
  line-height: 1.2;
  font-weight: 800;
  width: 313px;
  margin: 0 48px 0 96px;
}

section#experience .spotlight .header .details {
  padding-left: 37px;
  padding-right: 20px;
  border-left: 3px solid rgba(104,50,221,0.6);
}
section#experience .spotlight .header .details h2 {
  font-family: Inter, sans-serif;
  font-size: 64px;
  color: black;
  line-height: 0.62;
  font-weight: 800;
  margin-bottom: 32px;
  white-space: nowrap;
}
section#experience .spotlight .header .details h2 i.icon-tezos {
  font-size: 75%;
  margin-right: 13px;
}
section#experience .spotlight .header .details p {
  font-family: Lato, sans-serif;
  font-size: 16px;
  color: #ababab;
  margin: 32px 0 11px;
  line-height: 1;
}
section#experience .spotlight .header .details ul {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  margin: 0;
  padding: 0;
  margin: 0 0 -7px -7px;
  list-style-type: none;
}
section#experience .spotlight .header .details ul li {
  font-family: Lato, sans-serif;
  font-size: 14px;
  line-height: 16px;
  color: black;
  display: block;
  height: 32px;
  background-color: #eeeeee;
  border-radius: 3px;
  padding: 8px 12px;
  margin: 5px 7px;
}
section#experience .spotlight .header .details ul li i {
  margin-right: 10px;
}

section#experience .spotlight .screenshots {
  padding: 96px 0 60px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

section#experience .spotlight .screenshots img.desktop {
  display: initial;
  width: 60%;
  box-shadow: 0px 10px 50px 0px rgba(0,0,0,0.2);
  border-radius: 8px;
}
section#experience .spotlight .screenshots img.mobile {
  display: initial;
  width: 15%;
  vertical-align: -130px;
  margin-left: 30px;
  box-shadow: 0px 10px 50px 0px rgba(0,0,0,0.2);
  border-radius: 10% / 6%;
}

section#experience .spotlight .summaries {
  display: flex;
  flex-direction: row;
  margin: 50px;
}

section#experience .spotlight .summaries p.summary {
  margin: 0 45px;
  line-height: 1.8;
  color: #767676;
  font-family: Lato, sans-serif;
}

section#experience .spotlight .summaries p.summary:first-child:first-letter {
  font-size: 30px;
  line-height: 0; /* To ensure we don't push the paragraph down */
}

section#experience .spotlight .other-projects {
  margin: 90px auto;
  text-align: center;
}

section#experience .spotlight .other-projects a {
  display: inline-block;
  padding: 16px 40px;
  border-radius: 4px;
  border: 1px solid #dedede;
  font-family: Lato, sans-serif;
  font-size: 16px;
  color: #989898;
  text-align: center;
}

section#experience .spotlight .other-projects i {
  display: block;
  font-size: 75%;
  margin-top: 10px;
}

@media screen and (max-width: 900px) {
  section#experience .spotlight {
    margin-top: 60px;
  }
  section#experience .spotlight .header {
    flex-wrap: wrap;
    margin: 20px 0 59px 20px;
    justify-content: left;
  }
  section#experience .spotlight .header h1 {
    margin: 0 20px 42px 0;
    font-size: 50px;
  }
  section#experience .spotlight .summaries {
    flex-direction: column;
    margin: 50px 0;
  }
  section#experience .spotlight .summaries p.summary {
    margin: 14px 20px;
  }
  section#experience .spotlight .other-projects {
    display: none;
  }
}

@media screen and (max-width: 900px) {
  section#experience .spotlight .screenshots img.desktop {
    width: calc(100% - 40px);
  }
  section#experience .spotlight .screenshots img.mobile {
    width: 22%;
    position: absolute;
    bottom: 10%;
    right: 0;
    transform: rotate(20deg);
  }
}

/* We need to be sure that the duration we include here for the transform agrees
   with the one contained in our js code in Carousel.hs
*/
.is-animating {
  -webkit-transition: -webkit-transform 200ms cubic-bezier(0.5, 0, 0.5, 1);
  transition: -webkit-transform 200ms cubic-bezier(0.5, 0, 0.5, 1);
  transition: transform 200ms cubic-bezier(0.5, 0, 0.5, 1);
  transition: transform 200ms cubic-bezier(0.5, 0, 0.5, 1), -webkit-transform 200ms cubic-bezier(0.5, 0, 0.5, 1);
}
