/*! normalize.css v4.1.1 | MIT License | github.com/necolas/normalize.css */
/**
 * 1. Change the default font family in all browsers (opinionated).
 * 2. Prevent adjustments of font size after orientation changes in IE and iOS.
 */
 @import url("https://fonts.googleapis.com/css2?family=Lato:wght@300;400;700;900&display=swap");
 /**
  * Remove the margin in all browsers (opinionated).
  */
 body {
   margin: 0;
 }
 
 /* HTML5 display definitions
    ========================================================================== */
 /**
  * Add the correct display in IE 9-.
  * 1. Add the correct display in Edge, IE, and Firefox.
  * 2. Add the correct display in IE.
  */
 article,
 aside,
 details,
 figcaption,
 figure,
 footer,
 header,
 main,
 menu,
 nav,
 section,
 summary {
   /* 1 */
   display: block;
 }
 
 /**
  * Add the correct display in IE 9-.
  */
 audio,
 canvas,
 progress,
 video {
   display: inline-block;
 }
 
 /**
  * Add the correct display in iOS 4-7.
  */
 audio:not([controls]) {
   display: none;
   height: 0;
 }
 
 /**
  * Add the correct vertical alignment in Chrome, Firefox, and Opera.
  */
 progress {
   vertical-align: baseline;
 }
 
 /**
  * Add the correct display in IE 10-.
  * 1. Add the correct display in IE.
  */
 template,
 [hidden] {
   display: none;
 }
 
 /* Links
    ========================================================================== */
 /**
  * 1. Remove the gray background on active links in IE 10.
  * 2. Remove gaps in links underline in iOS 8+ and Safari 8+.
  */
 a {
   background-color: transparent;
   /* 1 */
   -webkit-text-decoration-skip: objects;
   /* 2 */
 }
 
 /**
  * Remove the outline on focused links when they are also active or hovered
  * in all browsers (opinionated).
  */
 a:active,
 a:hover {
   outline-width: 0;
 }
 
 /* Text-level semantics
    ========================================================================== */
 /**
  * 1. Remove the bottom border in Firefox 39-.
  * 2. Add the correct text decoration in Chrome, Edge, IE, Opera, and Safari.
  */
 abbr[title] {
   border-bottom: none;
   /* 1 */
   text-decoration: underline;
   /* 2 */
   text-decoration: underline dotted;
   /* 2 */
 }
 
 /**
  * Prevent the duplicate application of `bolder` by the next rule in Safari 6.
  */
 b,
 strong {
   font-weight: inherit;
 }
 
 /**
  * Add the correct font weight in Chrome, Edge, and Safari.
  */
 b,
 strong {
   font-weight: bolder;
 }
 
 /**
  * Add the correct font style in Android 4.3-.
  */
 dfn {
   font-style: italic;
 }
 
 /**
  * Correct the font size and margin on `h1` elements within `section` and
  * `article` contexts in Chrome, Firefox, and Safari.
  */
 h1 {
   font-size: 2em;
   margin: 0.67em 0;
 }
 
 /**
  * Add the correct background and color in IE 9-.
  */
 mark {
   background-color: #ff0;
   color: #000;
 }
 
 /**
  * Add the correct font size in all browsers.
  */
 small {
   font-size: 80%;
 }
 
 /**
  * Prevent `sub` and `sup` elements from affecting the line height in
  * all browsers.
  */
 sub,
 sup {
   font-size: 75%;
   line-height: 0;
   position: relative;
   vertical-align: baseline;
 }
 
 sub {
   bottom: -0.25em;
 }
 
 sup {
   top: -0.5em;
 }
 
 /* Embedded content
    ========================================================================== */
 /**
  * Remove the border on images inside links in IE 10-.
  */
 img {
   border-style: none;
 }
 
 /**
  * Hide the overflow in IE.
  */
 svg:not(:root) {
   overflow: hidden;
 }
 
 /* Grouping content
    ========================================================================== */
 /**
  * 1. Correct the inheritance and scaling of font size in all browsers.
  * 2. Correct the odd `em` font sizing in all browsers.
  */
 code,
 kbd,
 pre,
 samp {
   font-family: monospace, monospace;
   /* 1 */
   font-size: 1em;
   /* 2 */
 }
 
 /**
  * Add the correct margin in IE 8.
  */
 figure {
   margin: 1em 40px;
 }
 
 /**
  * 1. Add the correct box sizing in Firefox.
  * 2. Show the overflow in Edge and IE.
  */
 hr {
   box-sizing: content-box;
   /* 1 */
   height: 0;
   /* 1 */
   overflow: visible;
   /* 2 */
 }
 
 /* Forms
    ========================================================================== */
 /**
  * 1. Change font properties to `inherit` in all browsers (opinionated).
  * 2. Remove the margin in Firefox and Safari.
  */
 button,
 input,
 select,
 textarea {
   font: inherit;
   /* 1 */
   margin: 0;
   /* 2 */
 }
 
 /**
  * Restore the font weight unset by the previous rule.
  */
 optgroup {
   font-weight: bold;
 }
 
 /**
  * Show the overflow in IE.
  * 1. Show the overflow in Edge.
  */
 button,
 input {
   /* 1 */
   overflow: visible;
 }
 
 /**
  * Remove the inheritance of text transform in Edge, Firefox, and IE.
  * 1. Remove the inheritance of text transform in Firefox.
  */
 button,
 select {
   /* 1 */
   text-transform: none;
 }
 
 /**
  * 1. Prevent a WebKit bug where (2) destroys native `audio` and `video`
  *    controls in Android 4.
  * 2. Correct the inability to style clickable types in iOS and Safari.
  */
 button,
 html [type=button],
 [type=reset],
 [type=submit] {
   -webkit-appearance: button;
   /* 2 */
 }
 
 /**
  * Remove the inner border and padding in Firefox.
  */
 button::-moz-focus-inner,
 [type=button]::-moz-focus-inner,
 [type=reset]::-moz-focus-inner,
 [type=submit]::-moz-focus-inner {
   border-style: none;
   padding: 0;
 }
 
 /**
  * Restore the focus styles unset by the previous rule.
  */
 button:-moz-focusring,
 [type=button]:-moz-focusring,
 [type=reset]:-moz-focusring,
 [type=submit]:-moz-focusring {
   outline: 1px dotted ButtonText;
 }
 
 /**
  * Change the border, margin, and padding in all browsers (opinionated).
  */
 fieldset {
   border: 1px solid #c0c0c0;
   margin: 0 2px;
   padding: 0.35em 0.625em 0.75em;
 }
 
 /**
  * 1. Correct the text wrapping in Edge and IE.
  * 2. Correct the color inheritance from `fieldset` elements in IE.
  * 3. Remove the padding so developers are not caught out when they zero out
  *    `fieldset` elements in all browsers.
  */
 legend {
   box-sizing: border-box;
   /* 1 */
   color: inherit;
   /* 2 */
   display: table;
   /* 1 */
   max-width: 100%;
   /* 1 */
   padding: 0;
   /* 3 */
   white-space: normal;
   /* 1 */
 }
 
 /**
  * Remove the default vertical scrollbar in IE.
  */
 textarea {
   overflow: auto;
 }
 
 /**
  * 1. Add the correct box sizing in IE 10-.
  * 2. Remove the padding in IE 10-.
  */
 [type=checkbox],
 [type=radio] {
   box-sizing: border-box;
   /* 1 */
   padding: 0;
   /* 2 */
 }
 
 /**
  * Correct the cursor style of increment and decrement buttons in Chrome.
  */
 [type=number]::-webkit-inner-spin-button,
 [type=number]::-webkit-outer-spin-button {
   height: auto;
 }
 
 /**
  * 1. Correct the odd appearance in Chrome and Safari.
  * 2. Correct the outline style in Safari.
  */
 [type=search] {
   -webkit-appearance: textfield;
   /* 1 */
   outline-offset: -2px;
   /* 2 */
 }
 
 /**
  * Remove the inner padding and cancel buttons in Chrome and Safari on OS X.
  */
 [type=search]::-webkit-search-cancel-button,
 [type=search]::-webkit-search-decoration {
   -webkit-appearance: none;
 }
 
 /**
  * Correct the text style of placeholders in Chrome, Edge, and Safari.
  */
 ::-webkit-input-placeholder {
   color: inherit;
   opacity: 0.54;
 }
 
 /**
  * 1. Correct the inability to style clickable types in iOS and Safari.
  * 2. Change font properties to `inherit` in Safari.
  */
 ::-webkit-file-upload-button {
   -webkit-appearance: button;
   /* 1 */
   font: inherit;
   /* 2 */
 }
 
 html {
   overflow-x: hidden !important;
 }
 
 body {
   color: #474242;
   font-family: "Lato", sans-serif;
   background: #fff;
 }
 
 *, *:before, *:after {
   box-sizing: inherit;
 }
 
 a {
   text-decoration: none;
   transition: All 0.3s ease;
 }
 
 a:hover {
   transition: All 0.3s ease;
 }
 
 /*Header*/
 h1, h2, h3, h4, h5 {
   margin: 0;
   padding: 0;
 }

 main{
  min-height: 100vh;
  max-height: 100vh;
  position: relative;
  overflow: hidden;
  /* z-index: 1; */
 }
 
 .section {
   text-align: center;
   vertical-align: middle;
 }
 
