#references {
    scroll-snap-type: y mandatory;
    min-height: 63rem;
    height: 97vh;  
    background-image: radial-gradient(farthest-corner, #003304 0%, #000f01 100%);
    background-position: center center;
    background-attachment: scroll;
    background-size: cover;
    position: relative;
}

@media only screen and (max-device-width: 900px) and (orientation: portrait) {
    @media (max-device-height: 650px) {
        #references {        
            height: 220vh;
        }
    }

    @media (min-device-height: 651px) and (max-device-height: 725px) {
        #references {        
            height: 220vh;
        }
    }

    @media (min-device-height: 726px) and (max-device-height: 800px) {
        #references {        
            height: 200vh;
        }
    }

    @media (min-device-height: 801px) and (max-device-height: 875px) {
        #references {        
            height: 180vh;
        }
    }

    @media (min-device-height: 876px) {
        #references {        
            height: 160vh;
        }
    }
}


.references_parallax {
    scroll-snap-align: start;
	height: 7rem;
	background-image: url("../img/assets/References_headline.jpg");;
	background-position: center top;
	background-attachment: fixed;
	background-size: 100% 100%;
	position: relative;
	vertical-align: middle;
}

@media only screen and (max-device-width: 900px) and (orientation: portrait) {
    .references_parallax {
        height: 5rem;
        background-image: url("../img/assets/References_headline.jpg");;
        background-position: center top;
        background-attachment: fixed;
        background-size: auto 100%;
        position: relative;
        vertical-align: middle;
    }
}


.work {
    width: 100%;
    display: flex;
    justify-content: center;
    padding-top: 5rem;
}

@media only screen and (max-device-width: 900px) and (orientation: portrait) {
    .work {
        width: 100%;
        display: block;
        padding-top: 1rem;
    }
}

.work-list {
    width: 33%;
}

@media only screen and (max-device-width: 900px) and (orientation: portrait) {
    .work-list {
        width: 100%;
    }
}

.work-focus {
	color: white;
    font-size: 2rem;
    font-weight: 600;
    line-height: 2.5rem;
	text-align: center;
	padding-bottom: 0.25rem;
	width: 100%;
}

.work-info {
  display: none;
  height: 100%;
  padding: 1rem;
  padding-top: 1rem;
  padding-bottom: 1rem;
  background-color: rgba(0,0,0,0.75);
}

@media only screen and (max-device-width: 900px) and (orientation: portrait) {
    .work-info {
        height: 25%;
        display: block;
        padding-left: .5rem;
        padding-right: .5rem;
      }
    }

.work-data {
  font-size: 1.5rem;
  font-weight: 200;
  line-height: 1.75rem;
  text-align: center;
  color: white;
  padding-bottom: 1.5rem;
}

@media only screen and (max-device-width: 900px) and (orientation: portrait) {
.work-data {
    font-size: 1.25rem;
    font-weight: 200;
    line-height: 1.5rem;
    text-align: center;
    color: white;
    padding-bottom: .5rem;
    }
}

@media only screen and (max-device-width: 900px) and (orientation: portrait) {
    .work-mobile {
        display: none;
    }
}

.work-description {
  margin-left: 4rem;
  margin-right: 4rem;
  border-top: 0.125rem solid white;
  border-bottom: 0.125rem solid white;
  font-size: 1.75rem;
  font-weight: 200;
  line-height: 2rem;
  text-align: center;
  color: white;
  padding-top: 1.5rem;
  padding-bottom: 1.5rem;
}

@media only screen and (max-device-width: 900px) and (orientation: portrait) {
    .work-description {
        margin-left: 0;
        margin-right: 0;
        display: block;
        padding: 0rem;
        font-size: 1.25rem;
        line-height: 1.5rem;
        border-top: none;
        border-bottom: none;
    }
}

.work-link {
  padding-top: 1.25rem;
  font-size: 1.5rem;
  font-weight: 200;
  line-height: 1.75rem;
  text-align: center;
  color: white;
}

@media only screen and (max-device-width: 900px) and (orientation: portrait) {
    .work-link {
        padding-top: 0;
        border-top: none;
        font-size: 1.25rem;
        font-weight: 200;
        line-height: 1.5rem;
    }
}