:root {
  --main-color: #abc3ff;
  --secondary-color: #e7e964;
  --text-main-color: #ffffff;
}

.main-bg-color {
  background-color: #e7e964;
}

.secondary-bg-color {
  background-color: #abc3ff;
}

.main-color {
  color: #604ae5;
}

p {
  font-size: 1vw;
}

.title {
  font-size: 2vw;
}

.secondary-title,
.oid-text-title-main {
  font-size: 1.2vw;
}
.third-title {
  font-size: 1vw;
}

.intro-title,
.oid-text-title {
  font-size: 1.5vw;
}

.content {
  top: 0;
  left: 14.45vw;
}

.content,
.content .oid-d-flex {
  height: 100%;
}

.content img {
  width: 28%;
}

.timeline {
  width: 25%;
}

.line {
  height: 0.5vw;
}

a.oid-rounded-btn {
  padding: 0.2em 1em;
  border-radius: 0.5em;
  /* border: 0.01rem solid black; */
  font-size: 1.8vw;
}

a.tnc:hover {
  color: #ffffff;
}

.oid-set {
  background-color: var(--main-color);
}

.oid-set > a {
  color: var(--text-main-color);
}

textarea.textarea {
  margin-top: 1em;
  width: 97%;
  height: 0.8rem;
  resize: none;
  line-height: 2;
  background: transparent;
  z-index: 1;
  overflow-y: auto;
  border: 0.01rem solid #ccc;
  padding: 1em;
}

/* Border Baris Styling */
.line-border {
  position: absolute;
  top: 10px; /* Menyesuaikan posisi untuk padding */
  /* left: 10px; */
  width: 100%;
  height: calc(100% - 10px);
  pointer-events: none;
}

.line-border::after,
.line-border.double::before {
  content: '';
  position: absolute;
  left: 0;
  width: 100%;
  border-top: 0.01rem solid #ccc;
  pointer-events: none;
}

/* Border untuk Baris 1 */
.line-border::after {
  top: 34%; /* Baris pertama */
}

/* Border untuk Baris 2 */
.line-border.double::before {
  top: 65%; /* Baris kedua */
}

.timeline.down {
  padding-top: 4%;
}

.join-benefit {
  width: 22%;
  height: 15vw;
  align-items: center;
}

.book-desc {
  top: 9vw;
}

.phone-desc {
  top: 9vw;
}

.gumbal-desc {
  top: 9vw;
}

.heart-desc {
  top: 9vw;
}

.roles {
  height: 100%;
  margin-left: 2vw;
  margin-right: 2vw;
}

.roles > img {
  border: 12px solid #ddf344;
  border-radius: 50%;
}

.new-story {
  width: 20vw;
}

.new-story > div {
  height: 100%;
  justify-content: flex-end;
}

.movie-board-desc {
  bottom: 0vw;
}

.pen-desc {
  bottom: 0vw;
}

.envelopee-desc {
  bottom: 1.5vw;
}

#form .oid-container {
  width: 61vw;
  padding-left: 10em;
  padding-right: 10em;
}

select option.hidden {
  color: #a7aaaa;
}
#submission input[type='radio']#tnc_submit,
#submission input[type='radio']#tnc_join {
  margin-top: 0.5em;
}

#submission input[type='radio']:checked,
#submission input[type='checkbox']:checked {
  display: inline-block;
  background-color: #000;
}

.w-25em {
  width: 25em;
}

.gap-select {
  column-gap: 2.5em;
}

.oid-submit-btn {
  text-decoration: none !important;
  /* font-family: oppo-medium; */
  padding: 0.7em 2.5em;
  text-align: center;
  transition: 0.5s;
  color: #000;
  font-size: 1em;
  border: 0px solid black;
  border-radius: 5em;
  z-index: 1;
}

.oid-btn-purple {
  background-color: #604ae5;
  border: 1px solid #604ae5;
}

.accordion-item {
  border-bottom: 1px solid #ddd;
}

.accordion-button {
  background: none;
  border: none;
  padding: 15px;
  width: 100%;
  text-align: left;
  font-size: 16px;
  cursor: pointer;
  outline: none;
  transition: background 0.3s ease;
}

.accordion-button:hover {
  background-color: #f0f0f0;
}

.accordion-button.active {
  background-color: #f9f9f9;
}

.accordion-content {
  padding: 0 15px;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.accordion-content p {
  margin: 15px 0;
}

#interestOtherText {
  padding: 0 !important;
  padding-left: 0.5em !important;
}

