@import url('https://fonts.googleapis.com/css?family=Lato:300,700|Playfair+Display:700');
@import url('https://maxcdn.bootstrapcdn.com/font-awesome/4.7.0/css/font-awesome.min.css');

* {
  box-sizing: border-box;
  /*border: 1px dotted darkgrey;*/
}

body {
  font-family: 'Lato', sans-serif;
  color: rgba(38,38,38,1);
  margin: 0;
  padding: 0;
  background-color: white;
  animation-name: fade-in;
  animation-duration: 3s;
  opacity: 1;
}

@keyframes fade-in {
  0% {opacity: 0;}
  50% {opacity: .5;}
  100% {opacity: 1;}
}

nav {
  background-color: #FDFDFD;
  position: fixed;
  left: 0;
  top: 0;
  width: 100%;
  height: 10vh;
  display: flex;
  align-items: center;
  padding: 0;
  margin: 0;
  box-shadow: 2px 2px 4px rgba(38,38,38,.1);
  z-index: 2;
}

nav ul {
  display: flex;
  justify-content: space-around;
  align-items: center;
  list-style: none;
  margin: 0;
  padding: 0;
  width: 100%;
  font-size: 3vmax;
  line-height: 3vmax;
}

nav a {
  color: rgba(38,38,38,1);
  text-decoration: none;
}

a {
  color: rgba(38,38,38,1);
  text-decoration: underline;
}

a:hover {
  color: rgba(55,162,178,1);
  transition-duration: .5s;
}

a:active {
  color: rgba(55,162,178,.5);
}

header {
  text-align: center;
  background-color: rgba(38,38,38,1);
  width: 100vw;
  height: 90vh;
  margin: 10vh 0 0 0;
  padding: 0 3vmax;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-end;
  position: relative;
  text-align: right;
}

header h1 {
  width: 100vw;
  font-family: 'Playfair Display', serif;
  text-transform: uppercase;
  font-weight: bolder;
  font-size: 12vmax;
  -webkit-text-fill-color: transparent;
  -webkit-background-clip: text;
  background-image: url('../img/backgroundVector_0028-HQ-01.jpg');
  /*<a href="https://www.vexels.com/vectors/preview/77806/abstract-circle-seamless-pattern"> Abstract circle seamless pattern </a> | designed by Vexels*/
  background-position: center;
  background-size: contain;
  background-attachment: fixed;
  color: #FDFDFD;
  padding: 0;
  margin: 0;
  animation-name: fade-in;
  animation-duration: 3s;
  opacity: 1;
}


header h2 {
  width: 100vw;
  font-family: 'Playfair Display', serif;
  text-transform: uppercase;
  font-weight: bolder;
  font-size: 5vmax;
  color: #FDFDFD;
  padding: 0;
  margin: 0;
  text-decoration: none;
}

.icon-container {
  position: absolute;
  bottom: 1vmax;
  left: 0;
  width: 100%;
  text-align: center;
}

.icon-container a:hover {
  color: rgba(55,162,178,1);
  transition-duration: .5s;
}

.icon-container a:active {
  color: rgba(55,162,178,.5);
}

header .icon-container a {
  color: #FDFDFD;
  font-size: 10vh;
}

section .icon-container a {
  color: rgba(38,38,38,1);
  font-size: 5vmax;
}

section {
  height: 90vh;
  padding: 0 3vmax;
  margin: 10vh 0 0 0;
  background-color: #fff;
  position: relative;
  font-size: 3vmax;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-end;
  width: 100vw;
}

section:nth-of-type(odd) {
    border: solid transparent;
    border-image:url('../img/backgroundVector_0028-HQ-01.jpg') 0 10 0 0 ;
    border-top:none;
    border-width: 1vw;
}

section:nth-of-type(even) {
    border-right: solid rgba(38,38,38,1);
    border-width: 1vw;
}

h2 {
  text-align: right;
  font-size: 5vmax;
  text-transform: uppercase;
  text-decoration: overline;
}

p {
  text-align: justify;
}


#project-container {
  width: 100%;
  height: 90vh;
  display: flex;
  flex-flow: row wrap;
  align-items: center;
  justify-content: space-between;
  position: relative;
  font-size: 5vmax;
  background-color: transparent;
  background-image: url('../img/project1.png');
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
}


