/* apply a natural box layout model to all elements, but allowing components to change */
html {
  box-sizing: border-box;
}
*, *:before, *:after {
  box-sizing: inherit;
}

html, body {
  text-align: center;
  height: 100vh;
  width: 100vw;
  max-width:100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  /* justify-content: center; */
  font-size: calc(8px + 2vmin);
  color: #525f7f;
  font-family: 'Montserrat', sans-serif;
  font-weight: 300;
  background-color: #f6f9fc;
}

a {
  text-decoration: none;
  color: #5a5d7a;
}

a:-webkit-any-link {
  cursor: pointer;
}
.navbar-container {
  min-width: 90%;
}
.navbar{
  float: right;
  padding-top: 18px;
  margin-right: 20px;
}
.nav-item {
  margin: 1vmin 2vmin;
}
.nav-item:hover {
  color: #7795f8;
  /* border-bottom: 2px solid rgb(116, 127, 224); */
  transition: all 0.5s ease;
}

.projects-link{
  font-weight: 600;
  color: #747fe0;
}

.projects-link:hover {
  border-bottom: 2px solid rgb(116, 127, 224);
}

.top {
  display: inline-block;
  margin: 5px;
  /* set size */
  padding: calc(5px + 1vh);
  box-shadow: inset 4px -4px 0 0 #747fe0
}
.topButton-container {
  position: fixed;
  right: calc(5px + 2vw);
  bottom: calc(5px + 2vh);
  transition: transform .5s;
  z-index: 1;
}
.top-arrow-up {
  transform: rotate(135deg);
}

.hide {
  transform: translateY(200px);
}
#change-mode{
  position: fixed;
  right: calc(5px + 1.3vw);
  filter: brightness(130%);
  font-size: calc(12px + 2vmin);
  z-index: 1;
}
#change-mode:hover{
  cursor: pointer;
  filter: brightness(85%);
}

.title-container {
  max-width: 90%;
  text-align: left;
}
.title {
  font-family: 'Inconsolata', monospace;
  font-size: calc(38px + 5vmin);
  margin-top: 18vh;
  color: #747fe0;

}
.description {
  margin: 18vh 0;
}

.about-container {
  display:flex;
  justify-content: center;
}

.terminal {
  width: 75%;
}
.terminal-header {
  height: 28px;
  background-color: #e4e3e5;
  border-radius: 10px 10px 0 0;
  display: flex;
  justify-content: flex-start;
  align-items: center;
}
.header-button {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  margin-left: 9px;
}
.red {
  background-color: #f96256;
  border: 1px solid #f65549;
}
.yellow {
  background-color: #fdbc3d;
  border: 1px solid #ffb524;
}
.green {
  background-color: #33c948;
  border: 1px solid #2dbb41;
}

.terminal-window{
  background-color:#5a5d7a;
  border-radius: 0 0 4px 4px;
  box-shadow: 0 50px 100px rgba(50,50,93,.15), 0 15px 35px rgba(50,50,93,.2), 0 5px 15px rgba(0,0,0,.12);
}
.statement{
  margin: 0 35px 15px;
  padding: 15px 0 0;
  font-family: 'Inconsolata', monospace;
  font-size: calc(8px + 1.5vmin);
}

.input-statement {
  color:#f7f7f7;
}
.return-statement {
  color: #e7d184;
}
.terminal-sensor-container{
  padding-bottom: 30px;
}

.about-container .terminal .terminal-window a {
  color: #35feff;
}
.about-container .terminal .terminal-window a:hover {
  color: rgba(53, 254, 255, .8);
}

.cursor {
  content: "";
  display: inline-block;
  background-color: rgba(116, 127, 224, .75);
  vertical-align: top;
  height: calc(48px + 5vmin);
  width: calc(10px + 5vmin);
  -webkit-animation: blink 1s step-end infinite;
  animation: blink 1s step-end infinite;
}
.terminal-cursor {
  height: calc(10px + 1.2vmin);
  width: calc(2px + 1.2vmin);
  background-color:rgba(247, 247, 247, .75);
}

@-webkit-keyframes blink {
  0% { opacity: 1.0; }
  50% { opacity: 0.0; }
  100% { opacity: 1.0; }
}

@keyframes blink {
  0% { opacity: 1.0; }
  50% { opacity: 0.0; }
  100% { opacity: 1.0; }
}

.project-title-container, .contact-title-container {
  width: 15em;
  border-bottom: 6px solid rgb(116, 127, 224);
  margin-bottom: 50px;
}
#project-title, #contact-title {
  margin: 15vh 0 5px 0;
}
.cards-container {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
}

.project-card {
  width: 75%;
  position: relative;
  display: flex;
  flex-direction: row;
  justify-content: flex-end;
  margin-bottom: 60px;
  background-color: #fff;
  border-radius: 4px;
  box-shadow: 0 50px 100px rgba(50,50,93,.05), 0 15px 35px rgba(50,50,93,.1), 0 5px 15px rgba(0,0,0,.1);
  overflow: hidden;
  padding: 35px;
}
.project-content{
  width: 100%;
}

