* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
::-webkit-scrollbar {
  width: 0;
  height: 0;
}
.custom-scroll::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}

.custom-scroll::-webkit-scrollbar-track {
  background: #141921;
  border-radius: 10px;
}

.custom-scroll::-webkit-scrollbar-thumb {
  background: #39414d;
  border-radius: 10px;
}

.custom-scroll::-webkit-scrollbar-thumb:hover {
  background: #555;
}

button,
input[type="file"],
input[type="image"],
input[type="reset"],
input[type="button"],
input[type="submit"] {
  border: none;
  border-radius: 0;
  background-color: transparent;
  appearance: none;
  cursor: pointer;
}
input:focus,
button:focus,
textarea:focus,
select:focus {
  outline: none;
}
input {
  width: 100%;
  padding: 0 16px;
  height: 50px;
  line-height: 42px;
  border-radius: 50px;
  border: none;
  color: #fff;
  background: #000;
  font-size: 15px;
  text-align: center;
  border: 1px solid #4b4b4b;
  font-weight: 700;
  margin-bottom: 15px;
}

ul,
ol {
  list-style: none;
}

a {
  text-decoration: none;
  color: inherit;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}
input,
button,
textarea,
select {
  font: inherit;
}
html {
  scrollbar-width: none;
}
html,
body {
  color: #fff;
  margin: 0 auto;
  font-family: "S-Core Dream";
  overflow-x: hidden;
}
body {
  background-color: #0f1f2b;
  font-size: 16px;
  -ms-overflow-style: none;
}
#app {
  width: 100vw;
  max-width: 1920px;
  min-width: 1200px;
  margin: 0 auto;
}
#app_body {
  display: flex;
}
.content {
  flex: 1;
  /* background-color: #0C1822; */
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 0 6%;
}
.box {
  width: 100%;
  display: flex;
  flex: 1;
}
#right_body {
  flex: 1;
  width: calc(100% - 269px);
  overflow-y: auto;
  flex-direction: column;
  display: flex;
  background-color: rgb(12, 24, 34);
}
.flex {
  display: flex;
}

.flex-center {
  align-items: center;
  justify-content: center;
}
.flex-a-center {
  display: flex;
  align-items: center;
}
.flex-j-center {
  display: flex;
  justify-content: center;
}

.flex-clom {
  flex-direction: column;
}

.flex-warp {
  flex-wrap: wrap;
}
.pointer {
  cursor: pointer;
}
.square_box {
  display: flex;
  align-items: center;
  gap: 16px;
}
.square_box_item {
  position: relative;
  transition: all 0.5s;
  border-radius: 5px;
  overflow: hidden;
  cursor: pointer;
  border-radius: 10px;
  max-width: 172px;
  max-height: 172px;
  min-width: 150px;
  min-height: 150px;
}
.show_play {
  background-color: rgba(0, 0, 0, 0.5);
  position: absolute;
  bottom: 0;
  width: 100%;
  height: 100%;
  display: none;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  cursor: pointer;
  color: #3aff89;
  text-shadow: 0px 2px 1.5px rgba(0, 0, 0, 0.62);
}
.show_play img {
  width: 58px;
  height: 58px;
  margin-bottom: 8px;
}
.square_box_item:hover {
  transform: scale(1.1);
  border: 2px solid #f4c073 !important;
  filter: brightness(1.2) !important;
  border-radius: 15px !important;
}
.square_box_item:hover .show_play,
.rectangle_box_item:hover .show_play {
  display: flex;
}
.rectangle_box {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}
.rectangle_box_item {
  position: relative;
  /* filter: brightness(0.8); */
  border: 1px solid rgba(255, 255, 255, 0.5);
  /* border-radius: 5px; */
  /* overflow: hidden; */
  cursor: pointer;
}
.square_box_item > img {
  max-width: 172px;
  max-height: 172px;
  min-width: 150px;
  min-height: 150px;
}
.rectangle_box_item > img,
.square_box_item > img {
  width: 100%;
  /* height: 100%; */
  height: auto;
}
.road_popup {
  position: fixed;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  top: 0;
  left: 0;
  z-index: 9999;
  display: none;
  align-items: center;
  justify-content: center;
}
.road_popup_box {
  width: 50%;
  max-height: 90vh;
  overflow-y: auto;
  background-color: #010305;
  border-radius: 20px;
  position: relative;
  padding: 16px 29px 34px;
  box-shadow: 0 0 50px 0 #00f999;
  backdrop-filter: blur(10px);
}
.road_popup_box_header {
  display: flex;
  justify-content: flex-end;
}

.road_popup_box_header img {
  width: 32px;
  height: 32px;
}
.road_popup_box_body {
  padding: 12px 0;
}
/* .rectangle_box_item:hover {
  border: 2px solid #f4c073;
  filter: brightness(1.3);
} */
.content_tab {
  display: flex;
  align-items: center;
  gap: 9px;
}
.content_tab_item {
  padding: 10px 12px;
  border-radius: 20px;
  border: 1px solid #818181;
  background: #111;
  cursor: pointer;
}
.content_tab_item.active,
.content_tab_item.active:hover {
  background-color: #00f999;
  color: #000;
}
.content_tab_item:hover {
  background: #333;
}
.detail_tit {
  width: 100%;
  padding-bottom: 12px;
  border-bottom: 1px solid #818181;
}