.header{
  width: 100%;
  position: absolute;
  top: 0;
}
.hero{
  height: 100vh;
  display: flex;
  text-align: center;
  align-items: center;
  width: 100%;
  justify-content: center;
  
}
.footer{
  width: 100%;
  position: absolute;
  bottom: 0;
}

 /*Wrapper*/
 .wrapper {
   display: flex;
   text-align: center;
   align-items: center;
   width: 100%;
   justify-content: center;
   
 }
 
 .content {
   line-height: 110%;
 }
 
 .title {
   font-size: 100px;
   letter-spacing: 10px;
 }
 
 .subtitle {
   font-weight: 300;
   font-size: 25px;
   letter-spacing: 5px;
 }
 
 @media only screen and (min-width: 1110px) {
   .wrapper {
     width: 990px;
     margin: 0 auto;
     /* background: red; */
   }
 }
 @media only screen and (min-width: 1350px) {
   .wrapper {
     width: 1200px;
     margin: 0 auto;
     /* background: red; */
   }
 }


 .flex-container{
  height: 100vh;
	width: 100%;
  display: flex;
	overflow: hidden;
 }

 .flex-slide{
  flex: none;
  width: 10vw;
  text-align: center;
 }

 .flex-slide:hover{
  opacity: .9;
 }


