/* MAIN */

body {
  padding: 0;
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
}

/* HEADER SECTION */
header {
  position: sticky;
  top: 0;
  width: 100%;
  background-color: #ecf0f1;
  height: 60px;
  text-align: center;
  box-shadow: 0px 9px 5px -4px rgba(0, 0, 0, 0.41);
}

header img {
  max-width: 50px;
  height: auto;
  margin: 5px;
}

/* MAIN SECTION */
section {
  width: 100%;
  display: flex;
  flex-wrap: wrap;
  padding-bottom: 60px;
}

/* CARD SECTION */
.card {
  order: 1;
  width: 100%;
  margin: 10px;
  text-align: center;
  box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2);
}

.card img {
  width: 100%;
  height: auto;
}

.title {
  color: grey;
  font-size: 18px;
}

.social {
  padding-bottom: 20px;
}

.social a {
  text-decoration: none;
  font-size: 22px;
  color: black;
}

/* SKILLS SECTION */
.skill {
  width: 100%;
  order: 2;
  margin: 10px;
  padding: 10px;
  box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2);
}

.skill .container {
  width: 100%;
  background-color: #ddd;
}

.bar {
  text-align: right;
  line-height: 40px;
  color: white;
}

.html {
  width: 90%;
  background-color: #4caf50;
}

.css {
  width: 80%;
  background-color: #2196f3;
}

.js {
  width: 65%;
  background-color: #f44336;
}

.jquery {
  width: 60%;
  background-color: #808080;
}

/* PROJECT SECTION */
.box {
  max-width: 100%;
  margin: auto;
  margin: 10px;
  text-align: center;
  box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2);
}

.box img {
  width: 100%;
  height: auto;
}

.box .title {
  margin-top: 10px;
  margin-bottom: 10px;
}

button {
  border: none;
  outline: 0;
  display: inline-block;
  padding: 8px;
  color: white;
  background-color: #000;
  text-align: center;
  cursor: pointer;
  width: 100%;
  font-size: 18px;
}

.one {
  order: 3;
}

.two {
  order: 4;
}

.three {
  order: 5;
}

/* FOOTER SECTION */
footer {
  position: fixed;
  left: 0;
  bottom: 0;
  width: 100%;
  background-color: #2c3a47;
  color: #fff;
  text-align: center;
  box-shadow: 0px -5px 5px 0px rgba(0, 0, 0, 0.16);
}

@media screen and (min-width: 700px) {
  .card {
    width: 30%;
  }

  .skill {
    width: 60%;
  }

  .one {
    width: 30%;
  }

  .two {
    width: 30%;
  }

  .three {
    width: 30%;
  }
}

@media screen and (min-width: 800px) {
  section {
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
  }
}
