/*-- Font face --*/
@font-face {
    font-family: 'WuerthBold';
    src: url('../fonts/WuerthBold.woff') format('woff');
}

@font-face {
    font-family: 'WuerthBook';
    src: url('../fonts/WuerthBook.woff') format('woff');
}

@font-face {
    font-family: 'WuerthExtraBold';
    src: url('../fonts/WuerthExtraBoldCondCaps.woff') format('woff');
}


/*-- Common --*/
body {
    font-family: "WuerthBook", sans-serif;
}

h1 {
    font-family: 'WuerthExtraBold';
    font-size: 60px;
    line-height: 70px;
}

h2 {
    font-family: 'WuerthExtraBold';
    font-size: 40px;
    line-height: 50px;
}

h3 {
    font-family: 'WuerthBold';
    font-size: 36px;
    line-height: 47px;
}

h4 {
    font-family: 'WuerthBold';
    font-size: 22px;
    line-height: 32px;
}

p {
    font-family: 'WuerthBook';
    font-size: 18px;
    line-height: 26px;
}

.p-bold {
    font-family: 'WuerthBold';
    font-size: 16px;
    line-height: 24px;
}

.h2-dark {
	text-align: center !important;
}
.bg-dark {
    background-image: url("../img/bg-dark.jpg");
    background-size: cover;
}

.bg-grey1 {
    background-image: url("../img/bg-grey1.jpg");
    background-position: right;
    background-size: cover;
}

.bg-grey2 {
    background-image: url("../img/bg-grey2.jpg");
    background-position: left;
    background-size: cover;
}

.bg-grey3 {
    background-image: url("../img/bg-grey3.jpg");
    background-position: right;
    background-size: cover;
}

.bg-red {
    background-image: url("../img/bg-red.jpg");
}

.bg-footer {
    background-image: url("../img/wurth_footer_friends.jpg");
    background-position: center;
    background-size: cover;
}

.text-dark {
    color: #212529;
}

.text-red {
    color: #DF0000;
}


/*-- Wrapper --*/
.wrapper {
    max-width: 1800px;
    margin: 0 auto;
    position: relative;
    padding: 0 15px;
    overflow: hidden;
}

@media (max-width: 576px) {

    p,
    h1,
    h2,
    h3,
    h4 {
        text-align: left !important;
    }

    .footer h4 {
        text-align: center !important;
    }

    img.icons {
        display: block;
        text-align: left !important;
    }
}

@media (max-width: 1200px) {
    .wrapper {
        padding: 0;
    }

    .container {
        padding: 0 25px;
        max-width: 1000px;
        width: 100%;
    }

    h1 {
        font-size: 40px;
        line-height: 45px;
    }

    h2 {
        font-size: 30px;
        line-height: 35px;
    }

    h3 {
        font-size: 22px;
        line-height: 29px;
    }

    h4 {
        font-size: 18px;
        line-height: 28px;
    }
}


/*-- Hero --*/
.hero {
    background-image: url("../img/wurth_top_img.jpg");
    background-position: center;
    height: 900px;
    position: relative;
}

.hero .logo {
    max-width: 230px;
    position: absolute;
    right: 20px;
    top: 20px;
}

.hero .text {
    position: absolute;
    left: 40px;
    bottom: 40px;
}

.hero .text h1,
.hero .text h3 {
    text-shadow: 0px 0px 6px rgb(0 0 0 / 40%);
}

.hero .jix-btn {
    position: absolute;
    right: 40px;
    bottom: 40px;
}

.scroll-down {
    display: none;
}


