:root {--background-color: #f8f8f8;}

/****** ADDING FONTS ******/
@font-face {
  font-family: 'Montserrat';
  src: url('./fonts/Montserrat-Regular.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
}

@font-face {
  font-family: 'Montserrat';
  src: url('./fonts/Montserrat-Bold.ttf') format('truetype');
  font-weight: 700;
  font-style: normal;
}

@font-face {
  font-family: 'Montserrat';
  src: url('./fonts/Montserrat-SemiBold.ttf') format('truetype');
  font-weight: 600;
  font-style: normal;
}

@font-face {
  font-family: 'Roboto Mono';
  src: url('./fonts/RobotoMono-light.ttf') format('truetype');
  font-weight: 300;
  font-style: normal;
}

@font-face {
  font-family: 'Roboto Mono';
  src: url('./fonts/RobotoMono-Regular.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
}

@font-face {
  font-family: 'Roboto Mono';
  src: url('./fonts/RobotoMono-SemiBold.ttf') format('truetype');
  font-weight: 600;
  font-style: normal;
}

@font-face {
  font-family: 'Roboto Mono';
  src: url('./fonts/RobotoMono-Bold.ttf') format('truetype');
  font-weight: 700;
  font-style: normal;
}










/**** MAIN STYLES ****/
html,
body {
  height: viewHeight;
  background-color: #f8f8f8;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  box-sizing: border-box;
}

*,
*::before,
*::after {
  box-sizing: inherit;
}

body {
  flex: 1;
  color: #333;
  background-color: #fff;
  font-size: 14px;
  line-height: 20px;
  font-family: Montserrat, sans-serif;
}

.section-heading {
  position: relative;
  z-index: 1;
  color: #000;
  text-align: center;
  letter-spacing: 0.05em;
  padding-top: 50px;
  padding-bottom: 10px;
  margin: 0;
  font-family: Montserrat, sans-serif;
  font-size: 48px;
  font-weight: 800;
  line-height: 100%;
  text-decoration: none;
}

.subheading {
  color: rgba(0, 0, 0, 0.5);
  text-align: center;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-top: 15px;
  margin-bottom: 0;
  font-family: 'Roboto Mono', sans-serif;
  font-size: 30px;
  font-weight: 700;
  line-height: 100%;
  text-decoration: none;
}

.section-subheading {
  color: rgba(0, 0, 0, 0.4);
  text-align: center;
  margin-top: 5px;
  margin-bottom: 0px;
  font-family: 'Roboto Mono', sans-serif;
  font-size: 15px;
  font-weight: 400;
  line-height: 100%;
}














/* Utility Classes */
.flex-center {
  display: flex;
  justify-content: center;
  align-items: center;
}

.no-decoration {
  text-decoration: none;
}

.inherit-color {
  color: inherit;
}

.page-wrapper {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
  width: 100%;
  padding: 180px 50px 0 50px;
  background-color: var(--background-color);
  grid-row-gap: 150px;
  text-decoration: none;
}

img {
  border: 0;
  max-width: 100%;
  vertical-align: middle;
}

a {
  color: inherit;
  text-decoration: none;
  background-color: transparent;
}

a:active,
a:hover,
a:focus {
  outline: 0;
}















/*** HERO SECTION ***/
.hero-section {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 100%;
  grid-row-gap: 11px;
  text-decoration: none;
}

.header-logo {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 90px;
  /* Added unit for width */
  height: 70px;
  object-fit: cover;
  text-decoration: none;
}

.main-heading {
  color: #000;
  text-align: center;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-top: 0;
  margin-bottom: -20px;
  font-family: Montserrat, sans-serif;
  font-size: clamp(36px, 6vw, 72px);
  /* Responsive font size */
  font-weight: 800;
  line-height: 100%;
  text-decoration: none;
}

.intro-text {
  color: rgba(0, 0, 0, 0.8);
  /* Equivalent to #000c */
  text-align: center;
  letter-spacing: 0.06em;
  margin: 0;
  font-family: Montserrat, sans-serif;
  font-size: 14px;
  font-weight: 400;
  line-height: 100%;
  max-width: 900px;
  text-decoration: none;
}


/** CTA Row **/
.cta-row {
  display: flex;
  grid-column-gap: 25px;
  margin-top: 10px;
  flex: 0 auto;
  justify-content: flex-start;
  align-items: center;
  text-decoration: none;
}

.cta-button {
  display: flex;
  grid-column-gap: 10px;
  justify-content: center;
  align-items: center;
  width: 100%;
  max-width: 250px;
  height: 45px;
  padding: 20px 80px 20px 76px;
  background-image:
    linear-gradient(#0000001a, #0000001a),
    linear-gradient(#2f2f2f, #0c0c0c);
  border: 1px solid #000;
  border-radius: 24px;
  box-shadow:
    0 14px 7px #0000000d,
    0 10px 6px #0000000d,
    0 4px 4px #00000014,
    0 1px 2px #0000001a,
    0 0 #000000d9,
    inset 0 0 #ffffff40,
    inset 0 1px #ffffffbf,
    0 2px 6px #00000052;
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.cta-button:hover {
  transform: translateY(-2px);
  box-shadow:
    0 14px 10px rgba(0, 0, 0, 0.2),
    0 10px 8px rgba(0, 0, 0, 0.15),
    0 4px 6px rgba(0, 0, 0, 0.12),
    0 1px 3px rgba(0, 0, 0, 0.1),
    0 0 rgba(0, 0, 0, 0.85),
    inset 0 0 rgba(255, 255, 255, 0.25),
    inset 0 1px rgba(255, 255, 255, 0.75);
}

.button-text {
  color: #e2e1de;
  text-align: left;
  white-space: nowrap;
  flex: 1;
  margin: 0;
  font-family: Montserrat, sans-serif;
  font-size: 16px;
  font-weight: 600;
  line-height: 100%;
  text-decoration: none;
}

.text-button {
  color: #000000;
  /* Change text color */
  text-decoration: none;
  /* Remove underline */
  letter-spacing: 0.05em;
  /* Slightly increase letter spacing */
  font-family: Montserrat;
}

.text-button:hover {
  color: #8cd4b3;
  /* Change text color */
  text-decoration: none;
  /* Remove underline */
  letter-spacing: 0.05em;
  /* Slightly increase letter spacing */
}





















/** DISCALIMER EXPANDER THINGY ***/
/** heavily assisted by ChatGPT ***/
details {
  width: 100%;
  max-width: 350px;
  /* Slightly skinnier default */
  margin: 20px auto;
  padding: 10px;
  text-align: center;
  border-radius: 30;
  transition: background 0.3s ease, box-shadow 0.3s ease, padding 0.3s ease, max-width 0.3s ease;
}

summary {
  font-family: Montserrat, sans-serif;
  font-size: 18px;
  font-weight: 700;
  color: #333;
  cursor: pointer;
  padding: 10px;
  text-align: center;
  border-radius: 30px;
  transition: color 0.3s ease, background 0.3s ease, padding 0.3s ease;
}

details:hover {
  background-image: radial-gradient(circle at 100% 0, rgba(255, 255, 255, 0.2), rgba(0, 0, 0, 0.1)), linear-gradient(#e2e2e2, #bbb);
  box-shadow: inset 0 0 10px rgba(0, 0, 0, 0.2);
  padding: 10px;
  border-radius: 30px;
}
details[open] {
  max-width: 500px;
  background-image: radial-gradient(circle at 100% 0, rgba(255, 255, 255, 0.2), rgba(0, 0, 0, 0.1)), linear-gradient(#e2e2e2, #bbb);
  box-shadow: inset 0 0 20px rgba(0, 0, 0, 0.25), 3px 4px 13.9px rgba(0, 0, 0, 0.25), inset 0 0 5px rgba(0, 0, 0, 0.25);
  padding: 20px;
  border-radius: 30px;
}
details[open] summary {
  color: white;
}
details[open] p {
  font-family: Montserrat, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: #333;
  text-align: center;
  padding: 10px 20px;
  max-width: 90%;
  margin: 0 auto;
}
























/* Projects Section */
.projects-section {
  display: flex;
  flex-direction: column;
  grid-row-gap: 19px;
  justify-content: flex-start;
  align-items: center;
  width: 100%;
  text-decoration: none;
}

/* Lab Content - Let Title Expand */
.lab-content {
  display: flex;
  height: 100%;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  padding-bottom: 5px;
}



.cards-container {
  display: flex;
  margin-top: 20px;
  flex-wrap: wrap;
  max-width: 1200px;
  justify-content: center;
  gap: 20px;
}



/** Assignment Cards **/
.assignment-card {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  width: 300px;
  min-width: 275px;
  max-width: 400px;
  height: 380px;
  padding: 25px;
  background-image: radial-gradient(circle at 100% 0, rgba(255, 255, 255, 0.2), rgba(0, 0, 0, 0.1)), linear-gradient(#e2e2e2, #bbb);
  /* created on webflow, published, copied CSS. */
  border-radius: 45px;
  box-shadow: inset 0 0 20px rgba(0, 0, 0, 0.25), 3px 4px 13.9px rgba(0, 0, 0, 0.25), inset 0 0 5px rgba(0, 0, 0, 0.25);
  transition: transform 0.2s ease-in-out, box-shadow 0.2s ease-in-out;
}

.assignment-card:hover {
  transform: translateY(-5px);
  box-shadow: inset 0 0 25px rgba(0, 0, 0, 0.25), 3px 6px 15px rgba(0, 0, 0, 0.38), inset 0 0 5px rgba(0, 0, 0, 0.25);
}

.assignmentCardNumCircle {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 75px;
  height: 75px;
  background-color: #fff;
  border-radius: 50%;
  box-shadow:
    5px 5px 17.1px rgba(0, 0, 0, 0.1),
    1px 1px 3.5px rgba(0, 0, 0, 0.07);
  margin-bottom: 12px;
}

.assignmentCardNumber {
  /* ChatGPT helped to create gradient text clipping */
  text-align: center;
  letter-spacing: 0.06em;
  line-height: 1;
  text-shadow: 0 0.5px 0.5px 0 rgba(0, 0, 0, 0.38),
    inset 1px -1px 2.8px rgba(255, 255, 255, 0.28),
    inset -0.5px 1px 2px rgba(0, 0, 0, 0.25);
  -webkit-text-fill-color: transparent;
  background-image: linear-gradient(#dedede 0%, #353535 100%);
  -webkit-background-clip: text;
  background-clip: text;
  font-family: 'Roboto Mono', sans-serif;
  font-size: 45px;
  font-weight: 700;
}

.assignmentCardTitle {
  color: #000;
  text-transform: uppercase;
  font-family: 'Roboto Mono', sans-serif;
  font-size: 32px;
  font-weight: 700;
  line-height: 1.1;
}

.assignmentCardSubtitle {
  color: rgba(0, 0, 0, 0.5);
  text-transform: uppercase;
  font-family: 'Roboto Mono', sans-serif;
  font-size: 18px;
  font-weight: 600; 
}
.assignmentCardSubtitle em {
  font-style: normal;
  font-weight: 300;
}



.assignmentCardDescCont {
  display: flex;
  flex-direction: column;
  flex: 1;
  justify-content: flex-end;
  align-items: flex-start;
}















/** Lab Cards **/
.lab-card {
  display: flex;
  flex-direction: row;
  align-items: center;
  background-color: #fff;
  background-image: linear-gradient(#fafafa, #969696);
  border-radius: 30px;
  min-width: 300px;
  width: 100%;
  max-width: 500px;
  padding: 15px;
  box-shadow:
    0 4px 4px rgba(0, 0, 0, 0.25),
    5px 5px 23.8px rgba(0, 0, 0, 0.012),
    inset 0 2px 12.9px rgba(0, 0, 0, 0.33),
    inset 0 0 33.6px rgba(0, 0, 0, 0.25);
  text-decoration: none;
  color: inherit;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.lab-card:hover {
  transform: translateY(-2px);
  box-shadow:
    0 6px 8px rgba(0, 0, 0, 0.3),
    6px 6px 25px rgba(0, 0, 0, 0.25),
    inset 0 2px 12.9px rgba(0, 0, 0, 0.33),
    inset 0 0 33.6px rgba(0, 0, 0, 0.25);
}

.lab-number-box {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 70px;
  height: 70px;
  background-image: linear-gradient(#f8f8f8 0%, #aaa 100%);
  border-radius: 20px;
  box-shadow:
    5px 5px 17.1px rgba(0, 0, 0, 0.1),
    1px 1px 3.5px rgba(0, 0, 0, 0.07);
  margin-right: 15px;
  flex-shrink: 0;
}

.lab-number {
  /* ChatGPT helped to create gradient text clipping */
  text-align: center;
  letter-spacing: 0.06em;
  text-shadow:
    0 0.5px 0.5px 0 rgba(0, 0, 0, 0.38),
    inset 1px -1px 2.8px rgba(255, 255, 255, 0.28),
    inset -0.5px 1px 2px rgba(0, 0, 0, 0.25);
  -webkit-text-fill-color: transparent;
  background-image: linear-gradient(#dedede 0%, #353535 100%);
  -webkit-background-clip: text;
  background-clip: text;
  font-family: 'Roboto Mono', sans-serif;
  font-size: 45px;
  font-weight: 700;
  line-height: 1;
}

.lab-title {
  color: #ffffff;
  letter-spacing: 0.05em;
  font-family: 'Montserrat', sans-serif;
  font-size: 20px;
  font-weight: 700;
  margin: 0;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
}

.lab-subtitle {
  color: rgba(0, 0, 0, 0.5);
  letter-spacing: 0.05em;
  font-family: 'Montserrat', sans-serif;
  font-size: 16px;
  font-weight: 600;
  margin: 5px 0 0 0;
}

.arrow-box {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 70px;
  height: 70px;
  padding-top: 13px;
  padding-bottom: 13px;
  margin-left: auto;
}

.arrow-icon {
  width: 24px;
  height: 22px;
  object-fit: cover;
}














/*** FOOTER STYLES ***/
.site-footer {
  background-image: radial-gradient(circle at 100% 0, rgba(255, 255, 255, 0.2), rgba(0, 0, 0, 0.1)), linear-gradient(#e2e2e2, #bbb);
  padding: 100px 100px 100px 100px;
  color: #333;
  text-align: left;
  width: 100%;
  border-radius: 60px 60px 0 0;
  box-shadow: inset 0 0 20px rgba(0, 0, 0, 0.25), 3px 4px 13.9px rgba(0, 0, 0, 0.25), inset 0 0 5px rgba(0, 0, 0, 0.25);
  margin-top: auto;
}

.footer-container {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  margin: auto;
}


/*Branding - Left Side */
.footer-brand {
  flex: 1;
  min-width: 300px;
}

.footer-logo {
  width: 120px;
  filter: brightness(0) invert(1);
  margin-bottom: 20px;
}

.footer-bottom {
  font-size: 14px;
  font-family: 'Roboto Mono', sans-serif;
  color: #555;
  line-height: 15%;
}

/* links & lists */
.footer-links h3 {
  font-size: 18px;
  margin-bottom: 10px;
  color: #333;
}

.footer-list {
  display: flex;
  flex-direction: row;
  justify-content: flex-end;
  gap: 60px;
  flex: 1;
  min-width: 300px;
}

.footer-links ul {
  list-style: none;
  padding: 0;
}

.footer-links a {
  color: #333333;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: color 0.3s ease, transform 0.3s ease;
  margin-top: 5px;
  margin-bottom: 5px;
}

.footer-links a:hover {
  color: #777;
  transform: translateX(5px);
}

/* Arrow Icon Styling */
.footer-links img {
  width: 14px;
  height: auto;
  transition: transform 0.3s ease;
  filter: brightness(0);
  /* inverts arrow from white to black */
  opacity: 70%;
}

.footer-links a:hover img {
  transform: translateX(5px);
  opacity: 30%;
}




























/****** ASSIGNMENTS AND LABS ******/

/* Overlay Block */
.content-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
  z-index: 1; /* Ensure content is above the canvas */
  pointer-events: auto;
  text-align: center;
  gap: 20px;
}




/**** ASSIGNMENT STYLING ****/





/**** LABS STYLING ****/

.lab1-container {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 100vh;
  overflow: hidden;
  background-color: #f8f8f8;
}

.lab1-canvas {
  display: block;
  width: 98vw;
  height: 98vh;
  max-width: 98vw;
  max-height: 98vh;
}























/**** BREAKPOINT MODIFICATIONS STYLING ****/
/**** setup by chatGPT, modifications made by me. ****/
@media (max-width: 768px) {

  .lab-number-box {
    margin-right: 0;
    margin-bottom: 10px;
  }

  .arrow-box {
    margin-left: 0;
    align-self: flex-end;
  }

  .cta-row {
    flex-direction: column;
    align-items: center;
    /* Ensures center alignment */
    text-align: center;
    grid-column-gap: 0;
    gap: 10px;
  }

  .cta-button {
    max-width: none;
    width: 100%;
    padding: 10px 20px;
    /* Adjusted padding for vertical stacking */
  }

  .text-button {
    display: block;
    /* Ensures it behaves as a block element */
    width: auto;
    /* Allows it to shrink to fit */
    text-align: center;
    /* Centers text inside */
    margin: 0 auto;
    /* Centers it horizontally */
  }

  /* Main Heading */
  .main-heading {
    font-size: clamp(24px, 8vw, 48px);
    /* Shrinks to fit on smaller screens */
  }

}