.interest {
  width: 65%;
}

/* .select2-container--open:has(#select2-major-results) {
  left: 45vw !important;
} */

.domicile,
.univ {
  gap: 2em;
}

#wrapper {
  display: inline-block;
  width: 100%;
  max-height: 5em;
  /* border-bottom: 1px solid gray; */
  overflow: auto;
}
#paper {
  min-height: 1.5em;
  line-height: 1.4em;
  vertical-align: bottom;
  background-size: 1px 1em;
  background-repeat: repeat;
  background-position: 0 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1 1em'%3E%3Crect id='background' height='1em' width='1' y='0' x='0' fill='transparent'/%3E %3Cline id='underline' y2='1em' x2='0' y1='1em' x1='1' stroke='%23999999' fill='none'/%3E %3C/svg%3E");
}

/* #paper:empty {
  border-bottom: 0.01rem solid #ccc;
  line-height: 0em;
  padding-top: 0.7em;
  height: 2em;
} */

[contenteditable='true']:empty:before {
  content: attr(placeholder);
  color: #999999;
}

[contenteditable] {
  outline: 0px solid transparent;
}

@media (max-width: 500px) {
  .oid-sec-title-position {
    top: 85% !important;
    right: 50% !important;
    text-align: left !important;
    font-size: 3vw !important;
  }
  .oid-width-100m {
    width: 100% !important;
  }
  .desc-title-banner-position {
    padding-left: 15%;
  }
  .card-ambassador {
    padding: 5px;
    width: 20% !important;
  }
  .ambassador-image {
    width: 50px !important;
    height: 50px !important;
  }
  .ambassador-name-text {
    font-size: 0.5em;
  }
  .secondary-title {
    font-size: 4vw;
    /* font-weight: bold; */
  }
  .third-title {
    font-size: 3vw;
  }
  .content img.kv-top-img {
    width: 100%;
  }

  .content img {
    width: 70%;
  }

  .content {
    /* top: 14vw; */
    left: 0;
  }

  .oid-text-title {
    font-size: 4.7vw;
  }

  .oid-text-title-main {
    font-size: 5.3vw;
  }

  .oid-text-header-xs {
    font-size: 7.5vw;
  }

  .line {
    height: 17vh;
    width: 3.2vw;
  }

  .timeline.down {
    padding-top: 0vw;
  }

  .book-desc,
  .phone-desc {
    top: 53%;
  }

  .gumbal-desc,
  .heart-desc {
    top: 55%;
  }

  .oid-h-25xs {
    height: 25vh;
  }

  .oid-h-35xs {
    height: 35vh;
    margin-bottom: 10%;
  }

  .oid-text-subtitle-xs {
    font-size: 3.5vw;
  }

  .movie-board-desc {
    bottom: -11%;
  }

  .pen-desc {
    bottom: -13%;
  }

  .envelopee-desc {
    bottom: 2%;
  }
  #form .oid-container {
    position: relative;
    width: 13.3rem;
    height: 100%;
    margin: 0 auto;
    padding: 0em;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-pack: justify;
    justify-content: space-between;
  }

  .oid-container .form {
    background-color: #f1f3f5;
    border-radius: 0rem;
    padding: 0.5rem 8vw;
  }

  details summary:not(.no-content):after {
    content: '';
    width: 4vw !important;
    height: 3.5vw !important;
  }

  textarea.textarea {
    width: 89% !important;
  }

  /* Border untuk Baris 1 */
  .line-border::after {
    top: 45%; /* Baris pertama */
  }

  /* Border untuk Baris 2 */
  .line-border.double::before {
    top: 90%; /* Baris kedua */
  }

  .w-44 {
    width: 39vw;
  }

  span.select2-dropdown--above,
  span.select2-dropdown--below {
    width: 60vw !important;
  }

  .select2-container--open:has(#select2-major-results) {
    left: 35vw !important;
  }

  .domicile,
  .univ {
    gap: unset !important;
  }

  a#tnc {
    font-size: 3.8vw;
  }
}

