@import '/fonts/@fontsource-variable/nunito/index.css';
@import url("https://jobads.schnellestelle.de/assets/jobpostings/standard/_gallery.css");

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: 'Nunito Variable', sans-serif;
  font-size: 1rem;
  font-weight: 300;
  color: #232323;
  box-sizing: border-box;
  padding: 0;
  background-color: #eaeaea;
}

.row {
  --bs-gutter-x: none;
}

p:empty,
.hidden {
  display: none;
}

h2 {
  font-size: 1.5rem;
  padding: 0 0 5px;
}

hr {
  border-top: 1px solid #eee;
  opacity: 1;
  margin: 10px 0 -10px;
  padding-bottom: 20px;
}

hr:first-child {
  display: none;
}

li {
  padding-bottom: 5px;
}

header.box {
  padding: 30px;
  border-bottom-left-radius: 0;
  border-bottom-right-radius: 0;
}

@media (min-width: 768px) {
  header {
    display: grid;
    grid-template-columns: 200px 1fr;
    align-items: center;
    gap: 20px;
  }
}

.logo {
  border-radius: 10px;
  max-width: 200px;
}

.company-name {
  font-size: 1rem;
  font-weight: 400;
  margin-bottom: 0
}

.title {
  font-size: 1.75rem;
  text-wrap: balance;
}

.gallery.box {
  overflow: hidden;
  border-top-left-radius: 0;
  border-top-right-radius: 0;
}

.bg-image {
  width: 100%;
  background-size: cover;
  background-position: 50% 50%;
  background-repeat: no-repeat;
  background-color: #f4f4f4;
  background-image: url("https://jobads.schnellestelle.de/assets/jobpostings/standard/images/bg_default_2025.jpg");
}

.box {
  padding: 20px 10px;
  border-radius: 20px;
  box-shadow: -5px -5px 5px rgba(0, 0, 0, .02), 2px 5px 5px rgba(0, 0, 0, .1);
  position: relative;
  background-color: #fff;
  max-width: 940px;
  margin: 0 auto;
}

.list-box {
  padding: 20px;
}
@media (min-width: 768px) {
  .list-box {
    padding: 20px 50px;
  }
}

footer .box:not(.bg-footer) {
  border-bottom-left-radius: 0;
  border-bottom-right-radius: 0;
}
.bg-footer {
  background-image: url("https://jobads.schnellestelle.de/assets/jobpostings/standard/images/bg_default_2025.jpg");
  aspect-ratio: 5 / 1;
  background-position: 50% 100%;
  background-size: cover;
  border-top-left-radius: 0;
  border-top-right-radius: 0;
}

.video {
  position: relative;
  width: 100%;
  overflow: hidden;
  margin-top: 50px;
  aspect-ratio: 4 / 3;
}

.video iframe {
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  width: 100%;
  height: 100%;
  border: none;
}
