.templates{
  display: flex;
  margin-top: 50px
}

.templates h2{
  font-size: 40px;
  text-align: center;
}

.templates h2 b{
  color: red
}

.templates > div {
  max-width: 1100px;
  margin: auto;
  padding-top: 40px;
  padding-bottom: 60px;
  display: flex;
  flex-direction: column;
}

.templates .listagem{
  display: grid;
  grid-template: auto / auto auto
}

.templates .item{
  position: relative;
  width: max-content;
  margin: 0 30px;
  margin-bottom: 30px
}

@media only screen and (max-width: 600px) {
  .listagem{
    width: 100%;
    max-width: 100%;
    display: flex;
  }
  .templates .item{
    width:calc(100% - 50px);
    max-width:100%;
    margin:20px 0;
    margin-left: auto;
    margin-right: auto;
  }
  .templates .item .desktop{
    width: calc(100% - 20px)!important;
  }
  
  .templates .item .mobile{
    right: -10px!important;
  }
}

@media only screen and (max-width: 600px) {
  .templates .listagem{
  display: grid;
  grid-template: auto / auto 
}
}

.templates .item .desktop{
  width: 500px;
  border: 3px solid #333;
  border-radius: 5px;
  border-width: 15px 10px;
  outline: 1px solid #777
}

.templates .item .desktop img{
  width: 100%;
  height: 100%;
  border-radius: 0px;
  display: flex
}

.templates .item .mobile{
  width: 500px;
  border: 3px solid #333;
  border-radius: 10px;
  position: absolute;
  right: -25px;
  bottom: 10px;
  width: 70px;
  border-width: 20px 2px;
  outline: 1px solid #777
}

.templates .item .mobile img{
  width: 100%;
  height: 100%;
  border-radius: 0px;
  margin: 0;
  padding: 0;
  display: flex;
}