@import url('https://fonts.googleapis.com/css?family=Fjalla+One');
@import url('https://fonts.googleapis.com/css?family=Exo+2');
html {
  height: 100vh;
}
body {
  padding: 0;
  margin: 0;
  font-family: 'Fjalla One', sans-serif;
  background: linear-gradient(#fff, #fefefe, #eaeaea);
}
.accordion {
  max-width: 990px;
  background: rgba(0, 0, 0, 0.1);
  height: 300px;
  margin: 20px auto;
  display: flex;
  box-shadow: 0px 20px 30px rgba(0, 0, 0, 0.47);
  flex-direction: row;
  cursor: pointer;
  margin-bottom: 100px;
}
.box {
  position: relative;
  height: 100%;
  flex: 1;
  background-position: left;
  background-size: cover;
  transition: 0.7s;
  box-shadow: 0px 20px 30px rgba(0, 0, 0, 0.47);
}
.box:hover {
  flex: 7;
  height: 400px;
}
.a1 {
  background-image: url(../MyAwesomeProject/images/portfolio-a1.jpeg);
}
.a2 {
  background-image: url(../MyAwesomeProject/images/portfolio-a2.jpeg);
  color: #fff;
}
.a3 {
  background-image: url(../MyAwesomeProject/images/portfolio-a3.jpeg);
  color: #fff;
}
.a4 {
  background-image: url(../MyAwesomeProject/images/portfolio-a4.jpeg);
}

.auth-image {
  float: left;
  width: 140px;
  height: auto;
  margin: 0px 15px 15px 0px;
  border-radius: 50%;
}
.button {
  background-color: #f1f1f1;
  color: blue;
  font-size: 20px;
  font-weight: bold;
  padding: 10px 20px;
  border: 2px;
  cursor: pointer;
  border-radius: 5px;
  text-align: center;
}
.btn-primary:hover {
  background-color: #83b6f1;
}
p {
  margin-top: 1em;
  font-weight: normal;
  font-family: 'Exo 2', sans-serif;
}
.textcontact {
  position: absolute;
  margin-top: 130px;
  padding: 10px;
}
.skillimage {
  width: 70px;
  height: auto;
  margin: 5px 0px 5px 10px;
  border-radius: 0%;
}
.social {
  text-align: center;
  margin: 0px 0px 25px 400px;
  height: 60px;
  border-radius: 50%;
}
.text {
  position: absolute;
  bottom: 0;
  opacity: 0;
  padding: 10px;
}

.box:hover .text,
.textcontact,
.social {
  opacity: 1;
}
h1 {
  width: 250px;
  text-align: center;
  margin: 100px auto 20px auto;
}
@media screen and (max-width: 800px) {
  body {
    margin: 0;
  }
  .accordion {
    flex-direction: column;
    height: 700px;
    box-shadow: none;
  }
  .box {
    box-shadow: none;
  }
  .box:hover {
    flex: 7;
  }
}
