@import url('https://fonts.googleapis.com/css?family=Ubuntu+Condensed|Work+Sans|Yesteryear|Kaushan+Script|Rock+Salt|Open+Sans|Amatic+SC');
@import url('https://fonts.googleapis.com/css?family=Pacifico');


*{
    margin: 0;
    padding: 0;
}
body {
    height: 100%;
    width: 100%;
    font-family: 'Ubuntu Condensed', sans-serif;
    font-size: 10px;
    line-height: 1.2rem;
    font-weight: 500;
    color: #4d2607;
    background-image: url("../img/bg.jpg");
    background-color: #fff;
    background-repeat: no-repeat;
    background-attachment: fixed;
    background-position: center center;
    background-size: cover;
}

#corner{
    position: absolute;
    left: 0;
    top: 0;
    z-index: 10;
}

#container{
    width: 695px;
    margin: 20px auto;
}

#content{
    background-color: #f7b512;
    width: 609px;
    padding: 50px 20px 20px;
    margin-left: 24px;
    margin-top: -35px;
    font-size: 1.4rem;
    line-height: 1.8rem;
}

h2{
    font-size: 2rem;
    font-weight: bold;
    line-height: 2rem;
    margin-bottom: 20px;
    margin-top: 10px;

}

a, a:active{
    color: #333284;
}

a:hover{
    color: #45449f;
}

ol li:first-child{
    margin-top: 32px;
}
ol li{
    margin-left: 20px;
    margin-bottom:20px;
}

.sub-text{
    color: #c70714;
    font-family: "Pacifico", "Pacifico Regular", sans-serif;
    font-weight: normal;
}

#return-to-action{
    text-align:center;
}
.btn{
    display: inline-block;
    color: #fff;
    border: 1px solid #fff;
    border-radius: 7px;
    background-color: #4d2607;
    width: auto;
    height: auto;
    padding: 12px 20px;
    margin: 20px auto 20px auto;
    text-transform: uppercase;
    -moz-border-radius: 0px;
    font-weight: bold;
}

.btn:hover, .btn:active{
    background-color: #b10e11;
    transition: 0.5s;
    color: #fff;
    box-shadow: inset 0px 0px 0px 2px rgba(255,255,255,1);

}

img#code-example{
    width: 300px;
    float: right;
    margin-top: 20px;
}

div#arrow-to-package{
    width:200px;
    float:right;
}

div#arrow-to-package img{
    width: 50px;
}

#footer{
    background-color: #f7b512;
    margin: 0 24px;
}
#footer img a{
    cursor: pointer;
}

#logo {
    display: inline-block;
    width: 45%;
    padding: 0px;
    text-align: right;
    vertical-align: middle;
}
#contact {
    display: inline-block;
    width: 50%;
    padding-top: 10px;
    vertical-align: middle;
    font-size: 1rem;
    line-height: 1.4rem;
}

@media only screen
and (min-width : 320px)
and (max-width : 840px) {

    body{
        background-image: none;
    }
    #corner{
        width: 40%;
    }

    #corner img{
        width: 100%;
    }

    #container{
        width: 100%;
        margin: 0;
    }

    #header{
        background-image: url("../img/bg.jpg");
        background-position: center;
        background-size: 100%;
        padding: 10px 0;
    }

    #header img{
        width: 100%;
    }

    #content{
        width: 100%;
        margin: 0;
        padding: 15px;
        box-sizing: border-box;
    }

    div#arrow-to-package{
        width: 50px;
        display: none;
    }

    .mobile_image{
        text-align: center;
    }

    .mobile_image img#code-example{
        float: none;
    }

    h2{
        margin: 0;
    }

    #footer #logo, #footer #contact{
        display: block;
        text-align: center;
        width: 100%;
    }

    #footer{
        background-color: #fff;
        width: 100%;
        margin: 15px 0;
    }

}