/*--------- general ------------*/
@import url('https://fonts.googleapis.com/css2?family=IBM+Plex+Mono:wght@200;300;500&display=swap');


@font-face {
    font-family: 'FORCED-SQUARE';
    src:url('./font/FORCED-SQUARE.ttf.woff') format('woff'),
        url('./font/FORCED-SQUARE.ttf.svg#FORCED-SQUARE') format('svg'),
        url('./font/FORCED-SQUARE.ttf.eot'),
        url('./font/FORCED-SQUARE.ttf.eot?#iefix') format('embedded-opentype'); 
    font-weight: normal;
    font-style: normal;
}

/* Light mode */
:root {
    --bg-color: rgba(233, 227, 204,1);
    --bg-color-trans: rgba(255, 255, 255, 0.7);
    --text-color: rgba(25, 12, 23, 1);
    --accent: rgba(234, 228, 204, 1);
    --accent-color: rgba(59, 125, 188, 1);
    --accent-two: rgba(107, 2, 214, 1);

    --HL-Font: prestige-elite-std;
    --Text: prestige-elite-std; 
}

/* dark mode */
@media (prefers-color-scheme: dark) {
    :root {
        --bg-color: rgba(25, 12, 23, 1);
        --bg-color-trans: rgba(0, 0, 0, 0.7);
        --text-color: rgba(233, 227, 204,1);
        --accent: rgba(59, 125, 188, 1);
        --accent-color: rgba(234, 228, 204, 1);
        --accent-two: rgba(107, 2, 214, 1);
    }

    .logowall_item img{
        filter: brightness(0) invert(1) !important;
    }
    
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    height: 100vh;
}


body {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    /* font-family: var(--Text); */
    font-family: "IBM Plex Mono", monospace;
    font-weight: 300;
    font-style: normal;;
    font-size: 16px;
    line-height: 1.5;
    text-rendering: optimizeLegibility;
    color: var(--text-color);
    background-color: var(--bg-color);
    cursor: url('./img/cursor.svg') 15 15, auto;
    transition: cursor 0.3s ease;
    margin: 0px;
    overscroll-behavior: none;
    -webkit-overflow-scrolling: touch;
}


.main {
    max-width:90.625rem;
    margin:0 auto;
    
    padding: 0 20px;
}

h1 {
    /* font-family: var(--HL-Font); */
   font-family: "IBM Plex Mono", monospace; 
   /* font-family: "FORCED-SQUARE";*/
    font-size: 2em;
    font-weight: 500;
    text-align: center;
    text-transform: uppercase;
    display: inline;
    background-color: var(--bg-color);
    /* padding:5px; */

}

h2 {
    /* font-family: var(--HL-Font); */
    font-family: "IBM Plex Mono", monospace;
    font-weight: 500;
    padding-top: 1.625rem;
    text-transform: uppercase;
}
h4 {
    /* font-family: var(--HL-Font); */
    font-family: "IBM Plex Mono", monospace;
    font-weight: 500;
    font-size: 1.2rem;
    line-height: 2.2rem;
    margin: 0px;
    margin-bottom: 3px;
    /* background-color: var(--bg-color); */
   
}

a{
    text-decoration: none;
    color: var(--accent-two);
    cursor: url('./img/pointer.svg') 15 15, auto;
}
p {
    display: block;
    background-color: var(--bg-color);
    padding: 5px;
    text-align: justify;
    hyphens: auto;
    hyphenate-limit-chars: auto 3;
    hyphenate-limit-lines: 2;
}

span{
    /* font-family: "FORCED-SQUARE"; */
    font-weight: 500;
}



 h2, h3, .hashtag-text, .more, .overlay_text {
    display: block;
    /* background-color: var(--bg-color); */
    padding:5px;
    /* background-image: linear-gradient(rgba(0,0,0,0) 0%, rgba(255,255,255,0.7) 100%); */
}
.overlay_content h1, h2, h3, .hashtag-text, .more, .overlay_text {
    padding:0px;
    /* background-image: linear-gradient(rgba(0,0,0,0) 0%, rgba(255,255,255,0.7) 100%); */
}
.overlay_text p{
    padding:0px;
}

p{
    display: block;
    background-color: var(--bg-color);
    padding:5px;
}

.newline{
    clear:left;
}


/*--------- effects ------------*/



/*--------- sections ------------*/

.section {
    position: relative;
    padding-bottom: 7rem;
    padding-top:3.5rem;
}
.section_hashtags{
    margin-bottom: 0.625rem;
}


/*--------- DAI Background ------------*/

canvas{
    position: fixed;
    top:-00px;
    left:0px;
    z-index: -1;
}


/*--------- articles ------------*/

