/*        OVERALL STYLE        */


@font-face {
    font-family: Akzidenz;
    src: url('./font/akzidenz/AkzidenzGrotesk-Regular.otf');
    font-style: normal;
    font-weight: 100;
}

@font-face {
    font-family: AkzidenzBold;
    src: url('./font/akzidenz/AkzidenzGrotesk-Bold.otf');
    font-style: bold;
}

@font-face {
    font-family: AkzidenzItalic;
    src: url('./font/akzidenz/AkzidenzGrotesk-Italic.otf');
    font-style: italic;
}

@font-face {
    font-family: AkzidenzLightCaps;
    src: url('./font/akzidenz/AkzidenzGrotesk-LightSC.otf');
    font-style: normal;
}

@font-face {
    font-family: AkzidenzBoldItalic;
    src: url('./font/akzidenz/AkzidenzGrotesk-MediumItalic.otf');
    font-style: medium, italic;
}

@font-face {
    font-family: AkzidenzMedium;
    src: url('./font/akzidenz/AkzidenzGrotesk-Medium.otf');
    font-style: medium;
}

@font-face {
    font-family: AkzidenzLight;
    src: url('./font/akzidenz/AkzidenzGrotesk-LightOsF.otf');
    font-style: normal;
}

@font-face {
    font-family: AkzidenzLightItalic;
    src: url('./font/akzidenz/AkzidenzGrotesk-LightItalicOsF.otf');
    font-style: normal, italic;
}



/*    OVERALL STYLE   */

header{
    z-index: 1;
    margin-left: 1em;
}


body {
    display: flex;
    flex-direction: column;
    background-color: #ECE4D5;
    overflow: hidden;
    font-family: Akzidenz;
    height: 100%;
}

main {
    display: flex;
    flex-direction: column;
    height: 100%;
    width: 100%;
    justify-content: center;
    align-content: center;
    text-decoration: none;
    align-self: center;

}



section:first-of-type{
    display: flex;
    justify-content: center;
    position: absolute;
    bottom: 0;
    width: 100%;
    height: 100%;
}

div {
    display: flex;
    justify-content: center;
}

h1 {
    font-family: AkzidenzBold;
    font-size: 1.5em;
    color: #371a21;
    z-index: 7;
}



/* BUTTON STYLE    */

.button {
    display: flex;
    justify-content: space-between;
    flex-direction: row;
    position: absolute;
    bottom: 10px;
    width: 1200px;;
    margin-left: 1em;
    margin-right: 1em;
    margin-bottom: 0em;
}

button {
    background-color: #C84F17;
    width: 200px;
    height: 70px;
    border-radius: 6.25em;
    border: none;
    z-index: 1;
    margin: 1em;
    font: Akzidenz;
}

#next {
    background-color: #6A712E;
}

a {
    color: #ECE4D5;
    text-decoration: none;
    font: AkzidenzMedium;
    font-size:21px;
}




img {
    z-index: -1;
    position: absolute;
    width: 100%;
    align-self: center;
}











/* ANIMATION */
@-webkit-keyframes move
{
    from {
        top: 4px;
    }
    to {
        top: -900pxpx;
    }
}
@keyframes move
{
    from {
        top: 4px;
    }
    to {
        top: -900pxpx;
    }
}


#animation {
    text-decoration: none;
    top: -900px;
    position: absolute;
    -webkit-animation: move 5s;
    animation: move 5s;
}

#animation  {
    -webkit-transition: all 1s ease-in-out;
    -moz-transition: all 1s ease-in-out;
    -o-transition: all 1s ease-in-out;
    -ms-transition: all 1s ease-in-out;
    transition-duration: 1s;
    }


