@font-face {
  font-family: "Robot Crush";
  src: url("fonts/Robot Crush.ttf") format("truetype"),
        url("fonts/Robot Crush.otf") format("opentype");
  font-weight: normal;
  font-style: normal;
}
@font-face {
  font-family: "LemonMilk";
  src: url("fonts/LEMONMILK-Regular.woff") format("woff"),
       url("fonts/LEMONMILK-Regular.woff2") format("woff2"),
       url("fonts/LEMONMILK-Regular.otf") format("opentype");
  font-weight: normal;
  font-style: normal;
}
@font-face {
  font-family: "LemonMilk-Bold";
  src: url("fonts/LEMONMILK-Bold.woff") format("woff"),
       url("fonts/LEMONMILK-Bold.woff2") format("woff2"),
       url("fonts/LEMONMILK-Bold.otf") format("opentype");
  font-weight: bold;
  font-style: normal;
}
@font-face {
  font-family: "BebasNeue";
  src: url("fonts/BebasNeue-Regular.woff") format("woff"),
       url("fonts/BebasNeue-Regular.woff2") format("woff2"),
       url("fonts/BebasNeue-Regular.ttf") format("truetype"),
       url("fonts/BebasNeue-Regular.otf") format("opentype");
  font-weight: normal;
  font-style: normal;
}
@font-face {
  font-family: "DS-DIGITAL";
  src: url("fonts/DS-DIGII.woff") format("woff"),
       url("fonts/DS-DIGII.woff2") format("woff2"),
       url("fonts/DS-DIGII.ttf") format("truetype");
  font-weight: normal;
  font-style: normal;
}

body {
  font-family: Arial, sans-serif;
  margin: 0;
  padding: 0;
  background: #000;
  min-height: 100vh;
  text-align: center;
  display: flex;
  flex-direction: column;
}
nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: linear-gradient(120deg, #24292d 20%, #313a41 100%);
  padding: 10px;
}
nav a {
  font-family: "BebasNeue", Arial, sans-serif;
  margin: 0 10px;
  text-decoration: none;
}
nav a:hover {
  text-decoration: underline;
}
h1 {
  font-family: "LemonMilk-Bold", Arial, sans-serif;
  text-align: center;
  color: #fff;
}
h2 {
  font-family: "LemonMilk", Arial, sans-serif;
  text-align: left;
  color: #fff;
  margin-left: 10px;
}
p {
  font-family: "BebasNeue", Arial, sans-serif;
  color: #ccc;
  line-height: 1.6;
  max-width: 800px;
  /* margin: 0 auto 0; */
  font-size: 1.5rem;
}

.section-title {
  text-align: center;
  font-size: 2rem;
  margin: 40px 0 20px;
  font-family: "LemonMilk-Bold", Arial, sans-serif;
  color: #fff;
}

body.gallery-page {
  background: #000;
  background-image: url("images/sparklebg1.png");
  background-repeat: repeat;
  background-size: auto;
  background-position: center;
}

body.projects {
  background: #000;
  background-image: url("images/sparklebg2.png");
  background-repeat: repeat;
  background-size: auto;
  background-position: center;
  /* max-width: 900px; */
}

body.home {
  background: #000;
  background-image: url("images/indexstarsbg.png");
  background-repeat: repeat;
  background-size: cover;
  background-position: center;
}

/* Gallery wrapper */
.gallery {
  display: flex;
  flex-direction: column;
  gap: 20px;
  max-width: 900px;
  margin: 0 auto;
}

.home {
  display: flex;
  flex-direction: column;
  margin: 0 auto;
  align-items: left;
}

.home h1 {
  font-size: 1.5rem;
}

.projects {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin: 0 auto;
}

.featured {
  display: flex;
  flex-direction: row;
  gap: 20px;
  margin: 0 auto 0 10px;
}

/* Each card is a link */
.card {
  display: flex;
  align-items: flex-start;
  text-decoration: none; /* remove underline */
  color: inherit;        /* keep text color normal */
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 8px rgba(0,0,0,0.05);
  transition: transform 0.2s, box-shadow 0.2s;
  padding: 15px;
}

/* Hover effect */
.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 6px 12px rgba(0,0,0,0.15);
}

/* Image styling */
.card img {
  width: 180px;
  height: auto;
  border-radius: 8px;
  flex-shrink: 0; /* prevents image from shrinking */
}

/* Content area */
.card-content {
  margin: 0 10px;
}

.card-content h2 {
  margin: 0 auto 10px 10px;
  font-size: 1.5rem;
  font-family: "LemonMilk", Arial, sans-serif;
}

/* Description */
.gallery .card-content p {
  font-size: 1.5rem;
  /* margin: 0; */
  color: #cce3cd;
  line-height: 1.5;
}

