@font-face {
  font-family: 'Material Icons';
  font-style: normal;
  font-weight: 400;
  src: url(https://fonts.googleapis.com/icon?family=Material+Icons) format('woff2');
}

body {
  font:normal 75% Arial, Helvetica, sans-serif;
  margin: 0;
  background: linear-gradient(to left, #1e1e1e, #103567);
  overflow-y: auto;
}
::-webkit-scrollbar-thumb {
  background: rgb(65 67 74);
}
::-webkit-scrollbar {
    background: rgb(104 104 104);
    width: 5px;
}
::selection {
  background: rgb(0 0 0 / 50%);
}
.home {
  position: absolute;
}
.topbar {
  height: 50px;
  width: 100%;
  position: fixed;
  display: inline-flex;
  z-index: 2;
  top: 0;
  left: 0;
  background-color: #111;
  overflow: hidden;
  border-bottom: 1px solid #41434a;
}
.GitHub {
  position: absolute;
  right: 0;
}
.projects {
  position: absolute;
  right: 65px;
}
.topbar-links a {
  margin: 17px 12px 17px 12px;
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  color: #818181;
}
.topbar-links a:hover {
  color: #FFF;
}
.topbar-links a[aria-selected="true"] {
  border-bottom: 2px solid #FFF;
  color: #FFF;
}
/* Background */
.background {
  position: inherit;
  background: linear-gradient(to left, #1e1e1e, #103567);
  width: 100%;
  height: 100%;
  z-index: -1;
}

@keyframes animate {

  0% {
    transform: translateY(0) rotate(0deg);
    opacity: 1;
    border-radius: 0;
  }

  100% {
    transform: translateY(-1000px) rotate(720deg);
    opacity: 0;
    border-radius: 50%;
  }
}
.circles {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: 0;
}

.circles li{
  position: absolute;
  display: block;
  list-style: none;
  width: 20px;
  height: 20px;
  background: rgba(255, 255, 255, 0.1);
  animation: animate 25s linear infinite;
  bottom: -200px;
  
}
.circles li:nth-child(1){
  left: 25%;
  width: 80px;
  height: 80px;
  animation-delay: 0s;
}
.circles li:nth-child(2){
  left: 10%;
  width: 20px;
  height: 20px;
  animation-delay: 2s;
  animation-duration: 12s;
}
.circles li:nth-child(3){
  left: 70%;
  width: 20px;
  height: 20px;
  animation-delay: 4s;
}
.circles li:nth-child(4){
  left: 40%;
  width: 60px;
  height: 60px;
  animation-delay: 0s;
  animation-duration: 18s;
}
.circles li:nth-child(5){
  left: 65%;
  width: 20px;
  height: 20px;
  animation-delay: 0s;
}
.circles li:nth-child(6){
  left: 75%;
  width: 110px;
  height: 110px;
  animation-delay: 3s;
}
.circles li:nth-child(7){
  left: 35%;
  width: 150px;
  height: 150px;
  animation-delay: 7s;
}
.circles li:nth-child(8){
  left: 50%;
  width: 25px;
  height: 25px;
  animation-delay: 15s;
  animation-duration: 45s;
}
.circles li:nth-child(9){
  left: 20%;
  width: 15px;
  height: 15px;
  animation-delay: 2s;
  animation-duration: 35s;
}
.circles li:nth-child(10){
  left: 85%;
  width: 150px;
  height: 150px;
  animation-delay: 0s;
  animation-duration: 11s;
}
/* Background */
.main {
  display: flex;
  position: relative;
  top: 50px;
  height: 100%;
  width: 100%;
  flex-direction: column;
}
.main_container {
  display: flex;
  width: 100%;
  height: 65vh;
  padding: 20px;
  box-sizing: border-box;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.Introduction {
  display: flex;
  position: relative;
  top: -100px;
  width: 100%;
  height: 10px;
  box-sizing: border-box;
  flex-direction: column;
  align-items: center;
  object-fit: contain;
}
.intoLine1, .intoLine2 {
  font-weight: 700;
  font-size: 70px;
  text-align: center;
  color: #818181;
}
.projects_section {
  position: relative;
  top: -40px;
}
/* title description and button START */
.MDB {
  margin-top: 10px;
}
.title {
  color: #818181;
  text-align: center;
  font-family: 'Roboto', sans-serif;
  margin-top: 10px;
  font-weight: 700;
  font-size: 60px;
}
.description {
  color: #818181;
  font-size: 18px;
  text-align: center;
  max-width: none;
  font-family: 'Roboto', sans-serif;
  font-weight: 700;
}
#center {
  display: flex;
  justify-content: center;
  flex-flow: wrap;
  height: fit-content;
}
.primary-button {
  background-color: #3F85FF;
  border:none !important;
  margin-top: 10px !important;
  margin: auto;
  color: #fff;
  text-transform: uppercase;
  font-family: Roboto,sans-serif;
  -moz-osx-font-smoothing: grayscale;
  -webkit-font-smoothing: antialiased;
  font-size: .725rem;
  font-weight: 600;
  letter-spacing: .0892857143em;
  min-width: 64px;
  height: 34px;
  padding: 0 16px 0 16px;
  overflow: hidden;
  border-radius: 2px;
  box-shadow: 0 0 10px #1973d3;
  transition: 250ms ease all;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
}
a {
  text-decoration:none !important;
}
.primary-button:hover {
  box-shadow: 0 0 20px #135193;
  background: #135193;
}
.material-icons {
  font-size: 20px;
  margin-right: 4px;
}
body #center.preview-container {
  margin-top: 50px;
  height: 150px;
  position: relative;
  z-index: 1;
}
/* title description and button END */

/* Project showcase */
* {
  box-sizing: border-box;
  font-family: 'Roboto', sans-serif;
}
.project_container {
  z-index: 10;
}
.showcase {
  position: relative;
  display: inline-block;
  width: 44%;
  height: 250px;
  margin-left: 1%;
  overflow: hidden;
  background: transparent;
  z-index: 10;
  border-radius: 15px;
}

.thumbnail {
  position: absolute;
  height: 100%;
  top: 0;
  left: 0;
  right: 300px;
  z-index: 1;
  background: #293853;
  background-position: 50% 50%;
  background-size: cover;
  transition: right 250ms ease, left 250ms ease;
}

.mbd--thumbnail {
  background-image: url("https://github.com/Elisniper/MBD/blob/main/resources/Image%201.PNG?raw=true");
}
.gwd--thumbnail {
  background-image: url("https://github.com/Elisniper/Glass-Wave/blob/master/resources/Image%204.PNG?raw=true");
}
.thumbnail__overlay {
  position: relative;
  padding-top: 10em;
  height: 100%;
  background: rgba(0, 0, 0, 0.4);
  text-align: center;
  opacity: 0;
  transition: opacity 250ms ease;
}

.desc {
  position: absolute;
  width: 300px;
  height: 100%;
  top: 0;
  right: 0;
  padding: 40px 20px 20px 20px;
  z-index: 10;
  background: rgb(50 50 50);
  color: rgb(180 180 180);
  text-align: center;
  transition: background 250ms ease, color 250ms, width 250ms ease, padding 250ms ease;
}
.desc:after {
  display: block;
  width: 0;
  height: 0;
  position: absolute;
  top: 50%;
  left: -20px;
  margin-top: -10px;
  border-style: solid;
  border-width: 10px;
  border-color: transparent rgb(50 50 50) transparent transparent;
  content: "";
  transition: border-color 250ms;
}

.showcase:hover .thumbnail {
  right: 325px;
  left: -25px;
}
.showcase:hover .thumbnail__overlay {
  opacity: 1;
}
.showcase:hover .desc {
  width: 350px;
  background: rgb(50 50 50);
  color: rgb(180 180 180);
}
.showcase:hover .desc:after {
  border-color: transparent #323232 transparent transparent;
}

.showcase--inverted .thumbnail {
  right: 0;
  left: 300px;
}

.showcase--inverted .desc {
  left: 0;
  right: auto;
}
.showcase--inverted .desc:after {
  left: auto;
  right: -20px;
  border-color: transparent transparent transparent #fff;
}

.showcase--inverted:hover .thumbnail {
  left: 325px;
  right: -25px;
}
.showcase--inverted:hover .desc:after {
  border-color: transparent transparent transparent #323232;
}
.btn {
  padding: 1em 2em;
  border: 0.15em solid #fff;
  color: #fff;
  text-decoration: none;
  font-weight: 700;
  transition: background 250ms;
}
.btn:hover {
  background: rgb(50 50 50 / 60%);
}