.header {
    display: block;
    position: relative;
    background: blue;
    width: 100%;
}

.logo-container {
    min-height: 7em;
    display: flex;
    background-color: #4a148c;
    position: relative;
    top: 0;
    color: white;
    box-sizing: border-box;
    padding: .5em;
    justify-content: center;
    flex-flow: row;
}

body {
    background-color: #fff4f3;
    margin: 0;
    font-family: 'Segoe UI', 'Roboto', arial, sans-serif;
    display: flex;
    flex-flow: column;
}


.logo {
    display: inline-block;
    background-image: url('logo CFYN.jpg');
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    flex: 0 0 15em;
}

.title {
    display: inline-flex;
    position: relative;
    align-items: center;
    justify-content: center;
    flex: 0 1 100%;
    font-size: calc((100vw + 15em) / 20);
}

.logo-container>* {
    opacity: .85;
}

.links {
    background-color: #7c43bd;
    display: flex;
    justify-content: space-around;
    flex-flow: row nowrap;
}

.link {
    color:  white;
    opacity: .9;
    font-size: 2em;
    padding: .25em;
    position: relative;
    text-decoration: none;
    text-align: center;
}

.spacer {
    width: 0;
}

.link::after {
    content: close-quote;
    position: absolute;
    background-color: #4a148c;
    width: 100%;
    height: 0;
    bottom: 0;
    left: 0;
    transition: height .2s;
}

.link:hover::after {
    height: .25em;
}

.content {
    display: flex;
    width: 80%;
    max-width: 100em;
    box-sizing: border-box;
    flex-flow: column;
    align-self: center;
}

.content>* {
    background-color: white;
    color: black;
    margin: .5em;
    padding: .5em;
    box-shadow: 0 1px 2px #00000099;
}

@media (max-width: 50em) {
    .logo-container{
        flex-flow: column;
    }
    .content {
        width: 100%;
    }
    .title {
        font-size: 50px;
    }
    .logo {
        flex: 1 1 4em;
    }
    .link {
        flex: 1 0 0;
    }
}

@media (max-width: 30em) {
    .links {
        flex-flow: column nowrap;
    }
    .link {
        text-align: left;
    }
    .title {
        display: none;
    }
}

