@import "default.css";

.wemake__main {
  position: relative;
  padding-top: 50px;
  background-color: #f5f5f7;
  text-align: center;
}
.opacity-none {
  opacity: 0;
  display: none;
}
.wemake__main--gray {
  min-height: 750px;
  background-color: #1d1d1f;
  padding-top: 100px;
  text-align: center;
}

.main__title {
  line-height: 1.4;
  font-weight: 700;
  color: #000;
  font-size: 28pt;
}

.main__subtitle {
  color: #6e6e73;
  padding: 15px 0px;
  font-size: 14pt;
}

.main__image {
  padding: 20px 0px;
  max-width: 700px;
  margin: 0 auto;
}

.main__image img {
  width: 700px;
  height: auto;
  max-height: 250px;
}

.main__card {
  background-color: #ffffff;
  border-top: 3px solid #d60e25;
  text-align: center;
  padding: 80px;
}

.card__subtitle {
  color: #1d1d1f;
  font-size: 14pt;
}

.card__title {
  font-size: 22pt;
  color: #000;
  font-weight: 700;
  padding: 30px 0px;
}

.card__row {
  display: flex;
  justify-content: space-around;
  align-items: center;
  padding: 30px 0px;
}

.card__icon img {
  width: 50px;
}

.card__text {
  font-size: 14pt;
}

.main__title--gray {
  font-size: 24pt;
  color: #ffffff;
  font-weight: 700;
  padding: 50px 0px;
}
.main__description {
  width: 900px;
  margin: 0 auto;
  padding: 10px 0px;
}

.box__column {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.main__box {
  background-color: #ffffff;
  flex-basis: 50%;
  padding: 20px 0px;
  border-radius: 30px;
}

.box__column .main__box:first-child {
  margin: 15px 15px 15px 0px;
}

.box__column .main__box:last-child {
  margin: 15px 0px 15px 15px;
}

.box__title {
  font-size: 22pt;
  color: #000;
  padding: 0px 0px 10px 0px;
  font-weight: 700;
  line-height: 1;
}

.box__subtitle {
  color: #6e6e73;
  padding-bottom: 10px;
  line-height: 1;
  font-size: 14pt;
}

.box__icon {
  display: flex;
  align-items: center;
  justify-content: center;
}

.box__icon img {
  width: 50px;
}
.box__link {
  padding-top: 10px;
}
.main_1 {
  animation: fadein 3s;
}
.main_2 {
  animation: fadeout 3s;
}

@keyframes fadein {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes fadeout {
  from {
    opacity: 1;
  }
  to {
    opacity: 0;
  }
}

/* 미디어 쿼리 */
@media screen and (max-width: 991px) {
  .main__title {
    font-size: 22pt;
  }

  .main__image {
    padding: 20px 35px;
  }

  .main__image img {
    max-width: 700px;
    width: 100% !important;
    height: auto;
  }

  .main__card {
    padding: 20px;
  }
  .card__subtitle {
    padding-top: 10px;
  }
  .wemake__main--gray {
    padding-top: 0px;
  }
  .main__description {
    width: 100%;
  }
  .box__column {
    display: block;
  }

  .box__column .main__box {
    margin: 15px !important;
  }
}

@media screen and (max-width: 500px) {
  .main__title {
    font-size: 5.7vw !important;
  }

  .main__subtitle {
    font-size: 4.5vw;
  }
  .main__title--gray {
    font-size: 8vw;
  }
  .card__title,
  .box__title {
    font-size: 5.7vw;
  }
  .card__text {
    font-size: 3.5vw;
  }
  .card__subtitle,
  .box__subtitle {
    font-size: 3.5vw;
  }

  .main__card {
    padding: 15px;
    line-height: 1;
  }
  .wemake__main {
    padding-top: 35px;
  }

  .wemake__main--gray {
    padding-bottom: 35px;
  }
  .main__title--gray {
    padding: 35px;
    font-size: 8vw;
  }
  .card__title {
    padding: 25px 0px;
  }
  .card__row {
    padding: 25px 0px 20px 0px;
  }
}

@media screen and (max-width: 425px) {
  .main__title {
    font-size: 5.7vw !important;
  }

  .main__subtitle {
    font-size: 4.5vw;
  }
  .main__title--gray {
    font-size: 8vw;
  }
  .card__title,
  .box__title {
    font-size: 5.7vw;
  }
  .card__text {
    font-size: 4.5vw;
  }
  .card__subtitle,
  .box__subtitle {
    font-size: 4.5vw;
  }
}

@media screen and (min-width: 992px) {
  .wemake__main {
    min-height: 750px;
  }
  .main__card {
    position: absolute;
    height: 300px;
    width: 800px;
    left: 50%;
    transform: translateX(-50%);
    bottom: -80px;
    background-color: #ffffff;
    border-top: 3px solid #d60e25;
    text-align: center;
    padding: 30px 50px;
  }
}
