@import url('https://fonts.googleapis.com/css2?family=Bebas+Neue&display=swap');

* {
    box-sizing: border-box;
    font-family: Arial, Helvetica, sans-serif;
}

body {
    margin: 0;
    overflow: scroll;
}

.headline {
    height: 100%;

    @media only screen and (max-width: 1300px) {
        width: 100vw;
    }
}

.navigation-bar {
    display: flex;
    justify-content: center;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);

    @media only screen and (max-width: 800px) {
        flex-direction: column;
    }
}

.content {
    width: 100%;
    position: relative;
    padding: 20px;
    margin-bottom: 100px;
    min-height: 400px;

    @media only screen and (max-width: 800px) {
        padding: 5px;
        margin-bottom: 175px;
    }
}

header {
    background-color: rgb(0, 0, 44);
    display: flex;
    justify-content: center;
    padding: 0 20px;
}

.navigation-item {
    padding: 15px 20px;
    font-size: 30px;
    @media only screen and (max-width: 1500px) {
        font-size: 25px;
    }
    @media only screen and (max-width: 1300px) {
        font-size: 22px;
    }
    @media only screen and (max-width: 1260px) {
        font-size: 20px;
    }
    @media only screen and (max-width: 1060px) {
        font-size: 18px;
    }
    @media only screen and (max-width: 975px) {
        font-size: 17px;
    }
    @media only screen and (max-width: 950px) {
        font-size: 16px;
    }
    @media only screen and (max-width: 890px) {
        font-size: 15px;
    }
    @media only screen and (max-width: 860px) {
        font-size: 13px;
    }
}



.nav-space {
    border-bottom: solid black 2px;
    margin-bottom: 15px;
}

.header-slogan {
    font-size: 22px;
    position: absolute;
    top: 35px;
    right: 11px;
    color: white;

    @media only screen and (max-width: 600px) {
        font-size: 10px;
        top: 26px;
    }
}

a {
    color: black;
    text-decoration: none;
    position: sticky;
}

.title {
    text-align: center;
    font-size: 24px;

    @media only screen and (max-width: 500px) {
        margin-bottom: 20px;
        font-size: 20px;
    }
}

