html, body {
    margin: 0;
    text-align: center;
    background-color: #400F04;
    font-family: -apple-system, BlinkMacSystemFont, "Helvetica Neue","Helvetica","Arial",sans-serif;
}

header {
    background-color: #F2C166;
    padding: 50px 0;
    margin: 0px 0 -100px;
}
header img {
    position: relative;
    z-index: 2;
    max-width: 300px;
}

.separator {
    background-color: #400F04;
}
.separator img {
    position: relative;
    top: -2px;
    width: 100%;
    max-height: 300px;
}

article {
    color: #F2C166;
    max-width: 500px;
    margin: 0 auto;
    padding: 40px 20px;
    position: relative;
    margin-bottom: 5px;
}

article.description {
    text-align: left;
    max-width: 700px;
}
article.description h4 {
    font-size: 35px;
}
article.description h2 {
    text-align: center;
    margin: 40px 0 0;
}
article.description dl,
article.description dd,
article.description p {
    margin-bottom: 25px;
    line-height: 1.5em;
    font-size: 20px;
}
article.description p:last-child {
    margin-bottom: 0;
}

article.logo {
    padding-top: 0;
}
article:after {
    content: '';
    display: block;
    background: #7D1D07;
    width: 200px;
    height: 5px;
    position: absolute;
    bottom: -5px;
    left: 50%;
    transform: translate3d(-50%, 0, 0);
}

h1 {
    margin: 25px 0 20px;
    background: transparent url('logo.svg') no-repeat scroll center center;
    background-size: contain;
    height: 60px;
    text-indent: -9999999px;
}
h2 {
    font-size: 28px;
    font-weight: 300;
    margin: 0;
    position: relative;
}
h3 {
    font-size: 28px;
    margin: 0;
    color: #F2C166;
    font-weight: 300;
    margin-bottom: 30px;
}
h4 {
    font-size: 30px;
    margin: 0 0 20px;
}

p {
    margin: 0;
}

.newsletter form {
    position: relative;
    max-width: 500px;
    margin: 0 auto;
}
.newsletter input[type="email"] {
    background: #7D1D07;
    color: #F2C166;
    font-size: 25px;
    border: none;
    padding: 20px 90px 20px 20px;
    width: 100%;
    box-sizing: border-box;
    height: 63px;
}
.newsletter input[type="email"]:focus {
	outline: 5px solid #CC2A06;
}
.newsletter input[type="email"]::placeholder {
    position: absolute;
    color: #F2C166;
    opacity: 0.5;
}
.newsletter input {
	-webkit-appearance: none;
	border-radius: 0;
}
.newsletter input[type="submit"] {
    cursor: pointer;
    position: absolute;
    background: #CC2A06;
    right: 0;
    top: 0;
    border: none;
    color: #F2C166;
    font-weight: 900;
    font-size: 20px;
    padding: 0 20px;
    height: 63px;
}
.newsletter input[type="submit"]:focus,
.newsletter input[type="submit"]:hover {
	outline: none;
    background-color: #D93F07;
}

.newsletter .button-container {
    position: relative;
}

.newsletter .response {
    background: #F2C166;
    margin-bottom: 20px;
    padding: 10px;
    color: #400F04;
    line-height: 2em;
}
.newsletter .response a {
    color: #400F04;
}
.newsletter .response a:hover {
    text-decoration: none;
}

.newsletter #mc_embed_signup div.mce_inline_error {
	position: relative;
	color: #F2C166;
	background: #400F04;
	margin: 10px 0;
	padding: 5px 10px;
	z-index: 1;
	font-weight: bold;
}

/* Tutorial page */

.tutorial-page header {
    margin: 0;
    padding: 20px;
}
.tutorial-page header img {
    max-width: 200px;
}

.tutorial-page article:after {
    display: none;
}
.tutorial-page article.description h2 {
    margin: 0 0 30px;
    font-size: 50px;
    font-weight: bold;
}

.tutorial-page h4 {
    position: relative;
    display: inline-block;
    margin-bottom: 40px;
}
.tutorial-page h4:after {
    content: '';
    display: block;
    background: #7D1D07;
    height: 5px;
    position: absolute;
    bottom: -10px;
    width: 100%;
    left: 0;
    transform: translate3d(0, 0, 0);
}

.tutorial-page h5 {
    font-size: 25px;
    font-weight: bold;
    margin: 0 0 20px;
}