.flex-title {
	color: #f1f1f1;
	position: relative;
	font-size: 6vw;
	margin: auto;
	text-align: center;
	transform: rotate(90deg);
	top: 40vh;
	-webkit-transition: all 500ms ease;
	-moz-transition: all 500ms ease;
	-ms-transition: all 500ms ease;
	-o-transition: all 500ms ease;
	transition: all 500ms ease;
	@media screen and (max-width: 768px) {
		transform: rotate(0deg) !important;
	}
}


.flex-about {
	opacity: 0;
	color: #f1f1f1;
	position: relative;
	width: 80%;
	font-size: 24px;
	top: 15%;
	line-height: 1.3;
  padding: 0 0 0 0;
	margin: auto;
	text-align: center;
	transform: rotate(0deg);
	-webkit-transition: all 500ms ease;
	-moz-transition: all 500ms ease;
	-ms-transition: all 500ms ease;
	-o-transition: all 500ms ease;
	transition: all 500ms ease;
	@media screen and (max-width: 768px) {
		padding: 0%;
		border: 0px solid #f1f1f1;
	}
}

.flex-about a{
  position: relative;
  z-index: 2000;
}

.flex-slide {
	-webkit-flex: 1;
	-ms-flex: 1;
	flex: 1;
	cursor: pointer;
	-webkit-transition: all 700ms ease;
	-moz-transition: all 700ms ease;
	-ms-transition: all 700ms ease;
	-o-transition: all 700ms ease;
	transition: all 700ms ease;
}

/* On active state */
.flex-active {
	flex-grow: 50;
}
.flex-active:hover{
  opacity: 1;
}

.flex-active .flex-title{
  transform: rotate(0deg);
	top: 15%;
}

.flex-active .flex-about{
  transform: rotate(0deg);
  opacity: 1;
}


/*******************/

.flex-slide p {
  
	@media screen and (max-width: 768px) {
		
	}
} 
.flex-slide ul li {
  
	@media screen and (max-width: 768px) {
		
	}
} 



