/* Global Layout Set-up */
* {
  box-sizing: border-box;
}

body {
  margin: 0;
  padding: 0;
  text-align: center;
  font-family: 'Roboto', sans-serif;
  color: #000;
  background: #3483A4;
  border-bottom: 50px solid #ff9904 
}

/* Link Styles */

a {
  text-decoration: none;
  color: #999;
}

a:hover {
  color: #6633ff;
}

/* Section Styles */

/* .main-nav {
  width: 100%;
  background: #5B773D;
  min-height: 30px;
  padding: 10px;
  position: fixed;
  text-align: center;
} */

.nav {
  display: flex;
  justify-content: space-around;
  font-weight: 700;
  list-style-type: none;
  margin: 0 auto;
  padding: 0;
  font-size: 40px;
}

.nav .name {
  display: block;
  margin-right: auto;
  color: white;
}

.nav li {
  padding: 5px 10px 10px 10px;
}

.nav a {
  transition: all .5s;
}

.nav a:hover {
  color: white
}

header {
  text-align: center;
  background: url('bgimage.jpg') no-repeat bottom center;
  background-size: cover;
  overflow: hidden;
  padding-top: 60px;
  border-bottom: 50px solid #ff9904;
}

header {
  line-height: 1.5;
}

header .profile-image {
  margin-top: 50px;
  margin-bottom: 10px;
  width: 200px;
  height: 200px;
  border-radius: 50%;
  transition: all .5s;
  border-top: solid 10px#ff9904;
  border-bottom: solid 10px #ff9904;
}

header .profile-image:hover {
  transform: scale(1.5) rotate(-360deg);
  margin-bottom: 40px;
  margin-top: 80px;
}

.tag {
  background-color: rgba(0, 0, 0, 0.5);
  color: #fff;
  padding: 20px;
  border-radius: 5px;
  display: table;
  margin: 10px auto;
}

.location {
  background-color: rgba(0, 0, 0, 0.5);
  color: rgb(255, 255, 255);
}

.card {
  margin: 30px;
  padding: 20px 40px 40px;
  max-width: 500px;
  text-align: justify;
  background: rgba(255, 255, 255, 0.5);
  border-top-left-radius: 10px;
  border-bottom-right-radius: 10px;
  transition: all .5s;
  border-right: 10px solid #5B773D;
}

.card:hover {
  border-color: #ff9904;
  background-color: #fff;
}

ul.skills {
  padding: 0;
  text-align: center;
}

.skills li {

  display: inline-block;
  background: #5B773D;
  color: white;
  padding: 5px 10px;
  margin: 2px;
  border-right: 2px solid #ff9904;
}

.skills li:nth-child(odd) {
  background: #0399ff;
}

h2 {
  color: #5b773d;
}

footer {
  width: 100%;
  min-height: 30px;
  padding: 20px 0 40px 20px;
}

footer .copyright {
  top: -8px;
  font-size: .75em;
  color: #fff;
}

footer ul {
  list-style-type: none;
  margin: 0;
  padding: 0;
}

footer ul li {
  display: inline-block;
}

.space {
  height: 50px;
  background-color: #ff9904;
  width: 100%;
}

a.social {
  display: inline-block;
  text-indent: -9999px;
  margin-left: 5px;
  width: 30px;
  height: 30px;
  background-size: 30px 30px;
  opacity: .4;
  transition: all .5s;
}

a.twitter {
  background-image: url(twitter.svg);
}

a.linkedin {
  background-image: url(linkedin.svg);
}

a.github {
  background-image: url(github.svg);
}

a.social:hover {
  opacity: 1;
}

.clearfix {
  clear: both;
}

/* Styles for larger screens */
@media screen and (min-width: 720px) {

  .flex {
    /* display: -ms-flexbox;      TWEENER - IE 10 */
    display: flex;
    max-width: 1200px;
    /* -ms-flex-pack: distribute; */
    justify-content: space-around;
    margin: 0 auto;
  }

  header {
    min-height: 470px;
  }

  .nav {
    max-width: 1200px;
    padding: 0 30px;
  }


  main {
    padding-top: 20px;
  }

  main p {
    line-height: 1.6em;
  }

  footer {
    font-size: 1.3em;
    max-width: 1200px;
    margin: 40px auto;
  }

}
