@font-face {
    font-family: 'glemor_typefaceregular';
    src: url('font/glemor-typeface-webfont.woff2') format('woff2'),
         url('font/glemor-typeface-webfont.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}
@import url('https://fonts.cdnfonts.com/css/typo-3');
@import url('https://fonts.googleapis.com/css2?family=Lunasima&family=Space+Mono&display=swap');

@font-face {
    font-family: 'zai_tribute_to_casellis_panRg';
    src: url('font/zai_tributetocasellispantelegraph-webfont.woff2') format('woff2'),
         url('font/zai_tributetocasellispantelegraph-webfont.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}
@font-face {
  font-family: 'deconstruct';
  src: url('font/Deconstructed.woff2') format('woff2');
  font-weight: normal;
  font-style: normal;
}
@font-face {
  font-family: 'kode_monoregular';
  src: url('font/kodemono-variablefont_wght-webfont.woff2') format('woff2'),
       url('font/kodemono-variablefont_wght-webfont.woff') format('woff');
  font-weight: normal;
  font-style: normal;
}
@font-face {
  font-family: 'rossanova';
  src: url('font/rossanova-regular-webfont.woff2') format('woff2'),
       url('font/rossanova-regular-webfont.woff') format('woff');
  font-weight: normal;
  font-style: normal;
}
@font-face {
  font-family: 'egmond_itaitalic';
  src: url('font/egmondfree-italic-webfont.woff2') format('woff2'),
       url('font/egmondfree-italic-webfont.woff') format('woff');
  font-weight: italic;
  font-style: italic;
}
@font-face {
  font-family: 'egmondregular';
  src: url('font/egmondfree-regular-webfont.woff2') format('woff2'),
       url('font/egmondfree-regular-webfont.woff') format('woff');
  font-weight: normal;
  font-style: normal;
}


body{
  background-color: #D4D1DF;
}

.homepage_description{
  font-family: 'zai_tribute_to_casellis_panRg';
  color:red;
  margin: auto;
  width: 40%;
  padding: 30px;
  position:fixed;
  left: 30%;
}

h1{
  font-family: 'glemor_typefaceregular';
  text-align: center;
}

h2{
  text-align: center;
}

.smallMenu{
  text-align: center;
  margin: auto;
  width: 50%;
  padding: 5px;
}

p{
  padding-left: 10px;
  padding-right: 10px;
  font-size: 1.2rem;
}

.navigationTags{
  position: fixed;
  top:0;
  right:0;
  padding: 50px;
}

.navigationTags img{
  width: 25px;
}

.tag{
  width:150px;
  height:39px;
  font-size: 1.7rem;
  padding: 7px;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
  margin-bottom:10px;
  background-image: url("assets/redtag.png");
}

.cloudgallery{
  width:450px;
  height:349px;
  background-image: url("assets/cloudbg.png");
  padding: 15px;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
  position: fixed;
  right:50px;
  top: 85vh;
  z-index: 100;
  transition: top 15s ease-in-out, transform 2s ease-in-out;
}
.cloudgallery img{
  width:420px;
}

.cloudgallery:hover {
  transform: translateX(30px); /* Apply the initial transform on hover */
}

@keyframes wiggle {
  0%, 100% {
    transform: translateX(0);
  }
  50% {
    transform: translateX(-30px);
  }
}

a{
  text-decoration: underline;
  color: inherit;
}

a:hover{
  color:purple;
}

hr{
  border-top: .8px solid black;
  margin: 10px;
}

.backarrow{
  font-family: 'zai_tribute_to_casellis_panRg';
  position:fixed;
  left:15px;
  font-size: 3rem;
  color:red;
}

.backarrow a{
  text-decoration:none;
}

.backarrow a:hover{
  color:inherit;
}

.projectpaper{
  height:83%;
  position:fixed;
  background-image: url("<?php $a = array('pgbgimgs/1.jpg','pgbgimgs/2.jpg','pgbgimgs/3.jpg','pgbgimgs/4.jpg','pgbgimgs/5.jpg'); echo $a[array_rand($a)];?>");
  background-size: cover;
  width: 90%;
  margin-left: 20px;
  font-family: 'typo3', sans-serif;
  line-height: 2rem;
  border: 0.01px lightgray solid;
}

.left{
  width:30%;
  height:100%;
  padding:25px;
  float:left;
  overflow: hidden;
  /* overflow-y: scroll; */
}
.right {
  border-left: .8px solid black;
  height: 90%;
  width:70%;
  padding:25px;
  float:right;
  overflow: hidden;
  margin-top:15px;
  font-size: 1.3rem;
  line-height: 1.75rem;
  /* overflow-y: scroll; */
}
.right img{
  width:100%;
}

.taglink{
text-decoration: none;
}
.taglink:hover {
  text-decoration: none;
  color:black;
}
a:active {
  text-decoration: none;
  color:black;
}

.unicode-story{
  width:350px; 
  height:100%; 
  margin-right:45px;
  float:left;
  overflow-y:scroll
}
.mobiletemp{
display: none;
}

@media only screen and (max-width: 600px) {
  div.mobiletemp{
    position: fixed;
    width:100vw;
    height:100vh;
    display:block;
    background-color: #D4D1DF;
    z-index: 1000;
  }
  .homepage_description_mobile{
    position: absolute !important;;
    font-family: 'zai_tribute_to_casellis_panRg';
    color:red;
    padding:20px;
    font-size:1rem;
    width:100%;
    height:90vh;
    overflow: scroll;
  }
}