.event {
  padding-top: 250px;
  position: relative;
}
.event-deco1 {
  width: 391.063px;
  height: 341.214px;
  position: absolute;
  top: 0;
  left: 0;
  object-fit: cover;
  pointer-events: none;
}
.event-deco2 {
  position: absolute;
  top: 0;
  right: 0;
  pointer-events: none;
}
.event-title {
  width: 100%;
  display: flex;
  align-items: end;
  justify-content: center;
  gap: 12px;
}
.event-title p {
  color: var(--color-text, #2f1b08);
  text-align: center;
  font-family: "Baloo 2";
  font-size: 40px;
  font-style: normal;
  font-weight: 700;
  line-height: normal;
  text-transform: uppercase;
}
.event-title img {
  width: 256.739px;
  height: 150.393px;
}
.event-desc {
  color: var(--color-text, #2f1b08);
  text-align: center;
  font-family: "Baloo 2";
  font-size: 18px;
  font-style: normal;
  font-weight: 400;
  line-height: 24px;
  margin-top: 14px;
  margin-bottom: 40px;
}
.dateeventswiper {
  width: 100%;
}
/*  */
.event-noti {
  width: 100%;
  min-height: 540px;
  background: linear-gradient(236deg, #683f19 30.01%, #94551a 86.08%);
  border: 4px solid var(--pri, #fbae17);
  border-radius: 20px;
  padding: 40px;
  position: relative;
  display: flex;
  gap: 40px;
}
.event-noti-img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.event-noti-content {
  width: 480px;
  position: relative;
  z-index: 10;
  flex-shrink: 0;
  display: flex;
  height: auto;
  flex-direction: column;
}
.event-noti-content-title {
  color: #fff;
  font-family: "Baloo 2";
  font-size: 40px;
  font-style: normal;
  font-weight: 600;
  line-height: normal;
  margin-bottom: 8px;
}
.event-noti-content-desc {
  color: #fff;
  font-family: "Baloo 2";
  font-size: 16px;
  font-style: normal;
  font-weight: 400;
  line-height: 26px;
  margin-bottom: 40px;
}
.event-animation {
  display: flex;
  width: 100%;
  height: 396px;
  align-items: center;
  overflow: hidden;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: auto;
}
.event-animation-img-daudau {
  position: relative;
  z-index: 10;
  width: 305.263px;
  height: 380px;
  transform: translateX(-177px) translateY(-50px);
  animation: moveLoop 10s ease infinite;
}

@keyframes moveLoop {
  0% {
    transform: translate(-177px, -75px);
  }

  30% {
    transform: translate(0, 0);
  }

  100% {
    transform: translate(0, 0);
  }
}
.event-animation-img-sao {
  position: absolute;
}
.event-animation-img-saov2 {
  position: absolute;
}
.event-animation-img-layer {
  position: absolute;
}
@keyframes burstTopLeft {
  0% {
    left: 0;
    top: 0px;
  }
  10% {
    left: -10px;
    top: 50px;
  }
  30% {
    left: 20px;
    top: 20px;
  }
  100% {
    left: 20px;
    top: 20px;
  }
}

@keyframes burstTopRight {
  0% {
    left: 0%;
    top: 70px;
  }
  30% {
    left: 80%;
    top: 20px;
  }
  100% {
    left: 80%;
    top: 20px;
  }
}

@keyframes burstBottomRight {
  0% {
    left: 0%;
    bottom: 120px;
  }
  30% {
    left: 20px;
    bottom: 20px;
  }
  100% {
    left: 20px;
    bottom: 20px;
  }
}
/* góc trái trên */
.icon-1 {
  animation: burstTopLeft 10s ease infinite;
}

/* góc phải trên */
.icon-2 {
  animation: burstBottomRight 10s ease infinite;
}

/* góc phải dưới */
.icon-3 {
  animation: burstTopRight 10s ease infinite;
}

.event-noti-tablet {
  flex: 1 0 0;
  max-width: calc(100% - 480px - 40px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 460px;
  background: #f5f2eb;
  position: relative;
  z-index: 10;
  padding: 20px;
}
.event-noti-tablet-icon {
  width: 175.676px;
  height: 188px;
  box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.08);
}
.event-noti-tablet-title {
  margin-top: 28px;
  color: #af9e8d;
  font-family: "Baloo 2";
  font-size: 20px;
  font-style: normal;
  font-weight: 600;
  line-height: normal;
  text-transform: uppercase;
}
.event-noti-tablet-desc {
  color: #af9e8d;
  text-align: right;
  font-family: "Baloo 2";
  font-size: 16px;
  font-style: normal;
  font-weight: 500;
  line-height: normal;
}
.event-noti-item {
  display: flex;
  flex-direction: column;
  align-items: start;
}
/*  */
.eventorganized {
  padding-top: 40px;
  padding-bottom: 63px;
}
.eventorganized-title {
  display: flex;
  align-items: center;
  gap: 20px;
  color: var(--color-text, #2f1b08);
  text-align: center;
  font-family: "Baloo 2";
  font-size: 40px;
  font-style: normal;
  font-weight: 700;
  line-height: normal;
}
.eventorganized-title-line {
  flex: 1 0 0;
  height: 1px;
  background: rgba(104, 63, 25, 0.4);
}
.eventorganized-list {
  display: flex;
  flex-direction: column;
  gap: 40px;
  margin-top: 60px;
}
.eventorganized-item {
  display: flex;
  gap: 83px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(58, 42, 26, 0.12);
}
.eventorganized-date-year {
  color: rgba(58, 42, 26, 0.6);
  font-family: "Baloo 2";
  font-size: 20px;
  font-style: normal;
  font-weight: 500;
  line-height: normal;
}
.eventorganized-date-day {
  color: var(--color-text, #2f1b08);
  text-align: center;
  font-family: "Baloo 2";
  font-size: 44px;
  font-style: normal;
  font-weight: 700;
  line-height: normal;
}
.eventorganized-item-img {
  width: 520px;
  height: 320px;
  object-fit: cover;
}
.eventorganized-item-content {
  flex: 1 0 0;
}
.eventorganized-content-title {
  color: #000;
  font-family: "Baloo 2";
  font-size: 24px;
  font-style: normal;
  font-weight: 700;
  line-height: 32px; /* 133.333% */
  margin-bottom: 16px;
}
.eventorganized-content-desc {
  color: var(--color-text, #2f1b08);
  font-family: "Baloo 2";
  font-size: 16px;
  font-style: normal;
  font-weight: 500;
  line-height: 24px; /* 150% */
  margin-bottom: 24px;
}
.eventorganized-content-detail {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 140px;
  height: 40px;
  border-radius: 46px;
  border: 1px solid #f2a716;
  background: var(--pri, #fbae17);
  color: #fff;
  text-align: center;
  font-family: "Baloo 2";
  font-size: 18px;
  font-style: normal;
  font-weight: 600;
  line-height: 32px; /* 177.778% */
}
.event-noti-item .eventorganized-item-img {
  width: 100%;
}
.event-noti-item .eventorganized-item-content {
  margin-top: 40px;
}
/* ===================== TABLET (max-width: 1024px) ===================== */
@media (max-width: 1024px) {
  .event {
    padding-top: 160px;
  }
  .event-deco1 {
    width: 260px;
    height: auto;
  }
  .event-title p {
    font-size: 32px;
  }
  .event-title img {
    width: 180px;
    height: auto;
  }

  /* noti */
  .event-noti {
    height: auto;
    flex-direction: column;
    padding: 32px;
    gap: 24px;
  }
  .event-noti-content {
    width: 100%;
  }
  .event-noti-content-title {
    font-size: 32px;
  }
  .event-noti-content-desc {
    margin-bottom: 24px;
  }
  .event-animation {
    width: 100%;
    height: 220px;
  }
  .event-noti-tablet {
    flex: unset;
  }

  /* eventorganized */
  .eventorganized-title {
    font-size: 32px;
  }
  .eventorganized-item {
    gap: 40px;
  }
  .eventorganized-item-img {
    width: 340px;
    height: 240px;
  }
  .eventorganized-content-title {
    font-size: 20px;
    line-height: 28px;
  }
}

/* ===================== MOBILE (max-width: 768px) ===================== */
@media (max-width: 768px) {
  .event {
    padding-top: 100px;
  }
  .event-deco1 {
    width: 160px;
    height: auto;
  }
  .event-deco2 {
    width: 120px;
    height: auto;
  }
  .event-title {
    flex-direction: column;
    align-items: center;
    gap: 8px;
  }
  .event-title p {
    font-size: 24px;
  }
  .event-title img {
    width: 140px;
    height: auto;
  }
  .event-desc {
    font-size: 15px;
    margin-bottom: 28px;
  }

  /* noti */
  .event-noti {
    padding: 20px;
    border-radius: 14px;
    gap: 20px;
  }
  .event-noti-content-title {
    font-size: 24px;
  }
  .event-noti-content-desc {
    font-size: 14px;
    line-height: 22px;
    margin-bottom: 20px;
  }
  .event-animation {
    width: 100%;
    height: 180px;
  }
  .event-animation-img-daudau {
    width: 160px;
    height: auto;
  }

  /* eventorganized */
  .eventorganized {
    padding-top: 32px;
    padding-bottom: 40px;
  }
  .eventorganized-title {
    font-size: 22px;
    gap: 12px;
    padding: 0 16px;
  }
  .eventorganized-list {
    margin-top: 32px;
    gap: 32px;
    padding: 0 16px;
  }
  .eventorganized-item {
    flex-direction: column;
    gap: 16px;
    padding-bottom: 32px;
  }
  .eventorganized-date {
    display: flex;
    align-items: baseline;
    gap: 10px;
  }
  .eventorganized-date-year {
    font-size: 16px;
  }
  .eventorganized-date-day {
    font-size: 32px;
  }
  .eventorganized-item-img {
    width: 100%;
    height: 220px;
  }
  .eventorganized-content-title {
    font-size: 18px;
    line-height: 26px;
    margin-bottom: 12px;
  }
  .eventorganized-content-desc {
    font-size: 14px;
    line-height: 22px;
    margin-bottom: 16px;
  }
  .eventorganized-content-detail {
    font-size: 16px;
    width: 130px;
    height: 38px;
  }
}