@media (min-width: 501px) and (max-width: 767.98px) {
  #desktop-size {
    display: none !important;
  }
  .oid-sec-title-position {
    top: 85% !important;
    right: 50% !important;
    text-align: left !important;
    font-size: 3vw !important;
  }
  .card-ambassador {
    padding: 10px !important;
    max-width: 15%;
  }
  .ambassador-image {
    width: 100px !important;
    height: 100px !important;
  }

  #fold-size {
    display: block !important;
  }

  #mobile-size {
    display: block !important;
  }

  .secondary-title {
    font-size: 2.5vw;
    /* font-weight: bold; */
  }
  .third-title {
    font-size: 2.5vw;
  }

  .content img.kv-top-img {
    width: 100%;
  }

  .content img {
    width: 70%;
  }

  .content {
    /* top: 14vw; */
    left: 0;
  }

  .oid-text-title {
    font-size: 4.7vw;
  }

  .oid-text-title-main {
    font-size: 1.8vw;
  }

  .oid-text-header-xs {
    font-size: 6.5vw;
  }

  .line {
    height: 25vh;
    width: 2.8vw;
  }

  .timeline.down {
    padding-top: 0vw;
  }

  .book-desc {
    top: 52%;
  }

  .phone-desc,
  .gumbal-desc,
  .heart-desc {
    top: 53%;
  }

  .oid-h-25xs {
    height: 25vh;
  }

  .oid-h-35xs {
    height: 35vh;
    margin-bottom: 20%;
  }

  .oid-text-subtitle-xs {
    font-size: 3.5vw;
  }

  .movie-board-desc,
  .pen-desc {
    bottom: -11%;
  }

  .envelopee-desc {
    bottom: 2%;
  }
  #form .oid-container {
    position: relative;
    width: 13.3rem;
    height: 100%;
    margin: 0 auto;
    padding: 0em;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-pack: justify;
    justify-content: space-between;
  }

  .oid-container .form {
    background-color: #f1f3f5;
    border-radius: 0rem;
    padding: 0.5rem 8vw;
  }

  details summary:not(.no-content):after {
    content: '';
    width: 3vw !important;
    height: 2.5vw !important;
  }

  .line-border::after {
    top: 18%; /* Baris pertama */
  }

  /* Border untuk Baris 2 */
  .line-border.double::before {
    top: 38%; /* Baris kedua */
  }

  textarea.textarea {
    width: 94% !important;
  }

  /* Border untuk Baris 1 */
  .line-border::after {
    top: 32%; /* Baris pertama */
  }

  /* Border untuk Baris 2 */
  .line-border.double::before {
    top: 70%; /* Baris kedua */
  }

  .w-44 {
    width: 40vw;
  }

  span.select2-dropdown--above,
  span.select2-dropdown--below {
    width: 40vw !important;
  }

  .domicile,
  .univ {
    gap: unset !important;
  }

  a#tnc {
    font-size: 3.8vw;
  }

  .oid-w-100-tablet {
    width: 100% !important;
  }
}

@media (min-width: 768px) and (max-width: 1023.98px) {
  #desktop-size {
    display: block;
  }

  #mobile-size {
    display: none;
  }
  .ambassador-image {
    width: 50px !important;
    height: 50px !important;
  }

  .secondary-title {
    font-size: 1.7vw;
    /* font-weight: bold; */
  }
  .card-ambassador {
    padding: 10px;
    max-width: 50%;
  }
  .third-title {
    font-size: 1.2vw;
  }

  .content img.kv-top-img {
    width: 100%;
  }

  .content img {
    width: 30%;
  }

  .content {
    /* top: 14vw; */
    left: 0;
  }

  .oid-text-title {
    font-size: 2.7vw;
  }

  .oid-text-title-main {
    font-size: 2.1vw;
  }

  .oid-text-header-xs {
    font-size: 3vw;
  }

  .line {
    height: 1vh;
    /* width: 2.8vw; */
  }

  .timeline.down {
    padding-top: 4%;
  }

  .book-desc {
    top: 52%;
  }

  .phone-desc,
  .gumbal-desc,
  .heart-desc {
    top: 53%;
  }

  .oid-h-25xs {
    height: 100%;
  }

  .oid-h-35xs {
    height: 13vw;
    /* margin-bottom: 20%; */
  }

  .oid-text-subtitle-xs {
    font-size: 3.5vw;
  }

  .movie-board-desc {
    bottom: -11%;
  }

  .pen-desc {
    bottom: -12%;
  }

  .envelopee-desc {
    bottom: 3%;
  }
  #form .oid-container {
    position: relative;
    width: 100%;
    height: 100%;
    margin: 0 auto;
    padding: 0em;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-pack: justify;
    justify-content: space-between;
  }

  #oid-pad-sub {
    width: 85%;
  }

  .oid-container .form {
    background-color: #f1f3f5;
    border-radius: 0rem;
    padding: 0.5rem 0vw;
  }

  details summary:not(.no-content):after {
    content: '';
    width: 2vw !important;
    height: 2vw !important;
  }

  .interest {
    width: 85%;
  }

  .w-44 {
    width: 40vw !important;
  }

  span.select2-dropdown--above,
  span.select2-dropdown--below {
    width: 36vw !important;
  }

  textarea.textarea {
    width: 94% !important;
  }
}

