html {
  font-size: 62.5%;
}

body {
  margin: 0;
  font-size: 1.5em;
  line-height: 1.6;
  font-weight: 400;
  font-family: "Raleway", "Helvetica Neue", Helvetica, Arial, sans-serif;
  color: #222;
  background: #fff;
}

a {
  color: #e03776;
}

a:hover {
  color: #ff5292;
}

img {
  max-width: 100%;
}

.container {
  position: relative;
  width: 100%;
  max-width: 960px;
  margin: 0 auto;
  padding: 0 20px;
  box-sizing: border-box;
}

.column,
.columns {
  width: 100%;
  float: left;
  box-sizing: border-box;
}

.mobile-navbar {
  display: none;
}

#navbar {
  position: fixed;
}

.logo-circle {
  width: 7.2rem;
  height: 7.2rem;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  font-weight: 600;
  background: linear-gradient(135deg, #ff5292, #7a5cff);
  margin-top: 2em;
}

.prism {
  width: 8rem;
  height: 10rem;
  margin-top: 2em;
  margin-bottom: 2em;
  border-radius: 18px;
  background: linear-gradient(180deg, #ff8ab4, #7f6cff 55%, #4de4c7);
  transform: rotate(12deg);
  box-shadow: 0 20px 40px rgba(122, 92, 255, 0.18);
}

nav {
  display: inline-block;
}

nav a {
  font-size: 1.2em;
  text-decoration: none;
  font-weight: 300;
  color: #000;
  display: block;
  padding: 0.2em 0;
}

nav a.selected {
  font-weight: 600;
  color: #ff5192;
}

#me {
  padding-top: 8em;
}

.graphics-column {
  position: relative;
  min-height: 520px;
}

.about-graphic,
.about-photo,
.floating-shot {
  position: absolute;
  border-radius: 12px;
}

.phone-shape {
  width: 160px;
  height: 320px;
  top: 80px;
  left: 30px;
  border-radius: 26px;
  background: linear-gradient(180deg, rgba(55, 227, 203, 0.5), rgba(0, 109, 255, 0.65));
}

.line-shape {
  width: 50px;
  height: 220px;
  top: 40px;
  left: 95px;
  background: linear-gradient(180deg, rgba(235, 104, 109, 0.7), rgba(112, 0, 255, 0.6));
}

.tile-shape {
  width: 100px;
  height: 100px;
  top: 110px;
  left: 160px;
  border-radius: 18px;
  background: linear-gradient(0deg, rgba(223, 55, 227, 0.35), rgba(221, 179, 115, 0.85));
}

.about-photo {
  width: 150px;
  height: 150px;
  top: 215px;
  left: 0;
  border-radius: 75px;
  display: grid;
  place-items: center;
  color: #fff;
  font-weight: 600;
  letter-spacing: 0.2em;
  background: linear-gradient(135deg, #111827, #334155);
}

.floating-shot {
  opacity: 0.95;
}

.floating-a {
  width: 210px;
  height: 380px;
  top: 180px;
  left: 0;
  background: linear-gradient(180deg, #8b5cf6, #1f2937);
}

.floating-b {
  width: 180px;
  height: 320px;
  top: 250px;
  left: 120px;
  background: linear-gradient(180deg, #f43f5e, #f59e0b);
}

.app-icon {
  width: 3em;
  height: 3em;
  border-radius: 0.75em;
  margin-right: 0.75em;
  display: grid;
  place-items: center;
  color: #fff;
  font-weight: 600;
  font-size: 1.2rem;
}

.icon-a {
  background: linear-gradient(135deg, #6172ff, #13203a);
}

.icon-b {
  background: linear-gradient(135deg, #00c389, #166534);
}

.icon-c {
  background: linear-gradient(135deg, #ff4d8d, #7c3aed);
}

.icon-d {
  background: linear-gradient(135deg, #fb923c, #b45309);
}

.project-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.5em;
}

.project-header-left {
  display: flex;
  align-items: center;
  justify-content: flex-start;
}

.project-header h5 {
  margin: 0;
  line-height: 1;
}

.project-links {
  display: flex;
  color: #c9c9c9;
}

.project-links a {
  font-size: 10pt;
  margin: 0 5pt;
}

.screenshot-container {
  margin-top: 2.5rem;
  border-radius: 12px;
  padding: 18px;
  display: flex;
  align-items: end;
  gap: 16px;
  min-height: 280px;
  overflow: hidden;
}

.gradient-a {
  background: linear-gradient(135deg, #5d6bff, #0f172a 72%);
}

.gradient-b {
  background: linear-gradient(135deg, #10b981, #0f172a 72%);
}

.gradient-c {
  background: linear-gradient(135deg, #ff5192, #4338ca 72%);
}

.gradient-d {
  background: linear-gradient(135deg, #fb923c, #111827 72%);
}

.shot {
  background: rgba(255, 255, 255, 0.92);
  border-radius: 14px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.18);
  color: #222;
  display: grid;
  place-items: center;
  font-weight: 600;
  letter-spacing: 0.04em;
}

.shot-tall {
  width: 180px;
  height: 280px;
}

.shot-wide {
  flex: 1;
  min-height: 180px;
}

ul {
  padding-left: 1.2em;
}

li {
  text-indent: -1.4em;
  margin-bottom: 0.5em;
  padding-left: 0.4em;
}

#links .link {
  font-size: 12pt;
  color: #000;
  padding: 5pt 0;
  display: flex;
  justify-content: flex-start;
  align-items: center;
}

.link-icon {
  height: 30pt;
  width: 30pt;
  border-radius: 50%;
  margin-right: 10pt;
  display: grid;
  place-items: center;
  color: #fff;
  background: #ff5192;
  font-size: 10pt;
  font-weight: 600;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  margin-top: 0;
  margin-bottom: 2rem;
  font-weight: 600;
}

h4 {
  font-size: 3rem;
  line-height: 1.35;
  letter-spacing: -0.08rem;
}

h5 {
  font-size: 2.2rem;
  line-height: 1.5;
  letter-spacing: -0.05rem;
}

h6 {
  font-size: 1.5rem;
  line-height: 1.6;
  margin-bottom: 0.75em;
}

p {
  margin-top: 0;
  margin-bottom: 2.5rem;
}

hr {
  margin-top: 3rem;
  margin-bottom: 3.5rem;
  border-width: 0;
  border-top: 1px solid #e1e1e1;
}

.container:after,
.row:after {
  content: "";
  display: table;
  clear: both;
}

@media (min-width: 400px) {
  .container {
    width: 85%;
    padding: 0;
  }
}

@media (min-width: 550px) {
  .container {
    width: 90%;
  }

  .column,
  .columns {
    margin-left: 4%;
  }

  .column:first-child,
  .columns:first-child {
    margin-left: 0;
  }

  .two.columns { width: 13.3333333333%; }
  .four.columns { width: 30.6666666667%; }
  .six.columns { width: 48%; }
}

@media (max-width: 900px) {
  .graphics-column {
    display: none;
  }
}

@media (max-width: 549px) {
  .mobile-navbar {
    position: sticky;
    top: 0;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #fff;
    padding: 12px 16px;
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.1);
  }

  .mobile-logo {
    width: 36px;
    height: 36px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    color: #fff;
    font-weight: 600;
    background: linear-gradient(135deg, #ff5292, #7a5cff);
  }

  .mobile-navbar nav a {
    display: inline-block;
    margin-left: 8px;
    font-size: 1.4rem;
  }

  #navbar,
  .navbuffer,
  .graphics-column {
    display: none;
  }

  #me {
    padding-top: 3rem;
  }

  .nav-hide {
    display: none;
  }

  .project-header {
    display: block;
  }

  .project-links {
    margin-top: 10px;
  }

  .screenshot-container {
    flex-direction: column;
    align-items: stretch;
    min-height: auto;
  }

  .shot-tall,
  .shot-wide {
    width: 100%;
    min-height: 200px;
  }
}
