/* Default style for the MA recruitment web page */
/* Copyright MA Lighting Technology GmbH 2023    */

@font-face {
    font-family: 'cs-icons';
    src: url(../resource/cs-icons.eot?46439734);
    src: url('../resource/cs-icons.eot?46439734#iefix') format('embedded-opentype'),url(../resource/cs-icons.woff2?46439734) format('woff2'),url(../resource/cs-icons.woff?46439734) format('woff'),url(../resource/cs-icons.ttf?46439734) format('truetype');
    font-weight: 400;
    font-style: normal;
}

@font-face {
    font-family: 'Roboto';
    src: url(../resource/Roboto-Regular-webfont.woff) format('woff');
    font-weight: 300;
    font-style: normal;
}

@font-face {
    font-family: 'Roboto Condensed';
    src: url(../resource/Roboto-Condensed-webfont.woff) format('woff');
    font-weight: 300;
    font-style: normal;
}

* {
    color: #000;
    font-family: 'Roboto',sans-serif;
}

html,
body {
    font-size: 1em;
    font-weight: 400;
    line-height: 140%;
    -webkit-text-size-adjust: none;
    width: 100%;
    overflow-x: hidden;
}

body {
    margin: 0;
}

/* Reset br because firefox is shit*/
*:not(h1,h2,h3,h4,p,span)>br {
    line-height: 0rem;
    height: 0rem;
    margin: 1em 0em;
}

h1,h2,h3,h4,h5,h6 {
    font-family: 'Roboto Condensed',sans-serif;
    font-weight: 300;
}

.topLogoBanner {
    opacity: 0;
    position: fixed;
    top: 0;
    height: 50px;
    overflow: hidden;
    width: 100%;
    background-color: #000000de;
    display: flex;
    justify-content: center;
    padding: 5px;
    transition: opacity .5s;
    z-index: 5;
}

.topLogoBanner img {
    max-height: 90%;
}

.parallax {
  /* Set a specific height */
  min-height: 80vh;

  /* Create the parallax scrolling effect */
  background-attachment: fixed;
  background-position: center;
  background-repeat: no-repeat;
  -webkit-background-size: cover;
  background-size: cover;

  display: flex;
}

@supports (-webkit-touch-callout: none) {
    .parallax {
        background-attachment: scroll;
        background-position: top;
    }
}

.parallaxContent {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 100%;
    padding: .5em .5em;
}

.img1 .parallaxContent * {
    color: white;
}

#maLogo {
    max-width: 400px;
    animation: blendIn 2s linear 0s;
}

@media screen and (max-width:678px) {
    #maLogo {
        max-width: 300px;
    }
}

@media screen and (max-width:500px) {
    #maLogo {
        max-width: 200px;
    }
}

@media screen and (max-height:678px) {
    #maLogo {
        max-width: 200px;
    }
}

.img1 .parallaxContent label:nth-child(1),
.img1 .parallaxContent label:nth-child(4),
.img1 .parallaxContent label:nth-child(5) {
    font-size: 60px;
    position: relative;
    left: 50px;
    font-stretch: extra-condensed;
    animation: blendInAndMoveRight 2s ease-in 0s;
}

.img1 .parallaxContent label:last-of-type {
    font-size: 80px;
    position: relative;
    top: 50px;
    left: -65px;
    font-stretch: extra-condensed;
    animation: blendInAndMoveLeft 2s ease-in 0s;
}

@media screen and (max-width:500px) {
    .img1 .parallaxContent label:nth-child(1),
    .img1 .parallaxContent label:nth-child(4),
    .img1 .parallaxContent label:nth-child(5) {
        left: 10px;
    }

    .img1 .parallaxContent label:last-of-type {
        left: -45px;
    }
}

@media screen and (max-height:678px) {
    .img1 .parallaxContent label:nth-child(1),
    .img1 .parallaxContent label:nth-child(4),
    .img1 .parallaxContent label:nth-child(5) {
        top: -19px;
    }

    .img1 .parallaxContent label:last-of-type {
        top: 21px;
    }
}

@keyframes blendIn {
    0%   { opacity: 0; }
    20%  { opacity: 0; }
    100% { opacity: 1; }
}

@keyframes blendInAndMoveRight {
    0%   { opacity: 0; left: 0; }
    20%  { opacity: 0; left: 10; }
    100% { opacity: 1; left: 50; }
}

@keyframes blendInAndMoveLeft {
    0%   { opacity: 0; left: 0; }
    20%  { opacity: 0; left: -13; }
    100% { opacity: 1; left: -65; }
}

.img1 {
    background-image: url("/img/MA_gMA3_Imagebild_8_kl.jpg");
}

.img2 {
    background-image: url("/img/MA_gMA3_Imagebild_6_kl.jpg");
}

.img3 {
    background-image: url("/img/grandMA3_kl.jpg");
}