@media (min-width: 1024px) and (max-width: 1439.98px) {
  #desktop-size {
    display: block;
  }
  .left-section img {
    max-width: 300px;
  }

  #mobile-size {
    display: none;
  }

  .content img {
    width: 32%;
  }

  .join-benefit {
    height: 17.5vw;
  }

  .secondary-title {
    font-size: 1.55vw;
  }

  .interest {
    width: 90%;
  }

  #form .oid-container {
    width: 75vw;
    padding-left: 6em;
    padding-right: 6em;
  }

  textarea.textarea {
    width: 96.5% !important;
  }

  .timeline.down {
    padding-top: 3.7vw;
  }

  .movie-board-desc {
    bottom: -2vw;
  }

  .pen-desc {
    bottom: -2vw;
  }

  .envelopee-desc {
    bottom: -0.5vw;
  }
}

@media (min-width: 1440px) and (max-width: 1599.98px) {
  #desktop-size {
    display: block;
  }

  #mobile-size {
    display: none;
  }
  .left-section img {
    max-width: 300px;
  }
  .content img {
    width: 32%;
  }

  .join-benefit {
    height: 17.5vw;
  }

  .join-benefit > img {
    width: 12vw;
  }

  .secondary-title {
    font-size: 1.6vw;
  }

  .interest {
    width: 75%;
  }
}

@media (min-width: 1600px) {
  #desktop-size {
    display: block;
  }

  #mobile-size {
    display: none;
  }
  .left-section img {
    max-width: 300px;
  }

  .oid-container {
    width: 70vw !important;
  }

  .join-benefit > img {
    width: 70%;
  }

  .book-desc,
  .phone-desc,
  .gumbal-desc,
  .heart-desc {
    top: 8vw;
  }

  .movie-board-desc {
    bottom: 0.5vw;
  }

  .pen-desc {
    bottom: 0.5vw;
  }

  .envelopee-desc {
    bottom: 1.5vw;
  }

  details summary:not(.no-content):after {
    width: 1vw !important;
    height: 1vw !important;
  }

  .third-title {
    font-size: 0.8vw;
  }
}

details[open] summary ~ * {
  animation: open 0.3s ease-in-out;
}

@keyframes open {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}
details summary::-webkit-details-marker {
  display: none;
}

details {
  padding-top: 1.5em;
  padding-bottom: 0;
  border-bottom: 1px solid gray;
}

details[open] {
  padding-top: 0;
  padding-bottom: 0;
  border-bottom: 0;
}

details:has(+ details[open]) {
  border-bottom: 0;
}

details summary {
  list-style: none;
  display: flex;
  align-items: center;
  padding: 10px;
  font-weight: bold;
}

details summary:not(.no-content) {
  cursor: pointer;
}

details summary:not(.no-content):after {
  content: '';
  width: 1.3vw;
  height: 1.3vw;
  background: url('https://cdn.oppomobile.id/assets/event/campus-ambassador/img/arrow-button.svg')
    no-repeat;
  background-size: cover;
  transition: 0.2s;
}

details[open] summary:not(.no-content):after {
  transform: rotate(180deg);
}

details[open] summary:not(.no-content) {
  background-color: var(--main-color);
  border: 1px solid black;
  padding-top: 1.5em;
  padding-bottom: 1.5em;
  color: #f9f9f9;
}

details[open] summary:not(.no-content) {
  border-top: 1px solid black;
}

details[open]:not(.running-jersey, .finisher-jersey) summary {
  border-bottom: 0 !important;
}

details[open] .desc {
  padding-left: 2vw;
  padding-right: 2vw;
  /* background-color: rgb(252, 200, 238); */
  border: 1px solid black;
  /* border-bottom: 0; */
}
.custom-nav .owl-prev,
.custom-nav .owl-next {
  position: absolute;
  top: 50%;
  -ms-transform: translateY(-50%);
  transform: translateY(-50%);
  background: #fff;
  border: 0;
  border-radius: 50%;
  width: 0.4rem;
  height: 0.4rem;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-pack: center;
  justify-content: center;
  -ms-flex-align: center;
  align-items: center;
  cursor: pointer;
}

