@font-face {
  font-family: "SVN-Gilroy";
  src: url("../fonts/SVN-GilroyBlack.woff2") format("woff2"),
    url("../fonts/SVN-GilroyBlack.woff") format("woff");
  font-weight: 900;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "SVN-Gilroy";
  src: url("../fonts/SVN-GilroyBlackItalic.woff2") format("woff2"),
    url("../fonts/SVN-GilroyBlackItalic.woff") format("woff");
  font-weight: 900;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: "SVN-Gilroy";
  src: url("../fonts/SVN-GilroyBoldItalic.woff2") format("woff2"),
    url("../fonts/SVN-GilroyBoldItalic.woff") format("woff");
  font-weight: bold;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: "SVN-Gilroy";
  src: url("../fonts/SVN-GilroyBold.woff2") format("woff2"),
    url("../fonts/SVN-GilroyBold.woff") format("woff");
  font-weight: bold;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "SVN-Gilroy";
  src: url("../fonts/SVN-GilroyHeavyItalic.woff2") format("woff2"),
    url("../fonts/SVN-GilroyHeavyItalic.woff") format("woff");
  font-weight: 900;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: "SVN-Gilroy";
  src: url("../fonts/SVN-GilroyHeavy.woff2") format("woff2"),
    url("../fonts/SVN-GilroyHeavy.woff") format("woff");
  font-weight: 900;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "SVN-Gilroy";
  src: url("../fonts/SVN-GilroyLightItalic.woff2") format("woff2"),
    url("../fonts/SVN-GilroyLightItalic.woff") format("woff");
  font-weight: 300;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: "SVN-Gilroy";
  src: url("../fonts/SVN-GilroyLight.woff2") format("woff2"),
    url("../fonts/SVN-GilroyLight.woff") format("woff");
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "SVN-Gilroy";
  src: url("../fonts/SVN-GilroyItalic.woff2") format("woff2"),
    url("../fonts/SVN-GilroyItalic.woff") format("woff");
  font-weight: normal;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: "SVN-Gilroy";
  src: url("../fonts/SVN-GilroyMedium.woff2") format("woff2"),
    url("../fonts/SVN-GilroyMedium.woff") format("woff");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "SVN-Gilroy";
  src: url("../fonts/SVN-GilroyMediumItalic.woff2") format("woff2"),
    url("../fonts/SVN-GilroyMediumItalic.woff") format("woff");
  font-weight: 500;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: "SVN-Gilroy";
  src: url("../fonts/SVN-Gilroy.woff2") format("woff2"),
    url("../fonts/SVN-Gilroy.woff") format("woff");
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "SVN-Gilroy";
  src: url("../fonts/SVN-GilroySemiBoldItalic.woff2") format("woff2"),
    url("../fonts/SVN-GilroySemiBoldItalic.woff") format("woff");
  font-weight: 600;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: "SVN-Gilroy XBold";
  src: url("../fonts/SVN-GilroyXBold.woff2") format("woff2"),
    url("../fonts/SVN-GilroyXBold.woff") format("woff");
  font-weight: bold;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "SVN-Gilroy";
  src: url("../fonts/SVN-GilroyThinItalic.woff2") format("woff2"),
    url("../fonts/SVN-GilroyThinItalic.woff") format("woff");
  font-weight: 100;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: "SVN-Gilroy";
  src: url("../fonts/SVN-GilroyThin.woff2") format("woff2"),
    url("../fonts/SVN-GilroyThin.woff") format("woff");
  font-weight: 100;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "SVN-Gilroy";
  src: url("../fonts/SVN-GilroySemiBold.woff2") format("woff2"),
    url("../fonts/SVN-GilroySemiBold.woff") format("woff");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "SVN-Gilroy XBold";
  src: url("../fonts/SVN-GilroyXBoldItalic.woff2") format("woff2"),
    url("../fonts/SVN-GilroyXBoldItalic.woff") format("woff");
  font-weight: bold;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: "SVN-Gilroy XLight";
  src: url("../fonts/SVN-GilroyXLight.woff2") format("woff2"),
    url("../fonts/SVN-GilroyXLight.woff") format("woff");
  font-weight: 200;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "SVN-Gilroy XLight";
  src: url("../fonts/SVN-GilroyXLightItalic.woff2") format("woff2"),
    url("../fonts/SVN-GilroyXLightItalic.woff") format("woff");
  font-weight: 300;
  font-style: italic;
  font-display: swap;
}

