/*Extra small devices (portrait phones, less than 576px)
No media query for `xs` since this is the default in Bootstrap*/

/*Controls nav type*/
nav {
  font-weight: 300;
  }

/*Controls navbar color*/
.navbar {
  background-color: rgb(204, 0, 0);
}

/* Controls background image*/
body {
  padding-top: 3rem;
  background: url(../images/baackground.png.jpg) no-repeat center fixed;
  background-size: cover;
}

/*Multiselector rule controls typeface*/
p, h2, body, nav, .byline {
  font-family: 'Montserrat', sans-serif;
  font-weight: 400;
}

h1, .sidebar, figcaption, .slide-cap {
  font-family: 'EB Garamond', serif;
}

h1 { font-family: 'Roboto', sans-serif;
	font-weight: 700;
  color: #e60000;
  text-align: center;
  font-size: 3.5rem;
  line-height: 3.5rem;
}

h2 {
  font-size: 1.5rem;
  text-align: center;
}

p {
  font-size: 1rem;
  line-height: 2rem;
}

.slide-cap, figcaption {
  font-size: .75rem;
  line-height: 1.5rem;
  padding: .25rem;
}

.byline {
  font-weight: 700;
  text-align: center;
}

.sidebar {
  font-size: 1rem;
  font-style: italic;
  line-height: 1.6em;
  font-weight: 300;
  margin-bottom: 1rem;
  text-align: center;
}

img {
  width: 100%;
  margin-bottom: .5rem;
}

figcaption {
  text-align: center;
  font-size: 1rem;
  margin-top: .25rem;
  margin-bottom: 1rem;
}

.slide-cap {
    text-align: center;
    font-size: 1.1rem;
    margin-top: .25rem;
    margin-bottom: .5rem;
    background-color: rgba(89, 89, 89, 0.6);
}

.csbutton {
  text-decoration: none;
  text-decoration-line: none;
  text-decoration-style: initial;
  text-decoration-color: initial;
}

.centered {
  text-align: center;
}

li {
  list-style: none;
}

.fa-linkedin {
  color: rgb(0, 0, 0);
  padding: .25rem 1rem;
}

/*STARTS MEDIA QUERIES FOR OTHER SCREEN WIDTHS*/

/*Small devices (landscape phones, 576px and up)*/
@media (min-width: 576px) {
  h1 {
    font-size: 4rem;
    line-height: 4rem;
  }

  h2 {
    font-size: 2rem;
  }
}
/*Medium devices (tablets, 768px and up)*/
@media (min-width: 768px) {
  h1 {
    font-size: 4.5rem;
    line-height: 4.5rem;
  }
}

/*Large devices (desktops, 992px and up)*/
@media (min-width: 992px) {
  h1 {
    font-size: 5rem;
    line-height: 5rem;
  }
}

/*Extra large devices (large desktops, 1200px and up)*/
@media (min-width: 1200px) {
  h1 {
    font-size: 5.5rem;
  }
}
