@font-face {
  font-family: 'INGme';
  src: url('INGMeWeb-Regular.woff') format('woff');
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: 'INGdisplay';
  src: url('INGdisplay-Bold_4001364625.otf') format('opentype');
  font-weight: bold;
  font-style: normal;
}

body {
  font-family: 'INGme', Arial, sans-serif;
  font-size: 16px;
  color: #333;
  margin: 0px;
}

.combo-box {
  display: flex;
  flex-direction: row;
  margin: 20px;
  position: relative;
}

#header {
  background-color: #ff6200;
  color: white;
  padding-left: 80px;
  padding-right: 80px;
  width: calc(50% - 160px);
  padding-top: 16px;
  padding-bottom: 16px;
  border-radius: 8px 0px 0px 8px;
}

.identifier {
  position: absolute;
  width: 80px;
  height: 80px;
  top: 0px;
  left: 0px;
}

.general-info{
  border-radius: 0px 8px 8px 0px;
  border: 1px solid #d9d9d9;
  border-left-width: 0px;
  flex-grow: 2;
  padding: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

h5 {
  font-size: 16px;
  margin: 0px;
  margin-left: 30px;
  margin-right: 30px;
  font-weight: bold;
}

ul {
  margin-top: 4px;
}

@media (max-width: 750px) {
  .combo-box {
    flex-direction: column;
  }
  #header, .general-info {
width: auto;
    }

    #header{
    border-radius: 8px 8px 0 0;
    padding-left: 24px;
    padding-right: 24px;
    padding-top: 80px;
  }
  .general-info {
    border-radius: 0 0 8px 8px;
    border-left-width: 1px;
    border-top-width: 0;
    padding: 24px;
  }
}

#opportunities {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 90vw;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 120px;
  padding-top: 16px;
}

h2 {
  font-size: 36px;
  line-height: 1.22;
  text-align: left;
  width: 100%;
  margin: 32px 0px 16px;
  margin-top: 0px;
  font-family: 'INGdisplay', 'INGme', Arial, sans-serif;
  font-weight: bold;
}

h3 {
  font-size: 27px;
  line-height: 1.22;
  text-align: left;
  width: 100%;
  margin: 0px;
  margin-bottom: 32px;
  font-weight: normal;
}

.checkbox {
  align-self: flex-end;
  margin-right: 16px;
  margin-top: 8px;
  font-size: 20px;
  border: #ff6200 solid 1px;
  border-radius: 8px;
  padding: 7px 15px;
  color: #ff6200;
  display: flex;
  gap: 16px;
  cursor: pointer;
  font-weight: bold;
}

.checkbox:hover {
  background-color: #ff6200;
  color: white;
}
.checkbox.checked:hover {
  background: #e55b00;
}

.checkbox.checked{
  background-color: #ff6200;
  color: white;
}

/* Fix for mobile hover state */
.checkbox:not(.checked):hover {
  background-color: transparent;
  color: #ff6200;
}

.checkbox-icon {
  fill: #ff6200;
  border: #ff6200 solid 1px;
  border-radius: 4px;
  width: 20px;
  height: 20px;
}

.checkbox-icon svg {
  padding: 2px;
  display: none;
}
.checkbox-icon.checked svg {
  display: inline;
}

.checkbox:hover .checkbox-icon {
  fill: white;
  border-color: white;
}

.checkbox:not(.checked):hover  .checkbox-icon {
  fill: #ff6200;
  border: #ff6200 solid 1px;
}

.checkbox-icon.checked {
  fill: white;
  border-color: white;
}

#internshipList {
  position: relative;
  display: flex;
  flex-direction: column;
  width: 90vw;
}

.internship-card {
  margin-bottom: 15px;
  border-radius: 6px;
  position: relative;
  width: 100%;
  padding: 30px;
  box-sizing: border-box;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  gap: 8px;
  background-color: #fff;
  box-shadow: 0 0 0 1px #d9d9d9, 0 2px 0 #d9d9d9;
  cursor: pointer;
  transition: background-color 0.2s;
}

