/* Parallax */
/*----------------------------------------------------------------------------*/
.c-background {
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center center;
  overflow: hidden;
  will-change: transform;
  backface-visibility: hidden;
  height: 130vh;
  position: fixed;
  width: 100%;
  transform: translateY(30vh);
  transition: all 1.2s cubic-bezier(0.22, 0.44, 0, 1);
}
.c-background:before {
  content: "";
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  /*background-color: rgba(0, 0, 0, 0.3);*/
}
.c-background:first-child {
  background-image: url("../images/office_black_code.jpg");
  transform: translateY(-15vh);
}
.c-background:first-child .c-content-wrapper {
  transform: translateY(15vh);
}

/* Set stacking context of slides */
.c-background:nth-child(1) {
  z-index: 2;
}

.c-content-wrapper {
  height: 100vh;
  display: flex;
  justify-content: center;
  text-align: center;
  flex-flow: column nowrap;
  color: var(--white);
  font-family: Montserrat;
  /*text-transform: uppercase;*/
  transform: translateY(40vh);
  will-change: transform;
  backface-visibility: hidden;
  transition: all 1.7s cubic-bezier(0.22, 0.44, 0, 1);
}
.c-content-title {
  font-size: 12vh;
  line-height: 1.4;
}
.c-content-subtitle{
  font-size: 3vh;
	padding-top: 2vh;
}
.c-background.up-scroll {
  transform: translate3d(0, -15vh, 0);
}
.c-background.up-scroll .c-content-wrapper {
  transform: translateY(15vh);
}
.c-background.up-scroll + .c-background {
  transform: translate3d(0, 30vh, 0);
}
.c-background.up-scroll + .c-background .c-content-wrapper {
  transform: translateY(30vh);
}
.c-background.down-scroll {
  transform: translate3d(0, -130vh, 0);
}
.c-background.down-scroll .c-content-wrapper {
  transform: translateY(40vh);
}
.c-background.down-scroll + .c-background:not(.down-scroll) {
  transform: translate3d(0, -15vh, 0);
}
.c-background.down-scroll + .c-background:not(.down-scroll) .c-content-wrapper {
  transform: translateY(15vh);
}

/* Contact section */
/*----------------------------------------------------------------------------*/
.contact-form{
	background-color: var(--white60);
	color: var(--black);
	margin: 2vh 0;
}
.contact-form p{
	font-size: 1.6rem;
}
.contact-form-wrapper{
	display: block;
	width: 100%;
	padding: 0 30vw;
	border-radius: 10px
}
.contact-form-wrapper h2{
	color: var(--red);
	padding: 10px;
	border-radius: 5px
}
.contact-form-wrapper h3{
	font-size: 2rem;
	padding: 10px;
}
.contact-form-wrapper h4{
	font-size: 1.2rem;
}
.contact-input-set{
	display: grid;
	padding: 4vh 3vw;
}
.contact-input{
  position: relative;
  width: 100%;
  padding: 10px;
  margin: 0 0 10px 0;
  border: none;
  outline: none;
  background-color: var(--white60);
	transition: all 300ms ease-in-out;
}
.contact-input p{
	font-size: 1.6rem;
	margin: 10px;
}
input:-webkit-autofill,
input:-webkit-autofill:hover,
input:-webkit-autofill:focus,
input:-webkit-autofill:active{
	-webkit-box-shadow: 0 0 0 30px var(--white60) inset !important;
}
.contact-notes{
	margin-bottom: 4vh;
}
.contact-btn{
  width: 100%;
  height: 2.5rem;
  padding: 1% 2%;
  font-weight: bold;
  font-size: 1.1rem;
  color: var(--white);
  border: none;
  outline: none;
  cursor: pointer;
  background-color: var(--black60);
	transition: all 200ms ease-in-out;
}
.contact-btn:hover{
  background-color: var(--dgreen);
}
.contact-btn:active{
  transform: scale(0.98);
}
.contact-err{
	color: var(--red);
	font-size: 1.3rem;
	font-weight: 600;
}
.footer{
	bottom: 0vh !important;
	z-index: 2;
}

/* Cell phone screen */
/*----------------------------------------------------------------------------*/
@media only screen and (max-width: 1080px){
.contact-form{
	margin: 0;
}
.contact-form-wrapper{
	padding: 2vh 3%;
}
.contact-form p{
	font-size: 2.6rem;
}
.contact-input{
  margin: 0 0 30px 0;
	font-size: 2.5rem;
}
.contact-form-wrapper h3{
	font-size: 3rem;
}
.contact-form-wrapper h4{
	font-size: 2.5rem;
}
.contact-err{
	font-size: 2.5rem;
}
.contact-btn{
  height: 6.5rem;
  font-size: 4rem;
}
}
