@import url("https://fonts.googleapis.com/css?family=DM+Sans:400,500,700&display=swap");

.projects-section .card .card-header {
  background-color: #f5f0e6;
  padding: 0.7rem;
  padding-bottom: 0rem;
  text-decoration: none;
}

.projects-section .card .card-img-xs {
  margin-right: 0.5rem;
}

.card .card-header .sub-title span:nth-child(1) {
  float: left;
}

.card .card-header .sub-title span:nth-child(2) {
  float: right;
}

.projects-section .card .card-body {
  padding: 0.7rem;
}

.projects-section .card .card-header .sub-title {
  color: #a59483;
  margin-top: 0.4rem;
}

.filtr-projects {
  padding: 1rem !important;
}

/* ============= Device specific fixes ======= */

/* Large screens such as TV */
@media only screen and (min-width: 1824px) {}

/* Extra large devices (large desktops, 1200px and up) */

@media (max-width: 1400px) {}

@media (max-width: 1200px) {}

/* IPad Pro */
@media (max-width: 1024px) {
  .projects-section {
    padding-left: 0;
    padding-right: 0;
    width: 100%;
  }

  .projects-section .container {
    max-width: 100%;
  }

  .projects-section .filtr-projects {
    padding: 0;
  }

  .projects-section .filtr-item {
    padding-left: 0.2rem;
    padding-right: 0.2rem;
  }
}

/*  Large devices (desktops, 992px and up) */

@media (max-width: 992px) {}

/* Medium devices (tablets, 768px and up) */

@media only screen and (max-width: 768px) {
  .projects-section {
    padding-left: 0;
    padding-right: 0;
    width: 100%;
  }

  .projects-section .container {
    max-width: 100%;
  }

  .projects-section .filtr-projects {
    padding: 0;
  }

  .projects-section .filtr-item {
    padding-left: 0.2rem;
    padding-right: 0.2rem;
    flex: 50%;
    max-width: calc(100% / 2 - 0.2rem);
  }
}

/* Small devices (landscape phones, 576px and up) */

@media only screen and (max-width: 576px) {
  .projects-section .btn {
    margin-top: 0.3125rem;
  }

  .projects-section .filtr-item {
    flex: 100%;
    max-width: 100%;
  }
}

/* iPhoneX, iPhone 6,7,8 */
@media only screen and (max-width: 375px) {}

/* Galaxy S5, Moto G4 */
@media only screen and (max-width: 360px) {}

/* iPhone 5 or before */
@media only screen and (max-width: 320px) {}

.w3-bar-block .w3-bar-item {
  padding: 20px
}

.photop {
  background-position: top center;
  /* margin: 1.5rem; */
  background-repeat: no-repeat;
  background-size: cover;
  padding: 6rem 5rem;
  /* width: 100%; */
  /* width: 70%; */
  /* opacity: 0.8; */
  left: 0;
  top: 0;
}

#p1 {
  background-image: url('../../images/web.jpg');
  /* background-position: 0px 0px; */
}

#p2 {
  background-image: url('../../images/android.jpg');
  /* background-position: 0px 0px; */
}

#p3 {
  background-image: url('../../images/4.jpg');
  /* background-position: 0px 0px; */
}

#p4 {
  background-image: url('../../images/5.jpg');
  /* background-position: 0px 0px; */
}

#p5 {
  background-image: url('../../images/6.jpg');
  /* background-position: 0px 0px; */
}

#p6 {
  background-image: url('../../images/7.jpg');
  /* background-position: 0px 0px; */
}

#p7 {
  background-image: url('../../images/8.jpg');
  /* background-position: 0px 0px; */
}

#p8 {
  background-image: url('../../images/ml.jpg');
  /* background-position: 0px 0px; */
}
#spotify{
  background-image: url('../../images/spotify.jpg');
}
#social{
  background-image: url('../../images/social.jpg');
}
#player{
  background-image: url('../../images/player.jpg');
}
.he {
  height: 4rem
}

.he-word {
  height: 3rem;
  word-break: break-all;
}

.ae {
  height: 2rem
}