.card-header {
  display: flex;
  justify-content: space-between;
  width: 100%;
}

.card-heading {
  margin: 0px;
  color: #333333;
  font-size: 36px;
  line-height: 1.21;
  letter-spacing: 0.01em;
  margin-bottom: 5px;
  font-weight: 400;
}

.chevron {
  width: 64px;
  height: 64px;
  transition: transform 0.15s ease-in-out;
}

.dot-separated-keywords {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  font-weight: bold;
  color: #333;
  align-content: center;
}

.keyword {
  display: flex;
  align-items: center;
}

.keyword:not(:last-of-type)::after {
  content: '';
  display: inline-flex;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background-color: #ff6200;
  margin-left: 6px;
}

.hidden-details {
  display: flex;
  flex-direction: column;
  gap: 8px;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.15s ease, opacity 0.15s ease;
  opacity: 0;
}

.internship-card.expanded .hidden-details {
  max-height: 5000px;
  /* Large enough to accommodate content */
  opacity: 1;
}

button {
  background: #ff6200;
  color: white;
  padding: 10px 20px;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  margin-top: 10px;
  transition: background 0.3s;
  margin: 16px;
  font-size: 16px;
  font-family: "INGMeWeb-Regular", Arial, sans-serif;
}

button:disabled {
  background: #ccc;
  cursor: not-allowed;
}

button:disabled:hover {
  background: #ccc;
}

.title {
  font-weight: bold;
}

button:hover {
  background: #e55b00;
}

.sticky-buttons {
  position: fixed;
  bottom: 32px;
  left: auto;
  right: auto;
}

#form {
  display: none;
  width: 100%;
  flex-direction: column;
  align-items: center;
  position: relative;
}

#form h3{
  background-color: #ff6200;
  color: white;
  padding: 16px;
  width: calc(100% - 64px);
  margin: 16px;
  text-align: center;
  margin-bottom: 0px;
  border-radius: 8px;
  font-family: 'INGdisplay', 'INGme', Arial, sans-serif;
  font-weight: bold;
}

form {
  margin: 0px;
  ;
  margin-top: 32px;
  width: 90vw;
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: center;
  font-family: "INGMeWeb-Regular", Arial, sans-serif;
}

form label {
  color: rgb(73, 73, 73);
  font-size: 14px;
}

.input-item {
  display: flex;
  flex-direction: column;
  width: 50vw;
  min-width: 300px;
  gap: 4px;
}

form p {
  font-size: 16px;
  margin-bottom: 16px;
  text-align: center;
}

.text-input {
  border: 1px solid #696969;
  color: #333;
  border-radius: 4px;
  cursor: pointer;
  background-color: #fff;
  min-height: 40px;
  box-sizing: border-box;
  padding-top: 8px;
  padding-right: 12px;
  padding-bottom: 8px;
  padding-left: 12px;
  box-shadow: inset 0px 1px 1px #69696988;
  font-size: 16px;
  width: 50vw;
  min-width: 300px;
  font-family: "INGMeWeb-Regular", Arial, sans-serif;
}

textarea.text-input {
  resize: vertical;
  min-height: 80px;
  width: 50vw;
  min-width: 300px;
  padding: 12px;
  font-size: 16px;
}

#submitted {
  display: none;
  align-items: center;
  margin: auto;
  margin-top: 32px;
  fill: #ff6200;
  flex-direction: column;
  align-items: center;
  width: 80vw;
  position: relative;
}

#submitted svg {
  width: 50vw;
  height: 50vw;
  max-width: 350px;
  max-height: 350px;
  margin-left: auto;
  margin-right: auto;
}

h4{
  margin: 0px;
  font-weight: normal;
  width: 100%;
}

#redirect-span {
  font-weight: bold;
  cursor: pointer;
}

label {
  font-weight: bold;
}

label[for="name"]::after,
label[for="email"]::after,
label[for="study"]::after ,
label[for="agree"]::after {
  content: " *";
  color: red;
}