#link-container a {
  position: absolute;
  bottom: 0;
  left: 0;
  text-align: center;
  width: 100%;
  padding: 2vh 0 15vh 0;
  background: rgba(255,255,255,.9);
  background: -webkit-linear-gradient(rgba(255,255,255,.5), rgba(255,255,255,1), rgba(255,255,255,1), rgba(255,255,255,1));
  background: -o-linear-gradient(rgba(255,255,255,.5), rgba(255,255,255,1), rgba(255,255,255,1), rgba(255,255,255,1));
  background: -moz-linear-gradient(rgba(255,255,255,.5), rgba(255,255,255,1), rgba(255,255,255,1), rgba(255,255,255,1));
  background: linear-gradient(rgba(255,255,255,.5), rgba(255,255,255,1), rgba(255,255,255,1), rgba(255,255,255,1));
  text-decoration: none;
}


dl {
  text-align: right;
  display: block;
}

dl dt {
  padding: 2vmax 0 .1vmax 0;
  font-weight: bold;
  font-size: 2vmax;
}

dl dd {
  padding: .1vmax 0 .1vmax 0;
  font-size: 2vmax;
}

ul {
  padding: 0;
  margin: 0;
  list-style: none;
  text-align: right;
}

ul li {
  padding: 2vmax;
}


footer {
  height: 8vh;
  text-transform: uppercase;
  padding: 1vmax;
  border-top: 1px solid #ededed;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  background-color: #FDFDFD;
}

footer p {
  font-size: 1.7vmax;
  text-align: center;
  padding: 0;
  margin: 0;
  color: rgba(38,38,38,.8)
}

footer small {
  color: rgba(38,38,38,.5)
}

footer small a {
  color: rgba(38,38,38,.5)
}

.fa-angle-right {
  color: rgba(55,162,178,1);
  text-shadow: 1px 1px 1px black;
  cursor: pointer;
}

.fa-angle-right:hover {
  color: #87C7D0;
  transition-duration: .5s;
}

.fa-angle-right:active {
  color: #B7DDE2;
}

.fa-angle-left {
  color: rgba(55,162,178,1);
  text-shadow: 1px 1px 1px black;
  cursor: pointer;
}

.fa-angle-left:hover {
  color: #87C7D0;
  transition-duration: .5s;
}

.fa-angle-left:active {
  color: #B7DDE2;
}

.triangle {
  width: 0;
  height: 0;
  border-left: 40vw solid transparent;
  border-right: 40vw solid rgba(38,38,38,1);
  border-bottom: 45vh solid rgba(38,38,38,1);
  border-top: 45vh solid rgba(38,38,38,1);
  position: absolute;
  left: 0;
  bottom: 0;
  margin: 0;
  padding: 0;
}

.triangle-wrapper {
  background-image: url('../img/backgroundVector_0028-HQ-01.jpg');
  /*<a href="https://www.vexels.com/vectors/preview/77806/abstract-circle-seamless-pattern"> Abstract circle seamless pattern </a> | designed by Vexels*/
  background-position: center;
  background-size: cover;
  background-attachment: fixed;
  background-repeat: no-repeat;
  background-color: transparent;
  width: 45vw;
  height: 90vh;
  position: absolute;
  left: 0;
  bottom: 0;
  margin: 0;
  padding: 0;
}

#connect {
  background-color: rgba(38,38,38,1);
  color: #FDFDFD;
}

#connect h2 {
  z-index: 1;
}

#connect ul {
  z-index: 1;
}

#connect a {
  color: #FDFDFD;
  text-decoration: none;
}

#connect a:hover {
  color: rgba(55,162,178,1);
  transition-duration: .5s;
}

#connect a:active {
  color: rgba(55,162,178,.5);
}

.transition {
  animation-name: fade-in;
  animation-duration:5s;
}

@keyframes fade-in {
  0%   { opacity: 0; }
 100% { opacity: 1; }
}


@media (orientation: landscape) {
  header h1 {
    font-size: 10vmax;
    padding: 0 5vmax;
  }

  header h2 {
    font-size: 5vmax;
    padding: 0 5vmax;
  }

  section {
    font-size: 2.5vmax;
    padding: 0 9vmax;
  }

  dl {
    font-size: 2vmax;
  }

  h2 {
    font-size: 3vmax;
  }

  .img-container div img {
    height: 100%;
    max-width: 80vw;
    margin: 0 auto;
  }

  footer p {
    font-size: 1.2vmax;
  }
  section:nth-of-type(odd) {
      border-image:url('../img/backgroundVector_0028-HQ-01.jpg') 0 40 0 0 ;
  }
}
