/*GENERAL*/
* {
  padding:0;
  margin:0;
  font-weight:lighter;
}

h2 {
  position:relative;
  color: white;
  font-size: 3vw;
  font-weight: lighter;
  text-align: center;
  padding-top: 4vw;
  padding-bottom: 1vw;
}
h2 span{ 
  position:absolute; 
}

h3 {
  color: white;
  font-size: 1.4vw;
  font-weight: lighter;
  padding-left: 6vw;
  padding-top: 30px;
  padding-bottom: 10px;
  text-align: left;
}

body {
  font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
  background-color: #20242f;
  color: #ffffff;
  font-size: 1.6vw;
  text-align: center;
  line-height: normal;
}

/*HEADER BAR*/
header {
  background-color: white;
}
header::after {
  content: '';
  display: table;
  clear:both;
}
.container {
  width: 80%;
  color: #A9CEE8;
  margin: 0 auto;

}

nav {
  float: left;
}

nav ul {
  list-style: none;
}
nav li {
  display: inline-block;
  margin-right: 70px;
  padding-top: 15px;
  padding-bottom: 15px;

  position: relative;
}

nav a {
  color:#000000;
  text-decoration: none;
  text-transform: uppercase;
  font-size: 1.8vw;
}

nav a:hover {
color: #4d4d4d;
}
nav a:before {
  content: '';
  display: block;
  height: 0.5vw;
  width: 0%;
  background-color: #000000;
  position: absolute;
  bottom: 0;
  transition: all ease-in-out 250ms;
}
nav a:hover::before {
  width: 100%;
}

/*HOME*/
h1 {
  color: white;
  font-size: 5vw;
  font-weight:lighter;
  text-align: center;
  padding-bottom: 1%;
}
.banner {
  width: 100%;
  height: 90vh;
  background-image: linear-gradient(to top, 
  rgba(42, 42, 42, 0.5) 5%, rgba(0,0,0, 0.80 ) 90%), 
  url('./assets/banner.jpg');
  background-size:cover;
  background-position: center
}

.banner_contents {
  text-align: center;
  position: absolute;
  width:100%;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: white;
}
.banner_contents button {
  background-color: transparent;
  border: 0.2vw solid white;
  margin-top: 20px;
  color: white;
  padding: 1.2vw 2.4vw;
  text-align: center;
  text-decoration: none;
  display: inline-block;
  font-size: 1.4vw;
  border-radius: 0.8vw;
  cursor: pointer;
}
.active, .banner_contents button:hover{
  border-color: rgb(0, 132, 255);
  color:rgb(0, 132, 255);
}
/*ABOUT ME*/
a, a:visited {
  text-decoration: none;
}
.social_media {
  width: 25%;
  left: 37%;
  position: relative;
}
/*PROJECTS*/
.project-container {
  max-width: 100vw;
  max-height: 90vh;
  position: relative;
  padding-bottom: 0.5vw;
}

.projects {
  display: none;
}

.prev, .next {
  cursor: pointer;
  position: absolute;
  top: 50%;
  width: auto;
  margin-top: -22px;
  padding: 10px;
  color: white;
  font-weight: bold;
  font-size: 50px;
  transition: 0.6s ease;
  border-radius: 0 3px 3px 0;
  user-select: none;
}

.prev {
  left: 0;
  border-radius: 3px 0 0 3px;
}
.next {
  right: 0;
  border-radius: 3px 0 0 3px;
}

.prev:hover, .next:hover {
  color:rgba(0,0,0,0.8);
}

.project_title {
  color: black;
  font-size: 4.8vw;
  font-weight:lighter;
  text-align: left;
  position: absolute;
  top: 5%;
  left: 5%;
  width: 50%;
  height:15%;
  overflow: scroll;
  line-height: normal;
}
.project_caption {
  color: black;
  font-size: 1.4vw;
  font-weight:lighter;
  text-align: left;
  position: absolute;
  top: 18%;
  left: 5%;
  height: 30%;
  width: 50%;
  line-height: 3.5vw;
  object-fit: contain;
  overflow: scroll;
  vertical-align: middle;
  align-items: center; 

}

.project_context {
  color: rgb(136, 136, 136);
  font-size: 1.1vw;
  font-weight:lighter;
  text-align: center;
  position: absolute;
  top: 4%;
  right: 6%;
  width: 30%;
}
.project_links {
  bottom: 1.5%;
  position: absolute;
  right: 15%;
  width: 15%;
}
.project_description {
  color: black;
  font-size: 1.4vw;
  font-weight:lighter;
  text-align: left;
  position: absolute;
  top: 48%;
  left: 5%;
  height: 50%;
  width: 50%;
  overflow: scroll;
  padding-left: 20px;
  line-height: 3.5vw;
}
  
.demo button, .clip button, .reload button{
  top:3px;
  right:3px;
  position: absolute;
  background-color: transparent;
  border: 0.1vw solid rgb(136, 136, 136);
  color: rgb(136, 136, 136);
  font-size: 1vw;
  padding: 0.3vw 0.6vw;
  text-align: center;
  text-decoration: none;
  display: inline-block;
  border-radius: 0.5vw;
  cursor: pointer;
}

.active, .demo button:hover , .clip button:hover{
  border-color: rgb(0, 132, 255);
  color:rgb(0, 132, 255);
}

iframe { height: 100vh }

.page_number {
  color: rgb(128, 128, 128);
  font-size: 0.8vw;
  padding: 8px 12px;
  position: absolute;
  top: 0;
}

.page_indicator {
  text-align:center;
  top: 0;
  padding-bottom: 2%;
}

.dot {
  cursor: pointer;
  height: 0.7vw;
  width: 0.7vw;
  margin: 0 0.2vw;
  background-color: #bbb;
  border-radius: 50%;
  display: inline-block;
  transition: background-color 0.6s ease;
}

.active, .dot:hover {
  background-color: #717171;
}

/* Fading animation */
.fade {
  -webkit-animation-name: fade;
  -webkit-animation-duration: 1.5s;
  animation-name: fade;
  animation-duration: 1.5s;
}

@-webkit-keyframes fade {
  from {opacity: .4}
  to {opacity: 1}
}

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

.figma, .video {
  display: none;
}