@font-face {
  font-family: "Brown";
  src: url(//26574509.fs1.hubspotusercontent-eu1.net/hubfs/26574509/raw_assets/public/Hamburg%20Media%20School/assets/fonts/Brown-400.woff2);
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: "Crimson";
  src: url(//26574509.fs1.hubspotusercontent-eu1.net/hubfs/26574509/raw_assets/public/Hamburg%20Media%20School/assets/fonts/Crimson-400.woff2);
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: "Brown";
  src: url(//26574509.fs1.hubspotusercontent-eu1.net/hubfs/26574509/raw_assets/public/Hamburg%20Media%20School/assets/fonts/Brown-700.woff2);
  font-weight: 700;
  font-display: swap;
}

.footer-menu ul{
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 32px;
}
.social-media-icon svg{
  width: 24px;
  height: 24px;
  fill: #FFF;
}

.footer-menu ul li a:hover{
  text-decoration: underline;
}

.header-logo .hms-logo img {
  height: 38px !important;
  width: auto !important;
}

@media(max-width: 767px){
  .header-logo .hms-logo img 
    height: 30px !important;
  } 
}

.aspect-4by3{
  aspect-ratio: 4/3;
}

.aspect-16by9{
  aspect-ratio: 16/9;
}

.aspect-1by1{
  aspect-ratio: 1/1;
}

.form-title {
  display: none;
}

.hs-form fieldset {
  max-width: auto !important;
  max-width: unset !important;
  margin-left: -0.75rem !important;
  margin-right: -0.75rem !important;
}

.hs-form fieldset .input {
  margin-right: 0 !important;
}

.hs-form .hs-form-field {
  margin-bottom: 1.5rem;
  padding-left: 0.75rem !important;
  padding-right: 0.75rem !important;
}

.hs-form .hs-form-field > label {
  display: none;
}

.hs-form .form-columns-1 .hs-input {
  width: 100% !important;
}

@media (max-width: 767px) {
  .hs-form .form-columns-2 .hs-form-field, .hs-form .form-columns-3 .hs-form-field {
    width: 100% !important;
  }
}

.hs-form .form-columns-2 .hs-form-field > *, .hs-form .form-columns-3 .hs-form-field > * {
  width: 100%;
}

@media (min-width: 768px) {
  .hs-form .form-columns-3 .hs-form-field {
    width: 33.33% !important;
  }
}

.hs-form .hs-field-desc {
  margin-bottom: 0.25rem;
  margin-top: 1rem;
}

.hs-form .hs-form-checkbox-display {
  position: relative;
}

.hs-form .hs-form-checkbox-display input {
  position: absolute;
  opacity: 0;
  cursor: pointer;
  z-index: 1;
}

.hs-form .hs-form-checkbox-display input + span {
  position: relative;
  margin-left: 0;
  font-size: 1rem;
  display: inline-block;
  padding-left: 2.25rem;
  min-height: 1.75rem;
  padding-top: 3px;
}

@media (min-width: 768px) {
  .hs-form .hs-form-checkbox-display input + span {
    padding-left: 3.25rem;
  }
}

.hs-form .hs-form-checkbox-display input + span:before, .hs-form .hs-form-checkbox-display input + span:after {
  position: absolute;
  width: 1.5rem;
  height: 1.5rem;
  left: 0;
  border-width: 1.5px;
  border-style: solid;
  border-color: #D9D9D9;
  -webkit-transition-property: all;
  -o-transition-property: all;
  transition-property: all;
  -webkit-transition-duration: 500ms;
       -o-transition-duration: 500ms;
          transition-duration: 500ms;
  content: "";
  top: 2px;
}

.hs-form .hs-form-checkbox-display input + span:after {
  -webkit-transform: scale(0);
      -ms-transform: scale(0);
          transform: scale(0);
  background-color: #B30931;
}

.hs-form .hs-form-checkbox-display input:checked + span:after {
  -webkit-transform: scale(1);
      -ms-transform: scale(1);
          transform: scale(1);
}

.hs-form .hs-form-radio-display {
  position: relative;
}

.hs-form .hs-form-radio-display input {
  position: absolute;
  opacity: 0;
  cursor: pointer;
  z-index: 1;
}

.hs-form .hs-form-radio-display input + span {
  position: relative;
  margin-left: 0;
  font-size: 1rem;
  display: inline-block;
  padding-left: 2.25rem;
  min-height: 1.75rem;
  padding-top: 3px;
}

@media (min-width: 768px) {
  .hs-form .hs-form-radio-display input + span {
    padding-left: 3.25rem;
  }
}

.hs-form .hs-form-radio-display input + span:before, .hs-form .hs-form-radio-display input + span:after {
  position: absolute;
  width: 1.5rem;
  height: 1.5rem;
  left: 0;
  border-width: 1.5px;
  border-style: solid;
  border-color: #D9D9D9;
  transition-property: all;
  transition-duration: 500ms;
  content: "";
  border-radius: 9999px;
  top: 6px;
}

.hs-form .hs-form-radio-display input + span:after {
  transform: scale(0);
  background-color: #B30931;
  width: 16px;
  height: 16px;
  top: 10px;
  left: 4px;
}

.hs-form .hs-form-radio-display input:checked + span:after {
  transform: scale(1);
}

.hs-form .hs-form-booleancheckbox-display {
  position: relative;
}

.hs-form .hs-form-booleancheckbox-display input {
  position: absolute;
  opacity: 0;
  cursor: pointer;
  z-index: 1;
}

.hs-form .hs-form-booleancheckbox-display input + span {
  position: relative;
  margin-left: 0;
  font-size: 1rem;
  display: inline-block;
  padding-left: 2.25rem;
  min-height: 1.75rem;
  padding-top: 3px;
}

@media (min-width: 768px) {
  .hs-form .hs-form-booleancheckbox-display input + span {
    padding-left: 3.25rem;
  }
}

.hs-form .hs-form-booleancheckbox-display input + span:before, .hs-form .hs-form-booleancheckbox-display input + span:after {
  position: absolute;
  width: 1.5rem;
  height: 1.5rem;
  left: 0;
  border-width: 1.5px;
  border-style: solid;
  border-color: #D9D9D9;
  transition-property: all;
  transition-duration: 500ms;
  content: "";
  top: 2px;
}

.hs-form .hs-form-booleancheckbox-display input + span:after {
  transform: scale(0);
  background-color: #B30931;
}

.hs-form .hs-form-booleancheckbox-display input:checked + span:after {
  transform: scale(1);
}

.hs-form .hs-button {
  min-width: 200px;
  cursor: pointer;
}

.hs-form .legal-consent-container {
  padding-left: 0.75rem;
  padding-right: 0.75rem;
  margin-top: 0.5rem;
}

.hs-form .legal-consent-container > div {
  margin-bottom: 1rem;
}

.hs-form .legal-consent-container .hs-form-field {
  padding-left: 0 !important;
  padding-right: 0 !important;
}

.hs-form .legal-consent-container .hs-form-booleancheckbox-display input + span {
  font-size: inherit;
  padding-top: 2px;
  padding-left: 2.5rem;
}

.hs-form .hs_dsgvo_contact_form .hs-form-booleancheckbox-display input + span {
  padding-left: 2.25rem;
}

@media (min-width: 768px) {
  .hs-form .hs_dsgvo_contact_form .hs-form-booleancheckbox-display input + span {
    padding-left: 3.25rem;
  }
}

.hs-form .hs-error-msgs {
  font-size: 0.75rem;
  font-weight: 300;
  color: #b30931;
  line-height: 20px;
}

.hs-form .hs-richtext, .hs-form .legal-consent-container {
  font-size: 14px;
  line-height: 22px;
}

.hs-form .hs-richtext a, .hs-form .legal-consent-container a {
  font-weight: 400;
  color: #B30931;
}

.hs-form .hs-richtext {
  margin-bottom: 1rem;
}

.hs-form .hs-richtext a:hover {
  text-decoration: underline;
}

.hs-form .actions {
  text-align: right;
}

.hs-form .hs-submit {
  margin-top: 1rem;
}

.hs_error_rollup {
  margin-bottom: 0.25rem;
}

.custom-input-file-wrapper input {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  visibility: hidden;
  cursor: pointer;
  height: auto !important;
  z-index: 10;
}

.file-uploaded .custom-input-file-label {
  display: none;
}

.uploaded-files span {
  display: inline-block;
  margin-left: 0.5rem;
  margin-right: 0.5rem;
  padding: 4px 10px 5px;
}

input:not([type=checkbox]):not([type=radio]):not([type=submit]):not([type=reset]):not([type=button]), select {
  border-radius: 0;
  padding: 10px;
  width: 100%;
  border-width: 1px;
  border-style: solid;
  border-color: #BEC0C2;
  color: #1d1d1b;
  background-color: #FFFFFF;
  font-weight: 400;
}

input:not([type=checkbox]):not([type=radio]):not([type=submit]):not([type=reset]):not([type=button])::placeholder, select::placeholder{
  color: #BEC0C2;
}

textarea::placeholder{
  color: #BEC0C2;
}

input:not([type=checkbox]):not([type=radio]):not([type=submit]):not([type=reset]):not([type=button]):focus, select:focus, textarea:focus{
  outline: 2.5px solid rgb(179 9 49 / 15%);
  border: 1px solid #b30931;
}

@media (max-width: 767px) {
  input:not([type=checkbox]):not([type=radio]):not([type=submit]):not([type=reset]):not([type=button]), select {
    width: 100% !important;
  }
}

input:not([type=checkbox]):not([type=radio]):not([type=submit]):not([type=reset]):not([type=button]).invalid, select.invalid {
  border-color: #b30931;
}

textarea {
  border-radius: 0;
  padding: 10px;
  width: 100%;
  border-width: 1px;
  border-style: solid;
  border-color: #BEC0C2;
  color: #1d1d1b;
  background-color: #FFFFFF;
  min-height: 100px;
}

select {
  appearance: none;
  background-position: right center;
  background-repeat: no-repeat;
  padding-right: 3rem !important;
}

textarea {
  display: block;
}

.form-light-brown input:not([type=checkbox]):not([type=radio]):not([type=submit]):not([type=reset]):not([type=button]), .form-light-brown select, .form-light-brown textarea {
  background-color: #F3EEEF;
}

select {
  background-image: url();
  background-size: 15px;
  background-repeat: no-repeat;
  background-position: calc(100% - 10px) center;
  color: #1d1d1b;
}

.hs-form .actions .hs-button{
  display: inline-block;
  font-weight: 700;
  font-size: 14px;
  text-align: center;
  min-width: 200px;
  transition: all 0.3s ease-in-out;
  font-family: "Brown", sans-serif;
  text-transform: uppercase;
  text-decoration: none;
  padding: 6px 24px;
  background: #B30931;
  color: #FFF;
}

.hs-form .actions .hs-button:hover{
  background: #8f0727;
}

.splide__arrows  .splide__arrow{
  width: 50px;
  height: 50px;
}

.richtext a,
.hs_cos_wrapper.hs_cos_wrapper_type_rich_text a{
  color:#B30931;
}
.richtext a:hover,
.hs_cos_wrapper.hs_cos_wrapper_type_rich_text a:hover{
  text-decoration:underline; 
}

a.hms-cta-btn{
  display: inline-block;
  font-weight: 700;
  font-size: 14px;
  text-align: center;
  min-width: 200px;
  transition: all 0.3s ease-in-out;
  font-family: "Brown", sans-serif;
  text-transform: uppercase;
  text-decoration: none;
  padding: 6px 24px;
  background: #B30931;
  color: #FFF !important;  
}
a.hms-cta-btn:hover {
  background: #8f0727;
  text-decoration: none !important;
}