@import url('https://fonts.googleapis.com/css2?family=Monsieur+La+Doulaise&display=swap');

*, *::after, *::before {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
    list-style: none;
    text-decoration: none;
    color: #E0E0E0;
}

body {
    font-family: Arial, Helvetica, sans-serif;
    background: #232323;
    overflow-y: auto;
    overflow-x: hidden;
}

.navigation {
    position: fixed;
    left: 0;
    top: 0;
    height: 100vh;
    border-right: 1px solid gray;
    width: 65px;
    background-color: #232323;
    z-index: 999;
}

.nav-list {
    flex-direction: column;
    display: flex;
    margin-left: -10px;
}

.list-item {
    width: 45px;
    height: 120px;
    transform: rotate(90deg);
    transform-origin: left;
    text-wrap: nowrap;
    font-weight: 500;
    margin-left: -10px;
    color: #E0E0E0;
}

.list-item:nth-child(1) {
    height: 30px;
    margin-left: 35px;
    margin-top: 10px;
}

.list-item:hover a, .active a  {
    color: #d1b40e;
}

.einstein {
    position: fixed;
    height: 100vh;
    width: auto;
    background-size: cover;
    -webkit-transform: scaleX(-1);
    transform: scaleX(-1);
    background-attachment: fixed;
    translate: -400px;
}

.overlay {
    position: absolute;
    z-index: 50;
    bottom: 15%;
    left: 20%;
    width: 70%;
    max-width: 700px;
}

.overlay .name {
    position: relative;
    font-family: 'Times New Roman', Times, serif;
    color: #d1b40e;
    font-size: 4.5rem;
    display: flex;
    flex-direction: column-reverse;
    margin-bottom: 15px;
}

.overlay .name::after {
    content: "";
    position: absolute;
    width: 100%;
    height: 2px;
    background-color:  #d1b40e;
}

.overlay .quote {
    margin-bottom: 25px;
    color: #E0E0E0;
}

.signature {
    font-family: "Monsieur La Doulaise", cursive;
    font-weight: 400;
    font-size: 2rem;
}

.content {
    width: calc(100% - 64px);
    float: right;
    padding: 20px;
    overflow-y: auto;
}

.picture-einstein {
    margin-top: 30px;
    display: flex;
    flex-direction: column;
    width: 70%;
    color: #d1b40e;
    max-width: 400px;
}

.picture-einstein a {
    text-decoration: underline;
    color: inherit;
}

.content .number {
    color: transparent;
    font-size: 6rem;
    font-style: oblique;
    -webkit-text-stroke: 2px #d1b40e;
}

.content h1 {
    color: #d1b40e;
    font-size: 2.5rem;
    font-style: oblique;
}

.content h2 {
    margin-top: 30px;
}

.content ul li {
    list-style: circle;
    margin-left: 20px;
    margin-top: 10px;
    color: #adadad;
}

.content p {
    margin-top: 10px;
    color: #adadad;
}


@media (min-width: 1024px) {
    .overlay {
        left: 8%;
    }
    .einstein {
        translate: 0;
    }
}

@media (min-width: 678px) {
    .smoothing {
        right: 0;
        top: 0;
        display: inline-block;
        position: absolute;
        height: 100vh;
        width: 50vw;
        background: linear-gradient(90deg, rgba(0,0,0,0) 5%, rgba(0,0,0,1) 51%);
    }
}


