/*--------- general ------------*/
/* BRUNA */
@import url("https://use.typekit.net/ecj5bhi.css");

:root {
	--bg-color: rgb(78, 78, 89);
	--bg-color-trans: rgba(78, 78, 89, 0.9);
	--text-color: rgba(255,255,255,1.00);
	--accent-color: rgb(210, 149, 69);
	
	--HL-Font: bruna;
}

/* Light mode */
/*:root {
    --bg-color: rgb(230, 230, 230);
    --bg-color-trans: rgba(230, 230, 230, 0.9);
    --text-color: rgb(26, 26, 26);
    --accent-color: rgb(210, 149, 69);

    --HL-Font: bruna;
}*/
/* dark mode */
/*@media (prefers-color-scheme: dark) {
    :root {
        --bg-color: rgb(78, 78, 89);
		--bg-color-trans: rgba(78, 78, 89, 0.9);
		--text-color: rgba(255,255,255,1.00);
		--accent-color: rgb(210, 149, 69);
    }
    
}
@media (prefers-color-scheme: light) {
    .splotch {
        filter: brightness(0);
    }
}*/


* {
    box-sizing: border-box;
}

html {

    scroll-behavior: smooth;
}


body {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    font-family: var(--HL-Font);
    font-style: normal;
    font-weight: 300;
    font-size: 20px;
    line-height: 1.5;
    text-rendering: optimizeLegibility;
    color: var(--text-color);
    background-color: var(--bg-color);
    margin: 0px;
    overscroll-behavior: none;
    -webkit-overflow-scrolling: touch;
}

#main {
    max-width:1450px;
    margin:0 auto;
    
    padding: 0 20px;
}

h1 {
    font-family: var(--HL-Font);
    font-weight: 700;
    text-align: center;
    /*text-transform: uppercase;*/
}

h2 {
    font-family: var(--HL-Font);
    font-weight: 700;
    padding-top: 1.625rem;
    text-transform: uppercase;
}
h4 {
    font-family: var(--HL-Font);
    font-weight: 700;
    font-size: 1.2rem;
    margin: 0;
}

a{
    text-decoration: none;
    color: var(--accent-color);
}
p{
    hyphens: auto;
    hyphenate-limit-chars: auto 5;
    hyphenate-limit-lines: 2;
}


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



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

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


/*--------- kringel ------------*/

.splotch {
    position: absolute;
    width: 10px;
    height: 10px;
    z-index: -1;
  }
  .spl1{
      background-image: url("./img/spl1.png"); 
      background-size: 10px 10px;
  }
  .spl2{
      background-image: url("./img/spl2.png"); 
      background-size: 10px 10px;
  }
  .spl3{
      background-image: url("./img/spl3.png"); 
      background-size: 10px 10px;
  }
  .spl4{
      background-image: url("./img/spl4.png"); 
      background-size: 10px 10px;
  }
  .spl5{
      background-image: url("./img/spl5.png"); 
      background-size: 10px 10px;
  }



/*--------- blob wiggle ------------*/

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


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

.articles_container {
    display: flex;
    align-items: flex-start;
    column-gap: 1rem;
    row-gap: 3rem;
    flex-wrap: wrap;
    justify-content: center;
    align-content: flex-start;
}

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

.article:hover .article_info {
    /* display: block; */
    display: none;
}

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

.article_info {
    display: none;
    background-color: var(--accent-color);
    padding: 0.3125rem; 
    margin: 0.3125rem;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0.625rem;
}

.article_title {
    font-size: 1.5625rem;
    margin-bottom: 1.2rem;
}

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

/* .article-hashtags_item:hover,
.article-hashtags_item.active {
    color: var(--accent-color);
    background:linear-gradient(to bottom, var(--accent) 5%, var(--bg-color) 100%);
	background-color:var(--bg-color);
} */

/*--------- 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 ------------*/

.aButton {
    font-family: var(--HL-Font);
    font-weight: 300;
    text-transform: uppercase;
	background:linear-gradient(to bottom, var(--bg-color) 5%, var(--accent-color) 100%);
	background-color:var(--bg-color);
	border:0px solid #dcdcdc; 
	display:inline-block;
	cursor:pointer;
	color:var(--text-color);
	padding:10px 20px;
	text-decoration:none;
	text-shadow:0px 1px 0px rgba(var(--bg-color), 1.0);
}
.aButton:hover,
.aButton.active {
    color: var(--accent-color);
    background:linear-gradient(to bottom, var(--accent-color) 5%, var(--bg-color) 100%);
	background-color:var(--bg-color);
}

.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;
}
.overlay_media{
    display: block;
    position: relative;
    width:37.5rem;
}
.overlay_media img{
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    object-fit: cover;
}

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

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

header{
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
}
#logo{
    position: absolute;
    width: 400px;
    height: 400px;
    top:0px;
    left:0px;
}
#logo_space{
    width: 350px;
    height: 350px;
    top:0px;
    left:0px;
}
.info{
    font-family: var(--HL-Font);
    font-weight: 300;
    font-size: 1.4em;
    line-height: 1.4em;
}


header .info{
    font-family: var(--HL-Font);
    font-weight: 300;
    max-width: 1000px;
    min-width: 360px;
    width: calc(100% - 400px);
    margin-top: 20px;
    padding-right:20px;
    /*font-size: 1.4em;*/
    position: absolute;
    left: 400px;
    
}

#logo img{
    display: block;
    margin-left: auto;
    margin-right: auto; 
    width:400px;
}

/*--------- burge 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-trans);
    --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: 20px;
}
.burger-menu ul span {
    font-family: var(--HL-Font);
    font-weight: 700;
    /* 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;
    align-items: flex-end;
    -webkit-align-items: flex-end;
}

.some { 
    font-family: var(--HL-Font);
    font-size: 50px;
    color: var(--text-color);
    line-height: 1;
    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;
  }
.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(--bg-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: 800px) {
    header .info{
        max-width: 100%;
        left: 20px;
        display: contents;
    }
  }

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