@font-face {
    font-family: Avenir;
    src: url(Avenir.ttc);
}

#logo {
    width: 500px;
    margin: 5em auto;
    text-align: center;
    display: flex;
}

* {
    box-sizing: border-box;
    font-size: 22px;
    font-family: Avenir;
    /* -webkit-font-smoothing: antialiased; */
}

main {
    padding: 0 1em;
    margin: auto;
    width: 100%;
    max-width: 1000px;
    margin-bottom: 5em;
}

.header {
    margin-bottom: 8em;
    text-align: center;
}

p {
    text-align: left;
    margin:0;
}

.container {
    display: flex;
    margin-bottom: 5em;
    flex-direction: column;
}

a {
    text-decoration: none;
    color:rgba(21,150,142,1);
    text-align: center;
    align-self: center;
}

a:hover {
    border-bottom: 3px solid rgba(21,150,142,1);
}

h1 {
    padding: 0 0 0 1em;
    font-size: 3rem;
    line-height: 100%;
    background: -webkit-linear-gradient(45deg, rgba(2,0,36,1) 0%, rgba(21,150,134,1) 58%, rgba(21,150,142,1) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

h2 {
    margin: 0;
    padding: 0 0 .5em 0;
    width: 60%;
    font-weight: 800;
    font-size: 2rem;
    line-height: 100%;
    background: -webkit-linear-gradient(45deg, rgba(2,0,36,1) 0%, rgba(21,150,134,1) 58%, rgba(21,150,142,1) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

h2.right {
    text-align: right;
    align-self: flex-end;
}

h2.center {
    text-align: center;
    width: 100%;
}

.nav {
    margin-top: 5em;
}

.heading {
    display: flex;
    margin: 3em auto 5em auto;
    justify-content: center;
}

img#sean {
    width: 250px;
    border-radius: 50%;
    align-self: center;
}

.cta {
    text-align: center;
}

@media only screen and (max-width: 800px) {
    #logo {
        width: 70%;
        margin: 5em auto;
    }

    h2 {
        
        width: 100%;
        font-size: 1.7rem;
  
    }

    h2.right {
        text-align: left !important;
    }

    .heading {
        flex-direction: column;
        margin: 3em auto;
    }

    h1 {
        padding: 0 ;
        font-size: 2.5rem;
        line-height: 100%;
        background: -webkit-linear-gradient(45deg, rgba(2,0,36,1) 0%, rgba(21,150,134,1) 58%, rgba(21,150,142,1) 100%);
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
    }
}