/******* FONT ********/

@font-face {
    font-family: "fixedsys";
    src: url("/assets/fonts/fixedsys.woff") format("woff");
  }

  @font-face {
    font-family: "Neue Haas italic";
    src: url("/assets/fonts/NeueHaasDisplay-RomanItalic.woff2") format("woff2");
  }


/****** CSS RESET ******/

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-weight: normal;
    font-family: 'fixedsys';
}

h1, h2, h3, h4, h5, h6, p {
    font-size: 100%;
}

ol, ul, li {
    list-style: none;
}

figure {
    font-size: 0;
    line-height: 0;
}

img, video {
    width: 100%;
}

a {
    color: #000;
    text-decoration: none;
    cursor: pointer;
}

button {
	background: none;
	color: inherit;
	border: none;
	padding: 0;
	font: inherit;
	cursor: pointer;
	outline: inherit;
}

/****** MAIN ******/

html {
    font-size: 16px;
}

body {
    padding: 20px;
    background-color: #C1F4FF;
}

h1 {
    font-size: 1.25rem;
    position: fixed;
    right: 0;
    top: 0;
    padding: 5px;
    background-color: white;
    z-index: 5;
}

h2 {
    font-family: 'Neue Haas italic';
}

blockquote {
    font-size: 1.25rem;
}

blockquote::before {
    content: open-quote;
}

blockquote::after {
    content: close-quote;
}

p {
    font-family: 'Neue Haas italic';
}

nav {
    width: max-content;
    display: grid;
    margin: 0;
    position: fixed;
    top: 50%;
    transform: translateY(-50%);
    z-index: 5;
}

button {
    box-shadow: inset 4px -4px 8px rgb(0, 0, 0, 0.35);
    padding: 10px;
    border-radius: 10px;
    grid-column: 1;
    grid-row: 1;
}

button:is(.selected) {
    font-size: 2rem;
    background-color: red;
    position: relative;
    z-index: 3;
}

button:not(.selected) {
    position: relative;
    background-color: white;
    transform: translateY(110%);
    z-index: 2;
    margin-left: auto;
    margin-right: 10px;
    height: fit-content;
}

.content {
    position: absolute;
    right: 20;
    top: 40;
    width: 70%;
    z-index: 1;
}

.back {
    position: relative;
    z-index: -1;
    filter: blur(3px);
    opacity: 20%;
}

ol li:nth-child(2n+0) {
 transform: translateX(10px);
}

ol li:nth-child(2.5n+0) {
 transform: translateX(-10px);
}

ol li:nth-child(3n+0) {
 transform: translateX(0px);
}

/****** THOUGHTS ******/

.thoughts {
    position: absolute;
    right: 20;
    width: 100%;
}

.thoughts ol {
    column-width: 400px;
    column-gap: 10px;
}

.thoughts li {
    margin-bottom: 35px;
    margin-right: 2.5%;
}

blockquote {
    margin-bottom: 10px;
}

.pyramid::before {
    opacity: 0;
    pointer-events: none;
    content: "";
    display: block;
    position: absolute;
    width: 250px;
    height: 100px;
    background: url("/assets/images/pyramid.webp");
    background-size: contain;
    background-repeat: no-repeat;
    z-index: 4;
    transform: translateY(-110%);
}

.pyramid:hover:before{
    opacity: 1;
    transition: opacity 0.5s;
}

/****** ME ******/

.me {
    position: absolute;
    right: 20;
    width: 100%;
}

.me li {
    margin-bottom: 50px;
    display: flex;
    justify-content: space-between;
}

.me li:last-child {
    justify-content: end;
}

/****** RESPONSIVE ******/

/* Große Screens */

@media only screen and (min-width: 1441px) {


    html {
        font-size: 24px;
    }

    button:not(.selected) {
        transform: translateY(115%);
    }

    .content {
        top: 60;
    }

    .back {
        filter: blur(5px);
    }

    .thoughts ol {
        column-width: 600px;
    }


}

/* Smartphone */

@media only screen and (max-width: 576px) {
    .content {
        width: 100%;
        position:relative;
        right:0;
        left: 10;
        top: 50;
    }

    ol li:nth-child(2.5n+0) {
        transform: translateX(5px);
       }
}