body {
  font-family: "SVN-Gilroy";
}

.section-contest {
  background-image: url("../images/bg-song-1.png");
  background-repeat: no-repeat;
}

.contest-left {
  background-image: url("../images/bg-contest-left.png");
  background-repeat: no-repeat;
  background-position: right;
  background-size: cover;
}

.contest-left-old {
  background-image: url("../images/bg-contest-left-old.png");
}

/* arrow_forward.svg */
.news-slider .slick-arrow.slick-prev {
  left: -100px;
}
.news-slider .slick-arrow.slick-prev:before {
  content: "";
  background-image: url("../images/arrow_forward.svg");
  width: 24px;
  height: 24px;
  display: block;
  margin: auto;
  transform: rotate(180deg);
}
.news-slider .slick-arrow.slick-next {
  right: -100px;
}
.news-slider .slick-arrow.slick-next:before {
  content: "";
  background-image: url("../images/arrow_forward.svg");
  width: 24px;
  height: 24px;
  display: block;
  margin: auto;
}

.my-slider .slick-arrow.slick-next {
  right: -100px;
}
.my-slider .slick-arrow.slick-next:before {
  content: "";
  background-image: url("../images/arrow_forward.svg");
  width: 24px;
  height: 24px;
  display: block;
  margin: auto;
}
.my-slider .slick-arrow {
  border-radius: 1000px;
  background: var(--FFFFFF, #fff);
  box-shadow: 0px 4px 10px 0px rgba(0, 0, 0, 0.15);
  width: 60px;
  height: 60px;
  color: #000;
}
.my-slider .slick-arrow.slick-prev {
  left: 50px;
  z-index: 111;
}

.my-slider .slick-arrow.slick-prev:before {
  content: "";
  background-image: url("../images/arrow_forward.svg");
  width: 24px;
  height: 24px;
  display: block;
  margin: auto;
  transform: rotate(180deg);
}
@media (max-width: 1600px) {
  .news-slider .slick-arrow.slick-prev {
    left: -50px;
  }
  .news-slider .slick-arrow.slick-next {
    right: -50px;
  }
}

@media (max-width: 1080px) {
  .news-slider .slick-arrow.slick-prev {
    bottom: -100px;
    top: unset;
    transform: translateY(0);
    right: 70px;
    left: unset;
  }
  .news-slider .slick-arrow.slick-next {
    bottom: -100px;
    top: unset;
    transform: translateY(0);
    right: 0;
  }
}

.news-slider .slick-arrow {
  border-radius: 1000px;
  background: var(--FFFFFF, #fff);
  box-shadow: 0px 4px 10px 0px rgba(0, 0, 0, 0.15);
  width: 60px;
  height: 60px;
  color: #000;
}
.news-slider .element {
  padding: 0 20px;
}

.news-slider .slick-dots {
  display: flex;
  border-radius: 10px;
  overflow: hidden;
}
.news-slider .slick-dots li {
  margin: 0;
  width: 100%;
  height: 4px;
}

.news-slider .slick-dots li button {
  width: 100%;
  padding: 0;
  background-color: #d9d9d9;
  height: 4px;
}
.news-slider .slick-dots li.slick-active button {
  background-color: #404040;
  border-radius: 10px;
}
.news-slider .slick-dots li button:before {
  display: none;
}
.section-media .img-media {
  padding-top: 10px;
}
.section-media .img-media::before {
  content: "";
  width: calc(100% - 20px);
  background-color: #fbc59d;
  height: 100px;
  border-radius: 20px 20px 0 0;
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
}
.section-media .img-media .border-image {
  border-top: 2px solid #fff;
}
@media (min-width: 1024px) {
  .section-media .media-item:nth-child(even) {
    flex-direction: row-reverse;
    text-align: right;
  }
  .section-media .media-item:nth-child(even) .content-wrap {
    align-items: end;
  }
}

.section-media .media-item:nth-child(even) .media-content {
  align-items: end;
}
.head-news {
  background-image: url("../images/song-news.png");
  background-repeat: no-repeat;
  background-size: cover;
}
.list-news-cat .active {
  border-radius: 4px;
  background: var(--F47920, #f47920);
  border-color: var(--F47920, #f47920);
  color: #fff;
}
.list-news-cat a:hover {
  background: var(--F47920, #f47920);
  border-color: var(--F47920, #f47920);
  color: #fff;
}
.news-slider {
  position: relative;
  padding-bottom: 10px;
}
.news-slider .slick-track {
  display: flex !important;
}

.news-slider .slick-slide {
  height: inherit !important;
}

.news-related .news-slider .slick-dots {
  width: calc(100% - 240px) !important;
  margin-left: 20px !important;
  justify-content: center;
  position: relative;
  margin-top: 60px;
  bottom: -15px;
}

.news-related .news-slider .news-arrows {
  position: absolute;
  right: 20px;
  bottom: 0;
}

.news-related .news-slider .slick-arrow {
  border-radius: 1000px;
  border: 2px solid var(--17265C, #17265c);
  background-color: transparent;
  cursor: pointer;
}
.news-related .news-slider .news-arrows .slick-disabled {
  opacity: 0.5;
}
.lib-future .lib-left::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 130%;
  background-image: url("../images/song-libs.png");
  background-repeat: no-repeat;
  z-index: 21;
}
.lib-future .lib-right::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 30%;
  background: linear-gradient(270deg, rgba(244, 121, 32, 0) 0%, #f47920 100%);
  z-index: 20;
}

.lib-future .image-list-thumb {
  display: flex;
  transition: transform 0.3s ease-in-out;
  overflow-x: auto;
  scroll-behavior: smooth;
  scrollbar-width: none; /* Ẩn thanh cuộn trên Firefox */
  -ms-overflow-style: none; /* Ẩn thanh cuộn trên IE và Edge */
}

.lib-future .image-item {
  min-width: 33.33%; /* Đảm bảo mỗi ảnh chiếm 1/3 khung */
  box-sizing: border-box;
}

.lib-future .image-item img {
  width: 100%;
  height: auto;
  border-radius: 10px;
  opacity: 0.4;
}
.lib-future .image-item img.active {
  opacity: 1;
}

.lib-future .big-image img {
  width: 100%; /* Đặt chiều rộng ảnh trong big-image */
  transition: opacity 0.5s ease-in-out; /* Hiệu ứng mờ dần khi thay đổi ảnh */
  opacity: 0; /* Ẩn ảnh ban đầu */
}

.lib-future .big-image img.show {
  opacity: 1; /* Hiển thị ảnh với hiệu ứng mờ dần */
}
/* Style chung cho gallery */
.gallery {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  padding: 20px;
}

.gallery-item {
  overflow: hidden;
  border-radius: 10px;
  position: relative;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
  display: block;
}

/* Hiệu ứng hover */
.gallery-item:hover img {
  transform: scale(1.05);
}

/* Định dạng cho ảnh lớn */
.image-big {
  grid-column: span 2;
  grid-row: span 2;
}

/* Màn hình nhỏ hơn 1200px */
@media (max-width: 1199px) {
  .gallery {
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
  }

  .image-big {
    grid-column: span 2;
    grid-row: span 2;
  }
}

/* Màn hình nhỏ hơn 992px */
@media (max-width: 991px) {
  .gallery {
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
    padding: 0;
  }

  .image-big {
    grid-column: span 1;
    grid-row: span 1;
  }
}

/* Màn hình nhỏ hơn 768px */
/* @media (max-width: 767px) {
  .gallery {
      grid-template-columns: 2fr;
      gap: 10px;
  }
  
  .image-big {
      grid-column: span 2;
      grid-row: span 2;
  }
} */

.gallery-item::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  box-shadow: inset 0 0 10px rgba(0, 0, 0, 0.2);
  transition: opacity 0.3s ease;
  opacity: 0;
}

.gallery-item:hover::before {
  opacity: 1;
}
.contest-entries {
  border-radius: 20px;
  background: var(--FFFFFF, #fff);
  box-shadow: 0px 10px 20px 0px rgba(229, 113, 42, 0.2);
  padding: 10px;
}
.detail-contest {
  box-shadow: 0px 10px 40px 0px rgba(255, 90, 0, 0.15);
}

@media (min-width: 1025px) {
  .mask-overlay {
    position: fixed;
    left: 0;
    top: 0;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(2px);
    width: 100%;
    height: 100vh;
    z-index: 1;
  }
  .menu-sub .sub-item:not(:last-child) {
    padding-bottom: 20px;
    margin-bottom: 20px;
    border-bottom: 1px solid #e5e5e5;
  }
  .header .nav .menu-child {
    padding-top: 55px;
    transform: scaleY(0) translateX(-50%);
    opacity: 0;
    transform-origin: top;
    transition: all 0.3s ease-in-out;
  }
  .header .nav .has-child:hover .menu-child {
    transform: scaleY(1) translateX(-50%);
    opacity: 1;
  }
}
@media (max-width: 1024px) {
  .header .nav.active {
    display: flex;
    justify-content: center;
    position: fixed;
    width: 100%;
    height: 100vh;
    top: 82px;
    left: 0;
    background: rgba(0, 0, 0, 0.8);
    z-index: 99;
    padding-top: 80px;
  }
  .header .nav .nav-list {
    flex-direction: column;
  }
  .nav-link,
  .sub-link {
    color: #fff;
    text-align: center;
  }
  .menu-sub {
    text-align: center;
  }
  .has-child > a {
    padding-left: 24px;
  }
  .menu-child {
    padding: 10px 0;
  }
  .link-sub.active svg {
    transform: rotate(0);
  }
  .menu-child {
    display: none;
  }
  .menu-child.active {
    display: block;
  }
}

.mask-overlay.active {
  display: block; /* Hiển thị mask overlay khi có class active */
}

.shadow-contest-cat {
  box-shadow: 0px 4px 20px 0px rgba(244, 121, 32, 0.3);
}
.box-contest-cat {
  border-radius: 20px;
  border: 2px solid var(--E5712A, #e5712a);
  background: var(--FFFFFF, #fff);
  box-shadow: 0px 10px 40px 0px rgba(255, 90, 0, 0.15);
}
.list-step .step-item span {
  background: var(
    --Radial_Xanh,
    radial-gradient(175.19% 103.54% at 2.68% 0%, #6378c5 0%, #18285f 100%)
  );
}
.list-step .step-item.active span {
  background: var(--E5712A, #e5712a);
}
.list-step .step-item.active a {
  color: var(--E5712A, #e5712a);
}
.list-step::before {
  content: "";
  position: absolute;
  left: 30px;
  height: 100%;
  border-left: 4px dotted #868686;
}
.contest-right {
  border-radius: 20px;
  background: var(--FFFFFF, #fff);
  box-shadow: 0px 10px 40px 0px rgba(255, 90, 0, 0.15);
}

.input-container {
  position: relative;
  margin: 20px 0;
}

/* Đặt vị trí ban đầu cho ghi chú (note) */
.note {
  position: absolute;
  left: 10px;
  top: -10px;
  background-color: white;
  padding: 0 10px;
  font-size: 16px;
  transition: 0.3s ease all;
  pointer-events: none; /* Ngăn không cho ghi chú bị chọn */
  opacity: 0;
  color: var(--868686, #868686);
  font-size: 14px;
  font-weight: 500;
  width: 0;
}

/* Khi input có focus hoặc có giá trị (không phải placeholder) */
.input-text:focus ~ .note,
.input-text:not(:placeholder-shown) ~ .note {
  opacity: 1;
  width: 55px;
}

.box-account {
  border-radius: 20px;
  background: var(--FFFFFF, #fff);
  box-shadow: 0px 20px 40px 0px rgba(255, 90, 0, 0.1);
}

/* Loading */
button.loading {
  cursor: not-allowed;
  opacity: 0.7;
  position: relative;
}

button.loading::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 20px;
  height: 20px;
  border: 3px solid #fff;
  border-top: 3px solid #888;
  border-radius: 50%;
  animation: spin 1s linear infinite;
  transform: translate(-50%, -50%);
}

.loading-spinner {
  display: block; /* Initially hide the loading spinner */
  position: relative;
  width: 40px;
  height: 40px;
}

.loading-spinner::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 20px;
  height: 20px;
  border: 3px solid #fff;
  border-top: 3px solid #888;
  border-radius: 50%;
  animation: spin 1s linear infinite;
  transform: translate(-50%, -50%);
}
.spinner {
  border: 5px solid #f3f3f3; /* Light grey */
  border-top: 5px solid #2b66fb; /* Blue */
  border-radius: 50%;
  width: 70px;
  height: 70px;
  animation: spin_other 2s linear infinite;
}

@keyframes spin {
  0% {
    transform: translate(-50%, -50%) rotate(0deg);
  }
  100% {
    transform: translate(-50%, -50%) rotate(360deg);
  }
}
@keyframes spin_other {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

html {
  scroll-behavior: smooth;
}

.bg-\[\#00B0F0\]{
  background: #00B0F0;
}

@keyframes ring {
  0% { transform: rotate(0deg); }
  10% { transform: rotate(10deg); }
  20% { transform: rotate(-10deg); }
  30% { transform: rotate(8deg); }
  40% { transform: rotate(-8deg); }
  50% { transform: rotate(6deg); }
  60% { transform: rotate(-6deg); }
  70% { transform: rotate(4deg); }
  80% { transform: rotate(-4deg); }
  90% { transform: rotate(2deg); }
  100% { transform: rotate(0deg); }
}

.bell {
  display: inline-block;
  animation: ring 2s ease-in-out infinite;
  transform-origin: top center;
}


.box-shadow-profile{
  box-shadow: 0px 10px 40px 0px rgba(255, 90, 0, 0.15);
}


/*popup*/
.css-1272naz {
  position: absolute;
  inset: 0px;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: -1000;
}

.css-1re3jd4 {
  z-index: 2000;
  display: flex;
  position: relative;
  -webkit-box-align: center;
  align-items: center;
  -webkit-box-pack: center;
  justify-content: center;
}
.css-1vqwujl {
  z-index: 1060;
  position: absolute;
  top: -35px;
  right: -35px;
  background: rgb(255, 255, 255);
  border-radius: 50%;
  width: 30px;
  height: 30px;
  display: flex;
  -webkit-box-pack: center;
  justify-content: center;
  -webkit-box-align: center;
  align-items: center;
  cursor: pointer;
}
.css-587jha {
  color: unset;
  -webkit-text-decoration: unset;
  text-decoration: unset;
}

.css-k6vk4n {
  position: relative;
  overflow: hidden;
  flex: 1 0 auto;
  display: flex;
  cursor: pointer;
  z-index: 0;
  margin: auto;
  border-radius: 0px;
  padding-bottom: 56%;
  width: 750px;
}
.css-hv3z8f {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  -webkit-transition: -webkit-transform 0.5s;
  transition: transform 0.5s;
  object-fit: contain;
}

@media (max-width: 1024px) {
  .css-k6vk4n {
    padding-bottom: 56%;
    width: 750px;
  }
}
@media (max-width: 820px) {
  .css-k6vk4n {
    padding-bottom: 56%;
    width: 700px;
  }
}

@media (max-width: 768px) {
  .css-k6vk4n {
    padding-bottom: 56%;
    width: 650px;
  }
}

@media (max-width: 480px) {
  .css-k6vk4n {
    padding-bottom: 56%;
    width: 290px;
  }
}
/*end popup*/


.giai-thuong {
  background-image: url("../images/1920_phao-giay.png");
  background-repeat: no-repeat;
  background-size: 100%;
}

.banner-section .slick-arrow{
  z-index: 111;
  border-radius: 1000px;
  background: var(--FFFFFF, #fff);
  box-shadow: 0px 4px 10px 0px rgba(0, 0, 0, 0.15);
  width: 60px;
  height: 60px;
  color: #000;
}

.banner-section .slick-arrow.slick-next {
  right: 40px;
}
.banner-section .slick-arrow.slick-next:before {
  content: "";
  background-image: url("../images/arrow_forward.svg");
  width: 24px;
  height: 24px;
  display: block;
  margin: auto;
  z-index: 111;
}
.banner-section .slick-arrow.slick-prev {
  left: 40px;
}
.banner-section .slick-arrow.slick-prev:before {
  content: "";
  background-image: url("../images/arrow_forward.svg");
  width: 24px;
  height: 24px;
  display: block;
  margin: auto;
  z-index: 111;
  transform: rotate(180deg);
}

.banner-section.slick-dotted.slick-slider{
  margin-bottom: unset;
}
.banner-section .slick-dots {
  bottom: 7px;
}
.banner-section .slick-dots li button{
  font-size: 0;
  line-height: 0;
  display: block;
  padding: 5px;
  cursor: pointer;
  color: transparent;
  border: 0;
  outline: none;
  overflow: hidden;
  border-radius: 50%;
  width: 16px;
  height: 16px;
  background-color: rgba(0, 0, 0, 0);
  box-shadow: inset 0 0 0 2px rgb(255, 255, 255);
  -webkit-transition: background 0.3s ease;
  transition: background 0.3s ease;
  position: absolute;
}
.banner-section .slick-dots li.slick-active button:before{
  content: ' ';
  position: absolute;
  bottom: 0;
  height: 20px;
  opacity: 1;
  left: 0;
  width: 100%;
  background-color: rgb(255, 255, 255);
  box-shadow: 0 0 1px rgb(255, 255, 255);
  -webkit-transition: height 0.3s ease;
  transition: height 0.3s ease;
}
