@import url('https://fonts.googleapis.com/css2?family=IBM+Plex+Mono:wght@300;400;500;600&display=swap');

:root {
  --blue: #38B6FF;
  --chip-image: url("https://lh5.googleusercontent.com/y58mIMZC-IwE41TNehTaXikfD26LtOLULH3BRTAnFxSB33UHwDwf5wVfVvwVwsju1uo=w2400");
  --whiteish-letters: #dafffd;
  
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  font-size: 12px;
  font-family: 'IBM Plex Mono', sans-serif;
  color: white;
  font-size: 14px;
}

body {
  background-color: black;
  width: 100vw;
  height: 100vh;
}

canvas {
    position:absolute;
    top:0;
    left:0;
    width:100%;
    height:100%;
    z-index:-5;
}

main {
  padding: 50px;
  width: 100%;
  height: 100%;
  display: flex;
/*   flex-direction: column; */
  flex-direction: row;
  align-items: center;
}
.menu {
  width: 300px;
}
.menu>button {
  width: 120px;
  height: 40px;
  padding-bottom: 5px;
  margin-top: 20px;
  background-color: transparent;
  background-image:url(https://lh6.googleusercontent.com/B3GZqaB4CtIuOZqveBVoBvWZPBZQ7bkkyTEXs9kBCWaop3KXDi5GaHa_zi9Dekl_igc=w2400);
  background-size: contain;
  background-repeat:no-repeat;
  transition: width 0.3s;
  border: none;
}
.menu>.btn:hover {
  color:var(--blue);
  background-color: transparent;
  box-shadow: none;
  width: 140px;
}

.scene {
  width: 600px;
  height: 600px;
  perspective: 1800px;
}

a {
  text-decoration: none;
}

.cube {
  width: 100%;
  height: 100%;
  position: relative;
  transform-style:preserve-3d;
  transform: translateZ(-200px);
  transition: transform 1s;
}

.cube.show-front {
  transform: translateZ(-200px) rotateY(0deg);
}
.cube.show-right {
  transform: translateZ(-200px) rotateY(-90deg);
}
.cube.show-back {
  transform: translateZ(-200px) rotateY(-180deg);
}
.cube.show-left {
  transform: translateZ(-200px) rotateY(90deg);
}
.cube.show-top {
  transform: translateZ(-200px) rotateX(-90deg);
}
.cube.show-bottom {
  transform: translateZ(-200px) rotateX(90deg);
}

.df.fd-c {
  display: flex;
  flex-direction: column;
}
.df.fd-r {
  display: flex;
  flex-direction: row;
}
.df.fd-b {
  display: block;
  flex-direction: row;
}

.cube-face {
  position: absolute;
  width: 600px;
  height: 600px;
  padding: 40px;
  
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  
  background-color: rgba(0,0,0,0.8);
  background-image:var(--chip-image);
  background-size: contain;
  background-repeat: no-repeat;
}

.cube-face-front {
  transform: rotateY(0deg) translateZ(300px);
  
}

.intro-wrapper {
/*   display: flex; */
  margin-bottom: 20px;
  align-items: center;
}

.image {
  border-radius: 50%;
  overflow: hidden;
  width: 150px;
  height: 150px;
  border: 1px dashed var(--blue);
/*   display: flex; */
  justify-content: center;
  align-items: center;
  position: relative;
}

.image-wrapper {
  width: 140px;
  height: 140px;
  border-radius: 50%;
  overflow: hidden;
}

img {
  width: 100%;
  height: 140px;
  object-fit:cover;
}

.intro {
  width: 70%;
  margin-left: 20px;
}

.intro-heading {
  font-size: 3rem;
  font-family: 'IBM Plex Mono', monospace;
  width: 100%;
  color: var(--whiteish-letters);
  padding-bottom: 20px;
  line-height: 3rem;
}

.intro-heading>span {
  font-size: inherit;
  font-family: inherit;
  color: var(--blue);
}

.intro-text {
  color: var(--whiteish-letters);
  width: 90%;
  padding: 5px 0;
}

.research-text {
  color: var(--whiteish-letters);
  /* width: 90%; */
  padding: 0 5%;
}

.buttons>button {
  color: var(--whiteish-letters);
  border: 2px solid var(--blue);
  background-color: transparent;
  padding: 5px 5px;
  margin: 5px;
  box-shadow: 0 0 10px var(--blue);
  transition: box-shadow 0.3s;
}

button:hover {
  cursor: pointer;
  box-shadow: 0 0 15px var(--blue);
  background-color: var(--blue);
}

.cube-face-back {
  transform: rotateY(180deg) translateZ(300px);
}
.work-edu-section {
  margin-bottom: 40px;
}
.work-edu-heading {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 1.5rem;
  padding-bottom: 10px;
  font-weight: 400;
}
.work-edu-heading>i {
  font-size: 1.2rem;
  color: var(--blue);
}
.work-edu-heading.date {
  color: var(--blue);
}
.work-edu-info {
  width: 70%;
  margin-left: 20px;
}
.work-edu-info>ul {
  margin-left: 20px;
}
.work-edu-heading.company {
  width: 100%;
}

.cube-face-right {
  transform: rotateY(90deg) translateZ(300px);
}

.cube-face-left {
  transform: rotateY(-90deg) translateZ(300px);
}

.cube-face-top {
  transform: rotateX(90deg) translateZ(300px);
}
.cube-face-bottom {
  transform: rotateX(-90deg) translateZ(300px);
}
.social-media-btns {
  margin-top: 10px;
  margin-bottom: 40px;
}

.social-media-btns a {
  width: auto;
  margin: 0 0;
}

.social-media-btns i {
  font-size: 30px;
  margin: 5px 5px;
}
.social-media-btns i:hover {
  cursor: pointer;
  color: var(--blue);
}

.projects {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  margin-bottom: 30px;
}
.project-border {
  width: 150px;
  height: 150px;
  background-image: url("https://lh5.googleusercontent.com/zgccmEHip1xVXgGhdxVPYB6skDCyHX5LpfqmHHw09nbybd9en_GQdBxOlUlXFSnURks=w2400");
  background-size: contain;
  background-repeat: no-repeat;
  
  display:flex;
  justify-content: center;
  align-items: center;
  margin: 10px;
}
.project-wrapper {
  width: 115px;
  height: 115px;
}

.visit-wrapper {
  background-color: rgba(0,0,0,0.5);
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.project-border:nth-of-type(1)>.project-wrapper {
  background-image: url("../img/testbed.png");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
.project-border:nth-of-type(2)>.project-wrapper {
  background-image: url("../img/Coogan.png");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
.project-border:nth-of-type(3)>.project-wrapper {
  background-image: url("../img/image.png");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
.project-border:nth-of-type(4)>.project-wrapper {
  background-image: url("../img/undersea.png");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
.project-border:nth-of-type(5)>.project-wrapper {
  background-image: url("../img/fire.png");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
.project-border:nth-of-type(6)>.project-wrapper {
  background-image: url("../img/gedi.png");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.app-title {
  background-color: rgba(0,0,0,0.7);
  padding: 3px 7px;
  margin-bottom: 10px;
  text-align: center;
}

.visit-app {
  background-color: rgba(0,0,0,0.7);
  padding: 5px 5px;
}
.visit-app:hover {
  text-decoration: underline;
}

.visit-app,
.visit-app>i {
  font-size: 0.8rem;
}

.visit-app>i {
  color: var(--blue);
}

.certificate-section {
  width: 80%;
  justify-content: start;
  align-items: center;
  margin-left: 15px;
  margin-bottom: 10px;
}

.cube-face-left > div:nth-last-of-type(2) {
  margin-bottom: 20px;
}

.certificate-date {
  font-size: 1.5rem;
  color: var(--blue);
}
.certificate-heading {
  font-size: 1.5rem;
  margin-left: 20px;
}
