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

body {
  margin: 0;
  padding: 0;
  text-align: center;
  font-family: 'Roboto', sans-serif;
  color: #222;
  background: #cccac5;
}
/* Link Styles */

a {
  text-decoration: none;
  color: #0499ff;
}
a:hover {
  color: #6633ff;
}

/* Section Styles */

.main-nav {
  width: 100%;
  background: black;
  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;
}
.nav .name {
  display: none;
}
.nav li {
  padding: 5px 10px 10px 10px;
  font-size: 14px;
  font-size: 2vmin;
}
.nav a {
  transition: all .5s;
}
.nav a:hover {
  color: white
}

header {
  text-align: center;
  background: url('images/mains.jpg') no-repeat center ;
  background-size: cover;
  overflow: hidden;
  padding-top: 60px;
}
header {
  line-height: 1.5;
}
header .profile-image {
  margin-top: 50px;
  width: 150px;
  height: 81px;
  border-radius: 5%;
  border: 3px solid white;
  transition: all .5s;
}
header .profile-image:hover {
  transform: scale(1.4) rotate(360deg);
}
.tag {
  background-color: grey;
  color: white;
  padding: 2px;
  border-radius: 5px;
  display: table;
  margin: 5px auto;
}
.description {
  background-color: #222;
  color: white;
}
.card {
  margin: 30px;
  padding: 20px 30px 30px;
  max-width: 500px;
  text-align: justify;
  background: #fff;
  border-bottom: 4px solid #ccc;
  border-radius: 6px;
}
.card:hover {
  border-color: #0e36ba;
}







.cardbody {
  margin: 30px;
  padding: 20px 30px 30px;
  max-width: 1000px;
  text-align: justify;
  background: #fff;
  border-bottom: 4px solid #ccc;
  border-radius: 6px;
}
.cardbody:hover {
  border-color: #0e36ba;
}
.gotop {
  margin: 20px;
  padding: 10px 10px 5px;
  text-align: center;

}

.collab {
  margin: 30px;
  padding: 20px 30px 30px;
  max-width: 1000px;
  text-align: center;
  background: #fff;
  border-bottom: 4px solid #ccc;
  border-radius: 6px;
}
.collab:hover {
  border-color: #0e36ba;
}
.content-img {
  margin-top: 10px;
  margin-bottom: 10px;
  max-width: 100%;
  height: auto;
  border-radius: 6%;
  transition: all 1.2s;
}
.content-img:hover {
  transform: scale(0.8) rotate(2deg);
  opacity: 0.8;
}









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

.skills li {
  border-radius: 6px;
  display: inline-block;
  background: #ff9904;
  color: white;
  padding: 10px 20px;
  margin: 2px;
}

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

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

footer .copyright {
  top: -8px;
  margin-right: 20px;
  font-size: .75em;
}

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

footer ul li {
  display: inline-block;
}

a.social {
  display: inline-block;
  text-indent: -9999px;
  margin-left: 5px;
  width: 30px;
  height: 30px;
  background-size: 30px 30px;
  opacity: .5;
  transition: all .25s;
}
a.twitter {
  background-image: url(images/twitter.svg);
}
a.linkedin {
  background-image: url(images/linkedin.svg);
}
a.youtube {
  background-image: url(images/youtube.svg);
}
a.social:hover {
  opacity: 1;
}
.clearfix {
  clear: both;
}

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

  .flex {
      display: flex;
      max-width: 1200px;
      justify-content: space-around;
      margin: 0 auto;
  }


  .flexbody {
      display: grid;
      max-width: 1200px;
      justify-content: space-around;
      margin: 0 auto;
  }



  header {
    min-height: 450px;
  }

  .nav {
    max-width: 1200px;
  }

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

  main {
    padding-top: 50px;
  }

  main p {
    line-height: 1.6em;
  }

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

}

h3 {
color: #bababa;
  letter-spacing: 2px;

}

.card-title {

  text-align: center;
  border: solid black 3px;
  border-radius: 10px;
  padding: 10px;
  margin-top: 50px;

}