.featured .card-content p {
  display: flex;
  flex-direction: column; 
  justify-content: space-between;
  font-size: auto;
  margin-left: 10px;
  color: #222;
  margin-bottom: 10px;
}

.prints .card {
  background: #8848BD;
  background: linear-gradient(46deg, #2A7B9B 0%, #8848BD 100%);
  border: 1px solid #ddd;
}

.videos .card {
  background: #DE3E3E;
  background: linear-gradient(180deg, #DE3E3E 0%, #FF9C9C 100%);
  border: 1px solid #ddd;
}

.calc .card {
  background-image: url("images/calc.png");
  background-size: cover;
  background-position: center;
  padding: 50px;
  border: 1px solid #ddd;
}

.featured .card {
  background: linear-gradient(120deg, #5c6369 20%, #6f8494 100%);
  min-height: 150px;
  width: 300px;
  max-height: 250px;
  text-align: start;
  margin-bottom: 10px;
}

.featured h2 {
  margin-left: 10px;
}

.footer-index {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  background: linear-gradient(120deg, #24292d 20%, #3f4b55 100%);
  color: #fff;
  text-align: center;
  padding: 0px;
  margin-top: auto;
  gap: 50px;
}

.footer-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 1000px;
  margin-right: auto;
  margin-top: 0;
}

.footer-content h2, .footer-content p {
  margin: 10px;
  padding: 0;
}

.footer-img {
  width: 160px;
  height: 160px;
  border-radius: 50%;
  object-fit: cover;
  margin-left: auto;
}

.footer-index a {
  color: #ffd700;
  text-decoration: underline;
}

.footer-title {
  text-align: center;
  margin-top: 10px;
  font-family: "LemonMilk-Bold", Arial, sans-serif;
  color: #fff;
  font-size: 1.6rem;
}

.nav-l, .nav-r {
  display: flex;
  flex-direction: row;
  align-items: center;
}

.nav-l a {
  display: flex;
  color: #999;
  font-size: 1.5rem;
}

.nav-r a {
  display: flex;
  color: #ccc;
  font-size: 1.8rem;
}

/* .navelement {
align-items: right;
max-width: 50px;
margin-right: 10px;
}
*/
.navimg {
width: 30px;
height: 30px;
border-radius: 50%;
object-fit: cover;
} 

.nav-r a::after {
  content: "•";          /* the dot */
  margin: 0 10px;        /* space around the dot */
  color: #777;           /* dot color */
}

.nav-r a:last-child::after {
  content: "";           /* remove dot after the last link */
}

.calc-container {
  display: flex;
  flex-direction: column;
  max-width: 400px;
  margin: 50px auto;
  padding: 20px;
  background: #222;
  color: #fff;
  border-radius: 10px;
  text-align: center;
}

button {
  font-family: "BebasNeue", Arial, sans-serif;
  padding: 10px;
  margin: 10px auto;
  font-size: 1.5rem;
  background: #0d1014;
  text-align: center;
  color: #ccc;
}

input {
  font-family: "DS-DIGITAL", Arial, sans-serif;
  padding: 10px;
  margin: 10px auto;
  font-size: 1.3rem;
  background: #374b66;
  text-align: center;
}

/* .operator input {
  padding: 10px;
  margin: 10px 50px;
  font-size: 1rem;
  background: #00c;
  text-align: center;
} */

.home .summary p::after {
  content: "|";          /* the dot */
  margin: 0 10px;        /* space around the dot */
  color: #777;           /* dot color */
}

.home .summary p:last-child::after {
  content: "";           /* remove dot after the last link */
}

.home .summary p {
  font-size: 1.4rem;
  color: #cbc;
  margin-top: 5px;
}

.home .summary {
  display: flex;
  flex-direction: row;
  justify-content: center;
}

.bubble {
  display: inline-block;
  padding: 8px 20px;
  text-align: center;
  background-color: #232429;
  border: 1px solid #375961;
  color: #bbb;
  font-family: "BebasNeue", Arial, sans-serif;
  border-radius: 25px;
  line-height: 1;
  box-shadow: 0 4px 8px rgba(0,0,0,0.05);
  white-space: nowrap;
}

.resume-button {
  display: inline-block;
  padding: 8px 20px;
  text-align: center;
  font-size: 1.8rem;
  background-color: #222;
  border: 1px solid #ffffff;
  color: #bbb;
  font-family: "BebasNeue", Arial, sans-serif;
  border-radius: 10px;
  line-height: 1;
  box-shadow: 0 4px 8px rgba(0,0,0,0.05);
  white-space: nowrap;
  max-width: 80px;
  margin: 0 auto;
  text-decoration: none;
}