@import './background.css';

body {
  color: rgba(255,255,255,0.65);
  background-color: #24292e;
  background-image: linear-gradient(#191c20, #24292e 15%);
  background-repeat: repeat-x;
  background-position: center 0, 0 0, 0 0;
}

a {
  color: #5098e4;
}

#content img {
  max-width: 100%;
}

.border-translucent-white {
  border-color: rgba(255,255,255,0.1) !important;
}

.timeline-circle-marker {
  height: 32px !important;
  width: 32px !important;
  border-radius: 100px;
}

.gray-timeline {
  background-color: #393e42;
}

.gray-timeline path {
  fill: #fff;
}

.timeline-line-bottom {
  width: 2px;
}

.timeline-line-top {
  height: 13px;
  width: 2px;
}

.language-indicator {
  top: 1px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  margin-right: 3px;
}

.border-gray-dark {
  border-color: #393e41 !important;
}

.rounded-circle {
  border-radius: 50%;
}

.btn-outline-white {
  padding: 0.6em 1.25em;
  color: #fff;
  background: transparent;
  border-color: rgba(255,255,255,0.5);
  border-radius: .3em
}

.btn-outline-white:hover,
.btn-outline-white:active {
  color: #24292e;
  text-decoration: none;
  background: #fff;
  border-color: #fff
}

.timeline-date:after {
  background-color: #393e41;
  content: '';
  height: 1px;
  left: 0;
  position: absolute;
  right: 0;
  top: 12px;
  z-index: -1;
}

.bg-body {
  background-color: #24292e;
}

.align-bottom {
  vertical-align: bottom;
}

.avatar {
  border: 4px solid #d8dadc;
}

.Label--gray {
  color: #000000;
  background-color: #b1b3b5;
}

#content {
  max-width: 1300px;
  margin-left: auto;
  margin-right: auto;
}

.photo-stack img {
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
}

.modal-backdrop {
  background-color: rgba(0,0,0,0.5);
  z-index: 10;
}

.modal {
  box-shadow: 0 0 0 1px rgba(16, 22, 26, 0.1),0 4px 8px rgba(16,22,26,.2),0 18px 46px 6px rgba(16,22,26,.2);
  top: 50%;
  left: 50%;
  animation: zoom-me 0.16s forwards;
  max-width: 100%;
}

.modal img {
  border-radius: 6px;
}

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

@keyframes zoom-me {
  0% {
    opacity: 0.3;
    transform: translate(-50%, -50%) scale(0.8);
  }
  100% {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
  }
}

@media (max-width: 768px) {
  #content {
    max-width: 90%;
    margin-left: auto;
    margin-right: auto;
  }

  .avatar {
    max-width: 50%;
  }
}