@import url("https://fonts.googleapis.com/css?family=Roboto");
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box; }

body {
  font-family: "Roboto", sans-serif;
  color: #202829;
  line-height: 1.4; }

a {
  text-decoration: none;
  text-transform: uppercase;
  color: #fff; }

.container {
  max-width: 850px;
  margin: auto;
  padding: 0 2rem;
  overflow: hidden;
  text-align: center; }

.heading {
  font-size: 1.8rem;
  font-weight: 800;
  margin-top: 2rem;
  line-height: 1.1;
  text-transform: uppercase; }

.heading-small {
  font-weight: 500;
  margin: 1rem 0; }

.text-primary {
  color: #ba1f31;
  text-transform: capitalize; }

.light-bg {
  background: #e3e4e5; }

.social-icons {
  font-size: 2.6rem;
  padding: 0 0.75rem; }

.section-hr {
  border: 2px solid #ba1f31;
  width: 100px;
  margin: 0.8rem auto; }

.lead {
  font-size: 1.2rem;
  margin-bottom: 1.5rem;
  line-height: 1.3; }

.btn {
  -webkit-appearance: button;
  border: none;
  width: 100%;
  height: 40px;
  margin: 0.2rem 0;
  padding: 0.5rem;
  background: #ba1f31;
  color: #fff;
  text-transform: uppercase; }
  .btn:hover {
    background-color: #4b1017;
    cursor: pointer;
    -webkit-transition: background-color 0.3s ease-in;
    -moz-transition: background-color 0.3s ease-in;
    -o-transition: background-color 0.3s ease-in;
    transition: background-color 0.3s ease-in; }

.hr-projects {
  border: 0;
  height: 1px;
  background: #333;
  background-image: linear-gradient(to right, #ccc, #333, #ccc); }

#main-nav {
  background: #202829;
  position: fixed;
  width: 100%;
  top: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  z-index: 1;
  padding: 1rem; }
  #main-nav .logo {
    margin-bottom: 1rem;
    text-align: center; }
  #main-nav ul {
    display: flex;
    list-style: none; }
  #main-nav li a {
    color: #fff;
    padding: 0.5rem;
    margin: 0 0.1rem; }
    #main-nav li a:hover {
      background-color: #ba1f31;
      border-radius: 0.25rem;
      -webkit-transition: background-color 0.3s ease-in;
      -moz-transition: background-color 0.3s ease-in;
      -o-transition: background-color 0.3s ease-in;
      transition: background-color 0.3s ease-in; }

.logo a {
  color: #fff;
  text-transform: uppercase; }

.logo i {
  padding: 0 0.5rem; }

#showcase {
  background: #333 url("../img/cover.jpg") no-repeat center center/cover;
  height: 100vh;
  color: #fff;
  position: relative; }

#showcase .showcase-content {
  display: flex;
  flex-direction: column;
  text-align: center;
  justify-content: center;
  align-items: center;
  height: 100%;
  padding-top: 3.3rem;
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.6); }
  #showcase .showcase-content .social-icons a {
    padding: 0.5rem; }

.hero-title {
  font-size: 4rem;
  margin-bottom: 0.8rem;
  line-height: 1.1; }

.social-icons ul {
  display: flex;
  list-style: none; }
  .social-icons ul a {
    font-size: 2.2rem;
    padding: 0 1.2rem; }

.photo {
  border-radius: 50%;
  width: 200px;
  margin: 1rem 0; }

#skills .skill-icons i {
  font-size: 3rem;
  padding: 1rem 0.3rem;
  color: #ba1f31; }

.project-div {
  margin: 3rem auto;
  display: flex;
  flex-direction: column;
  align-items: center; }
  .project-div .project-info {
    margin-top: 2rem;
    width: 100%; }
    .project-div .project-info .tech-list {
      display: flex;
      text-decoration: none;
      list-style: none;
      flex-wrap: wrap;
      justify-content: center; }
    .project-div .project-info .tech {
      font-weight: 700;
      margin: 0.2rem;
      padding: 0.5rem;
      color: #ba1f31;
      border: 2px solid #ba1f31; }
  .project-div .project-img {
    max-width: 300px; }
  .project-div .project-title {
    font-weight: bold;
    padding-bottom: 0.5rem;
    font-size: 1.2rem; }
  .project-div .social-icons i {
    color: #000;
    padding: 1.2rem 1.5rem; }

.contact {
  text-align: center;
  padding-bottom: 2rem;
  width: 100%; }
  .contact .form-group {
    width: 100%;
    padding: 0.5rem 0; }
  .contact input:not([type="submit"]),
  .contact textarea {
    padding: 0.5rem 1rem;
    width: 100%;
    border: none;
    resize: none;
    font-family: "Roboto", sans-serif; }
  .contact textarea {
    height: 100px; }

footer {
  background: #202829;
  padding: 2rem 0;
  color: #fff;
  text-align: center; }

@media (min-width: 600px) {
  #main-nav {
    flex-direction: row; }
    #main-nav .logo {
      margin-bottom: 0; }
  .project-div {
    flex-direction: row;
    margin-top: 1rem; }
    .project-div .project-info {
      margin-left: 2rem; }
  #skills p {
    margin-top: 1rem; }
  #skills .skill-icons i {
    font-size: 4rem;
    padding: 1rem 0.5rem;
    color: #ba1f31; } }