.articles_container {
    display: flex;
    align-items: flex-start;
    column-gap: 5px;
    row-gap: 0px;
    flex-wrap: wrap;
    justify-content: center;
    align-content: flex-start;
    width:100%;
}

.article {
    margin: 0 auto;
    position: relative;
    transition: background 0.3s;
    width: 28.9375rem;
}
.article_image {
    display: block;
    margin-bottom: 0.625rem;
    position: relative;
    border-radius: 0.3125rem;
    overflow: hidden;
}

.article:hover .article_info {
    display: block;
}

.article_image img.init {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    object-fit: cover;
    /* transition: transform 0.3s; */
}

.article_info {
    /* background-color: var(--bg-color); */
    background-color: var(--bg-color-trans);
    display: none;
    padding: 0.3125rem; 
    margin: 0.3125rem;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0.625rem;
    /*cursor: pointer;*/
    cursor: url('./img/pointer.svg') 15 15, auto;

}


.article-hashtags_item {
    transition: all 0.3s;
}

.hashtag-text{
    width:auto;
    float: left;
    padding:5px;
    margin-right:3px;
    font-size: 0.7rem;
}

.more{
    position: absolute;
    bottom:5px;
    right:5px;
    padding:5px;
}

/*--------- logowall --------------*/
.logowall{
    width: 100%;
    display:flex;
    display: -webkit-flex; /* NEW */
    align-items: center;
    flex-wrap: wrap;
    -webkit-flex-wrap: wrap; /* NEW */
    background-color: var(--bg-color);
    margin-bottom: 50px;
}
.logowall_item{

    height:85px;
    padding:25px;
    flex-grow: 1; /* Initial flex-grow value */
}

.logowall_item img{
    width: 100%;
    height: 100%;
    object-fit: contain;
    -webkit-filter: var(--text-color); 
    filter: brightness(0);
}

/*--------- epilog ------------*/
.epilog{
    font-size: 0.8em;
    width:100vw;
    background-color:black;
    color:white;
    
    display: flex;
    align-items: flex-end;
    justify-content: space-around;
    flex-wrap: wrap;
}
.epilog div{
    min-width: 300px;
    padding:50px;
}


/*--------- buttons ------------*/
button{
    cursor: url('./img/pointer.svg') 15 15, auto;
}

.aButton {
    /* font-family: var(--HL-Font); */
    font-family: "IBM Plex Mono", monospace;
    font-weight: 300;
    text-transform: uppercase;
	background-color:var(--bg-color);
	border:0px solid #dcdcdc; 
	display:inline-block;
	cursor: url('./img/pointer.svg') 15 15, auto;
	color:var(--text-color);
	padding:10px 20px;
	text-decoration:none;
	text-shadow:0px 1px 0px rgba(var(--bg-color), 1.0);
    margin-right:3px;
}
.aButton:hover,
.aButton.active {
    /* color: var(--accent-color); */
    background:linear-gradient(to bottom, var(--bg-color) 90%, var(--accent-two) 91%);
	background-color:var(--bg-color);
}

/* .top {
    --offset: 250px; 
    position: sticky;
    bottom: 15px;      
    margin-right:10px; 
    place-self: end;
    margin-top: calc(100vh + var(--offset)); 

    float: right;

    text-decoration: none;
    padding: 15px;
    font-family: sans-serif;
    color: var(--text-color);
    background: var(--bg-color);
    border-radius: 5px;
    white-space: nowrap;
  }*/
  .top {
    position: fixed;
    bottom: 15px;
    right: 15px;
    opacity: 0; /* Initially hide the button */
    transition: opacity 0.3s ease; /* Smooth transition */
    text-decoration: none;
    padding: 15px;
    font-family: sans-serif;
    color: var(--text-color);
    background: var(--bg-color);
    border-radius: 5px;
    white-space: nowrap;
  }
  
  /* Show the button when scrolled past a certain point */
  body.scrolled .top {
    opacity: 1;
  }

/*--------- overlay ------------*/

.overlay {
    position: fixed;
    width: 100vw;
    height: 100vh;
    top: 0;
    left: 0;
    padding:30px;
    background-color: var(--bg-color);
    z-index: 100;
    overflow-y: scroll;
}

.overlay_media{
    position: relative;
    width: 100%;
    margin: 0 auto 3px auto;
    overflow: hidden;
}

.overlay_media img{
    width: 100%;
    height: 100%;
    margin-right: 3px;
    margin-bottom: 3px;
    object-fit: cover;
}


.overlay_media iframe{
    width: 100%;
    /*min-height: calc(56.25vw);*/
    border: 0;
    aspect-ratio: 16/9;
    width: 100%;
}
.overlay_text{
    margin-bottom: 20px;
}

.moreimages{
    padding:0px;
    margin:0px;
    width: 25%;
    display: block;
    position: relative;
}
.moreimages img{
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    object-fit: cover;
}