.tutorial-page dl {
    margin: 0;
}
.tutorial-page dt {
    font-weight: bold;
    font-size: 20px;
    margin: 0 0 15px;
}
.tutorial-page dd {
    padding: 0;
    margin: 0 0 25px;
}
.tutorial-page a {
    color: #F2C166;
    text-decoration: underline;
}
.tutorial-page .warning {
    background: #F2C166;
    padding: 15px;
    color: #400F04;
    border-radius: 10px;
}
.tutorial-page .description img {
    height: 100px;
    display: block;
    margin: 0 auto 20px;
    border: 5px solid #7D1D07;
    background: #7D1D07;
    border-radius: 5px;
    max-width: 300px;
}

.home-page .download-container {
    margin-bottom: 0;
    padding-bottom: 0;
}
.home-page .download-container:after {
    display: none;
}

.home-page .description {
    text-align: center;
}
.home-page .description.text {
    text-align: left;
    padding-bottom: 0;
}
#notify .newsletter .text a,
.home-page .text a {
    color: #F2C166;
}
#notify .newsletter .text a:hover,
.home-page .text a:hover {
    text-decoration: none;
}
.home-page .description.text:after,
.home-page .description:last-child:after {
    display: none;
}
.repos ul {
    list-style: none;
    padding: 0;
    margin: 0;
}
.repos li {
    display: inline-block;
}
.repos a {
    color: #F2C166;
    background: transparent url('/gitlab.svg') no-repeat scroll 15px center;
    background-size: 25px;
    padding: 15px 15px 15px 50px;
    display: block;
    margin-right: 20px;
    border-radius: 35px;
    transition: background-color 0.25s ease-in;
    text-decoration: none;
}
.repos a:hover {
    background-color: #9C2005;
}

[href="/#notify"] {
    cursor: pointer;
    display: block;
    color: #F2C166;
    text-decoration: none;
}
[href="/#notify"]:hover {
    text-decoration: underline;
}

#notify .newsletter {
    display: none;
}
#notify:target [href="/#notify"] {
    display: none;
}
#notify:target .newsletter{
    display: block;
}
#notify .newsletter .text {
    text-align: left;
}

a.download {
    padding: 20px;
    background: #7D1D07 url('/mac_icon.png') no-repeat scroll 10px center;
    border-radius: 90px;
    padding-left: 120px;
    background-size: 100px;
    cursor: pointer;
    display: inline-block;
    padding-right: 45px;
    text-decoration: none;
    transition: background-color 0.25s ease-in;
    color: #F2C166;
    text-align: left;
}
a.download:hover {
    background-color: #9C2005;
}

a.download h3 {
    margin-bottom: 0;
    font-weight: bold;
}
a.download p {
    margin: 0;
    opacity: 0.5;
}

@media (max-width: 720px) {
	header {
		padding: 40px 0;
		margin-bottom: -60px;
	}
	header img {
		max-width: 200px;
	}
	.separator img {
		height: 200px;
	}
}

@media (max-width: 550px) {
	h1 {
	    height: 40px;
	}
	h2, h3 {
		font-size: 22px;
	}
    .newsletter input[type="submit"],
    .newsletter input[type="email"] {
		font-size: 20px;
	}
	header {
		padding: 20px 0;
		margin-bottom: -45px;
	}
	header img {
		max-width: 150px;
	}
	.separator img {
		height: 150px;
	}

    article {
        padding: 20px;
    }

    article.description h4 {
        font-size: 30px;
    }
    article.description p {
        font-size: 18px;
    }
    article.description h2 {
        margin-top: 20px;
    }

    article.description.repos h4 {
        font-size: 25px;
    }
    a.download h3 {
        font-size: 20px;
    }
    a.download p {
        font-size: 16px;
    }
    .repos ul a {
        margin: 0 0 20px;
    }
    a.download {
        padding-left: 100px;
        padding-right: 35px;
        background-size: 80px;
    }
}

@media (max-width: 400px) {
	.newsletter input[type="email"] {
		text-align: center;
		padding: 10px;
		height: auto;
	}
    .newsletter input[type="email"]:focus {
    	outline: none;
    }
	.newsletter input[type="submit"] {
		position: static;
		transform: none;
		display: block;
		width: 100%;
		padding: 10px;
		height: auto;
	}

    a.download h3 {
        font-size: 18px;
    }
    a.download p {
        font-size: 14px;
    }
    .repos ul a {
        margin: 0 0 10px;
    }
}
