*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
@font-face {
  font-family: "chopinscript";
  src: url(../fonts/CHOPINSCRIPT.TTF);
}

@font-face {
  font-family: "dearest";
  src: url(../fonts/DEAREST.NORMAL.TTF);
}

html {
  scroll-behavior: smooth;
  scrollbar-width: 0;
  font-family: dearest;
}

body {
  --note-color: rgb(255, 121, 121);
  background: var(--background);
  color: var(--text-color);
  font-family: dearest;
}

body[data-theme="light"] {
  --note-color: rgb(255, 0, 0);
}

.apply-container .note {
  font-size: 15px;
  line-height: 1.3;
  color: var(--note-color);
  letter-spacing: 1px;
  font-weight: 500;
  /* text-transform: capitalize; */
  text-align: center;
  margin-top: 2rem;
  margin: 0;
}
.apply-container .note::before {
  content: "";
}
.main__content {
  width: clamp(400px, 100%, 960px);
  margin-inline: auto;
  /* font-family: sans-serif; */
  padding: 2rem;
}

.main__content__heading {
  /* margin-top: 2rem; */
  /* text-align: justify; */
  letter-spacing: 3px;
  font-weight: 500;
  font-size: clamp(1.5rem, 4vw, 2rem);
  color: rgb(228, 0, 46);
  /* text-shadow: 0 0 70px rgb(255, 0, 51); */
  filter: contrast(2.5);
  text-align: center;
  flex: 1;
  font-family: chopinscript;
  margin-bottom: 4rem;
}

body[data-theme="light"] .main__content__heading {
  color: rgb(228, 0, 46);
  text-shadow: none;
}

button:hover,
button:focus {
  cursor: pointer;
}

.back-button {
  position: fixed;
  border: none;
  background: rgb(64, 64, 64);
  color: white;
  padding: 6px 10px;
  border-radius: 6px;
  top: 30px;
  left: 2px;
}

a:has(.back-button) {
  text-decoration: none;
  color: white;
}

@media screen and (min-width: 960px) {
  .back-button {
    position: fixed;
    /* background: green; */
    left: 40px;
  }

  .main__content__header {
    flex-direction: row;
  }

  .main__content__button {
    position: absolute;
    top: -50%;
    transform: translate(0, 50%);
  }
}

@media screen and (min-width: 1260px) {
  .back-button {
    position: fixed;
    /* background: green; */
    /* left: -10%; */
  }
  .main__content__heading {
    /* margin-top: 2rem; */
    /* text-align: justify; */
    letter-spacing: 5px;
    font-weight: 600;
    font-size: clamp(1.5rem, 4vw, 2rem);
    color: rgb(255, 40, 83);
    text-align: center;
    flex: 1;
    font-family: chopinscript;
  }
}

@font-face {
  font-family: "dearest";
  src: url(../fonts/DEAREST.NORMAL.TTF);
}

html {
  scroll-behavior: smooth;
  scrollbar-width: 0;
  font-family: dearest;
}

html::-webkit-scrollbar {
  display: none;
}

/* Nav Bar Ends */

.heading {
  font-size: 1.8rem;
  color: #39bdff;
  /* font-family: "Raleway", sans-serif; */
  text-align: center;
  margin: 1% 0;
  font-weight: normal;
  margin-bottom: 2em;
}

.apply-container {
  display: flex;
  justify-content: flex-end;
  height: fit-content;
  align-items: flex-end;
  flex-direction: column;
  margin-top: 24px;
  gap: 1rem;
}

.apply__button__container {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 1rem;
}

