body, html{
    margin: 0;
    padding: 0;
    height: 100%;
}

body {
    background: #fafaf9;
    font-family: 'Poppins', sans-serif;
    min-height: 100%;
}

#header {
    max-width: 100%;
    box-sizing: border-box;
    padding: 20px;
}

#header img {
    width: 100%;
    max-width: 100%;
}

#holder {
    padding: 0;
    position: relative;
    left: 50%;
    top: 0;
    transform: translate(-50%, 0);
    min-height: calc(100%);
    box-sizing: border-box;

    background: url('resources/background.png');
    background-repeat: no-repeat;
    background-size: auto 100vh;
    background-color: #ffffff;
    background-position: top right;
    background-attachment: fixed;

}

#footer {
    background: rgb(35, 31, 32);
    height: 72px;
    line-height: 72px;
    position: fixed;
    bottom: 0;
    width: 1024px;
    max-width: 1024px;
    left: 50%;
    transform: translate(-50%,0);
    border-top: solid 1px #ffffff;
}

#footer img {
    height: 64px;
    position: absolute;
    top: 50%;
    transform: translate(0,-50%);
}

#footer .logo1 {
    left: 10px;
}

#footer .logo2 {
    right: 10px;
}


a {
    text-decoration: none;
}

a:visited{
    text-decoration: none;
}

a:active {
    text-decoration: none;
}

a:hover {
    color: #38398c;
}

h1, h2, h3, a {
    color: #5388C7;
}

h2 {
    font-size: 32px;
    line-height: 36px;
}

#content{
    flex-direction: column;
    margin: 30px;
}

#content > h2 {
    hypens: manual;
}

#spacer {
    display: box;
    height: 80px;
}


/*-------mobile ------*/
@media only screen and (max-width: 1024px) {
    body {
        padding: 0;
        margin: 0;
    }

    #holder {

        width: 100%;
        min-height: 100vh;
        padding: 0;
        margin: 0;
    }

    #footer {
        width: 100%;
    }

    #content {
        padding: 10px;
    }


    .youtube {
        width: 100%;
        height: 100vmin;
    }

}

/*-------desktop ------*/


@media only screen and (min-width: 1025px) {

    #holder {
        box-shadow: 0px 0px 17px 0px rgba(0,0,0,0.18);
        width: 1024px;
        max-width: 1024px;
    }


    .youtube {

        width: 512px;
        height: 288px;
    }
}


@media only screen and (max-width: 512px) {
    #footer{
        height: 48px;
    }

    #footer img {
        height: 32px;
        position: absolute;
        top: 50%;
        transform: translate(0,-50%);
    }
}