.content {
  font-size: calc(8px + 1.2vmin);
  margin-bottom: 20px;
}

.project-skills {
  display: flex;
  flex-wrap: wrap;
}

.project-skill {
  border-radius: 4px;
  border: 2px solid #92eac0;
  padding: 8px;
  margin-right: 10px;
  margin-bottom: 10px;
  font-size: calc(4px + 1.25vmin);
  color: #525f7f;
}

.project-links{
  display: flex;
  justify-content: flex-start;
  align-items: center;
  flex-wrap: wrap;
  flex-direction: row;
}
.project-link{
  margin-right: 20px;
  margin-top: 20px;
  white-space: nowrap;
  display: inline-block;
  line-height: 40px;
  padding: 0 14px;
  box-shadow: 0 4px 6px rgba(50,50,93,.11), 0 1px 3px rgba(0,0,0,.08);
  border-radius: 4px;
  letter-spacing: .025em;
  text-decoration: none;
  transition: all .15s ease;
  font-family: 'Camphor', 'Open Sans', 'Segoe UI', sans-serif;
  font-size: calc(4px + 1.25vmin);
  font-weight: 400;
  box-sizing: border-box;
  background: #747fe0;
  color: #fff;
}
.project-link:hover {
  background: #7795f8;
  transform: translateY(-1px);
  box-shadow: 0 7px 14px rgba(50,50,93,.1), 0 3px 6px rgba(0,0,0,.08);
}

.project-github-link, .app-store-link{
  background: #fff;
    color: #747fe0;
}

.project-github-link:hover, .app-store-link:hover{
  background: #fff;
}

.contact-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  padding-bottom: 10px;
}

a.contact-items{
  margin: 0 20px;
}
a.contact-items:hover {
  color: #7795f8;
  /* border-bottom: 2px solid rgb(116, 127, 224); */
  transition: all 0.5s ease;
}

.copyright-container{
  display: flex;
  justify-content: center;
  padding-top: calc(8px + 1vmin);
  padding-bottom: calc(4px + 1vmin);
}

#copyright {
  margin-top: 0;
  font-size: calc(8px + 1vmin);
}

#loadOverlay {
  display: none;
}

.android-icon {
  content: url("../images/android-icon.png");
  width: 20px;
}
.apple-icon {
  content: url("../images/apple-icon.png");
  width: 20px;
}
.app-store-link {
  display: flex;
  align-items: center;
}


/* Lightbox */

.img-row > .img-column {
  padding: 0 8px;
}
.img-row {
  margin-top: 20px;
  display: flex;
  overflow: auto;
}
.img-row:after {
  content: "";
  display: table;
  clear: both;
}

/* Create four equal columns that floats next to eachother */
.img-column {
  max-width: 25%;
  min-width: 100px;
}

/* The Modal (background) */
.modal {
  display: none;
  position: fixed;
  z-index: 1;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0,0,0,.5);
}

/* Modal Content */
.modal-content {
  position: relative;
  background-color: #fefefe;
  margin: auto;
  padding: 0;
  width: 90%;
  max-width: 1000px;
}

/* The Close Button */
.close {
  color: white;
  position: absolute;
  top: 10px;
  right: 55px;
  font-size: 35px;
  font-weight: bold;
}

.close:hover,
.close:focus {
  color: #999;
  text-decoration: none;
  cursor: pointer;
}

/* Hide the slides by default */
.mySlides {
  display: none;
}

/* Next & previous buttons */
.prev,
.next {
  cursor: pointer;
  position: absolute;
  top: 50%;
  width: auto;
  padding: 16px;
  margin-top: -50px;
  color: white;
  font-weight: bold;
  font-size: 20px;
  transition: 0.6s ease;
  border-radius: 0 3px 3px 0;
  user-select: none;
  -webkit-user-select: none;
  background-color: rgba(0,0,0,.2);
}

/* Position the "prev button" to the left */
.prev {
  left: 0;

  /* Position the "next button" to the right */
}
.next {
  right: 0;
  border-radius: 3px 0 0 3px;
}

/* On hover, add a black background color with a little bit see-through */
.prev:hover,
.next:hover {
  background-color: rgba(0, 0, 0, 0.8);
}

/* Number text (1/3 etc) */
.numbertext {
  color: #f2f2f2;
  font-size: 12px;
  padding: 8px 12px;
  position: absolute;
  top: 0;
}

/* Caption text */
.caption-container {
  text-align: center;
  background-color: black;
  padding: 2px 16px;
  color: white;
}

img.demo {
  opacity: 0.6;
  width: 100%;
}

img.active,
.demo:hover {
  opacity: 1;
}

img.hover-shadow {
  transition: 0.3s;
  width: 100%;
}

.hover-shadow:hover {
  box-shadow: 0 7px 14px rgba(50,50,93,.1), 0 3px 6px rgba(0,0,0,.08);
}



/* Media Queries */

@media only screen and (max-width: 600px) {
  .terminal, .project-card {
    width:100%
  }
}
