#historie .container {
    display: flex;
    flex-direction: column;
    gap: 82px;
    margin: 100px auto;
}

@media (max-width: 769px) {
    #historie .container {
        margin: 24px auto;
    }
}

.hero-part .banner-img {
    width: 100%;
    overflow: hidden;
    position: relative;
}

.hero-part .banner-img img {
    width: 100%;
}

.hero-part .banner-img p {
    color: #ffffff; /* Assuming $white is a color value */
    font-size: 84px;
    letter-spacing: -5.04px;
}

.hero-content {
    display: flex;
    width: 100%;
    gap: 55px;
    align-items: center;
    justify-content: space-between;
}

.hero-content .content-img {
    width: 50%;
    height: 380px;
    position: relative;
    overflow: hidden;
    border-radius: 54px;
    background: linear-gradient(270deg, #ed1c24 0%, rgba(237, 28, 36, 0) 100%);
}
.hero-content .content-img .overlay1 {
    z-index: 2;
    position: absolute;
    top: 0;
    right: 0;
    width: 70%;
    height: 100%;
    border-radius: 54px;
    background: linear-gradient(270deg, #ed1c24 0%, rgba(237, 28, 36, 0) 100%);
}
.hero-content .content-img .overlay {
    position: absolute;
    top: 0;
    right: 0;
    width: 33%;
    height: 100%;
    border-radius: 54px;
    background: linear-gradient(270deg, #ed1c24 0%, rgba(237, 28, 36, 0) 100%);
}
.hero-content .content-img img {
    width: 100%;
    height: 100%;
    transition: all 0.3s ease-in;
}

.hero-content .content-img p {
    position: absolute;
    right: 30px;
    bottom: 30px;
    color: #ffffff; /* Assuming $white is a color value */
    font-size: 40px;
    font-weight: 200;
    text-align: right;
}

.hero-content .content-img:hover img {
    transform: scale(1.05);
}

.hero-content .content-part {
    width: 50%;
    display: flex;
    flex-direction: column;
    gap: 52px;
    position: relative;
}

@media (max-width: 769px) {
    .hero-content .content-part {
        gap: 24px;
        margin-bottom: 32px;
    }
}

.hero-content .content-part .first-svg {
    position: absolute;
    right: 13%;
    top: 40%;
    transform: translateY(-50%);
}

.hero-content .content-part svg {
    position: absolute;
    right: -10%;
    top: 50%;
    transform: translateY(-50%);
}

.hero-content .content-part h3 {
    /* font-size: 84px;
  font-style: normal;
  font-weight: 400;
  line-height: 84px;
  letter-spacing: -5.04px;
  color: #ed1c24; /* Assuming $ED1C24 is a color value */
    z-index: 1;
}

.hero-content .content-part h3 span {
    background: linear-gradient(180deg, #141414 0%, #747484 100%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-content .content-part p {
    color: #50555c; /* Assuming $text is a color value */
    z-index: 1;
    font-weight: 200;
    line-height: 31px;
    letter-spacing: -0.08px;
}

.mission-part {
    background-image: url("../../images/historie/mission.png");
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    height: 360px;
    margin-top: -283px;
}

.mission-part .overlay {
    background: linear-gradient(
        180deg,
        #ed1c24 0%,
        rgba(237, 28, 36, 0.51) 0.01%,
        rgba(237, 28, 36, 0) 100%
    );
    height: 229px;
    width: 100%;
}
.missions {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 68px;
    width: 100%;
    margin: 0 auto;
    z-index: 1;
}

.missions .mission {
    background-color: #ed1c24; /* Assuming $primary is a color value */
    border-radius: 54px;
    padding: 35px 55px;
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.missions .mission .header {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 25px;
    padding-bottom: 25px;
    border-bottom: 1px solid #ee777c;
}

.missions .mission .header p {
    color: #ffffff; /* Assuming $white is a color value */
    font-size: 30px;
    font-weight: 400;
    line-height: 29px;
    letter-spacing: -0.15px;
    font-family: "Tasman", sans-serif;
    font-weight: 300;
}

.missions .mission .content {
    color: #ffffff; /* Assuming $white is a color value */
    text-align: center;
    font-weight: 200;
    line-height: 26.5px;
    letter-spacing: -0.08px;
}

.missions .mission .bottom {
    color: #ffffff; /* Assuming $white is a color value */
    text-align: center;
    font-size: 18px;
    font-style: normal;
    font-weight: 400;
    line-height: 26.5px;
    letter-spacing: -0.09px;
}

.other-content {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 70px;
    margin-bottom: 24px;
}

.other-content p {
    color: #50555c; /* Assuming $text is a color value */
    font-size: 16px;
    font-weight: 200;
    line-height: 31px;
    letter-spacing: -0.08px;
}

.bottom-part {
    width: 100%;
    min-height: 360px;
    position: relative;
    background-image: url("../../images/historie/content-img-3.png");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    padding: 75px 0;
    display: flex;
    align-items: center;
}
.bottom-part .overlay {
    position: absolute;
    left: 0;
    top: 0;
    width: 70%;
    height: 100%;
    background: linear-gradient(90deg, #ed1c24 0%, rgba(237, 28, 36, 0) 100%);
}
.bottom-part .container {
    display: flex;
    flex-direction: column;
    gap: 32px;
    width: 40%;
}

.bottom-part .container p,
.bottom-part .container i {
    color: #ffffff; /* Assuming $white is a color value */
    font-weight: 400;
    line-height: 26px;
    letter-spacing: -0.08px;
    z-index: 3;
}

.bottom-part svg {
    position: absolute;
    top: -74px;
    right: 8%;
}

@media screen and (max-width: 1440px) {
    .missions {
        grid-template-columns: 1fr 1fr;
    }
    .banner-img p {
        top: 47% !important;
        font-size: 64px !important;
    }
}

@media screen and (max-width: 1000px) {
    .hero-content {
        flex-direction: column;
    }

    .hero-content .content-part,
    .hero-content .content-img {
        width: 100%;
    }

    .missions {
        grid-template-columns: 1fr;
    }

    .banner-img p {
        font-size: 34px !important;
        letter-spacing: -2.04px !important;
        left: 15% !important;
        top: 48% !important;
    }
}

@media screen and (max-width: 510px) {
    .banner-img p {
        font-size: 22px !important;
    }
}
