/* ============================================================
   Transintelligent
   Author Website
   ============================================================ */

:root {
    /* Colors */
    --bg:        #121417;
    --panel:     #1a1d21;
    --text:      #d8d9db;
    --muted:     #9ca3aa;

    --ice:       #78abd6;
    --sand:      #b89f69;

    --border:    #34393f;

    --link:      #8ebee6;
    --link-hover:#c7def4;

    --shadow: rgba(0,0,0,.35);
}


/* ------------------------------------------------------------ */

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {

    margin: 0;
    padding: 0;

    background: var(--bg);
    color: var(--text);

    font-family: Inter,
                 "Helvetica Neue",
                 Helvetica,
                 Arial,
                 sans-serif;

    font-size: 18px;

    line-height: 1.75;

    -webkit-font-smoothing: antialiased;
}

/* ------------------------------------------------------------ */

.container {

    max-width: 860px;

    margin: auto;

    padding:

        60px
        32px
        80px;
}

/* ------------------------------------------------------------ */

h1,
h2,
h3 {

    font-family:

        "Cormorant Garamond",
        Georgia,
        serif;

    font-weight: 500;

    letter-spacing: .04em;

    text-align: center;

    margin-top: 2.2em;
}

h1 {

    font-size: 3.6rem;

    margin-top: .5em;

    margin-bottom: .2em;
}

h2 {

    font-size: 2.2rem;

    margin-bottom: .6em;
}

h3 {

    font-size: 1.5rem;
}

/* ------------------------------------------------------------ */

p {

    margin-bottom: 1.4em;

    text-align: left;
}

/* ------------------------------------------------------------ */

.lead {

    text-align: center;

    color: var(--muted);

    font-size: 1.25rem;

    max-width: 700px;

    margin:

        auto
        auto
        3rem;
}

/* ------------------------------------------------------------ */

a {

    color: var(--link);

    text-decoration: none;

    transition: .25s;
}

a:hover {

    color: var(--link-hover);
}

/* ------------------------------------------------------------ */

nav {

    text-align: center;

    margin-bottom: 70px;
}

nav a {

    display: inline-block;

    margin:

        0
        18px;

    font-size: .95rem;

    text-transform: uppercase;

    letter-spacing: .15em;

    color: var(--muted);
}

nav a:hover {

    color: var(--ice);
}

/* ------------------------------------------------------------ */

img {

    display: block;

    max-width: 100%;

    height: auto;

    margin: auto;
}

/* Cover image */

.cover {

    width: 320px;

    box-shadow:

        0 18px 50px var(--shadow);

    border-radius: 4px;
}

/* ------------------------------------------------------------ */

button,
.button {

    display: inline-block;

    padding:

        14px
        28px;

    border:

        1px solid var(--ice);

    color: var(--ice);

    background: transparent;

    border-radius: 3px;

    transition: .25s;

    text-transform: uppercase;

    letter-spacing: .08em;
}

button:hover,
.button:hover {

    background: var(--ice);

    color: var(--bg);
}

/* ------------------------------------------------------------ */

blockquote {

    border-left:

        2px solid var(--ice);

    padding-left: 1.2em;

    margin:

        2.5em
        0;

    color: var(--muted);

    font-style: italic;
}

/* ------------------------------------------------------------ */

hr {

    border: none;

    height: 1px;

    margin:

        4em
        auto;

    background:

        linear-gradient(
            to right,
            transparent,
            var(--border),
            transparent
        );
}

/* ------------------------------------------------------------ */

footer {

    margin-top: 5rem;

    text-align: center;

    color: var(--muted);

    font-size: .9rem;
}

/* ------------------------------------------------------------ */

.card {

    background: var(--panel);

    border:

        1px solid var(--border);

    border-radius: 6px;

    padding: 2rem;

    margin: 2rem 0;
}

/* ------------------------------------------------------------ */

@media (max-width: 700px) {

    body {

        font-size: 17px;
    }

    h1 {

        font-size: 2.8rem;
    }

    h2 {

        font-size: 2rem;
    }

    .container {

        padding:

            40px
            22px
            60px;
    }

    nav a {

        display: block;

        margin: 14px 0;
    }

    .cover {

        width: 250px;
    }
}