h1 {
    font-stretch: ultra-condensed;
    font-size: 3em;
    line-height: 1.5em;

    background: linear-gradient(90deg, silver 0%, white 66%, silver 100%);
    text-align: center;
    background-clip: text !important;
    -webkit-background-clip: text !important;
    -webkit-text-fill-color: transparent;
}

@media screen and (max-width:768px) {
    h1 {
        font-size: 2.5em;
    }
}

h2 {
    color: red;
    font-stretch: ultra-condensed;
    font-size: 3em;
    line-height: 1.5em;
    margin-top: 0;
}

@media screen and (max-width:500px) {
    h2 {
        font-size: 2.3em;
    }
}

.content {
    background-color: white;
    padding: 50px 20vw;
    text-align: justify;
}

@media screen and (max-width:678px) {
    .content {
        padding: 5vh 5vw;
    }
}

.roundContent {
    background-color: red;
    border-radius: 50%;
    height: 15vw;
    width: 15vw;
    display: flex;
    justify-content: center;
    align-items: center;
}

@media screen and (max-width:1100px) {
    .roundContent {
        height: 20vw;
        width: 20vw;
    }
}

@media screen and (max-width:900px) {
    .roundContent {
        height: 25vw;
        width: 25vw;
    }
}

@media screen and (max-width:768px) {
    .roundContent {
        height: 30vw;
        width: 30vw;
    }
}

@media screen and (max-width:500px) {
    .roundContent {
        height: 40vw;
        width: 40vw;
    }
}

.roundContent p {
    color: white;
    font-weight: bold;
    text-align: center;
    font-size: 2.5em;
    line-height: 1em;
    transform: rotateZ(-30deg);
    transition: transform .2s;
}

@media screen and (max-width:1500px) {
    .roundContent p {
        font-size: 2em;
    }
}

@media screen and (max-width:1200px) {
    .roundContent p {
        font-size: 1.5em;
    }
}

#contactDivWrapper {
    overflow: hidden;
    border-radius: 10px;
    margin-top: 1em;
    width: 0px;
    display: flex;
    justify-content: center;
}

#contactDiv {
    background-color: white;
    padding: 1em 2em;
    width: fit-content;
    text-align: center;
}

.content li {
    list-style-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20px' height='20px' viewBox='0 -5 24 24' fill='none'%3E%3Cpath d='m 7.5092117,18.388812 c 0,1.07395 1.2649,1.64793 2.0731,0.94072 l 6.3107003,-5.52182 c 0.7968,-0.6972 0.7968,-1.9368 0,-2.634 L 9.5823117,5.6518117 c -0.8082,-0.7071 -2.0731,-0.1332 -2.0731,0.9408 z' fill='%23DA0000'/%3E%3C/svg%3E");
}

.hidden {
    display: none;
}

footer a {
    text-decoration: none;
}

.footer-top {
    display: flex;
    background-color: black;
}

.linkList {
    list-style: none;
    display: flex;
    width: 100%;
    padding: 5px 10px;
    margin: 0;
}

.footer-top .linkList {
    padding: 0px;
    border: 2px solid black;
}

@media screen and (max-width:800px) {
    .footer-top .linkList {
        flex-direction: column;
    }
}

li.menu-footer__item {
    flex: 1;
    text-align: center;
    transition: background-color .3s;
}

li.menu-footer__item:hover {
    background-color: white;
}

li.menu-footer__item:hover a {
    color:black;
}

.footer-top a {
    color:white;
    transition: color .3s;
}

.footer-bottom {
    display: flex;
    padding: 4rem 0;
}

@media screen and (max-width:768px) {
    .footer-bottom {
        flex-direction: column;
    }
}

.footer-bottom .flexCell {
    flex: 1;
    padding: 0pc 10px;
}

.social-media-menu__link {
    border-radius: 3px;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-pack: center;
    justify-content: center;
    -ms-flex-align: center;
    align-items: center;
    background-color: #8F9192;
    color: #FFF;
    height: 35px;
    width: 35px;
    margin-right: 10px;
    transition: background-color .3s;
}

.social-media-menu__link:hover {
    background-color: #5e5f5f;
}

[class^="cs-icon-"]::before, [class*=" cs-icon-"]::before {
    content: '';
    display: inline-block;
    font-family: "cs-icons";
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    font-style: normal;
    font-variant: normal;
    font-weight: 400;
    margin-right: 0.2em;
    speak: none;
    text-align: center;
    text-decoration: inherit;
    text-transform: none;
    width: 1em;
}

.social-media-menu__link::before {
    font-size: 18px;
    font-size: 1.125rem;
    line-height: 100%;
    margin-right: 0;
}

.cs-icon-facebook:before {
    content: '\f09a';
}

.cs-icon-youtube-play:before {
    content: '\f16a';
}

.cs-icon-instagram:before {
    content: '\f16d';
}

.cs-icon-twitter:before {
    content: '\e805';
}

.cs-icon-linkedin:before {
    content: '\e807';
}