h1,
h2,
h3,
p,
link {
  color: #0c0413;
  font-family: "Inter", Arial, Helvetica, sans-serif;
}
html {
  scroll-behavior: smooth;
}
.wrapper {
  margin: 20px;
  overflow: hidden;
}

/*Navbar-style*/
.topbox {
  height: 25px;
}
.my-navbar .nav-link {
  font-weight: 500;
  color: #0c0413;
}
.my-navbar .nav-link.hover {
  color: #0c0413b9;
}
.nav-link.active-page {
  position: relative;
}
.nav-link.active-page::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 100%;
  height: 1px;
  background-color: #d82323;
}
.nav-item.dropdown {
  display: flex;
  align-items: center;
}
.anchor-menu {
  top: 100px;
}
.anchor-menu a {
  padding: 8px 0;
  color: #d82323;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease;
}
.anchor-menu a:hover {
  color: #a81818;
  text-decoration: underline;
}

/*Button-styles*/
.btncolorblue {
  background-color: #445f6e;
  color: #f2f2f2;
  border: none;
  border-radius: 8px;
  padding: 10px 20px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}
.btncolorblue:hover {
  background-color: #445f6eb6;
}
.btncolorred {
  background-color: #d82323;
  color: #f2f2f2;
  border: none;
  border-radius: 8px;
  padding: 10px 10px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}
.btncolorred:hover {
  background-color: #d82323c0;
}
.btnbordercolorred {
  color: #d82323;
  background-color: #f2f2f2;
  border: solid thin #d82323;
  border-radius: 8px;
  padding: 10px 20px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}
.btnbordercolorred:hover {
  background-color: #d82323;
  color: #f2f2f2;
}

.footer-button {
  font-size: small;
}

/*Color-style*/
.backgroundcolorgrey {
  background-color: #8d8889;
}
.backgroundtextboxes {
  background-color: #efeeef;
}
.whitetext {
  color: #f2f2f2;
}
.textcolorblack {
  color: #0c0413;
}
.linkcolorgrey {
  color: #8d8889;
}
.linkcolorgrey:hover {
  color: #efeeef;
}
.linkcolorblack {
  color: #0c0413;
  text-decoration: none;
  font-family: "Inter", Arial, Helvetica, sans-serif;
}
.linkcolorblack:hover {
  color: #0c0413b9;
}
.redcolor {
  color: #d82323;
}
.bluecolor {
  color: #4a78c7;
}
.greycolor {
  color: #8d8889;
}

/*Spacing*/
.spacing-box {
  background-color: #ffffff;
  height: 30px;
}

/*Video*/
.video-wrapper {
  position: relative;
  width: 100%;
  height: 45vh;
  overflow: hidden;
}
.herovideo {
  object-fit: cover;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 1;
  min-width: 100%;
  min-height: 100%;
}
.video-overlay {
  position: relative;
  left: 5%;
  top: 10%;
  z-index: 2;
}
.mid-video {
  object-fit: cover;
}
.button-herovideo {
  position: relative;
  left: 12%;
  background-color: #d82323;
  color: #f2f2f2;
  border: none;
  border-radius: 8px;
  padding: 6px 6px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

/*Pictures and text-boxes*/
.fixed-card {
  height: 280px;
}
.carousel-item,
.text-box {
  height: 25rem;
}
.text-box-sm {
  height: 17rem;
}
.carousel-item img {
  height: 100%;
  width: 100%;
  max-height: 25rem;
  object-fit: cover;
  object-position: center;
  display: block;
}
.picture-box {
  height: 100%;
  width: 500px;
  object-fit: cover;
}
.picture-box-size {
  height: 100%;
  max-width: 100%;
  object-fit: cover;
  display: flex;
  justify-content: center;
}
.picture-box-size img {
  max-width: 100%;
  height: auto;
}
.backgroundtextboxes-height {
  background-color: #efeeef;
  height: 100%;
}

/*Font-size*/
.small-text {
  font-size: 14px;
}
.xsmall-text {
  font-size: 12px;
}
.container.s-pic {
  max-width: 350px;
  max-height: 500px;
}

/*Arrow*/
#toTopBtn {
  position: fixed;
  bottom: 30px;
  right: 30px;
  z-index: 999;
  background-color: #d82323;
  color: white;
  border: none;
  padding: 12px 16px;
  border-radius: 50%;
  font-size: 22px;
  cursor: pointer;
  display: none;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
  transition: opacity 0.3s ease;
}
#toTopBtn:hover {
  background-color: #b81c1c;
}

