body {
  width: 100%;
}

*,
*:before,
*:after {
  box-sizing: border-box;
  padding: 0;
  margin: 0;
}

.tinder-caption-area {
  width: 40vw;
  display: flex;
  align-items: center;
  justify-content: right;
  margin-left: 10vw;
}

.styler-logo {
  display: block;
  width: 30vw;
  height: auto;
  margin: 0 auto;
  padding-bottom: 10px;
  padding-top: 10px;
}

.tinder {
  width: 50vw;
  height: 600px;
  overflow: hidden;
  display: flex;
  margin-right: 7vw;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
  opacity: 1;
  transition: opacity 0.1s ease-in-out;
}

.loaded.tinder {
  opacity: 1;
}

.tinder--status {
  position: absolute;
  top: 50%;
  margin-top: -30px;
  z-index: 2;
  width: 100%;
  text-align: center;
  pointer-events: none;
}

.tinder--status img {
  font-size: 100px;
  opacity: 0;
  transform: scale(0.3);
  transition: all 0.2s ease-in-out;
  position: absolute;
  width: 100px;
  margin-left: -50px;
}

.test-logo {
  width: 100px;
}

.tinder_love .fa-heart {
  opacity: 0.7;
  transform: scale(1);
}

.tinder_nope .fa-remove {
  opacity: 0.7;
  transform: scale(1);
}

.tinder--cards {
  flex-grow: 1;
  height: 500px;
  width: 50vw;
  padding-top: 60px;
  text-align: center;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 1;
}

.tinder--card {
  display: inline-block;
  width: 100vw;
  max-width: 300px;
  height: 390px;
  background: #ffffff;
  padding-bottom: 50px;
  border-radius: 8px;
  overflow: hidden;
  position: absolute;
  will-change: transform;
  transition: all 0.3s ease-in-out;
  cursor: -webkit-grab;
  cursor: -moz-grab;
  cursor: grab;
}

.tinder--card img {
  width: 80vw;
  height: 330px;
}

.moving.tinder--card {
  transition: none;
  cursor: -webkit-grabbing;
  cursor: -moz-grabbing;
  cursor: grabbing;
}

.tinder--card img {
  max-width: 100%;
  pointer-events: none;
}

.tinder--card h3 {
  font-size: 18px;
  padding: 0px;
  pointer-events: none;
  align-self: center;
  text-align: center;
  margin-top: auto;
  margin-bottom: auto;
}

.tinder--card p {
  align-self: center;
  text-align: center;
  margin-top: 28px;
  font-size: 14px;
  padding: 0 0px;
  pointer-events: none;
}

.tinder--buttons {
  /* flex: 0 0 100px; */
  text-align: center;
  /* padding-top: 20px; */
  padding-bottom: 30px;
  width: 50vw;
}

.tinder--buttons button {
  border-radius: 50%;
  line-height: 60px;
  width: 60px;
  border: 0;
  background: #ffffff;
  display: inline-block;
  margin: 0 8px;
}

.tinder--buttons button:focus {
  outline: 0;
}

.tinder--buttons img {
  width: 30px;
  font-size: 30px;
  vertical-align: middle;
}

.fa-heart {
  color: #fface4;
}

.fa-remove {
  color: #cdd6dd;
}

@keyframes slide {
  0% {
    transform: translateX(-25%);
  }
  100% {
    transform: translateX(25%);
  }
}

