@import url(https://fonts.googleapis.com/css2?family=Quicksand:wght@300;400;500;600;700&display=swap);
@import url(https://fonts.googleapis.com/css2?family=Dancing+Script:wght@400;500;600;700&display=swap);
* {
  font-family: "HelveticaNeue-Light", "Helvetica Neue Light", "Helvetica Neue", Helvetica, Arial, "Lucida Grande", sans-serif;
  color: white;
  font-weight: 400;
  touch-action: none !important;
}
body {
  background: linear-gradient(to bottom right, #b92b27, #1565C0);
  overflow: hidden;
    margin: 0;
    padding: 8px;
    display: flex;
    flex-flow: column;
    align-items: center;
    height: 100vh;
}
html {
  scroll-behavior: smooth;
}
text {
    font-family: "HelveticaNeue-Light", "Helvetica Neue Light", "Helvetica Neue", Helvetica, Arial, "Lucida Grande", sans-serif;
}
#header{
    display: flex;
    flex-direction: column;
    text-align: center;
    font-size: 96px;
    background: rgba(0, 0, 0, 0);
    margin: -8px 0px;
    justify-content: center;
}
#footer{
    display: flex;
    flex-direction: column;
    text-align: center;
    font-size: 125%;
    background: rgba(0, 0, 0, 0);
    justify-content: center;
}
#main{
    display: flex;
    flex-direction: row;
}
.icon {
    width: 238px;
    height: 128px;
    box-shadow: rgba(0, 0, 0, 0.35) 0px 5px 15px;
    /*border: solid;
    border-color: rgba(0, 0, 0, 0.5);
    border-width: 2px;
    border-radius: 4px;*/
}
.node {
    stroke: #000;
    stroke-width: 0.5px;
}
.node text {
    display: none;
    font: 18px sans-serif;
  }
.node:hover text {
    display: inline;
    color: #d7d7d7;
    fill: #d7d7d7;
  }
.link {
    fill: #000;
    stroke: rgb(0, 0, 0);
    stroke-width: 1px;
    opacity: 0.2;
  }

#contents {
    flex: 1;
    margin: 16px 30px 16px 30px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    transition: opacity 0.2s;
    width: calc(95vw - 40px);
}
#container {
    display: flex;
    flex-direction: row;
    background: rgba(0, 0, 0, 0.25);
    width: 100%;
    flex: 1;
    overflow: hidden;
    position: relative;
}

#graph{
    box-shadow: inset rgba(0, 0, 0, 0.35) 0px 5px 15px;
}

#selection{
    position: absolute;
    background: rgba(0,0,0,.1);
    height: 100%;
    right: 0;
    display: flex;
    flex-direction: column;
    padding: 6px;
    gap: 6px;
    /*box-shadow:  rgba(0, 0, 0, 0.35) 0px 5px 15px;*/
}

#selection-header{
    width: 230px;
    align-self: center;
    padding: 4px;
    font-size: 125%;
    user-select: none;
    text-align: center;
}
.image {
    position: relative;
    justify-content: center;
    overflow: hidden;
    cursor: pointer;
    width: 238px;
    height: 128px;
    border: solid;
    border-color: rgba(0, 0, 0, 0.5);
    border-width: 2px;
    border-radius: 4px;
    box-shadow: rgba(0, 0, 0, 0.35) 0px 5px 15px;
}
.image:hover {
    z-index: 10;
}
.projectdescription {
    color: white;
    font-size: 16px;
    position: absolute;
    left: 50%;
    top: 50%;
    width: 90%;
    -webkit-transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
    flex-direction: column;
    justify-content: end;
    text-align: center;
  }
.overlay {
    position: absolute;
    bottom: 0;
    top: 0;
    left: 0;
    right: 0;
    height: 100%;
    width: 100%;
    opacity: 0;
    transition: 0.5s ease;
    background: linear-gradient(to bottom, rgba(0,0,0,0.3),rgba(0, 0, 0, 0.6));
}
.overlay:hover {
    opacity: 1;
}