/*--------- landing ------------*/

.landing{
    min-height:100vh;
    padding-bottom: 7rem;
}

header{
    margin-bottom: 2.5rem;
    display: flex;
    align-items: start;
    flex-wrap: wrap;
}
#logo{
    position: absolute;
    width: 300px;
    height: 300px;
    top:0px;
    left:0px;
}
#logo img{

    background: linear-gradient(135deg, transparent calc(2px + 4 * 0.414px), var(--bg-color) 0) top left,
    linear-gradient(-135deg, transparent calc(15px + 4 * 0.414px), var(--bg-color) 0) top right,
    linear-gradient(-45deg, transparent calc(2px + 4 * 0.414px), var(--bg-color) 0) bottom right,
    linear-gradient(45deg, transparent calc(15px + 4 * 0.414px), var(--bg-color) 0) bottom left;
    background-size: 50% 50%;
    background-repeat: no-repeat;
}
#logo_space{
    width: 300px;
    height: 300px;
    top:0px;
    left:0px;
}

.info{
    font-family: "IBM Plex Mono", monospace;
    font-weight: 300;
    font-size: 1.3em;
    line-height: 1.4em;
    margin-bottom:2rem;
}

.landing .info{
    /* font-family: var(--HL-Font); */
    
    max-width: 1000px;
    min-width: 360px;
    width: calc(100% - 400px);
    margin-top: 100px;
   
    position: absolute;
    left: 300px;
}

#logo img{
    display: block;
    margin-left: auto;
    margin-right: auto; 
    margin-top: 25%;
    width:200px;
}

/*--------- burger menu ------------*/
.burger-menu-trigger{
    position:fixed;
    top:0px;
    right:20px;
    z-index: 99;
    padding:0.625rem 0 ;
}

.burger-menu{
    position: fixed;
    width: 300px;
    height: 100vh;
    top: 0px;
    right:-300px;
    padding:30px;
    padding-top:60px;
    background-color: var(--bg-color);
    --bg-opacity: 0.7;
    transition-timing-function: cubic-bezier(0.42, 0, 0.58, 1);
    transition: right 0.3s;
}
.burger-menu.active{
    right:0px;
}

.burger-menu ul {
  list-style-type: none;
  margin: 0;
  padding: 0px;
}
.burger-menu li{
    margin-left:-10px;
}
.burger-menu li a{
    display: block;
    margin-top: 20px;
}
.burger-menu ul span {
    /* font-family: var(--HL-Font); */
    font-family: "IBM Plex Mono", monospace;
    font-weight: 500;
    /* text-transform: uppercase; */
  }

#contactlinks {
    display: flex;
    position: absolute;
    padding-right: 100px;
    padding-top: 20px;
    padding-bottom: 20px;
    padding-left: 20px;
    right:0px;
    -webkit-justify-content: flex-end;
    justify-content: flex-end;
    align-items: flex-end;
    -webkit-align-items: flex-end;
    background-color: var(--bg-color);
    cursor: url('./img/pointer.svg') 15 15, auto;
}

.some { 
    display: inline-block;
    height: 30px;
    text-decoration: none;
    margin-right: 15px;
}

.some svg {
    width: 100%;
    height: 100%;
    fill: var(--text-color);
    stroke: none;
  }

.burger-menu-trigger svg {
    fill-rule: evenodd;
    clip-rule: evenodd;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-miterlimit: 1.5;
    /* cursor:pointer; */
    cursor: url('./img/pointer.svg') 15 15, auto;
  }
.burger-menu-trigger   svg path {
    fill: none;
    stroke: var(--text-color);
    stroke-width: 1px;
  }

.burger-menu-trigger   svg + svg {
    margin-left: 1.5rem;
  }

  .icons {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    border: none;
    background-color:var(--color);
  }

  #top,
  #bottom {
    stroke-dasharray: 30, 75.39;
    transition: all 0.6s cubic-bezier(0.6, 0.33, 0.67, 1.29);
  }

  svg.active #top,
  svg.active #bottom {
    /* stroke-dasharray: 75.39; */
    stroke-dashoffset: -60;
  }

  svg:nth-child(2) {
    transform: rotate(0deg);
    transition: transform 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
  }

  svg:nth-child(2) path {
    transition: all 0.4s ease-in-out 0.6s;
  }

  svg:nth-child(2).active {
    transform: rotate(180deg);
  }

  .rocket #top {
    stroke-dasharray: 30, 88;
  }

  /*smartphone hochformat*/
  @media screen and (max-width: 1000px) {
    .landing .info{
        max-width: 100%;
        left: 20px;
        display: contents;
    }
  }

  @media screen and (orientation: portrait) and (max-width: 400px) {
    .article{
        width:100%;
    }
  }