.tinder-area {
  justify-content: space-around;
  display: flex;
  width: 100%;
  height: 600px;
  z-index: -1;
  background: linear-gradient(-45deg, #bedde7, #acd1df, #fbebd0, #ffbdbd);
  background-size: 400% 400%;
  animation: gradient 8s ease infinite;
}

@keyframes gradient {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

.ending-area-photo {
  width: 150px;
  height: auto;
  margin-bottom: 10px;
}

.ending-area-title1 {
  font-weight: bold;
}

.ending-area-title2 {
  font-weight: bold;
}

/* RWD區域 */

@media screen and (max-width: 1279px) {
  *,
  *:before,
  *:after {
    box-sizing: border-box;
    padding: 0;
    margin: 0;
  }

  .tinder-caption-area {
    width: 40vw;
    display: flex;
    align-items: center;
    justify-content: right;
    margin-left: 0px;
  }

  .styler-logo {
    display: block;
    width: 40vw;
    height: auto;
    margin: 0 auto;
    padding-bottom: 20px;
    padding-top: 30px;
  }

  .tinder {
    width: 70vw;
    height: auto;
    overflow: hidden;
    display: flex;
    margin-right: 0;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    opacity: 1;
    transition: opacity 0.1s ease-in-out;
  }

  .loaded.tinder {
    opacity: 1;
  }

  .tinder--status {
    position: absolute;
    top: 50%;
    margin-top: -30px;
    z-index: 2;
    width: 100%;
    text-align: center;
    pointer-events: none;
  }

  .tinder--status img {
    font-size: 100px;
    opacity: 0;
    transform: scale(0.3);
    transition: all 0.2s ease-in-out;
    position: absolute;
    width: 100px;
    margin-left: -50px;
  }

  .test-logo {
    width: 100px;
  }

  .tinder_love .fa-heart {
    opacity: 0.7;
    transform: scale(1);
  }

  .tinder_nope .fa-remove {
    opacity: 0.7;
    transform: scale(1);
  }

  .tinder--cards {
    flex-grow: 1;
    height: auto;
    width: 80vw;
    padding-top: 60px;
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1;
  }

  .tinder--card {
    display: inline-block;
    width: 70vw;
    height: auto;
    background: #ffffff;
    padding-bottom: 20px;
    border-radius: 8px;
    overflow: hidden;
    position: absolute;
    will-change: transform;
    transition: all 0.3s ease-in-out;
    cursor: -webkit-grab;
    cursor: -moz-grab;
    cursor: grab;
  }

  .tinder--card img {
    width: 70vw;
    height: auto;
  }

  .moving.tinder--card {
    transition: none;
    cursor: -webkit-grabbing;
    cursor: -moz-grabbing;
    cursor: grabbing;
  }

  .tinder--card img {
    max-width: 100%;
    pointer-events: none;
  }

  .tinder--card h3 {
    margin-top: 10px;
    font-size: 16px;
    padding: 0px;
    pointer-events: none;
  }

  .tinder--card p {
    margin-top: 24px;
    font-size: 20px;
    padding: 0 16px;
    pointer-events: none;
  }

  .tinder--buttons {
    /* flex: 0 0 100px; */
    text-align: center;
    /* padding-top: 20px; */
    padding-bottom: 30px;
    width: 50vw;
    margin-top: 60px;
  }

  .tinder--buttons button {
    border-radius: 50%;
    line-height: 60px;
    width: 60px;
    border: 0;
    background: #ffffff;
    display: inline-block;
    margin: 0 8px;
  }

  .tinder--buttons button:focus {
    outline: 0;
  }

  .tinder--buttons img {
    width: 30px;
    font-size: 30px;
    vertical-align: middle;
  }

  .fa-heart {
    color: #fface4;
  }

  .fa-remove {
    color: #cdd6dd;
  }

  @keyframes slide {
    0% {
      transform: translateX(-25%);
    }
    100% {
      transform: translateX(25%);
    }
  }

  .tinder-area {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    height: auto;
    z-index: -1;
    background: linear-gradient(-45deg, #bedde7, #acd1df, #fbebd0, #ffbdbd);
    background-size: 400% 400%;
    animation: gradient 8s ease infinite;
  }

  @keyframes gradient {
    0% {
      background-position: 0% 50%;
    }
    50% {
      background-position: 100% 50%;
    }
    100% {
      background-position: 0% 50%;
    }
  }

  .ending-area-photo {
    width: 150px;
    height: auto;
    margin-bottom: 0px;
  }

  .ending-area-title1 {
    font-weight: normal;
  }

  .ending-area-title2 {
    font-weight: normal;
  }

  .ending-area {
    margin-bottom: 20px;
  }
}
