body{
    background-color: rgb(17, 15, 15);
    font-family: "IBM Plex Mono", monospace;
    font-weight: 400;
    font-style: normal;
    height:100vh;
    width: 100vw;
    margin: 0;
    padding:0;
    overflow-x: hidden;
    z-index: 10;
    color: white;
}
::-moz-selection { /* Code for Firefox */
    color: white;
    background: #424242;
  }
  
  ::selection {
    color: white;
    background: #424242;
  }
.link {
    stroke: #444444;
    stroke-opacity: 0.6;
}

#node{
    cursor:pointer;
    
}
.n1,.n2,.n3{
    stroke-width: 3px;
    stroke-dashoffset: 1%;
    font-size: 18px;
    text-decoration: underline;
}

text {
    font-size: 15px;
    pointer-events: none;
    fill: white;
}
.text .sh{
    background-color: #3E3E3E;
    padding: 2px;
    padding-left: 10px;
    padding-right: 10px;
    margin-top: 10px;
    color: #3CA1FF;
}
.text .sh svg{
    transform: translateY(5px);
    cursor: pointer;
    
}
.text .sh .tt{
    position: absolute;
    font-size: 20px;
    margin-left: 20px;
    
    transform: translateY(5px);
    background-color: #424242;
    color: white;
    padding: 3px;
    border-radius: 5px;
    opacity: 0;
}
.anim{
    animation: fade 2s 1;
}
@keyframes fade {
    from {opacity: 1;}
    to {opacity: 0;}
  }
#graph{
    width: fit-content;
    position: absolute;
    right: 0;
    margin-right: 2em;
    z-index: 12;
    transform: translateY(100vh);
}
/* #graph svg{
    border: 1px solid rgb(37 37 37);
    border-radius: 30px;
    background-color: #121212;
    
} */
#graph h2{
    color: #ffffff;
    font-weight: 400;
}
.main{
    height: 100vh;
    width: 100vw;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    
}
.main .text{
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    transform: translateY(-20%);
}
.text{
    margin-left: 3em;
    flex: 0 1 auto;
    z-index: 10;
    background-color: rgb(17, 15, 15);
}
.text h1{
    color: white;
    font-size: 4em;
    font-weight: 300;
    margin-bottom: 0;
}
.text h2{
    color: #5A5A5A;
    font-weight: 400;
    font-size: 2em;
    margin: 0;
}
.heading{
    font-size: 1.7em;
    display: flex;
    align-items: center;
    font-weight: 500;
}
.heading .line{
    height: 1px;
    width: 120px;
    background-color: #3CA1FF;
    display: block;
    margin-left: 10px;
    margin-top: 5px;

}

.skills{
    display: grid;
    grid-template-columns: repeat(4, 1fr);
}
.skills .b{
    border: 1px solid #ABB2BF;
    margin: 20px;
    margin-left: 0;
    box-sizing: border-box;

}
.skills .b .bh {
    padding: 8px;
    border-bottom: 1px solid #ABB2BF;
    font-weight: 600;
}
.skills .b .bt{
    padding: 8px;
    color: #ABB2BF;
}
.skills .space{
    height: 8px;
}
.skills .b p{
    margin: 0;
}
.timelines{
    margin-top: 20px;
    display: flex;
    flex-direction: row;
}
.timelines .t{
    margin-right: 3em;
}
.timelines .t pre{
    font-size: 1.2em;
}

.timelines .t1 .line{
    background-color: rgb(88 243 104)!important;
}
.timelines .t2 .line{
    background-color: #5f5fd7!important;
}
.p1 .link {
    font-size: 1.2em;
    margin-top: 10px;
}
.p1 .link a{
    color: #3CA1FF;
}
.bl {
    color: #3CA1FF;
}
.white{
    color: white;
}
.box{
    display: flex;
    flex-flow: column;
    height: 100%;
    width: 100vw;
    overflow: hidden;
}
.pages{
    flex: 1 0 auto;
    flex-basis: auto;
    display: flex;
    flex-flow: column;
    position: inherit;
    z-index: 1;
    transform: translateY(0);
    transition: transform 400ms ease-out;
}
.page{
    height: 100%;
    flex:1 0 auto;
    width: 62vw;
    position: relative;
}

.text .abt{
    color: white;
    font-size: 1.2em;
}

.projects{
    height:78vh;
    overflow-y: scroll;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
}
.pb{
    border:1px solid #ABB2BF;
    color:white;
    margin-bottom: 2em;
    margin-right: 2em;
    width:28%;
    display: flex;
    flex-direction: column;
}
.pb img{
    max-width: 100%;
    border-bottom: 1px solid #ABB2BF;

}
.kys{
    display: flex;
    width: fit-content;
}

.pb .te{
    font-size: 0.8em;
    color: #ABB2BF;
    padding: 8px;
    border-top: 1px solid #ABB2BF;
    margin-top: auto;

}
.pb h2{
    padding-top: 8px;
    font-size: 1em;
    color: white;
    width: fit-content;
    font-weight: 600;
    margin-right: auto;
}
.pb p{
    color:white;
    margin: 0;
    padding: 8px;
}
.pb .ptitle{
    font-size: 1.3em;
    display: flex;
    flex-direction: row;
    align-items: center;    
    padding: 8px;
    border-bottom: 1px solid #ABB2BF;
}

.pb .ptitle svg{
    cursor: pointer;
    height: 30px;
    margin-bottom: auto;
}

.projects {
    scrollbar-width: auto;
    scrollbar-color: #ABB2BF rgb(17, 15, 15);
}

/* Chrome, Edge, and Safari */
.projects::-webkit-scrollbar {
    width: 16px;
}

.projects::-webkit-scrollbar-track {
    background: rgb(17, 15, 15);
}

.projects::-webkit-scrollbar-thumb {
    background-color: #ABB2BF;
    border-radius: 10px;
    border: 3px solid #ffffff;
    width: 20px;
}
.contacts{
    display: flex;
    margin-top: 5vh;
}
.col{
    flex-grow: 1;
}
.col .l .entry svg{
    margin-right: 10px;
    transform: scale(0.7);
}
.col .l .entry{
    cursor: pointer;
    display: flex;
    color: white;
    align-items: center;
    font-size: 1.2em;
    margin-top: 10px;
}

.gr{
    color: rgb(88 243 104);
}
.pr{
    color:#5f5fd7;
}
@media screen and (max-height: 900px){
    .text h1{
        font-size: 3em;
    }
    .text h2{
        font-size: 1.5em;
    }
    .text .abt{
        font-size: 1.5em;
    }
    .page{
        width: 60vw;
    }
    #graph{
        margin-right: 0;
        transform: scale(0.8);
        top: 100vh;
    }
    #graph h2{
        transform: translateY(10vh);
    }
    .pb p{
        font-size: 1em;
    }
    .pb .te{
        font-size: 1em;
    }
    .col .l .entry{
        font-size: 1em;
    }
}