/* Left Section */
.left-section img {
  /*max-width: 300px;*/
  border-radius: 10px;
  box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
}

/* Right Section */
.right-section {
  display: grid;
  grid-template-rows: repeat(2, auto);
  gap: 10px;
}

.row {
  display: flex;
  gap: 10px;
}

.row-video {
  gap: 30px;
}

.row img {
  max-width: 150px;
  border-radius: 10px;
  box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
}

.oid-justify-around {
  justify-content: space-around;
}

.card-ambassador {
  background-color: #e7e7e7;
  padding: 10px;
  border-radius: 10px;
  width: 120px;
}
.circle-image {
  border-radius: 50%; /* Membuat bentuk lingkaran */
  overflow: hidden; /* Memotong gambar di luar lingkaran */
  display: flex; /* Agar konten di dalamnya terpusat */
  align-items: center; /* Memusatkan vertikal */
  justify-content: center; /* Memusatkan horizontal */
  aspect-ratio: 1/1;
}

.circle-image img {
  width: 100%; /* Memenuhi lingkaran tanpa distorsi */
  height: 100%; /* Memenuhi lingkaran tanpa distorsi */
  object-fit: cover; /* Memastikan gambar dipotong sesuai lingkaran */
  object-position: center; /* Memusatkan gambar dalam lingkaran */
}

.right-section {
  width: 100%;
  margin: 0 auto;
}

.row {
  display: flex;
  gap: 20px;
}

.instagram-media {
  width: 140px; /* Set fixed width to 140px */
  height: auto; /* Let the height scale automatically based on aspect ratio */
}
.oid-relative {
  position: relative;
}
.oid-button-vid-wrapper {
  position: absolute;
  top: 85%;
  left: 50%;
  transform: translate(-50%, -50%);
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 100%;
  pointer-events: none; /* Menghindari button menyentuh area luar */
}

.oid-vid-btn {
  text-decoration: none !important;
  padding: 1em 1.2em;
  text-align: center;
  transition: 0.5s;
  color: #fff;
  font-size: 1em;
  font-weight: bold;
  border: 0;
  border-radius: 25px;
  z-index: 1;
}

.oid-vid-btn-gradient {
  background-image: linear-gradient(to right, #000, #000);
}
.ambassador-image {
  width: 80px;
  height: 80px;
}

.oid-border-rounded {
  border-radius: 8px;
}
.campus-text {
  font-size: 0.8vw;
}
.button-video-title {
  display: inline-block; /* For proper button styling */
  padding: 8px 16px; /* Adjust padding for size */
  font-size: 16px; /* Text size */
  font-weight: bold; /* Bold text */
  color: black; /* Text color */
  text-align: center; /* Center text */
  border: 1px solid #010101; /* Blue border */
  border-radius: 50px; /* Rounded edges */
  background-color: white; /* White background */
  cursor: pointer; /* Pointer cursor on hover */
  transition: all 0.3s ease; /* Smooth hover effect */
}

.active-video-title {
  border: 2px solid #604ae5 !important; /* Blue border */
}
.desc-title-banner-position {
  padding-left: 15%;
}
.show-more-btn,
.show-less-btn {
  text-decoration: none !important;
  padding: 1em 1.2em;
  text-align: center;
  transition: 0.5s;
  color: #fff;
  font-size: 1em;
  font-weight: bold;
  border: 0;
  border-radius: 25px;
  z-index: 1;
  background-image: linear-gradient(to right, #000, #000);
}
/* Create a circular spinner */
.loader {
  border: 8px solid #f3f3f3; /* Light grey background */
  border-top: 8px solid #604ae5; /* Blue color for the spinner */
  border-radius: 50%; /* Make it circular */
  width: 50px;
  height: 50px;
  animation: spin 1s linear infinite; /* Animation for spinning */
}

/* Keyframes for the spinning effect */
@keyframes spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

.oid-gap-1 {
  gap: 1vw;
}

.image-review {
  width: 20vw;
}
.height-max-content {
  height: max-content;
}
.oid-text-white {
  color: #fff;
}
.oid-sec-title-position {
  top: 50%;
  right: 10%;
}
.oid-align-items-baseline {
  align-items: baseline;
}
