body {
    font-size: 18px;
    line-height: 27px;
    padding-bottom: 4rem;
    scroll-behavior: smooth;
}

.header {
    margin: 0;
    background-color: #354771;
    line-height: 1.5em;
    padding: 15px;
    color: white;
    font-family: 'Quicksand', sans-serif;
    font-weight: 300;
    display: flex;
    justify-content: space-around;
}

.header-inside {
    width: 1000px;
    display: flex;
    align-items: baseline;
    justify-content: space-between;
}

#me {
    display: flex;
    align-items: baseline;
    flex-wrap: wrap;
}

#singulia {
    font-size: 32px;
}

#yann {
    font-size: 13px;
    margin-left: 1rem;
}

#menu {
    font-size: 24px;
    display: flex;
    font-variant: small-caps;
    text-align: center;
}

#menu a {
    text-decoration: none;
    color: white;
    display: block;
    position: relative;
    padding: 0.2em 0;
}

#menu a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background-color: white;
    opacity: 0;
    transform: scale(0);
    transform-origin: center;
    transition: opacity 300ms, transform 300ms;
}

#menu a:hover::after {
    opacity: 1;
    transform: scale(1);
}

#intro .block {
    font-size: 32px;
    line-height: 48px;
    width: 480px;
}

.block {
    margin: 4rem 0 0 0;
    width: 560px;
    background-color: rgb(226, 238, 240);
    /* border: 1px solid rgb(131, 161, 168); */
    border-radius: 0.5rem;
}

.references-title {
    margin-bottom: 1rem;
}

.references-container-new {
    display: flex;
    flex-wrap: nowrap;
    justify-content: space-between;
    padding: 1rem;
    padding-bottom: 0;
    margin-top: 1rem;
}

.references-container-new:last-child {
    margin-top: 0;
    margin-bottom: 1rem;
    padding-top: 0;
}

.reference-logo-container {
    box-sizing: border-box;
    margin-bottom: 1rem;
    margin-left: 6px !important;
    margin-right: 6px !important;
}

.reference-logo-container.selected {
    border: 2px solid #196cb0;
}

.references-showcase {
    padding: 10px 20px !important;
    min-height: 165px;
    margin-bottom: 1rem;
}

@media screen and (min-width: 700px) {
    #b1 .block, #b3 .block, #b5 .block {
        margin-left: -10rem;
    }

    #b2 .block {
        margin-left: 10rem;
    }
}

@media screen and (max-width: 700px) {

    #menu a {
        font-size: 16px;
    }

    .block {
        margin-left: 1rem !important;
        margin-right: 1rem !important;
    }

    .references-container-new {
        flex-wrap: wrap;
    }
}

#intro .emph {
    font-size: 48px;
    line-height: 64px;
    text-align: right;
    color: #196cb0;
}

.container {
    display: flex;
    justify-content: space-around;
}

/*
.title {
    background-color: #354771;
    line-height: 1.5em;
    padding: 1rem;
    color: white;
    border-radius: 0.5rem 0.5rem 0 0;
}
*/
.title {
    line-height: 24px;
    padding: 1.2rem 1.2rem 0;
    color: #196cb0;
    border-radius: 0.5rem 0.5rem 0 0;
    font-size: 24px;
    font-weight: bold;
}

.title+.block-contents {
    margin-top: 1rem;
}

.block-contents {
    margin: 1.8rem;
}

.cit {
    font-style: italic;
    font-size: 16px;
    margin-bottom: 1rem;
    margin-top: 0.5rem;
}

.cit-who {
    margin-top: 1rem;
}


/*
#intro .block-contents {
    margin: 1rem;
}
*/
