@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;
}

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

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

/* LAYOUT */
main {
  padding: 50px;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: 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;
  cursor: pointer;
}

.menu > .btn:hover {
  color: var(--whiteish-letters);
  width: 140px;
}

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

a {
  text-decoration: none;
}

/* CUBE */
.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); }

/* FLEX UTILITIES FROM TEMPLATE */
.df.fd-c { display: flex; flex-direction: column; }
.df.fd-r { display: flex; flex-direction: row; }

/* CUBE FACES */
.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.92);
  background-image: var(--chip-image);
  background-size: contain;
  background-repeat: no-repeat;
}

.cube-face-front  { transform: rotateY(0deg) translateZ(300px); }
.cube-face-back   { transform: rotateY(180deg) translateZ(300px); }
.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); }

/* INTRO */
.intro-wrapper {
  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;
}

.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;
  text-align: center;
}

/* keep “tion / rk” same size, just blue */
.intro-heading > span {
  font-size: inherit;
  font-family: inherit;
  color: var(--blue);
}

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

/* GENERAL BUTTON HOVER */
button:hover {
  box-shadow: 0 0 15px var(--blue);
  background-color: var(--blue);
}

/* ============================== */
/*      EDUCATION & EXPERIENCE    */
/* ============================== */

.work-edu-section {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  margin-bottom: 18px; /* reduced spacing */
}

/* LEFT COLUMN: DATES — perfectly aligned & centered */
.work-edu-section .work-edu-heading.date {
  width: 160px;        /* fixed column width */
  flex-shrink: 0;
  text-align: center;  /* center date within column */
  white-space: nowrap;
  color: var(--blue);
  padding-right: 15px;
}

.work-edu-heading {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 1.5rem;
  padding-bottom: 10px;
  font-weight: 400;
}

/* RIGHT COLUMN: DESCRIPTION */
.work-edu-info {
  flex: 1;
}

.work-edu-info > ul {
  margin-left: 20px;
}

/* ============================== */
/*          CONTACTS / SOCIAL     */
/* ============================== */

.social-media-btns {
  margin-top: 10px;
  margin-bottom: 40px;
}

.social-media-btns i,
.social-media-btns a i {
  font-size: 2rem;
  margin: 5px 10px;
}

.social-media-btns i:hover,
.social-media-btns a i:hover {
  cursor: pointer;
  color: var(--blue);
}

/* ============================== */
/*             PROJECTS           */
/* ============================== */

.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;
}

.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);
}

/* ============================== */
/*           CERTIFICATES         */
/* ============================== */

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

.certificate-date {
  font-size: 1.5rem;
  color: var(--blue);
}

.certificate-heading {
  font-size: 1.5rem;
  margin-left: 20px;
}

/* ====== CERTIFICATES FACE ONLY – smaller text & spacing ====== */

.cube-face-left .certificate-section {
  font-size: 12px;      /* shrink main text */
  line-height: 1.35;
}

.cube-face-left .certificate-date,
.cube-face-left .certificate-heading {
  font-size: 1.2rem;    /* slightly smaller labels on this face */
}

/* Reduce horizontal padding ONLY on the Certificates face */
.cube-face-left {
  padding-left: 10px !important;
  padding-right: 10px !important;
}

/* Add more space below the Certificates title only */
.cube-face-left .intro-heading {
  margin-bottom: 30px !important;
}

/* make contact links nice */
.cube-face-bottom a {
  color: white;
}

.cube-face-bottom a:hover {
  color: var(--blue);
  text-decoration: underline;
}
