style.scss 5.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189
  1. @import "pretendard/dist/web/static/pretendard.css";
  2. * {
  3. font-family: "Pretendard Variable", Pretendard, -apple-system, BlinkMacSystemFont, system-ui, Roboto, "Helvetica Neue", "Segoe UI", "Apple SD Gothic Neo", "Noto Sans KR", "Malgun Gothic", "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", sans-serif;
  4. &::after, &::before{
  5. display: inline-block;
  6. }
  7. }
  8. .ico{
  9. display: inline-block;
  10. background-repeat: no-repeat;
  11. background-position: center;
  12. }
  13. .header--wrap{
  14. position: fixed;
  15. top: 0;
  16. left: 0;
  17. width: 100%;
  18. z-index: 1000;
  19. .header--container{
  20. width: 100%;
  21. max-width: 1280px;
  22. margin: 0 auto;
  23. background-color: transparent;
  24. justify-content: space-between;
  25. display: flex;
  26. align-items: center;
  27. height: 80px;
  28. .logo--wrap{
  29. max-width: 138px;
  30. img{
  31. width: 100%;
  32. }
  33. }
  34. .menu--wrap{
  35. display: flex;
  36. li{
  37. a{
  38. color: #fff;
  39. font-weight: normal;
  40. padding: 0 30px;
  41. display: inline-block;
  42. height: 80px;
  43. font-weight: 700;
  44. font-size: 16px;
  45. line-height: 80px;
  46. position: relative;
  47. &::before{
  48. position: absolute;
  49. content: '';
  50. bottom: 20px;
  51. left: 50%;
  52. transition: width 0.3s;
  53. transform: translateX(-50%);
  54. height: 2px;
  55. width: 0;
  56. background-color: #fff;
  57. }
  58. &:hover{
  59. &::before{
  60. width: calc(100% - 50px);
  61. }
  62. }
  63. }
  64. }
  65. }
  66. .lang--wrap{
  67. display: flex;
  68. align-items: center;
  69. gap: 4px;
  70. cursor: pointer;
  71. .ico{
  72. width: 24px;
  73. height: 24px;
  74. background-image: url(/img/ico--lang.svg);
  75. }
  76. >p{
  77. color: #fff;
  78. line-height: 1;
  79. font-size: 16px;
  80. font-weight: 700;
  81. }
  82. }
  83. }
  84. }
  85. .main--visual--wrap{
  86. .main--swiper--wrap{
  87. width: 100%;
  88. position: relative;
  89. .main--swiper{
  90. .visual--img{
  91. position: relative;
  92. .txt--wrap{
  93. width: 100%;
  94. text-align: center;
  95. height: 100%;
  96. display: flex;
  97. align-items: center;
  98. justify-content: center;
  99. position: absolute;
  100. h2{
  101. color: #fff;
  102. font-size: 48px;
  103. font-weight: 800;
  104. line-height: 1.4;
  105. }
  106. }
  107. .img--wrap{
  108. img{
  109. width: 100%;
  110. height: 100vh;
  111. object-fit: cover;
  112. }
  113. }
  114. }
  115. }
  116. .swiper--control--wrap{
  117. position: absolute;
  118. bottom: 0;
  119. left: 0;
  120. height: 84px;
  121. display: flex;
  122. justify-content: center;
  123. gap: 16px;
  124. align-items: center;
  125. z-index: 10;
  126. width: 100%;
  127. .pagination--wrap{
  128. display: flex;
  129. gap: 12px;
  130. align-items: center;
  131. .current{
  132. color: #fff;
  133. font-size: 14px;
  134. font-weight: 700;
  135. }
  136. .bar{
  137. opacity: 0.5;
  138. background-color: #fff;
  139. width: 1px;
  140. height: 12px;
  141. }
  142. .total{
  143. font-size: 14px;
  144. font-weight: 700;
  145. color: #fff;
  146. opacity: 0.5;
  147. }
  148. }
  149. .swiper--pagination{
  150. width: 150px;
  151. position: relative;
  152. height: 2px;
  153. background-color: rgba(255,255,255,0.5);
  154. .swiper-pagination-progressbar-fill{
  155. background-color: #fff;
  156. }
  157. }
  158. .swiper--btn--wrap{
  159. display: flex;
  160. gap:4px;
  161. align-items: center;
  162. justify-content: center;
  163. .swiper--btn--prev{
  164. width: 20px;
  165. height: 20px;
  166. background-image: url(/img/ico--swiper--prev.svg);
  167. }
  168. .swiper--btn--next{
  169. width: 20px;
  170. height: 20px;
  171. background-image: url(/img/ico--swiper--next.svg);
  172. }
  173. .play--btn{
  174. width: 20px;
  175. height: 20px;
  176. background-image: url(/img/ico--pause.svg);
  177. &.pause{
  178. background-image: url(/img/ico--play.svg);
  179. }
  180. }
  181. }
  182. }
  183. }
  184. }