.detail_tit span:first-child {
  color: #05e890;
  font-family: "S-Core Dream";
  font-size: 30px;
  letter-spacing: -0.3px;
  margin-right: 8px;
}

.detail_tit span:last-child {
  color: #828282;
  font-family: "PingFang SC";
  font-size: 20px;
  font-weight: 400;
}
.content_page {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}
.content_page_ago,
.content_page_later,
.content_page_num {
  width: 25px;
  height: 25px;
  border-radius: 3px;
  background: #333;
  display: flex;
  align-items: center;
  justify-content: center;
}
.content_page_num.active {
  background: #05e890;
  color: #000;
}
.road-button {
  border-radius: 10px;
  color: #fff;
  position: relative;
  transition: all 0.3s ease;
  overflow: hidden;
  z-index: 10;
  &::before {
    content: "";
    width: 200%;
    height: 500%;
    position: absolute;
    top: -200%;
    left: -50%;
    z-index: -2;
  }
  &::after {
    content: "";
    position: absolute;
    inset: 3px;
    z-index: -1;
    border-radius: 8px;
  }
  &:nth-child(1)::after {
    background: linear-gradient(180deg, #ff72af 0%, #c6004c 100%);
  }
  &:nth-child(2)::after {
    background: linear-gradient(180deg, #ff72af 0%, #c6004c 100%);
  }
  &:nth-child(3)::after {
    background: linear-gradient(180deg, #ff72af 0%, #c6004c 100%);
  }
  &:nth-child(4)::after {
    background: linear-gradient(180deg, #ff72af 0%, #c6004c 100%);
  }
  &:hover {
    box-shadow: 0px 2px 16px rgba(8, 6, 64, 0.25);
    &::before {
      background-image: conic-gradient(transparent, #fff, transparent 50%);
      z-index: -2;
      animation: rotate 1s linear infinite;
    }
  }
}
.index_company_box_btn {
  width: 272px;
  height: 65px;
}
@keyframes rotate {
  to {
    transform: rotate(360deg);
  }
}
@media only screen and (max-width: 1650px) {
  .box {
    flex-direction: column;
  }
  .right_nav {
    display: flex;
    gap: 8px;
    justify-content: center;
    width: 100%;
  }
  .right_nav img {
    margin-bottom: 0;
    width: 228px;
  }
  .box_left {
    width: 100%;
  }
}
@media only screen and (max-width: 700px) {
  #app {
    font-size: 12px;
    min-width: unset;
  }
  .content {
    padding: 8px !important;
    padding-bottom: 20px !important;
  }
  
  /* 모바일 로그인 팝업 스타일 */
  .road_popup_box {
    width: 90% !important;
    max-width: 400px;
    max-height: 80vh;
    padding: 12px 20px 24px;
    border-radius: 15px;
  }
  
  .login_popup_box {
    max-width: 100% !important;
  }
  
  .login_popup_box_body {
    padding: 8px 0;
  }
  
  .login_popup_box_logo {
    width: 60%;
  }
  
  .login_popup_box_tit1 {
    font-size: 18px;
    margin-top: 8px;
    margin-bottom: 4px;
  }
  
  .login_popup_box_tit2 {
    font-size: 12px;
  }
  
  .login_popup_box_body form {
    margin-top: 25px;
    width: 100%;
  }
  
  .login_popup_box_body input {
    height: 45px;
    font-size: 14px;
    margin-bottom: 12px;
  }
  
  .login_popup_box_btn {
    height: 48px;
    font-size: 16px;
    margin-top: 15px;
  }
  
  .detail_tit {
    height: 42px;
    border-radius: 8px;
    background: #152e3f;
    border: none;
    padding: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin: 0 3px;
  }
  .detail_tit span:first-child {
    font-size: 12px;
  }
  .detail_tit span:last-child {
    font-size: 13px;
  }
  .content_tab {
    padding: 0 20px;
    gap: 16px;
  }
  .content_tab_item {
    flex: 1;
    text-align: center;
    border-radius: 8px;
    background: #333;
    border: none;
  }
  #right_body {
    padding-bottom: 57px;
  }
  .body {
    padding-top: 133px;
    flex-direction: column;
  }

  .box_left {
    width: 100%;
    margin-bottom: 60px;
  }
  .square_box_item {
    border-radius: 5px;
    min-width: 100px !important;
    min-height: 100px !important;
  }
  .square_box_item > img {
    min-width: 100px !important;
    min-height: 100px !important;
  }
  .show_play img {
    width: 30px;
    height: 30px;
  }
  .rectangle_box {
    padding: 0px !important;
    gap: 8px;
  }
  .rectangle_box_item {
    /* filter: brightness(1); */
    flex: 0 0 100% !important;
    width: 100% !important;
  }
  .rectangle_box .show_play img {
    width: 45px;
    height: 45px;
  }
  .road-button {
    &::after {
      content: "";
      position: absolute;
      inset: 2px;
      z-index: -1;
      border-radius: 5px;
    }
  }

  .index_company_box_btn {
    width: 116px;
    height: 34px;
  }
}
