@import url('https://fonts.googleapis.com/css2?family=IBM+Plex+Mono:wght@300;400;500;600&display=swap');
@import url('https://cdnjs.cloudflare.com/ajax/libs/font-awesome/7.3.1/css/all.min.css');

:root {
  --blue: #38B6FF;
  --chip-image: url("https://lh5.googleusercontent.com/y58mIMZC-IwE41TNehTaXikfD26LtOLULH3BRTAnFxSB33UHwDwf5wVfVvwVwsju1uo=w2400");
  --whiteish-letters: #dafffd;
  
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  color: white;
  font-size: 14px;
}

body {
  background-color: black;
  width: 100vw;
  height: 100vh;
  font-family: 'IBM Plex Mono', sans-serif;
}

main {
  padding: 50px;
  width: 100%;
  height: 100%;
  display: flex;
/*   flex-direction: column; */
  flex-direction: row;
  align-items: center;
}
.menu {
  width: 220px;
}
.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(-300px);
  transition: transform 1s;
}

.cube.show-front {
  transform: translateZ(-300px) rotateY(0deg);
}
.cube.show-right {
  transform: translateZ(-300px) rotateY(-90deg);
}
.cube.show-back {
  transform: translateZ(-300px) rotateY(-180deg);
}
.cube.show-left {
  transform: translateZ(-300px) rotateY(90deg);
}
.cube.show-top {
  transform: translateZ(-300px) rotateX(-90deg);
}
.cube.show-bottom {
  transform: translateZ(-300px) rotateX(90deg);
}

.df.fd-c {
  display: flex;
  flex-direction: column;
}
.df.fd-r {
  display: flex;
  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;
}

.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>i {
  font-size: 2rem;
  margin: 5px 10px;
}
.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: 120px;
  height: 120px;
  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: 90px;
  height: 90px;
}

.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("https://miro.medium.com/1*-r-0sszNNGZVsoNpWNXe9w.png");
  background-size: cover;
  background-repeat: no-repeat;
}
.project-border:nth-of-type(2)>.project-wrapper {
  background-image: url("https://miro.medium.com/1*L-_vzYM83fty_4R26zsOsQ.jpeg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
.project-border:nth-of-type(3)>.project-wrapper {
  background-image: url("https://dujour.com/wp-content/uploads/4/4675_6c2e49911b68d315555d5b3eb0dd45bf.jpg");
  background-size: cover;
  background-repeat: no-repeat;
}
.project-border:nth-of-type(4)>.project-wrapper {
  background-image: url("https://media.licdn.com/dms/image/sync/v2/D5627AQHJckjAZ9UteQ/articleshare-shrink_800/B56aAB04dxGQAY-/0/1786737035582?e=2147483647&v=beta&t=aVV1WCshBTeODQAcbaKz4DNHZKyvBnLxtrNzEBJZy7k");
  background-size: cover;
  background-repeat: no-repeat;
}
.project-border:nth-of-type(5)>.project-wrapper {
  background-image: url("https://img.magnific.com/free-vector/radar-screen-illustration_1284-45668.jpg?semt=ais_hybrid&w=740&q=80");
  background-size: cover;
  background-repeat: no-repeat;
}
.project-border:nth-of-type(6)>.project-wrapper {
  background-image: url("https://cdn.pixabay.com/photo/2015/09/03/17/50/cobweb-921039_1280.jpg");
  background-size: cover;
  background-repeat: no-repeat;
}

.app-title {
  background-color: rgba(0,0,0,0.7);
  padding: 3px 7px;
  margin-bottom: 10px;
}

.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;
}
#VisitorCounter {
  display: inline;
  font-size: 3rem;
  font-family: 'IBM Plex Mono', monospace;
  width: 100%;
  color: var(--whiteish-letters);
  padding-bottom: 20px;
  line-height: 3rem;
}
.visit-app i.fas {
  font-family: "Font Awesome 6 Free" !important;
  font-weight: 900 !important;
  font-style: normal !important;
  display: inline-block !important;
  margin-left: 5px;
}
/* Container for the contact items */
.cube-face-bottom .work-edu-section {
  align-items: flex-start !important; /* Left-aligns the text block */
  gap: 25px !important;              /* Adds more breathing room between lines */
  margin-top: 30px;
}

/* The text lines */
.cube-face-bottom .work-edu-section p {
  font-size: 20px !important;        /* Makes the text larger */
  font-weight: 400;
  display: flex;
  align-items: center;
}

/* The icons inside the text lines */
.cube-face-bottom .work-edu-section p i {
  font-size: 24px !important;        /* Scales the icons slightly larger than text */
  width: 35px;                       /* Creates a consistent tracking alignment column */
  text-align: center;
}

/* The social media row icons at the bottom */
.cube-face-bottom .social-media-btns i {
  font-size: 2.5rem !important;      /* Blows up the social media button links */
  margin: 0 15px;
}