* {
    margin: 0;
    outline: none;
    padding: 0;
}

body {
    display: flex;
    flex-flow: column;
    font-family: Verdana, Geneva, Tahoma, sans-serif;
    font-size: 1rem;
    justify-content: stretch;
    line-height: 135%;
}

a {
    border-bottom: 1px solid #0c0ae0;
    -webkit-background-clip: text;
    background-image: -webkit-linear-gradient(top, #0063bf 40%, #0d0d7a);
    color: #0c0ae0;
    text-decoration: none;
    -webkit-text-fill-color: transparent;
}

a:hover {
    border-bottom: 1px solid #8c8af9;
    -webkit-background-clip: text;
    background-image: -webkit-linear-gradient(top, #2495ff 40%, #3434ea);
    color: #5c59f7;
    -webkit-text-fill-color: transparent;
}

h2 {
    background-color: rgba(255, 255, 255, .5);
    margin: 1.5em -5% 1em;
    padding: 1.5% 5%;
}

h2:first-child {
    margin-top: 0;
}

@media(min-width: 45rem) {
    h2 {
        margin: 1em 0 .25em;
        padding: 1%;
    }
}

hr {
    border: 0 solid #0c0ae0;
    border-top-width: 2px;
    margin: 1em 0;
}

img {
    max-width: 100%;
    vertical-align: bottom;
}

p {
    margin-bottom: 1em;
}

p:last-child {
    margin-bottom: 0;
}

ul {
    list-style: square;
    padding-left: 1.25em;
}

#header {
    background: #ffffff;
    left: 0;
    line-height: 100%;
    max-width: 100px;
    padding: 1%;
    position: fixed;
    top: 0;
    width: 15%;
    z-index: 10;
}

@media(min-width: 61rem) {
    #header {
        padding: .5%;
    }
}

.logo {
    vertical-align: bottom;
    width: 100%;
}

.panel {
    align-items: center;
    background: linear-gradient(0deg, rgb(13, 13, 122) 0%, rgba(0, 212, 255, .75) 95%, rgba(0, 212, 255, .75) 100%);
    box-sizing: border-box;
    display: flex;
    flex-flow: column;
    flex-grow: 0;
    flex-shrink: 0;
    justify-content: center;
    overflow: hidden;
    padding: 5em 2% 2%;
    word-break: keep-all;
    word-wrap: break-word;
}

.panel:nth-child(odd) {
    background: linear-gradient(0deg, rgb(0, 212, 255, .75) 0%, rgba(13, 13, 122) 95%, rgba(13, 13, 122) 100%);
}
    
.panel__content {
    max-width: 100%;
    width: 100%;
}

@media(min-width: 61rem) {
    .panel__content {
        max-width: 75rem;
        width: auto;
    }
}

.panel--teaser {
    font-size: 14vw;
    min-height: 90vh;
    padding: 2%;
}

@media(min-width: 45rem) {
    .panel--teaser {
        min-height: 100vh;
        padding: 5%;
    }
}

@media(min-width: 61rem) {
    .panel--teaser {
        font-size: 16vh;
    }
}

.panel__content--teaser {
    background: #ffffff;
    line-height: 100%;
    padding: 1%;
    text-align: center;
    width: auto;
}

.fingerpost {
    position: relative;
}

.fingerpost::before,
.fingerpost::after {
    color: #ffffff;
    display: inline-block;
    left: auto;
    opacity: .75;
    position: absolute;
    right: auto;
    text-align: center;
}

.fingerpost::before {
    bottom: calc(1% + 3.25rem);
    content: attr(data-fingerpost);
    font-size: 1rem;
    line-height: 1rem;
    z-index: 2;
}

 .fingerpost::after {
    border: 2.5rem solid transparent;
    border-top-color: #e9ebff;
    bottom: 1%;
    content: "";
    transform: translateY(50%);
    z-index: 1;
}

@media(min-width: 40rem) {
    .list--horizontal {
        display: flex;
        flex-direction: row;
        justify-content: stretch;
        list-style-type: none;
        padding: 0;
    }

    .list--horizontal li {
        box-sizing: border-box;
        flex-grow: 1;
        margin-left: .5%;
        padding: 0 .5em;
        text-align: center;
    }

    .list--horizontal li:first-child {
        margin-left: 0;
    }
}

@media(max-width: 60.999rem) {
    .grid > article {
        margin-top: 1rem;
    }

    .grid > article:first-child {
        margin-top: 0;
    }
}

@media(min-width: 61rem) {
    .grid {
        display: grid;
        column-gap: 5%;
        grid-template-columns: repeat(2, 1fr);
        row-gap: 1em;
    }

    .grid--2-1 {
        grid-template-columns: 2fr 1fr;
    }
}

.text {
    background: #e9ebff;
    max-width: 50em;
    padding: 3%;
}

@media(min-width: 45rem) {
    .text {
        padding: 2em;
    }
}

.card {
    background: #e9ebff;
}

.card__header {
    display: flex;
    flex-direction: row;
}

.card__header img {
    align-self: flex-start;
}

.card__header--compact {
    margin-bottom: 0;
}

.card__header--compact .card__header-text {
    margin-bottom: 2%;
}

.card__header-text {
    margin: 2% 1em 0;
    width: 100%;
}

.card__header-text h3 {
    margin-bottom: .5em;
}

.card__header-text p {
    font-size: .75em;
    margin: 0;
}

.card__icon {
    max-height: 75px;
    max-width: 75px;
}

.card__content {
    padding: 2%;
}

@media(min-width: 80rem) {
    .card__content {
        padding: 1em 2em;
    }
}

.education__duration {
    line-height: 135%;
}

.note__wrapper {
    display: inline-flex;
    font-size: 1em;
    font-weight: normal;
    margin-left: .25em;
    position: relative;
    vertical-align: text-top;
}

.note__toggle {
    appearance: none;
    background-color: rgba(255, 255, 255, .5);
    border: 2px solid #00d4ff;
    border-radius: 50%;
    box-sizing: border-box;
    font-family: monospace;
    font-size: 10px;
    height: 16px;
    line-height: 100%;
    padding: 0;
    text-align: center;
    width: 16px;
}

.note__content {
    display: inline-block;
    font-size: .75rem;
    line-height: 130%;
    margin-top: 1px;
}

.note__panel {
    background-color: #ffffff;
    border: 2px solid #00d4ff;
    font-weight: normal;
    padding: .25em;
    position: absolute;
    top: -.4em;
    width: 13em;
}

.note__panel:after {
    border: .5em solid transparent;
    content: " ";
    height: 0;
    position: absolute;
    top: .5em;
    width: 0;
}

.note__panel--top {
    bottom: 100%;
    margin-bottom: .5em;
    right: 0;
    top: auto;
}

.note__panel--top:after {
    border-top-color: #00d4ff;
    margin: 0 auto;
    right: 0;
    top: 100%;
}

.note__wrapper.hide .note__panel {
    display: none;
}

.note__wrapper:focus .note__panel,
.note__wrapper:hover .note__panel {
    display: block;
}