.apply__button__container span {
  font-size: 1.1rem;
  /* font-weight: 800; */
  color: rgb(0, 197, 122);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.apply-now {
  text-decoration: none;
  font-size: 1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 800;
  /* float: right; */
  background: rgb(0, 197, 122);
  /* border: 1px solid mediumspringgreen; */
  box-shadow: inset -5px -5px 5px 0 rgba(255, 255, 255, 0.588),
    5px 5px 15px 0 rgba(0, 0, 0, 0.412), inset 5px 5px 10px rgb(0, 0, 0);
  color: white;
  padding: 6px 24px;
  /* margin-bottom: 50px; */
  border-radius: 4px;
}

.contents {
  display: none;
  background-color: var(--background);
  padding: 1.5rem;
  /* font-family: "Raleway", sans-serif; */
  color: var(--text-color);
  font-size: 1rem;
  line-height: 1.5rem;
  text-align: justify;
}

.accordion {
  max-width: 100%;
  background: var(--text-color);
  margin: 0 auto;
  border-radius: 5px;
  border: 1px solid rgb(177, 177, 177);
  /* padding-block: 24px; */
}
.role {
  color: rgb(49, 197, 255);
  font-size: 16px;
  /* font-family: "Raleway", sans-serif; */
  font-weight: bold;
  border-block: 1px solid #d7d7d7;
  letter-spacing: 0.8px;
  padding: 15px;
  cursor: pointer;
  background: var(--background);
}
.role:hover {
  background: color-mix(in srgb, var(--background) 90%, white);
  border-radius: 0;
}
.role::before {
  content: "";
  vertical-align: middle;
  border-top: 7px solid #777777;
  border-left: 7px solid transparent;
  border-right: 7px solid transparent;
  float: right;
  transform: rotate(0);
  transition: all 0.5s;
  margin-top: 5px;
}
.active.role::before {
  transform: rotate(-180deg);
}
.not-active.role::before {
  transform: rotate(0deg);
}
.file-upload {
  margin-top: 10px;
}

.contents b {
  /* margin-left: 1.2rem; */
  font-size: 0.9rem;
}

.contents p {
  margin-left: 0.8rem;
  font-size: 0.9rem;
}
.contents p::before {
  content: "•";
  margin-right: 0.5rem;
  font-size: 18px;
}

/* .accordion:has(.role.active) .contents{
  display: flex;
} */

@media screen and (max-width: 450px) {
  .nav-bar {
    position: fixed;
    z-index: 1000;
    top: 0;
    padding: 1% 2%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: white;
    width: 100%;
    box-shadow: rgba(72, 72, 72, 0.5) 0px 0px 7px 0px;
  }
  .second-nav {
    position: fixed;
    width: 100%;
    z-index: 1000;
    top: 45px;
    /* background-color: white; */
    padding: 0.1% 2% 0% 2%;
    border-bottom: 1px solid rgb(237, 237, 237);
    background-color: white;
    align-items: center;
  }
  .alert {
    color: red;
    font-size: 0.5rem;
    font-weight: bold;
    padding-right: 2%;
    font-family: dearest;
    letter-spacing: 2px;
    text-align: center;
    padding: 0.3% 0% 0.2% 0%;
    z-index: 1000;
  }
  .logo-wrapper img {
    width: 50%;
  }
  .nav-link {
    text-decoration: none;
    color: black;
    font-size: 0.8rem;
    font-weight: bold;
    font-family: dearest;
    text-align: center;
    letter-spacing: 1px;
  }

  .nav-link:hover {
    color: red;
  }
  body {
    padding-top: 20%;
  }
  .accordion {
    /* max-width: 85%; */
    background: var(--background);
    margin-top: 0px;
    margin-bottom: 3%;
    margin-left: auto;
    margin-right: auto;
    border-radius: 5px;
    border: 1px solid rgb(177, 177, 177);
  }
  .heading {
    font-size: 1.4rem;
    color: var(--text-color);
    /* font-family: "Raleway", sans-serif; */
    text-align: center;
    margin: 1% 0;
    font-weight: normal;
  }

  .contents {
    display: none;
    background-color: var(--background);
    padding: 0.8rem;
    /* font-family: "Raleway", sans-serif; */
    color: vat(--text-color);
    font-size: 1rem;
    line-height: 1.2rem;
  }

  .role {
    color: rgb(47, 196, 255);
    font-size: 0.8rem;
    /* font-family: "Raleway", sans-serif; */
    font-weight: bold;
    border-bottom: 1px solid #d7d7d7;
    letter-spacing: 0.8px;
    padding: 0.8rem;
    cursor: pointer;
  }
}
.metal__button__container {
  position: relative;
  display: flow-root;
  width: fit-content;
  border-radius: 500px;
  /* :fit-content ; */
  isolation: isolate;
}

#metal-button {
  border: none;
  padding: 4px 24px;
  /* outline: 5px solid gray; */
  background: linear-gradient(#131313, #424242);
  /* color: white; */
  /* color: rgb(0, 197, 122); */
  color: rgb(85 255 190);
  /* position: relative; */
  box-shadow: inset 0px 3px 5px rgb(255 255 255 / 80%);
  border-radius: 100px;
  isolation: above;
  /* display: inline-flex; */
  /* z-index: unset; */
  font-size: 16px;
  width: fit-content;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
  /* position: absolute; */
  /* isolation: isolate; */
  z-index: 10;
  font-weight: 800;
}

.metal__button__container::after {
  content: "";
  position: absolute;
  inset: -3px;
  background: linear-gradient(#111 5%, #fff, #111 95%);
  /* background: red; */
  z-index: -1;
  border-radius: inherit;
}
