@font-face { 
	font-family: 'jupiter_pro_bold-webfont';
	src: url('font/jupiter_pro_bold-webfont.woff') format("woff"),
         url('font/jupiter_pro_bold-webfont.ttf') format('truetype');
}

@font-face { 
	font-family: 'enge_etienne_font-webfont';
	src: url('font/enge_etienne_font-webfont.woff') format("woff"),
	     url("font/enge_etienne_font-webfont.otf") format("opentype");
}


:root {
    font-size: 300%;
    color: #080808;
    font-family: "jupiter_pro_bold-webfont";
}

html, body {
    margin: 0;
    height: 100%;
}

header {
    background-image: url("banner.jpg");
    background-repeat: no-repeat;
    background-color: white;
    box-sizing: border-box;
    height: 929px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    box-shadow: white 0 0 50px;
    padding-left: 30vw;
    text-shadow: white 0 0 15px;
    opacity: 0;
    animation: fadeInFromBottom 2.5s linear forwards;
}

@media screen and (max-width: 750px) {
    header {
        background-size: 250vw;
        font-size: .1vw;
        padding-left: 0;

        height: 125vw;
    }

    header img {
        margin-top: .5rem !important;
    }
}

@media screen and (max-width: 1000px) {
    header {
        padding-top: 20vh;
        padding-left: 0;
    }

    header h1 {
        font-size: 15vw;
    }

    header h2 {
        font-size: 7vw;
    }
}

header img {
    max-width: 80vw;
    max-height: 100px;
    margin-top: 2rem;
    margin-bottom: .5rem;   
    opacity: 0;
    animation: fadeInFromBottom 2s 2.5s linear forwards;
}

header .subtitle {
    display: flex;
    justify-content: center;
    align-items: center;
    align-content: center;
    width: 100%;
}

header .subtitle hr {
    flex: auto;
    margin: 0;
    border: none;
    height: 4px;
    background-color: #080808;
    margin-bottom: 40px;
    margin-left: 5px;
    margin-right: 5px;
    box-sizing: border-box;
    animation: scaleIn 4s linear;
}

h1 {
    font-family: "jupiter_pro_bold-webfont";
    font-weight: 500;
    margin: 0;
    font-size: 2rem;
    animation: fadeIn 2s linear;
}

h2 {
    font-family: "enge_etienne_font-webfont";
    font-weight: 500;
    margin: -1rem 15px 0 15px;
    font-size: 1rem;
}

a {
    text-decoration: none;
    color: inherit;
}

.background {
    z-index: -1;
    top: 0;
    left: 0;
    right: 0;
    font-size: 0;
    width: 100%;
    opacity: 0;
    animation: fadeInFromBottom 2s 4.5s forwards;
}

.background img {
    width: 100%;
    height: 28vw;
    margin: 0;
    background-color: lightgrey;
}

@keyframes scaleIn {
    from {
        flex: 0 0 0;
        width: 0;
    }
    to {
        
    }
}

@keyframes fadeIn {
    from {
        transform: translateY(-30px);
        opacity: 0;
    }
    to {
        transform: translateY(0px);
        opacity: 1;
    }
}

@keyframes fadeInFromBottom {
    from {
        transform: translateY(10px);
        opacity: 0;
    }
    to {
        transform: translateY(0px);
        opacity: 1;
    }
}