main {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.content-size {
    font-size: 20px;
    line-height: 28px;
    letter-spacing: 0.03px;
    margin: 20px 20%;
    word-break: break-word;
    @media only screen and (max-width: 500px) {
        font-size: 17px;
    }
    @media only screen and (max-width: 900px) {
        margin: 0;
    }
}

.navigation-item:hover {
    color: rgb(23, 18, 46);
}

.blue {
    color: blue;
}

.center {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}
@media only screen and (min-width: 800px) {
    .image-wrapper {
    width: 40%;
    }
}
.image-wrapper {
    text-align: center;
    p {
        margin-top: 10px;
    }
}

.image-container {
    display: flex;
    justify-content: space-between;
    width: 70%;
    flex-wrap: nowrap;

    @media only screen and (max-width: 800px) {
        flex-wrap: wrap;
        flex-direction: column;
    }
}

.language {
    margin: 6px;
    border-radius: 5px;
    border: 1px solid black;
    transition: transform 250ms ease;
    width: 40px;

    &:hover {
        transform: scale(1.17);
    }
}

.languages {
    width: 25%;
    position: absolute;
    left: 15px;
    top: 25px;
    display: flex;
    align-items: center;
    justify-content: space-around;

    @media only screen and (max-width: 800px) {
        width: 20%;
    }

    @media only screen and (max-width: 700px) {
        width: 15%;
        left: 0px;
    }
}

.stellenangebot {
    color: blue;
    text-decoration: underline;
    margin-bottom: 9px;
}

@media only screen and (max-width: 800px) {
    .referenz {
        width: 200px;
    }

    .beratungsleistung {
        width: 275px;
        height: 600px;
    }

    .team {
        width: 40%;
        height: 10%;
    }
}

.btn {
    width: 200px;
    height: 50px;
    font-size: larger;
    text-align: center;
    border-radius: 4px;
    transition: transform 250ms ease;
}

.job {
    width: 200px;
    transform: scale(1.0);
    transition: transform 350ms ease-in-out;

    &:hover {
        transform: scale(1.25);
    }
}

@media only screen and (max-width: 415px) {
    .margin-left {
        margin-left: -50px;
    }
}

.invisible {
    display: none !important;
}

.unterschrift {
    width: 450px;
    margin-top: 10px;
    margin-bottom: 10px;

    @media only screen and (max-width: 600px) {
        width: 200px;
    }
}

.nav-opener {
    z-index: 1;
    left: 10px;
    top: 8px;
    width: 35px;
    height: 35px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    cursor: pointer;
    border-radius: 10px;
    border: 2px solid white;
    padding: 5px;
}

.line {
    width: 100%;
    height: 3px;
    background-color: white;
}

.languageMobile {
    right: 20px;
    z-index: 1;
    position: relative;
    left: 1px;
    top: 3px;
    border-radius: 5px;
    border: 1px solid black;
}

.mobileContainer {
    display: flex;
    justify-content: center;
    gap: 15px;
    width: 100px;
    height: 50px;
    left: -1px;
    top: 0px;
    position: absolute;
    align-items: center;
    transform: scale(0.8);
}

.stellenbörse-btn {
    display: flex;
    width: 370px;
    min-height: 253px;
    max-height: 253px;
    min-width: 182px;
    max-width: 182px;
}

.btn-container {
    z-index: 1;
    width: 292px;
    background-color: #cdd4db;
    display: flex;
    justify-content: center;
    align-items: center;
}

.btn-text {
    font-family: Bebas Neue, sans-serif;
    font-size: 2.2em;
    font-weight: 400;
    line-height: .9;
    padding: 15px;
    text-align: center;
}

@media only screen and (max-width: 1300px) {
    .start-btn {
        position: absolute;
    }
}

section {
    display: flex;
    justify-content: center;
    gap: 50px;
}

.button-container {
    display: flex;
    justify-content: center;
    gap: 50px;
}

@media only screen and (max-width: 1170px) {
    .button-container {
        flex-direction: column;
        align-items: center;
    }

    .second-button {
        order: -1;
    }
}

.button {
    display: flex;
    width: 371px;
    height: 242px;
    text-decoration: none;
    overflow: hidden;
    border: 1px solid #ccc;
    transition: transform 0.25s;
}

@media only screen and (max-width: 420px) {
    .button {
        width: 300px;
        height: 200px;
    }

    .button-text {
        font-size: 2.0em !important;
    }
}

.button:hover {
    transform: scale(1.03);
}

.button-image {
    width: 50%;
    background-size: cover;
    background-position: center;
}

.button-text {
    font-family: Bebas Neue, sans-serif;
    width: 50%;
    background-color: #cdd4db;
    display: flex;
    justify-content: center;
    align-items: center;
    font-weight: bold;
    font-size: 2.2em;
    font-weight: 400;
    line-height: .9;
    padding: 15px;
    text-align: center;
}

.content-wrapper {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

footer {
    background-color: rgb(0, 0, 44);
    color: #fff;
    padding: 40px 0;
}

.footer-container {
    background-color: rgb(0, 0, 44);
    color: #fff;
    padding: 20px 10px;
    max-width: 1200px;
    margin: 0 auto;
}

.footer-row {
    display: flex;
    justify-content: space-between;
    padding-bottom: 20px;
    border-bottom: 1px solid #444;
}

.footer-col {
    width: 45%;
    margin-bottom: 20px;
}

.footer-col:last-child {
    text-align: right;
}

.footer-col:nth-child(2) {
    text-align: center;
}

.footer-col h4 {
    font-size: 18px;
    margin-bottom: 10px;
    color: #fff;
    font-weight: 600;
    position: relative;
}

.footer-col ul {
    list-style: none;
    padding: 0;
}

.footer-col ul li {
    margin-bottom: 10px;
}

.footer-col ul li a {
    color: #bbb;
    text-decoration: none;
    font-size: 16px;
    transition: color 0.3s ease;
}

.footer-col ul li a:hover {
    color: #f39c12;
}

.footer-bottom {
    text-align: center;
    padding-top: 10px;
}

.footer-bottom p {
    color: #bbb;
    font-size: 14px;
}

@media (max-width: 768px) {
    .footer-col {
        width: 100%;
        text-align: center !important;
    }

    .footer-row {
        flex-direction: column;
        align-items: center;
    }

    .footer-bottom p {
        font-size: 12px;
    }
}

.navigation-item {
    padding: 14px 20px;
    text-decoration: none;
    display: inline-block;
    position: relative;
    font-weight: bolder;
}

.nav-item-wrapper {
    position: relative;
}

.dropdown-content {
    display: block;
    position: absolute;
    top: 100%;
    left: 0;
    background-color: white;
    min-width: 100%;
    overflow: hidden;
    box-shadow: 0px 12px 16px rgba(0, 0, 0, 0.1);
    z-index: 1;
    transition: max-height 0.4s ease, padding-top 0.4s ease;
    max-height: 0;
    padding-top: 0px;
}

.dropdown-content a {
    color: black;
    padding: 12px 2px;
    text-decoration: none;
    display: block;
    font-size: 25px;
    @media only screen and (max-width: 800px) {
        font-size: 13px;
    }
}

.dropdown-content a:hover {
    color: rgb(61, 61, 61);
}

.nav-item-wrapper:hover .dropdown-content {
    max-height: 300px;
}