@font-face {
    font-family: 'PF Agora Slab Pro Regular';
    src: url('fonts/PFAgoraSlabPro-Regular.eot');
    src: url('fonts/PFAgoraSlabPro-Regular.eot?#iefix') format('embedded-opentype'),
        url('fonts/PFAgoraSlabPro-Regular.woff2') format('woff2'),
        url('fonts/PFAgoraSlabPro-Regular.woff') format('woff'),
        url('fonts/PFAgoraSlabPro-Regular.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'PF Agora Slab Pro Bold';
    src: url('fonts/PFAgoraSlabPro-Bold.eot');
    src: url('fonts/PFAgoraSlabPro-Bold.eot?#iefix') format('embedded-opentype'),
        url('fonts/PFAgoraSlabPro-Bold.woff2') format('woff2'),
        url('fonts/PFAgoraSlabPro-Bold.woff') format('woff'),
        url('fonts/PFAgoraSlabPro-Bold.ttf') format('truetype');
    font-weight: bold;
    font-style: normal;
}

@font-face {
    font-family: 'PF Agora Slab Pro Medium';
    src: url('fonts/PFAgoraSlabPro-Medium.eot');
    src: url('fonts/PFAgoraSlabPro-Medium.eot?#iefix') format('embedded-opentype'),
        url('fonts/PFAgoraSlabPro-Medium.woff2') format('woff2'),
        url('fonts/PFAgoraSlabPro-Medium.woff') format('woff'),
        url('fonts/PFAgoraSlabPro-Medium.ttf') format('truetype');
    font-weight: 500;
    font-style: normal;
}

@font-face {
    font-family: 'PF Agora Slab Pro Black';
    src: url('fonts/PFAgoraSlabPro-Black.eot');
    src: url('fonts/PFAgoraSlabPro-Black.eot?#iefix') format('embedded-opentype'),
        url('fonts/PFAgoraSlabPro-Black.woff2') format('woff2'),
        url('fonts/PFAgoraSlabPro-Black.woff') format('woff'),
        url('fonts/PFAgoraSlabPro-Black.ttf') format('truetype');
    font-weight: 900;
    font-style: normal;
}

html, body {
    font-family: PF Agora Slab Pro Regular;
    font-size: 28px;
    line-height: 1.2rem;
    color: #0e140e;
}

body {
    background-image: url('img/bg.jpg');
    background-repeat: no-repeat;
    background-size: 100% 100%;
    background-position: center top; 

}

h1, h2, h3 {
    font-family: PF Agora Slab Pro Black;
}

h1 {
    font-size: 3rem;
    line-height: 3rem;
}

h2 {
    padding-top: 2rem;
    padding-bottom: 1rem;
    font-size: 1.6rem;
}

h3 {
    font-size: 1.3rem;
    padding-top: 1rem;
    padding-bottom: 0.5rem;
}

p {
    text-align: justify;
}

a {
    color: #4f3116;
    text-decoration: underline;
}

.photolines {
    position: relative;
    z-index: 1;
}


.paper_container {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    z-index: 2;
}

.paper_container .paper {
    position: relative;
}

.paper_container .paper .paper_heading {
    position: absolute;
    top: 3rem;
    left: 2.5rem;
}

.paper_container .paper .paper_heading h3 {
    font-family: PF Agora Slab Pro Regular;
}

.join_button {
    background-color: #63554d;
    border-radius: 2rem;
    padding: 0.75rem 2rem 0.7rem 2rem;
    color: #f9eacb;
    text-decoration: none;
    font-family: PF Agora Slab Pro Bold;
    font-size: 0.9rem;
    line-height: 1rem;
}

.join_button:hover {
    color: #f9eacb;
    text-decoration: none;
    background-color: #4f3116;
}

p.step {
    text-align: center;
    font-family: PF Agora Slab Pro Medium;
    font-size: 0.7rem;
    padding-top: 1rem;
    line-height: 1rem;
}

ul {
    /* margin: 0.75em 0; */
    margin-top: -0.75rem;
    padding: 0 0 0 1rem;
    list-style: none;
}

ul > li {
    font-family: PF Agora Slab Pro Medium;
    font-size: 0.9rem;
}

li:before { 
    content: "";
    border-color: transparent #111;
    border-style: solid;
    border-width: 0.5em 0 0.5em 0.65em;
    display: block;
    height: 0;
    width: 0;
    left: -1em;
    top: 1.2em;
    position: relative;
}



@media (min-width: 320px) and (max-width: 374px) {
    html, body {
        font-size: 18px;
    }

    h1 {
        font-size: 1rem;
        line-height: 1rem;
    }

    h4 {
        font-size: 1rem;
    }

    p.step {
        font-size: 1.2rem;
    }

    .paper_container .paper .paper_heading {
        position: absolute;
        top: 1rem;
        left: 1rem;
    }
}

@media (min-width: 375px) and (max-width: 565px) {
    html, body {
        font-size: 20px;
    }

    h1 {
        font-size: 1.3rem;
        line-height: 1.3rem;
    }

    h2 {
        font-size: 1.3rem;
    }

    h4 {
        font-size: 1rem;
    }

    p.step {
        font-size: 1.2rem;
    }

    .paper_container .paper .paper_heading {
        position: absolute;
        top: 1rem;
        left: 1rem;
    }
}

@media (min-width: 567px) and (max-width: 767px) {
    html, body {
        font-size: 20px;
    }

    h1 {
        font-size: 2rem;
        line-height: 2rem;
    }

    h2 {
        font-size: 1.3rem;
    }

    h4 {
        font-size: 1rem;
    }

    p.step {
        font-size: 1.2rem;
    }

    .paper_container .paper .paper_heading {
        position: absolute;
        top: 1.5rem;
        left: 1.5rem;
    }
}

@media (min-width: 768px) and (max-width: 991px) {
    html, body {
        font-size: 22px;
    }

    h1 {
        font-size: 2.4rem;
        line-height: 2.4rem;
    }

    h2 {
        font-size: 1.75rem;
    }

    h4 {
        font-size: 1rem;
    }

    p.step {
        font-size: 1.2rem;
    }

    .paper_container .paper .paper_heading {
        position: absolute;
        top: 1.5rem;
        left: 1.5rem;
    }
}

@media (min-width: 992px) and (max-width: 1199px) {
    html, body {
        font-size: 24px;
    }

    p.step {
        font-size: 1.2rem;
    }

    .paper_container .paper .paper_heading {
        position: absolute;
        top: 2rem;
        left: 2rem;
    }
}