@media screen and (max-width:414px) {

.timelinesectionwide {
    display: none;
}

.timelinesectionnarrow {
    background-image: url('./img/grey-background.svg');
    background-position: center;
    background-size: cover;
    padding: 40px 24px;
    box-sizing: border-box;
    display: flex;
    justify-content: space-evenly;
    width: 100%;    
    height: auto;
    position: relative;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 15px;
}

.timelinesectionnarrow h2 {
  color: white;
  padding-bottom: 15px;
  text-align: left;
  width: 100%;
}

.timelinearrow {
  height: 40px;
}

.timelinesectionnarrow img {
  height: 100%;
  justify-content: center;
}

.timelinebox {
  display: flex;
  flex-direction: column;
  width: 100%;
  border: #ff8311 2px solid;
  border-radius: 8px;
  background-color: rgb(171, 171, 171);
  align-items: center;
  padding-left: 10px;
  padding-right: 10px;
  box-sizing: border-box;
  transition: all 0.5s;
}

.collapsible {
  height: max-content;
  width: 100%;
  text-align: left;
  padding: 10px 0px;
  box-sizing: border-box;
  position: relative;
}

.collapsible p {
  font-weight: 600; 
}

.collapsible:after {
  content: '\02795'; /* Unicode character for "plus" sign (+) */
  font-size: 13px;
  color: white;
  right: 10px;
  bottom: 11px;
  position: absolute;
}

.active:after {
  content: "\2796"; /* Unicode character for "minus" sign (-) */
}

.content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.2s ease-out;
  text-align: left;
  display: flex;
  align-self: baseline;
  box-sizing: border-box;
}

.padding {
  margin-top: 10px;
  margin-bottom: 10px;
}

}

@media screen and (min-width:415px) and (max-width:789px) {

.timelinesectionwide {
    display: none;
}

.timelinesectionnarrow {
    background-image: url('./img/grey-background.svg');
    background-position: center;
    background-size: cover;
    padding: 40px 40px;
    box-sizing: border-box;
    display: flex;
    justify-content: space-evenly;
    width: 100%;
    height: auto;
    position: relative;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 15px;
}

.timelinesectionnarrow h2 {
  color: white;
  padding-bottom: 15px;
  text-align: left;
  width: 100%;
}

.timelinearrow {
  height: 40px;
}

.timelinesectionnarrow img {
  height: 100%;
  justify-content: center;
}

.timelinebox {
  display: flex;
  flex-direction: column;
  width: 100%;
  border: #ff8311 2px solid;
  border-radius: 8px;
  background-color: rgb(171, 171, 171);
  align-items: center;
  padding-left: 10px;
  padding-right: 10px;
  box-sizing: border-box;
  transition: all 0.5s;
}

.collapsible {
  height: max-content;
  width: 100%;
  text-align: left;
  padding: 10px 0px;
  box-sizing: border-box;
  position: relative;
}

.collapsible p {
  font-weight: 600; 
}

.collapsible:after {
  content: '\02795'; /* Unicode character for "plus" sign (+) */
  font-size: 13px;
  color: white;
  right: 10px;
  bottom: 11px;
  position: absolute;
}

.active:after {
  content: "\2796"; /* Unicode character for "minus" sign (-) */
}

.content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.2s ease-out;
  text-align: left;
  display: flex;
  align-self: baseline;
  box-sizing: border-box;
}

.padding {
  margin-top: 10px;
  margin-bottom: 10px;
}

}

@media screen and (min-width:790px) {

.timelinesectionnarrow { 
    display: none;
}

.timelinesectionwide {
    background-image: url('./img/grey-background.svg');
    background-position: center;
    background-size: cover;
    padding: 40px 80px;
    box-sizing: border-box;
    width: 100%;
    height: auto;
}

.timelinesectionwide h2 {
  color: white;
  padding-bottom: 30px;
}

.timeline {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    flex-wrap: nowrap;
}

.timelinebox {
    height: 80px;
    width: 100%;
    background-color: rgb(171, 171, 171);
    border-radius: 20px;
    box-sizing: border-box;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 5px;
}

.timeline img {
    width: 5%;
}

.timelinedetail {
    margin-top: 30px;
    width: 100%;
    display: none;
    background-color: rgb(255, 255, 255);
    padding: 20px;
    box-sizing: border-box;
    border-radius: 20px;
}

.timelinedetail a {
  animation-name: fade;
  animation-duration: 1.5s;
}

@keyframes fade {
  from {opacity: .0}
  to {opacity: 1}
}

}

@media (hover: hover) and (pointer: fine) {

.timelinehover:hover, .collapsible:hover {
  cursor: pointer;
  font-weight: 600  ;
} 

}