/*
 * Globals
 */
/* Links */
a,
a:focus,
a:hover {
  color: #fff; }

/* Custom default button */
.btn-default {
  color: #fff;
  text-shadow: none;
  /* Prevent inheritence from `body` */
  background-color: transparent;
  border: 2px solid #fff;
  border-radius: 20px;
  padding: 0.5rem 2rem; }

.btn-default:hover,
.btn-default:focus {
  background-color: rgba(255, 255, 255, 0.3); }

/*
 * Base structure
 */
html,
body {
  height: 100%; }

body {
  background: url(../img/cover.jpg) no-repeat center center fixed;
  background-size: cover;
  color: #fff;
  margin-top: -250px;
  text-align: center;
  font-family: 'Quicksand', sans-serif; }

/* Extra markup and styles for table-esque vertical and horizontal centering */
.site-wrapper {
  display: table;
  width: 100%;
  height: 100%;
  /* For at least Firefox */
  min-height: 100%;
  background: rgba(48, 53, 70, 0.5);
  box-shadow: inset 0 0 100px rgba(0, 0, 0, 0.5); }

.site-wrapper-inner {
  display: table-cell;
  vertical-align: top; }

.cover-container {
  margin-right: auto;
  margin-left: auto;
margin: 150px auto;
}

/* Padding for spacing */
.inner {
  padding: 150px; }

/*
 * Header
 */
.masthead-brand {
  margin-top: 10px;
  margin-bottom: 10px; }

.nav-masthead {
  text-align: center;
  display: block; }

.nav-masthead .nav-link {
  display: inline-block; }

@media (min-width: 768px) {
  .masthead-brand {
    float: left; }
  .nav-masthead {
    float: right; } }

/*
 * Cover
 */
.cover {
  padding: 0 20px; }

.cover .btn-notify {
  padding: 10px 60px;
  font-weight: 500;
  text-transform: uppercase;
  border-radius: 40px; }

.cover-heading {
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 5px;
  font-size: 2rem;
  margin-bottom: 1rem; }

@media (min-width: 768px) {
  .cover-heading {
    font-size: 3.4rem;
    letter-spacing: 10px; } }

.cover-copy {
  max-width: 500px;
  margin: 0 auto 3rem; }

/*
 * Footer
 */
.mastfoot {
  color: #999;
  /* IE8 proofing */
  color: rgba(255, 255, 255, 0.5); }

/*
 * Subscribe modal box
 */
#subscribeModal .modal-content {
  background-color: #303546;
  color: #fff;
  text-align: left; }

#subscribeModal .modal-header, #subscribeModal .modal-footer {
  border: 0; }

#subscribeModal .close {
  color: #fff; }

#subscribeModal .form-control {
  margin-top: 1rem;
  background: rgba(0, 0, 0, 0.4);
  color: #fff; }
  #subscribeModal .form-control:focus {
    border-color: #49506a; }

/*
 * Affix and center
 */
@media (min-width: 768px) {
  /* Pull out the header and footer */
  .masthead {
    position: static;
    top: 0px; 
    left: 5px;
}
  .mastfoot {
    position: static;
    margin-bottom: 0px;
    left: 170px;}
  /* Start the vertical centering */
  .site-wrapper-inner {
    vertical-align: middle; }
  /* Handle the widths */
  .masthead,
  .mastfoot,
  .cover-container {
    width: 100%;
    /* Must be percentage or pixels for horizontal alignment */ } }

  

@media (min-width: 992px) {
  .masthead,
  .mastfoot,
  .cover-container {
    width: 1060px; } }

    .timeline {
      width:900px;
      height: 20px;
      list-style: none;
      text-align: justify;
      margin: 150px auto;
      background: -webkit-gradient(left top, left bottom, color-stop(0%, rgba(255,255,255,0)), color-stop(45%, rgba(255,255,255,0)), color-stop(51%, rgba(191,128,11,1)), color-stop(57%, rgba(255,255,255,0)), color-stop(100%, rgba(255,255,255,0)));
      background-size: 80%;
      background: linear-gradient(to bottom, rgba(255,255,255,0) 0%, rgba(255,255,255,0) 45%, rgb(133, 129, 122) 51%, rgba(255,255,255,0) 57%, rgba(255,255,255,0) 100%);
    }

    .timeline:after {
      display: inline-block;
      content: "";
      width: 100%;
  }
  .timeline li {
    display: inline-block;
    width: 20px;
    height: 20px;
    background: #727472;
    font-style: inherit;
    text-align: center;
    line-height: 1;
    position: relative;
    border-radius: 80%;
  }
  .timeline li:before {
    display: inline-block;
    content: attr(data-year);
    font-size: 20px;
    width: fit-content;
    color: rgb(188, 190, 187);
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
  }
  .timeline li:nth-child(odd):before {
    top: -70px;
  }
  .timeline li:nth-child(even):before {
    bottom: -70px;
  }

  .timeline li:after {
    display: inline-block;
    content: attr(data-text);
    font-size: 15px;
    width: 150px;
    
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
  }

  .timeline li:nth-child(odd):after {
    bottom: 0;
    margin-bottom: -20px;
    transform: translate(-50%, 100%);
  }
  .timeline li:nth-child(even):after {
    top: 10px;
    margin-top: -20px;
    transform: translate(-50%, -100%);
  }
    
  .row {
    display: flex;
    flex-wrap: wrap;
    padding: 0 4px;
  }
  .column {
    flex: 100%;
    max-width: 100%;
  }
  .column img {
    vertical-align: middle;
  }
  .container {
    position: relative;
    width: 100%;
  }
  .image {
    display: block;
    width: 100%;
    margin-bottom: 10px;
    height: auto;
  }
  .overlay {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    height: 100%;
    width: 100%;
    opacity: 0;
    transition: 0.5s ease;
    background-color: rgba(37, 33, 33, 0.719);
  }

  .container:hover .overlay {
    opacity: 0.5;
  }
  .text {
    color: white;
    font-size: 20px;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
    text-align: center;
  }
  /* Tablet Styles */
@media only screen and (min-width: 480px) {
  .column {
    flex: 50%;
    max-width: 50%;
  }
}


/* Desktop Styles */
@media only screen and (min-width: 1024px) {
  .column {
    flex: 33.3%;
    max-width: 33.3%;
  }
}