/* =========================
   Base
   ========================= */

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background-color: #151B23;
    color: #E8E4DA;
    font-family: Arial, Helvetica, sans-serif;
    line-height: 1.6;
}


/* =========================
   Header
   ========================= */

header {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 30px 30px;
    text-align: center;
}

header > a {
    display: inline-block;
    color: #E8E4DA;
    font-family: Garamond, Georgia, serif;
    font-size: 2.4rem;
    text-decoration: none;
}

nav {
    position: absolute;
    right: 30px;
    bottom: 30px;
}

nav a {
    margin-left: 24px;
    color: #D8DCE2;
    font-family: Arial, Helvetica, sans-serif;
    text-decoration: none;
    transition: color 0.2s ease;
}

nav a:hover {
    color: #E8E4DA;
    text-decoration: underline;
    text-underline-offset: 4px;
}


/* =========================
   Main
   ========================= */

main {
    width: min(1100px, calc(100% - 60px));
    margin: 50px auto 80px;
}

h1,
h2,
h3 {
    font-family: Garamond, Georgia, serif;
    font-weight: normal;
    color: #E8E4DA;
}

h1 {
    margin-bottom: 10px;
    font-size: 3rem;
}

h2 {
    margin-top: 60px;
    margin-bottom: 20px;
    font-size: 2rem;
}

p {
    color: #E8E4DA;
}

/* =========================
   News
   ========================= */

.news {
    margin-top: 50px;
    padding: 30px;
    background-color: #1D2938;
    border-radius: 4px;
}

.news p {
    margin: 0 0 20px;
}

.news p:last-child {
    margin-bottom: 0;
}


/* =========================
   Links
   ========================= */

a {
    color: #D8DCE2;
}

a:hover {
    color: #E8E4DA;
}


/* =========================
   SoundCloud players
   ========================= */

iframe {
    display: block;
    width: 100%;
    border: none;
}


/* =========================
   Footer
   ========================= */

footer {
    width: min(1100px, calc(100% - 60px));
    margin: 0 auto;
    padding: 30px 0 40px;
    border-top: 1px solid #303640;
}

footer p {
    margin: 0;
    color: #D8DCE2;
    font-size: 0.9rem;
}


/* =========================
   Mobile
   ========================= */

@media (max-width: 700px) {

    header {
        padding: 30px 20px 25px;
    }

    header > a {
        font-size: 2rem;
    }

    nav {
        position: static;
        margin-top: 20px;
    }

    nav a {
        margin: 0 10px;
    }

    main {
        width: calc(100% - 40px);
        margin-top: 35px;
    }

    h1 {
        font-size: 2.5rem;
    }

    h2 {
        font-size: 1.8rem;
        margin-top: 45px;
    }

    section {
        margin-bottom: 45px;
    }

    footer {
        width: calc(100% - 40px);
    }
}