@import "../demo-global.css";
@import "../demo-footer.css";
@import "../demo-container-anim.css";
@import "../demo-nav.css";
main {
  margin: 50px 0 0;
}

main .title {
  color: white;
  background: linear-gradient(to right, #2d3e50, white);
  font-size: 2rem;
  padding: 1rem;
}

main .desc {
  margin-top: 2em;
  font-size: 1.6rem;
  color: #2d3e50;
}

main .content {
  color: #2d3e50;
  margin-bottom: 5em;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
}

main .content .item {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  width: 400px;
  margin: 2vw;
  padding: 1em;
  cursor: pointer;
  border: 1px solid rgba(0, 0, 0, 0);
}

main .content .item:hover {
  border: 1px solid #ddd;
  border-radius: 10px;
}

.item .content0 {
  flex: 1;
  text-align: left;
  margin-left: 20px;
}

.item .title0 {
  font-size: 2rem;
  font-weight: 600;
  padding: 1rem 0;
}

.item .text {
  line-height: 2rem;
}

.item img {
  vertical-align: middle;
  height: 40px;
}

.image {
  width: 100%;
  margin-top: 50px;
  overflow: hidden;
  position: relative;
}

.image .img {
  background: url(../../img/1__.jpg);
  background-size: 100%;
  filter: brightness(60%);
  height: 100vh;
  background-repeat:round;
  /* background-attachment: fixed; */
}

.image .text {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translateX(-50%) translateY(-50%);
  color: white;
  font-size: 2em;
}

@media only screen and (min-width: 768px) {
  .image {
    width: 100%;
    margin-top: 100px;
    overflow: hidden;
    position: relative;
  }
  .image .img {
    background: url(../../img/1.jpg);
    background-size:cover;
    filter: brightness(100%);
    background-repeat: no-repeat;
    background-attachment: fixed;
  }
  .image .img::after{
    content: '';
    display:block;
    position: absolute;
    background: rgba(0,0,0,.4);
    width: 100%;
    height: 100%;
  }
  .image .text {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translateX(-50%) translateY(-50%);
    color: white;
    font-size: 3em;
  }
  main {
    margin: 100px 50px 0;
  }
  main .title {
    color: white;
    background: linear-gradient(to right, #2d3e50, white);
    font-size: 2rem;
    padding: 1rem;
  }
  main .desc {
    margin-top: 2em;
    font-size: 1.6rem;
    color: #2d3e50;
  }
  main .content {
    color: #2d3e50;
    margin-bottom: 5em;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
  }
  main .content .item {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    width: 400px;
    margin: 2vw;
    padding: 1em;
    cursor: pointer;
    border: 1px solid rgba(0, 0, 0, 0);
    transition: all ease .5s;
  }
  main .content .item:hover {
    border: 1px solid #ddd;
    border-radius: 10px;
    transform: scale(1.1);
  }
  .item .content0 {
    flex: 1;
    text-align: left;
    margin-left: 20px;
  }
  .item .title0 {
    font-size: 2rem;
    font-weight: 600;
    padding: 1rem 0;
  }
  .item .text {
    line-height: 2rem;
  }
  .item img {
    vertical-align: middle;
    height: 40px;
  }
}
