/* CUSTOMIZE THE NAVBAR
-------------------------------------------------- */

.navbar {
    background-color: rgba(50, 50, 50, 0.95);
    background: -webkit-linear-gradient(45deg, rgba(80, 80, 80, 0.95), rgba(32, 32, 32, 0.95));
    background: -o-linear-gradient(45deg, rgba(80, 80, 80, 0.95), rgba(32, 32, 32, 0.95));
    background: -moz-linear-gradient(45deg, rgba(80, 80, 80, 0.95), rgba(32, 32, 32, 0.95));
    background: linear-gradient(45deg, rgba(80, 80, 80, 0.95), rgba(32, 32, 32, 0.95));
}

.navbar-nav li {
    margin-left: 0.5rem;
}

.nav-item .nav-link {
    font-weight: 450;
    color: #e7e7e7 !important;
}

.nav-item .nav-link:hover {
    color: #428bca !important;
}

/* CUSTOMIZE THE CAROUSEL
-------------------------------------------------- */

/* Since positioning the image, we need to help out the caption */
.carousel-caption {
    z-index: 10;
    padding: 1rem;
    margin: auto;
    bottom: auto;
    /*background-color: rgba(100, 100, 100, 0.25);*/
}

/* Declare heights because of positioning of img element */
.carousel-item {
    align-items: center;
    height: 100vh;
    background-color: #777;
    background-position:bottom;
    background-size: cover;
}

.carousel-item > img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.card {
    box-shadow: 1px 1px 4px #cccccc;
    overflow-y: hidden;
}

.card > img {
    width: 100%;
    height: auto;
    object-fit: cover;
}

.carousel-caption > * {
    font-weight: 300;
    text-shadow: 1px 1px 2px rgba(70, 70, 70, 0.90);
}

.carousel-caption > h1 {
    color: #428bca !important;
}

@media (max-height: 400px) {
    .carousel .btn {
        display: none;
    }
}

@media (max-height: 599px) {
    .carousel-caption > p {
        font-size: 1.0rem;
    }
    .carousel .btn {
        display: none;
    }
}

@media (min-height: 600px) and (min-width: 400px) {
    .carousel-caption {
        bottom: 15%;
    }
    .carousel-caption > p {
        font-size: 1.25rem;
    }
}

@media (min-height: 600px) and (min-width: 750px){
    .carousel-caption > h1 {
        font-size: 4rem;
    }
    .carousel-caption > p {
        font-size: 1.75rem;
    }
}

@media (min-height: 800px) and (min-width: 750px){
    .carousel-caption > h1 {
        font-size: 4.5rem;
    }
    .carousel-caption > p {
        font-size: 2rem;
    }
}

@media (max-width: 1199px) {
  .card-deck .card {
    -webkit-box-flex: 1;
    -webkit-flex: none;
        -ms-flex: none;
            flex: none;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -webkit-flex-direction: column;
        -ms-flex-direction: column;
            flex-direction: column;
    max-width: 100%;
  }

  .card-deck .card:not(:first-child) {
    margin-left: 0px;
  }
  .card-deck .card:not(:last-child) {
    margin-right: 0px;
  }
}

@media (max-width: 400px) {
    #brandlogo {
        width: 200px;
        height: 22px;
    }
    .push-left {
        right: 0%;
        bottom: 5%;
    }
}

@media (min-width: 401px) {
    .navbar {
        min-height: 3.5rem;
    }
    .container {
        padding-left: 2rem;
        padding-right: 2rem
    }
    .push-left {
        right: 0%;
        bottom: 10%;
    }
}

@media (min-width: 768px) {
    .navbar {
        padding: 1rem 2rem;
        min-height: 4.5rem;
    }
    .navbar-nav li {
        margin-left: 0.7rem;
    }
    .push-left {
        right: 40%;
        bottom: 15%;
    }
}

@media (min-width: 1200px) {
    .navbar {
        height: 6rem !important;
    }
    .navbar-nav li {
        margin-left: 2rem;
    }
}

body {
    background-color: rgb(245, 245, 245);
}

h1, h2, h3, h4, h5 {
    color: #428bca;
}

h2 {
    margin-bottom: 1.5rem;
}

.container {
    padding-top: 2rem;
    padding-bottom: 2rem;
}