/*Breakpoints*/
@media screen and (max-width: 576px) {
  .herotext {
    font-size: small;
  }
  .heroheadline {
    font-size: medium;
  }
  .anchor-font {
    font-size: small;
  }
  .p-text {
    font-size: small;
  }
  .p-text-footer {
    font-size: small;
  }
  .h3-small {
    font-size: large;
  }
  .headline-footer {
    font-size: medium;
  }
  .video-wrapper {
    position: relative;
    width: 100%;
    height: 30vh;
    overflow: hidden;
  }
  .spacing-box-hero {
    height: 60px;
  }
  .carousel-item img {
    height: 250px;
  }
  .slideshow1 {
    object-position: center left !important;
  }
  .slideshow5 {
    object-position: center top !important;
  }
  .slideshow3 {
    object-position: center top !important;
  }
}
@media screen and (min-width: 576px) {
  .video-overlay {
    position: relative;
    left: 5%;
    top: 10%;
  }
  .heroheadline {
    font-size: x-large;
  }
  .p-text {
    font-size: 14px;
  }
  .p-text-footer {
    font-size: 14px;
  }
  .spacing-box-hero {
    height: 70px;
  }
  .carousel-item img {
    height: 400px;
  }
  .slideshow5 {
    object-position: center top !important;
  }
}
@media screen and (min-width: 768px) {
  .video-overlay {
    position: relative;
    left: 4%;
    top: 10%;
  }
  .herotext {
    font-size: medium;
  }

  .heroheadline {
    font-size: x-large;
  }
  .button-herovideo {
    position: relative;
    left: 10%;
    background-color: #d82323;
    color: #f2f2f2;
    border: none;
    border-radius: 8px;
    padding: 10px 10px;
    cursor: pointer;
    transition: background-color 0.3s ease;
  }
  .p-text {
    font-size: 15px;
  }
  .p-text-footer {
    font-size: 15px;
  }
  .md-text {
    font-size: 13px;
  }
  .spacing-box {
    height: 50px;
  }
  .spacing-box-hero {
    height: 80px;
  }
  .slideshow1 {
    object-position: center left !important;
  }
  .slideshow3 {
    object-position: center left !important;
  }
  .slideshow5 {
    object-position: center right !important;
  }
}
@media screen and (min-width: 992px) {
  .herotext {
    font-size: medium;
  }
  .heroheadline {
    font-size: x-large;
  }
  .button-herovideo {
    position: relative;
    left: 5%;
    background-color: #d82323;
    color: #f2f2f2;
    border: none;
    border-radius: 8px;
    padding: 10px 10px;
    cursor: pointer;
    transition: background-color 0.3s ease;
  }
  .md-text {
    font-size: 15px;
  }
  .spacing-box {
    height: 80px;
  }
  .spacing-box-hero {
    height: 100px;
  }
}
@media screen and (min-width: 1200px) {
  .md-text {
    font-size: 18px;
  }
  .p-text {
    font-size: large;
  }
  .p-text-footer {
    font-size: 15px;
  }
  .spacing-box-hero {
    height: 35px;
  }
  .wrapper {
    margin: 100px;
  }
  .linkcolorblack {
    font-size: 15px;
  }
  .spacing-box {
    height: 100px;
  }
  .spacing-box-hero {
    height: 35px;
  }
  .slideshow5 {
    object-position: center top !important;
  }
}

/*Print-style*/
@media print {
  .video-wrapper,
  .carousel-inner,
  video,
  button {
    display: none;
  }
}