.home {
  width: 50vw;
	height: 100vh;
	background: linear-gradient(rgba(71, 66, 66, 0.9), rgba(71, 66, 66, 0.3)), url(https://images.unsplash.com/photo-1517248135467-4c7edcad34c4?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=2070&q=80);
	background-size: cover;
	background-position: center center;
	background-attachment: fixed;
	@media screen and (min-width: 768px) {
		animation: aboutFlexSlide $defaultSeconds 1;
		animation-delay: 0s;
	}
  
}

.home-landing{width: 50%;}

@keyframes aboutFlexSlide {
	0% {
		-webkit-flex-grow: 1;
		flex-grow: 1;
	}
	50% {
		-webkit-flex-grow: 3;
		flex-grow: 3;
	}
	100% {
		-webkit-flex-grow: 1;
		flex-grow: 1;
	}
}

.flex-title-home {
	/* @media screen and (min-width: 768px) {
		transform: rotate(90deg);
		top: 15%;
		animation: aboutFlexSlide $defaultSeconds 1;
		animation-delay: 0s;
	} */
}

.logo{
  max-width: 85%;
  margin: 16px 0 0 0;
  transition: all 500ms ease;
  top: 2vh;
  position: relative;
}
.flex-active .logo{
  max-width: 50%;
  top: 20vh;
  transition: all 500ms ease;
}


.flex-title-home .title-home{
  opacity: 1;
  height: 20px;
  transition: all 500ms ease;
  transform: rotate(0deg);
}

.flex-active .flex-title-home .title-home{
  opacity: 0;
  height: 0;
  animation: flexAboutHome 1;
	animation-delay: 0s;
  transition: all 500ms ease;
  transform: rotate(0deg);
}

@keyframes homeFlextitle {
	0% {
		transform: rotate(90deg);
		top: 15%;
	}
	50% {
		transform: rotate(0deg);
		top: 15%;
	}
	100% {
		transform: rotate(90deg);
		top: 15%;
	}
}

.flex-about-home {
	opacity: 0;
  top: 30vh;
	@media screen and (min-width: 768px) {
		animation: aboutFlexSlide $defaultSeconds 1;
		animation-delay: 0s;
	}
}

.flex-about-home p{
  font-size: 40px;
}

.flex-about-home a.find-out-more{
  background: #fff;
  color: #474242;
  padding: 16px;
  border-radius: 100px;
}

.flex-about-home a.find-out-more span{
  position: relative;
  top: 4px;
}

@keyframes flexAboutHome {
	0% {
		opacity: 0;
	}
	50% {
		opacity: 1;
	}
	100% {
		opacity: 0;
	}
}

.formFooter{display: none !important;}



.about {
	background: linear-gradient(rgba(71, 66, 66, 0.9), rgba(71, 66, 66, 0.3)), url(https://images.unsplash.com/photo-1577106263724-2c8e03bfe9cf?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=2070&q=80);
	background-size: cover;
	background-position: center center;
	background-attachment: fixed;	
}
.contact-form {
	width: 100%;
}
input {
	width: 100%;
}
textarea {
	width: 100%;	
}
.contact {
		background: linear-gradient(rgba(71, 66, 66, 0.9), rgba(71, 66, 66, 0.3)), url(https://images.unsplash.com/photo-1551529563-fce9529e67ac?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=2262&q=80);
	background-size: cover;
	background-position: center center;
	background-attachment: fixed;
  
}

.contact .flex-about{
  width: 90%;
}
.contact .flex-about a{
  color: #fff;
  text-decoration: underline;
}
.contact .flex-about a:hover{
  color: #C0BEBE;
}


.content-contact{
  height: 55vh;
  overflow-x: hidden;
  overflow-y: scroll;
}

.wrap-text{
  font-weight: 300;
  border-radius: 8px;
  background: rgba(71, 66, 66, 0.7);
  text-align: left;
  padding: 4px 24px;
  overflow-y: auto;
  overflow-x: hidden;
  height: 50vh;
  margin: 40px 0 0 0;
}

.border-wrap{
  border-radius: 8px;
  overflow: hidden;
}
.work {
		background: linear-gradient(rgba(71, 66, 66, 0.9), rgba(71, 66, 66, 0.3)), url(https://images.unsplash.com/photo-1505275350441-83dcda8eeef5?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=1974&q=80);
	background-size: cover;
	background-position: center center;
	background-attachment: fixed;
}

.form-all{
  max-width: 0;
}




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

  .flex-container{
		flex-direction: column;
  }
  .home{
    width: 100%;
    height: auto;
  }

  .flex-slide{
    width: 100%;
    height: auto;
    display: inline-block;
    flex: 1;
    align-items: center;
    filter: grayscale(80%);
    border-bottom: 1px solid rgb(255 255 255 / .5);
    /* overflow: auto;
		overflow-x: hidden; */
    overflow: hidden;
  }

  .flex-title{
    transform: rotate(0deg);
    top: 0;
    display: inline-block;
    font-size: 30px;
    margin: 10px 0;
  }
  .flex-active .flex-title{
    top: 10px;
  }
  .flex-active .flex-about{
    top: 0;
  }
  .flex-about{
    font-size: 18px;
    text-align: left;
  }


  .flex-active .flex-about-home{
    top: 35vh;
    text-align: center;
  }

  .flex-about-home{
    top: 20vh;
    text-align: center;
   
  }
  .flex-about-home p{
    font-size: 20px;
  }

  .flex-about-home a.find-out-more{
    background: #fff;
    color: #474242;
    padding: 16px;
    border-radius: 100px;
    font-size: 16px;
  }
  .material-symbols-outlined{
    transform: rotate(90deg);
  }

  .about .flex-about,
  .work .flex-about,
  .contact .flex-about{
    max-height: 60vh;
    overflow-x: hidden;
    overflow-y: scroll;
  }

  .wrap-text,
  .content-contact{
    height: auto;
    overflow: auto;
  }
  

  .flex-active{
    opacity: 1;
    flex-grow: 7;
    filter: grayscale(0%);
    overflow: auto;
		overflow-x: hidden;
  }

  .logo{
    max-width: 20%;
    transition: all 500ms ease;
    top: 20px;
    left: 20px;
    position: absolute;
    margin: 0;
  }
  .flex-active .logo{
    top: 24px;
    max-width: 70%;
    margin: 0 10%;
    display: inline-block;
  }

  .work .flex-about{
    width: 90%;
  }

  .about .flex-about{
    width: 90%;
  }

}