* {
  font-family: Futura, "Trebuchet MS", Arial, sans-serif;
}

html,body{ height:100%;}

.link {
  cursor: pointer;
}

pre { 
  color:blue;
}

code {
  padding: 20x;
}

.card {
  box-shadow: 0 4px 8px 0 rgba(0,0,0,0.2);
  transition: 0.3s;
}

.card:hover {
  box-shadow: 0 8px 16px 0 rgba(0,0,0,0.2);
}

.guide, .project {
  padding: 20px;
}

/* navbar */
.navbar-default {
    background-color: #F8F8F8;
    border-color: #E7E7E7;
}

#content {
  margin-left: 10px;
  margin-right: 10px;
}

#mainpic {
  border: 2px solid black;
  border-radius: 999em;
  margin-bottom: 5px;
}

/* Font Awesome */
.fa {
  padding: 10px;
  font-size: 30px;
  text-align: center;
  text-decoration: none;
  margin: 5px 2px;
  border-radius: 5%;
  border-color: black;
}
.fa-twitter {
  background: black;
  color: #1DA1F2;
}
.fa-google {
  background: black;
  color: #db3236;
}
.fa-linkedin {
  background: black;
  color: #0E76A8;
}
.fa-instagram {
  background: black;
  color: #F77737;
}
.fa-github {
  background: black;
  color: #6cc644;
}

/* Projects */
.project img {
  margin-bottom: 20px;
}

/* hide logo */
@media (max-width: 768px) {
  #logo {
    display: none;
  }
  .navbar-default .navbar-toggle {
     border-color: black;
     border-radius: 0;
  }
  .navbar-default .navbar-toggle .icon-bar {
    background-color: black;
  }
  .visible-xs.navbar-brand {
    color: black;
  }
  .nav.navbar-nav li a:hover {
    background-color: #3AC986;
    color: white;
  }
  .nav.navbar-nav li a {
    color: #27738C;
    margin: 0;
  }
  .navbar-collapse.sidebar-navbar-collapse.collapse.in {
    padding: 0;
  }
  ul.nav.navbar-nav {
    margin: 0;
  }
}

@media (min-width: 768px) {

  #content {
    margin-left: 200px; /* Same as the width of the sidenav */
    padding-top: 10px;
    padding-left: 10px;
  }
  /* Make sidebar nav vertical */
  #logo {
    height: 150px;
    padding-top: 25px;
    padding-left: 60px;
    font-size: 5em;
  }
  .navbar {
    height: 100%;
    width: 200px;
    position: fixed;
    z-index: 1;
    top: 0;
    left: 0;
    background-color: #F8F8F8;;
    overflow-x: hidden;
    padding-top: 20px;
    border-right: 1px solid #27738C;
    border-radius: 0;
  }
  .nav.navbar-nav li {
    width: 150px;
    margin-left: 25px;
    margin-top: 10px;
    border: 1px solid black;
    border-bottom: 5px solid #27738C;
    
  }
  .nav.navbar-nav li a {
    color: #27738C;
    font-size: 1.2em;
  }
  .nav.navbar-nav li a:hover {
    font-size: 1.2em;
    background-color: #3AC986;
    color: white;
  }
  .sidebar-nav .navbar .navbar-collapse {
    padding: 0;
  }
  .sidebar-nav .navbar ul {
    float: none;
    display: block;
  }
  .sidebar-nav .navbar li {
    float: none;
    display: block;
  }
  .sidebar-nav .navbar li a {
    padding-top: 12px;
    padding-bottom: 12px;
  }


   /* Adjust Table and Pre (code) width */
  @media (min-width: 1200px) {
    .table, pre {
      width: 45%;
    }
  }
}

/* timeline */
* {
  box-sizing: border-box;
}

/* The actual timeline (the vertical ruler) */
.timeline {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
}

/* The actual timeline (the vertical ruler) */
.timeline::after {
  content: '';
  position: absolute;
  width: 6px;
  background-color: black;
  top: 0;
  bottom: 0;
  left: 50%;
  margin-left: -3px;
}

/* Container around content */
.container {
  padding: 10px 40px;
  position: relative;
  background-color: inherit;
  width: 50%;
}

/* The circles on the timeline */
.container::after {
  content: '';
  position: absolute;
  width: 25px;
  height: 25px;
  right: -12px;
  background-color: black;
  border: 4px solid #FF9F55;
  top: 15px;
  border-radius: 50%;
  z-index: 1;
}

/* Place the container to the left */
.left {
  left: -25%;
}

/* Place the container to the right */
.right {
  left: 25.5%;
}

/* Add arrows to the left container (pointing right) */
.left::before {
  content: " ";
  height: 0;
  position: absolute;
  top: 22px;
  width: 0;
  z-index: 1;
  right: 30px;
  border: medium solid#27738C;
  border-width: 10px 0 10px 10px;
  border-color: transparent transparent transparent#27738C;
}

/* Add arrows to the right container (pointing left) */
.right::before {
  content: " ";
  height: 0;
  position: absolute;
  top: 22px;
  width: 0;
  z-index: 1;
  left: 30px;
  border: medium solid #27738C;
  border-width: 10px 10px 10px 0;
  border-color: transparent #27738C transparent transparent;
}

/* Fix the circle for containers on the right side */
.right::after {
  left: -16px;
}

/* The actual content */
.content {
  padding: 20px 30px;
  background-color: white;
  position: relative;
  border-radius: 6px;
  border: solid 3px #27738C;
}

/* Media queries - Responsive timeline on screens less than 600px wide */
@media screen and (max-width: 600px) {
/* Place the timelime to the left */
  .timeline::after {
    left: 31px;
  }

/* Full-width containers */
  .container {
    width: 100%;
    padding-left: 70px;
    padding-right: 25px;
  }

/* Make sure that all arrows are pointing leftwards */
  .container::before {
    left: 60px;
    border: medium solid #27738C;
    border-width: 10px 10px 10px 0;
    border-color: transparent #27738C transparent transparent;
  }

/* Make sure all circles are at the same spot */
  .left::after, .right::after {
    left: 15px;
  }

/* Make all right containers behave like the left ones */
  .right {
    left: 0.5%;
  }

  .left {
    left: 0.5%;
  }
}