@media (max-width: 1200px) {
    .hero {
        max-height: 700px;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .hero .logo {
        max-width: 230px;
        position: relative;
        right: 0;
    }

    .hero .text {
        padding: 0 25px;
        left: auto;
        bottom: 60px;
    }

    .hero .jix-btn {
        right: auto;
        bottom: -22px;
        z-index: 100;
    }

    .scroll-down {
        display: inherit;
        position: absolute;
        right: auto;
        bottom: -16%;
        width: 60px;
        z-index: 100;
    }
}

@media (max-width: 576px) {
    .hero {
        max-height: 550px;
    }

    .scroll-down {
        bottom: -20%;
    }
}

/*-- Citat --*/
.citat-img {
    z-index: 100;
    max-width: 455px;
}

.citat-text1 {
    z-index: 1;
    padding-left: 100px !important;
}

.citat-text2 {
    z-index: 1;
    padding-right: 100px !important;
}

.citat-text3 h4,
.citat-text4 h4 {
    font-size: 18px;
    line-height: 28px;
}

@media (max-width: 576px) {

    .citat-text1 img,
    .citat-text1 h4,
    .citat-text1 p,
    .citat-text2 img,
    .citat-text2 h4,
    .citat-text2 p {
        padding-left: 0 !important;
        padding-right: 0 !important;
    }
}

@media (max-width: 768px) {

    .citat-text1 img,
    .citat-text1 h4,
    .citat-text1 p,
    .citat-text2 img,
    .citat-text2 h4,
    .citat-text2 p {
        padding-left: 0 !important;
        padding-right: 0 !important;
    }

    .citat-img {
        margin: 0 !important;
        padding: 0;
        max-width: 325px;
    }

    .citat-text1 {
        margin-top: -150px;
        margin-left: 0 !important;
        margin-right: 0;
        margin-top: -150px;
        padding-top: 150px !important;
        padding-bottom: 10px !important;
        padding-left: 48px !important;
    }

    .citat-text2 {
        margin-right: 0 !important;
        margin-left: 0;
        margin-top: -150px;
        padding-top: 150px !important;
        padding-right: 48px !important;
        padding-bottom: 10px !important;
    }

    .citat-text3,
    .citat-text4 {
        margin-top: -150px !important;
        padding-top: 100px !important;
        padding-left: 0 !important;
        padding-right: 0 !important;
        padding-bottom: 0 !important;
    }

    .sissel {
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .alexander {
        display: flex;
        flex-direction: column-reverse;
        align-items: center;
    }
}


/*-- Dark box - 2 års elevforløb --*/
.box-1,
.box-2,
.box-3,
.box-4 {
    max-width: 455px;
    width: 100%;
    min-height: 117px;
    height: auto;
    color: #fff;
    padding: 45px 50px 0 50px !important;
    position: relative;
    margin: 0 auto;
}

.box-img {
    max-width: 455px;
    height: auto;
    position: relative;
    margin: 0 auto;
}

.box-1 p,
.box-2 p,
.box-3 p,
.box-4 p {
    font-family: "WuerthBook";
    font-size: 16px;
    line-height: 26px;
    text-align: center !important;
}

.box-h3 {
    font-family: "WuerthExtraBold";
    text-align: center !important;
}

.box-1.arrow-bottom:after,
.box-2.arrow-bottom:after,
.box-3.arrow-bottom:after,
.box-4.arrow-bottom:after {
    content: " ";
    position: absolute;
    right: 0;
    bottom: -20px;
    border-right: 229px solid transparent;
    border-left: 229px solid transparent;
    border-bottom: none;
}

.box-1 {
    background-color: #252525;
    z-index: 4;
}

.box-1.arrow-bottom:after {
    border-top: 20px solid #252525;
}

.box-2 {
    background-color: #313131;
    z-index: 3;
}

.box-2.arrow-bottom:after {
    border-top: 20px solid #313131;
}

.box-3 {
    background-color: #3B3939;
    z-index: 2;
}

.box-3.arrow-bottom:after {
    border-top: 20px solid #3B3939;
}

.box-4 {
    background-color: #484545;
    z-index: 1;
}

.box-4.arrow-bottom:after {
    border-top: 20px solid #484545;
}

@media (max-width: 576px) {

    .box-1,
    .box-2,
    .box-3,
    .box-4 {
        max-width: 325px;
        height: 125px;
        padding: 40px 30px 0 30px !important;
    }

    .box-img {
        max-width: 325px;
    }

    .box-1.arrow-bottom:after,
    .box-2.arrow-bottom:after,
    .box-3.arrow-bottom:after,
    .box-4.arrow-bottom:after {
        bottom: -19px;
        border-right: 160px solid transparent;
        border-left: 160px solid transparent;
    }
}

@media (max-width: 350px) {
	.box-1.arrow-bottom:after,
	.box-2.arrow-bottom:after,
	.box-3.arrow-bottom:after,
	.box-4.arrow-bottom:after {
		border-right: 130px solid transparent;
		border-left: 139px solid transparent;
	}
}

/*-- Dark box - powerperson --*/
.rfw {
    max-width: 806px;
    width: 100%;
    position: relative;
    margin: 0 auto;
}

.rfw .powerperson {
    max-width: 806px;
    width: 100%;
    margin: 0 auto;
}

.rfw .hashtag {
    position: absolute;
    top: 140px;
    right: -75px;
}

@media (max-width: 1200px) {
    .rfw {
        margin-bottom: 0 !important;
        padding-bottom: 0 !important;
    }

    .rfw .hashtag {
        position: relative;
        top: -50px;
        right: auto;
    }
}


/*-- Apply btns --*/
.jix_onlineapplication_button .button {
    font-family: "WuerthExtraBold", sans-serif;
    font-size: 18px;
    line-height: 16px;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #fff;
    border-radius: 0;
    border: 0;
    padding: 15px 30px;
    background: #DF0000;
    transition: background-color 0.2s ease;
}

.jix_onlineapplication_button .button:hover,
.jix_onlineapplication_button .button:focus,
.jix_onlineapplication_button .button:active {
    background: #FF0202;
    box-shadow: none;
    color: #fff;
    text-decoration: none;
    transition: background-color 0.2s ease;
}


/*-- GSAP --*/

.fade-in {
    opacity: 0;
}

.fade-delay-one,
.fade-delay-two,
.fade-delay-three,
.fade-delay-four,
.fade-delay-five,
.fade-down {
    opacity: 0;
    transform: translate(0, -50px);
}

.zoom {
    transform: scale(0.8, 0.8) translate(0, 0);
}

.scroll {
    transform: translate(0, 100px);
    opacity: 1;
}

.arrow-down {
    opacity: 0;
    transform: translate(0, -100px);
}

.right-to-left {
    transform: translate(250px, 0);
    opacity: 1;
}

@media (max-width: 768px) {
    .right-to-left {
        transform: translate(0px, 0px) !important;
        opacity: 1 !important;
    }
}

.left-to-right {
    transform: translate(-200px, 0);
    opacity: 1;
}

@media (max-width: 768px) {
    .left-to-right {
        transform: translate(0px, 0px) !important;
        opacity: 1 !important;
    }

}
