* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  font-family: 'Raleway', sans-serif;
  font-size: 16px;
  color: #555;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Oswald', sans-serif;
}

a {
  color: white;
}

ul {
  list-style: none;
}

h3.title {
  color: #131633;
  text-transform: capitalize;
  font-size: 32px;
  margin-bottom: 35px;
  text-align: center;
}

hr {
  width: 150px;
  height: 2px;
  background-color: #2196f3;
  border: 0;
  margin: 40px auto;
}
#about {
  padding: 10px;
  background-color: #f7f7f7;
  margin-bottom: 20px;
}
#two-cols {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
}

  /* --------------
Header
-----------------*/
header {
  background-color: rgba(0, 0, 0, .7);
  position: fixed;
  z-index: 10;
  top: 0;
  left: 0;
  width: 100%;
  color: #fff;
  padding: 10px 100px 10px;
  display: flex;
  justify-content: space-around;
  align-items: center;
}

header a {
  text-decoration: none;
  color: white;
  opacity: .6;
  cursor: pointer;
  font-size: 20px;
}

header a:hover {
  opacity: 1;
}

header nav ul {
  font-size: 14px;
  display: flex;
  flex-direction: row;
  justify-content: flex-end;
}

header nav li {
  margin: 0 6px;
}

header nav li:first-child {
  margin-left: 0;
}

header nav li:last-child {
  margin-right: 0;
}

@media(max-width:1000px) {
  header {
    text-align: center;
    flex-direction: column;
    padding: 20px 50px;
  }
  header img {
    width: 75%;
  }
  header nav {
    justify-content: space-around;
  }
  header h2 {
    margin-bottom: 15px;
  }
}



/* --------------
About
-----------------*/
.about-img{
  border:4px solid #2196f3;
  background-color:#2196f3;
}
.about-bio{
  width:65%;
  max-width:800px;
  line-height: 2;
  margin-left: 20px;
}
@media(max-width:600px){
  #about,#two-cols {
    flex-direction: column;
  }
  .about-bio{
    margin-top:2;
    line-height: 1.5;
    text-align: left;
  }
}
/* --------------
HERO
-----------------*/

#hero {
  background: gray;
  color: white;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background-image: url('img/jeremie-cremer-M5xVtIv1Lo8-unsplash.jpg');
  background-repeat: no-repeat;
  background-size: cover;
  min-height: 100vh;
}

#hero h1, #hero h3 {
  font-size: 28px;
  text-shadow: 2px 3px #000;
  margin-bottom: 40px;
}

#hero h1 {
  font-size: 60px;
  margin-bottom: 15px;
}

#hero a.btn {
  color: white;
  background-color: #131633;
  text-decoration: none;
  padding: 20px 46px;
  border-radius: 8px;
  text-transform: uppercase;
  font-weight: bold;
  text-align: center;
  opacity: 1;
  border: 2px solid white;
}

#hero a.btn:hover {
  background-color: #2196f3;
}

@media(max-width:800px) {
  #hero {
    min-height: 600px;
  }
  #hero h1 {
    font-size: 36px;
  }
  #hero h3 {
    font-size: 18px;
  }
  #hero a.btn {
    padding: 15px 40px;
  }
}
  /* --------------
Gallery
-----------------*/
#gallery {
  background-color: #fff;
}

#gallery .grid li {
  padding: 20px;
  height: 350px;
  border-radius: 3px;
  background-clip: content-box;
  background-size: cover;
  background-position: center;
  background-color: #333;
}

#gallery ul.grid {
  width: 100%;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
}

#gallery .grid li.small {
  flex-basis: 40%;
}

#gallery .grid li.large {
  flex-basis: 60%;
}

#gallery p {
  max-width: 800px;
  text-align: center;
  margin: 0 auto 35px;
  padding: 0 20px;
  line-height: 2;
}

@media(max-width: 1000px) {
  #gallery .grid li.small, #gallery .grid li.large {
    flex-basis: 100%;
  }
}
/* --------------
Traveling
-----------------*/
#getting-around {
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
}
 
#getting-around ul.grid {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: center;
  align-items: flex-start;
  margin-bottom: 60px;
}
 
#getting-around p {
  margin-bottom: 20px;
}
#getting-around ul.grid li {
  flex-basis: 30%;
  padding: 0 20px;
  margin-bottom: 40px;
}
.ico {
  font-size: 40px;
  color: #ffa600;
  margin-bottom: 20px;
}
 
#getting-around ul.grid li h4 {
  color: #555;
  font-size: 20px;
  margin-bottom: 10px;
}
 
#getting-around ul.grid li p {
  text-align: left;
  margin: 0;
}

@media(max-width: 1000px) {
  #getting-around {
    padding: 0 40px;
  }
  #getting-around ul.grid li {
    flex-basis: 70%;
    margin-bottom: 65px;
  }
  #getting-around ul.grid li p {
    text-align: center;
  }
}
 /* --------------
QUOTES
-----------------*/

#famous-quotes {
  background-color: #fafafa;
  padding-bottom: 40px;
  text-align: center;
}

#famous-quotes .portrait-photos {
  border-radius: 50%;
  border: 4px solid #ffc400;
  margin-bottom: 10px;
}

#famous-quotes .portrait-photos:first-child {
  margin-top: 20px;
}

#famous-quotes .quote {
  font-size: 22px;
  font-weight: 400;
  line-height: 1.5;
  margin-bottom: 20px;
  padding: 0;
}

#famous-quotes .author {
  margin: 20px auto;
}

#famous-quotes .author:last-child {
  margin-bottom: 0;
}

@media(max-width: 1000px) {
  #famous-quotes .quote {
    font-size: 18px;
    padding: 0 20px;
  }
  #famous-quotes .author {
    font-size: 14px;
  }
}

/* --------------
Map
-----------------*/
section.flexbox-section {
  width: 100%;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
}
 
section.flexbox-section p {
  max-width: 900px;
  text-align: center;
  margin-bottom: 35px;
  padding: 0 20px;
  line-height: 1.5;
}
/* --------------
FOOTER
-----------------*/

footer {
  background-color: #131622;
  color: white;
  text-align: center;
  background: linear-gradient(to bottom, #163150, #000 100%);
  padding: 60px 0;
  display: flex;
  flex-direction: column;
  align-items: center;
}

footer p {
  text-transform: uppercase;
  font-size: 14px;
  color: rgba(255, 255, 255, .6);
  margin-bottom: 10px;
}

footer ul {
  margin-bottom: 25px;
  display: flex;
  flex-direction: row;
}

footer ul li {
  margin: 0 8px;
}

footer ul li a {
  font-size: 36px;
  cursor: pointer;
}

 @media(max-width: 800px) {
  footer {
    padding: 80px 15px;
  }
} 
