*{
  margin:0;
  padding:0;
  box-sizing:border-box;
}
@font-face {
  font-family: 'Gelasio';
  src: url('fonts/Gelasio/Gelasio-VariableFont_wght.ttf');
}

@font-face {
  font-family:'Things';
  src: url('fonts/Things-Regular.ttf');
}
@font-face {
  font-family: 'Saira';
  src: url('fonts/SairaCondensed-Regular.ttf');
}
html{
  scroll-behavior: smooth;
  width: 100%;
  overflow-x: hidden;
}

body{
  font-family:'Things';
  cursor: url('assets/c.png'), auto;
  width: 100%;
  max-width: 100vw;
  overflow-x: hidden;
}

.navbar{
  background:#283F75;
  display:flex;
  align-items:flex-end;
  justify-content:center;
  padding:15px 0 1px;
  border-bottom: 4px solid #FFF6B8;
  position:relative;
}

.navbar-menu{
  display:flex;
  justify-content:space-around;
  align-items:flex-end;
  flex:1;
  width:100%;
}

.navbar-menu a{
  font-family: Saira, serif;
  text-decoration:none;
  color:#FFF6B8;
  font-size:32px;
  letter-spacing:2px;
}

.nav-toggle{
  display:none;
  flex-direction:column;
  justify-content:center;
  gap:4px;
  width:40px;
  height:40px;
  padding:9px;
  flex-shrink:0;
  background:#283F75;
  border:2px solid #fff6b8;
  border-radius:10px;
  cursor:pointer;
  box-shadow:0 4px 14px rgba(0,0,0,0.22);
  z-index:201;
}

.nav-toggle-bar{
  display:block;
  height:3px;
  width:100%;
  background:#FFF6B8;
  border-radius:2px;
  transform-origin:center;
  transition:transform 0.22s ease, opacity 0.22s ease;
}

.navbar.is-open .nav-toggle-bar:nth-child(1){
  transform:translateY(6.5px) rotate(45deg);
}

.navbar.is-open .nav-toggle-bar:nth-child(2){
  opacity:0;
}

.navbar.is-open .nav-toggle-bar:nth-child(3){
  transform:translateY(-6.5px) rotate(-45deg);
}

.text{
  position: absolute;
  font-family: Things, serif;
  color: #F70A36;
  font-size: 30px;
  font-weight: 500;
  text-align: left;
  left: 2.6%;
  top: 25%;
  -webkit-text-stroke: 0.5px #F70A36;
  max-width: 1100px;
  margin-right:  10px;
}
.smalltext{
  position: absolute;
  font-family: Things, serif;
  color:#283F75;
  font-size: 25px;
  font-weight: 500;
  text-align: left;
  right: 9%;
  top: 94%;
  -webkit-text-stroke: 0.5px #283F75;
  

}

.hero{
  position:relative;
  width:100%;
  max-width:100%;
  height:500vh;
  background:#FFF6B8;
  display:flex;
  justify-content:center;
  align-items:center;
  overflow:hidden;
}
.notebook_paper{
    position: absolute;
    display: flex;
    width: 1200px;
    top: 10px;
    z-index: 3;
}
.arrow.friends-arrow-flow{
  position:absolute;
  display:flex;
  width: min(22vw, 400px);
  min-width: 200px;
  left: 32%;
  top: 18%;
  justify-content: center;
  z-index: 0;
  pointer-events: none;
}

.arrow.friends-arrow-flow img{
  width: 100%;
  height: auto;
  display: block;
}
.abt{
  position: absolute;
  top: 40px;
  left: 40px;

  font-family: Things, Georgia, serif;
  font-size: 120px;
  color: #F70A36;   
  font-weight: 500;

  line-height: 0.8;
  letter-spacing: 0px;
 -webkit-text-stroke: 0.6px #F70A36;
}
.scroll{
  position: absolute;
  top: 90%;
  right: 3%;
  color: #FFF6B8;
  font-family: Saira, serif;
  font-size: 25px;
  font-weight: 500;
   line-height: 0.8;
  letter-spacing: 0px;
 -webkit-text-stroke: 0.8px #FFF6B8;

  
}
.text{
  font-family: Gelasio;
  color: #283F75;
   -webkit-text-stroke: 0px #F70A36;
}
.abtw{
  position: absolute;
  top: 45%;
  left: 35%;
  font-size: 120px;
  font-weight: 500;
  color: #F70A36;
  line-height: 0.8;
  letter-spacing: 0px;
 -webkit-text-stroke: 0.8px #F70A36;
}
.title{
  right: 2%;
  font-weight: 500;
  position: relative;
  z-index: 10;
  color: #FFF6B8;

  font-size: 125px;
  text-align: center;

  line-height: 0.8;
  letter-spacing: 0px;
 -webkit-text-stroke: 1.5px #FFF6B8; 
  z-index: 20;
 
}



.line2{
  margin-left: 190px; 
}
.img{
  position:absolute;
  height:auto;
  object-fit:contain;
  filter: drop-shadow(0 10px 12px rgba(0,0,0,0.2));

  transform: rotate(var(--rot, 0deg));
  transition: transform 0.08s ease-out, filter 0.12s ease-out; 
  z-index:2;

  will-change: transform;
}


.img:hover{
  transform: scale(1.12) rotate(calc(var(--rot, 0deg) + 2deg)) translateY(-10px);
  filter: drop-shadow(0 18px 22px rgba(0,0,0,0.35));
}




.paint{
  width:15%;
  top:20%;
  left:24%;
  --rot:-3deg;
  z-index: 5;
}

.vinyl{
  width:15%;
  bottom:20%;
  left:20%;
  --rot:-4deg;
  z-index: 3;
}

.radio{
  width:12%;
  bottom:28.5%;
  left:35%;
  --rot:-2deg;
  z-index: 6;
}

.calendar{
  width:13%;
  bottom:6%;
  left:26%;
  --rot:-2deg;
  z-index: 13;
}

.vine{
  width:8%;
  bottom:18%;
  left:20%;
  --rot:2deg;
  z-index: 4;
}

.grapes{
  width:7.5%;
  bottom:1%;
  left:33%;
  --rot:-2deg;
  z-index: 18;
}




.pcb{
  width:14%;
  bottom:7.5%;
  left:40%;
  
  --rot:-1deg;
  z-index: 9;
}

.star{
  width:3%;
  top:28%;
  left:43%;
  --rot:-3deg;
  z-index: 12;
}

.starbig{
  width:4%;
  top:26%;
  left:40%;
  --rot:2deg;
  z-index: 11;
}

.stamp{
  width:6%;
  top:29%;
  left:52%;
  --rot:3deg;
  z-index: 10;
}




.camera{
  width:15%;
  top:30%;
  right:31%;
  --rot:-2deg;
  z-index: 2;
}

.reciept{
  width:18%;
  top:18%;
  right:21%;
  --rot:2deg;
  z-index: 1;
}

.bow{
  width:14%;
  top:14%;
  right:14%;
  --rot:2deg;
  z-index: 15;
}

.letters{
  width:16%;
  top:38%;
  right:15%;
  --rot:-2deg;
  z-index: 14;
}

.belt{
  width:8.5%;
  bottom:23%;
  right:36%;
  --rot:3deg;
  z-index: 8;
}

.plumeria{
  width:15%;
  bottom:16%;
  right:22%;
  --rot:2deg;
  z-index: 7;
}

.clover{
  width:7%;
  bottom:12%;
  right:43%;
  --rot:-2deg;
  z-index: 17;
}

.cherry{
  width:10%;
  bottom:10%;
  right:14%;
  --rot:-3deg;
  z-index: 16;
}




.footer{
  background:#C1ECFD;
  color:#283F75;
  text-align:center;
  padding:15px;
  font-size:22px;
  font-weight: 300;
  font-family:Things,Georgia,serif;
}

.whiteboard{
  
  background: #FFF6B8;
  padding: 60px;
  
}
.whiteboardd{
  font-family: Saira, serif;
  font-size: 25px;
  color: #283F75;
  right: 20%;
  top: 10%;
}


canvas{
  position: absolute;
  top: 20%;
  right: 5%;
  border: 8px solid #283F75;
  background: #fffce9;
  cursor: crosshair;
}
.dms{
  position: absolute;
  top: 14%;
  right: 5%;
  font-size: 20px;
}
.let{
  position: absolute;
  top: 62%;
  left: 80%;
  width: 250px;
  z-index: 30;
  transform: rotate(45deg);
}
.canvas-controls{
  top: 91%;
  right: 5.5%;
  position: absolute;
  display: flex;
  gap: 30px;
  justify-content: center;
  margin-top: 20px;
}

.canvas-controls span{
  color: #283F75;
  -webkit-text-stroke: 1px #283F75;
  font-size: 30px;
  cursor: pointer;
  font-family: Saira, serif;

  transition: 0.2s ease;
}

.draw-toolbar{
  position: absolute;
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: flex-end;
  gap: clamp(10px, 1.8vw, 22px);
  right: 5%;
  bottom: clamp(12px, 4vh, 48px);
  left: auto;
  top: auto;
  width: auto;
  max-width: min(92vw, 680px);
  z-index: 10;
  box-sizing: border-box;
}

.draw-toolbar .color-palette{
  position: static;
  right: auto;
  top: auto;
  margin: 0;
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: flex-start;
  gap: 12px;
}

.draw-toolbar .eraser{
  position: static;
  right: auto;
  top: auto;
  width: clamp(28px, 3.2vw, 42px);
  height: auto;
  flex-shrink: 0;
  display: block;
}

.draw-toolbar .canvas-controls{
  position: static;
  right: auto;
  top: auto;
  margin: 0;
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  gap: 30px;
  justify-content: center;
}

.draw-toolbar .canvas-controls span{
  line-height: 1;
  display: inline-flex;
  align-items: center;
}
#contact-form{
  position: absolute;
  left: 2%;
  top: 28%;
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-top: 40px;
  align-items: center;
  z-index: 2;
}

#friends h2.abt{
  z-index: 3;
}

#contact-form input,
#contact-form textarea{
  width: 800px;
  padding: 10px;

  border: 5px solid #283F75;
  background: #fffbe1;
  font-size: 20px;

  font-family: 'Saira', serif;
}

#contact-form textarea{
  height: 300px;
  resize: none;
}
.projects-grid{
  position: absolute;
  top: 20%;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 40px;
  padding: 40px;
}
.project-card{
  display: flex;
  flex-direction: row;
  align-items: stretch;
  background: #C1ECFD; 
  border: 5px solid #F70A36;
  width: 455px;
  min-height: 228px;
  height: auto;
  box-shadow: 5px 5px 10px 2px rgba(0, 0, 0, 0.5);
  border-radius: 6px;
  overflow: visible;
}
.project-text{
  flex: 1;
  min-width: 0;
  overflow-wrap: anywhere;
}

.textp{
  padding-left: 10px;
  padding-right: 2px;
   font-family: Gelasio;
   color: #283F75;
   font-size: 18px;
   -webkit-text-stroke:0.3px #283F75;
}

.project-text .textp{
  font-family: Things, Georgia, serif;
  font-size: 25px;
  line-height: 1.4;
  color: #283F75;
  -webkit-text-stroke: 0;
  margin-bottom: 10px;
  margin-left: 10px;
  margin-top: 10px;
}

.project-text h3{
  font-family: Things, Georgia, serif;
  color:#283F75;
  font-size: 40px;
  font-weight: 500;
  margin-bottom: 10px;
  margin-left: 10px;
  margin-top: 10px;
  margin-right: 50px;
}

.project-text p{
  font-family: Things, Georgia, serif;
  margin-bottom: 10px;
  margin-left: 10px;
  margin-top: 10px;
  font-size: 25px;
  line-height: 1.4;
  color: #283F75;
  
}
.project-image{
  flex: 0 0 40%;
  width: 40%;
  min-height: 0;
  background: #C1ECFD;
  background-size: cover;
  background-position: center;
}
.project-card{
  transition: 0.1s ease;
}

.project-card:hover{
  transform: translateY(-15px);
}
.color-palette{
  position: absolute;
  right: 26%;
  top: 94%;
  display: flex;
  gap: 12px;
  justify-content: center;
  margin-bottom: 15px;
}

.color-palette span{
  
  width: 24px;
  height: 24px;
  border-radius: 50%;
  cursor: pointer;

  border: 2px solid #283F75;
  transition: 0.2s;
}
.color-palette span:hover{
  transform: scale(1.5);
}
.color-palette span.active{
  transform: scale(1.3);
}
.eraser{
  cursor: pointer;
  width: 4%;
  position: absolute;
  top: 92%;
  right: 21%;
 
}
.eraser span:hover{
    transform: scale(1.5);

}
.eraser span.active{
  transform: scale(1.3);
}
.blog-section {
  position: absolute;
  padding: 40px;
  top: 30%;
}




.blog-grid {
  display: flex;
  gap: 30px;
  flex-wrap: wrap;
}


.blog-card {
  width: 355px;
  height: 178px;
  box-sizing: border-box;
  background: #FFF6B8;
  border: 3px dashed #F70A36;
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: Gelasio, Georgia, serif;
  font-size: clamp(17px, calc(100vw * 28 / 1061), 22px);
  color: #F70A36;
  font-weight: 600;
}
.blog-card.real {
  cursor: pointer;
}

.blog-card.real:hover {
  transform: scale(1.03);
}

@media (max-width: 1200px) {
  .projects-grid {
    grid-template-columns: 1fr 1fr;
    justify-items: center;
  }

  .project-card {
    width: 100%;
    max-width: 455px;
  }
}

@media (max-width: 992px) {
  .hero {
    min-height: 100vh;
    min-height: 100dvh;
    overflow: visible;
  }

  .navbar-menu {
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px 16px;
    row-gap: 10px;
    padding: 0 8px 8px;
  }

  .navbar-menu a {
    font-size: clamp(18px, 3.2vw, 32px);
    letter-spacing: 1px;
  }

  .title {
    font-size: clamp(52px, 12vw, 125px);
    padding: 0 12px;
  }

  .line2 {
    margin-left: clamp(40px, 18vw, 190px);
  }

  .scroll {
    font-size: clamp(16px, 3vw, 25px);
    right: 2%;
  }

  .about,
  .projects,
  .friends {
    height: auto;
    min-height: 100vh;
    overflow: visible;
    padding-bottom: 48px;
  }

  .blog {
    height: auto;
    min-height: auto;
    overflow: visible;
    padding-bottom: 48px;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
  }

  .projects {
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
  }

  .projects .abt,
  .blog .abt {
    align-self: stretch;
    text-align: left;
    padding-left: 20px;
    padding-right: 20px;
  }

  .abt {
    position: relative;
    top: auto;
    left: auto;
    font-size: clamp(56px, 14vw, 120px);
    padding: 24px 16px 0;
    margin-bottom: 8px;
  }

  .about-polaroids {
    position: relative;
    top: auto;
    right: auto;
    width: 100%;
    max-width: 100%;
    pointer-events: auto;
    display: flex;
    justify-content: center;
    align-items: flex-end;
    padding: 12px 16px 8px;
    margin: 0 auto;
  }

  .about-polaroids .group {
    width: min(88%, 380px);
    margin: 0 auto;
    display: block;
  }

  .text {
    position: relative;
    left: auto;
    top: auto;
    max-width: 100%;
    padding: 0 20px;
    font-size: clamp(17px, 3.8vw, 30px);
    margin-bottom: 24px;
  }

  .contact-links {
    position: relative;
    left: auto;
    top: auto;
    display: flex;
    flex-wrap: wrap;
    gap: 14px 18px;
    align-items: center;
    justify-content: flex-start;
    padding: 0 20px 28px;
    max-width: 100%;
  }

  .about {
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
  }

  .about .abt {
    text-align: left;
    align-self: stretch;
    font-family: Things, Georgia, serif;
    font-weight: 500;
    -webkit-text-stroke: 0.6px #f70a36;
  }

  .about .text {
    font-family: Gelasio, Georgia, serif;
    line-height: 1.55;
  }

  .about .smalltext {
    text-align: left;
    padding-top: 8px;
  }

  .contact-links a,
  .contact-links .ima {
    position: relative !important;
    left: auto !important;
    top: auto !important;
  }

  .about .contact-links {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: clamp(2px, calc(100vw * 8 / 1061), 12px);
    align-items: center;
    overflow: visible;
    width: 100%;
    box-sizing: border-box;
    padding-left: 20px;
    padding-right: 20px;
  }

  .about .contact-links a,
  .about .contact-links .ima {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 0;
    width: 100%;
    max-width: 100%;
    line-height: 0;
  }

  .contact-links img.gmail,
  .contact-links img.github,
  .contact-links img.linkedin,
  .contact-links img.instagram,
  .contact-links img.pinterest,
  .contact-links img.spotify {
    position: relative !important;
    top: auto !important;
    left: auto !important;
    width: clamp(44px, 11vw, 70px) !important;
    height: auto;
  }

  .about .contact-links img.gmail,
  .about .contact-links img.github,
  .about .contact-links img.linkedin,
  .about .contact-links img.instagram,
  .about .contact-links img.pinterest,
  .about .contact-links img.spotify {
    width: auto !important;
    height: auto !important;
    max-width: 100%;
    max-height: min(52px, max(14px, calc((100vw - 72px) / 6)));
    object-fit: contain;
    display: block;
  }

  .smalltext {
    position: relative;
    right: auto;
    top: auto;
    padding: 0 20px 24px;
    font-size: clamp(16px, 3.5vw, 25px);
    text-align: center;
  }

  .projects-grid {
    position: relative;
    top: auto;
    grid-template-columns: 1fr;
    width: 100%;
    max-width: min(480px, calc(100vw * 880 / 1061));
    margin: 0 auto;
    padding: 8px 20px 36px;
    gap: clamp(16px, calc(100vw * 30 / 1061), 24px);
    box-sizing: border-box;
  }

  .project-card {
    width: 100%;
    height: auto;
    min-height: 0;
    flex-direction: column;
    border-radius: 8px;
    box-shadow: 6px 6px 0 rgba(0, 0, 0, 0.2);
  }

  .project-image {
    display: none;
  }

  .project-text h3 {
    font-family: Things, Georgia, serif;
    font-weight: 500;
    font-size: clamp(22px, calc(100vw * 42 / 1061), 34px);
    margin-right: 14px;
  }

  .project-text p {
    font-family: Things, Georgia, serif;
    font-size: clamp(15px, calc(100vw * 26 / 1061), 20px);
    line-height: 1.45;
  }

  .project-text .textp {
    font-family: Things, Georgia, serif;
    font-size: clamp(15px, calc(100vw * 26 / 1061), 20px);
    line-height: 1.45;
    -webkit-text-stroke: 0;
  }

  .blog-section {
    position: relative;
    top: auto;
    padding: 8px 16px 28px;
    width: 100%;
    box-sizing: border-box;
  }

  .blog-grid {
    flex-direction: column;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: flex-start;
    gap: clamp(16px, calc(100vw * 28 / 1061), 24px);
    width: 100%;
  }

  .blog-card {
    width: 100%;
    max-width: min(340px, calc(100vw * 800 / 1061));
    height: clamp(128px, calc(100vw * 280 / 1061), 178px);
  }

  .friends {
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    padding: 16px 0 40px;
    overflow: visible;
  }

  .friends .abt {
    padding-left: 20px;
    padding-right: 20px;
    margin-bottom: 8px;
  }

  .friends-mobile-stack,
  .friends-form-wrap,
  .friends-draw-wrap {
    display: flex;
    flex-direction: column;
    width: 100%;
    align-items: stretch;
    box-sizing: border-box;
  }

  .friends-mobile-stack {
    gap: clamp(20px, calc(100vw * 36 / 1061), 36px);
    padding: 0 16px 24px;
    max-width: min(520px, 100%);
    margin: 0 auto;
  }

  .friends-form-wrap {
    position: relative;
    padding-bottom: 0;
  }

  .textarea-wrap {
    display: block;
    position: relative;
    width: 100%;
  }

  .friends-arrow-flow {
    display: none !important;
  }

  .draw-toolbar {
    position: relative;
    right: auto;
    bottom: auto;
    left: auto;
    top: auto;
    z-index: auto;
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: flex-start;
    gap: clamp(8px, calc(100vw * 12 / 1061), 14px);
    width: 100%;
    max-width: min(100vw - 20px, 520px);
    margin: 14px auto 0;
    padding: 0 4px;
    box-sizing: border-box;
  }

  .draw-toolbar .color-palette {
    margin: 0;
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: flex-start;
    gap: clamp(4px, calc(100vw * 8 / 1061), 10px);
    flex: 0 0 auto;
    min-width: 0;
  }

  .draw-toolbar .color-palette span {
    width: clamp(10px, calc((100vw - 168px) / 13), 20px);
    height: clamp(10px, calc((100vw - 168px) / 13), 20px);
    max-width: 20px;
    max-height: 20px;
    box-sizing: border-box;
    border-width: 1.5px;
    flex-shrink: 0;
  }

  .draw-toolbar .color-palette span:hover {
    transform: scale(1.06);
  }

  .draw-toolbar .color-palette span.active {
    transform: scale(1.12);
  }

  .draw-toolbar .eraser {
    margin: 0;
    flex: 0 0 auto;
    width: clamp(22px, calc(100vw * 36 / 1061), 36px);
    height: auto;
    align-self: center;
    object-fit: contain;
    cursor: pointer;
    display: block;
  }

  .draw-toolbar .canvas-controls {
    margin: 0;
    margin-left: auto;
    flex: 0 0 auto;
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    gap: clamp(8px, calc(100vw * 16 / 1061), 18px);
    min-width: 0;
  }

  .draw-toolbar .canvas-controls span {
    white-space: nowrap;
    flex-shrink: 0;
    line-height: 1;
    display: inline-flex;
    align-items: center;
  }

  #contact-form {
    position: relative;
    left: auto;
    top: auto;
    width: 100%;
    max-width: 100%;
    margin: 0;
    align-items: stretch;
    padding: 0;
    gap: clamp(14px, calc(100vw * 22 / 1061), 18px);
  }

  #contact-form input[type="text"],
  #contact-form input[type="email"] {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    border: 2px solid #283f75;
    padding: 12px 14px;
    font-size: clamp(14px, calc(100vw * 23 / 1061), 17px);
    background: #fffbe1;
  }

  #contact-form textarea {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    border: 2px solid #283f75;
    padding: 14px 14px 56px;
    min-height: min(38vh, 240px);
    height: auto;
    resize: none;
    font-size: clamp(14px, calc(100vw * 23 / 1061), 17px);
    background: #fffbe1;
  }

  .friends .let {
    position: absolute;
    right: 6px;
    bottom: 6px;
    width: min(118px, 32vw);
    margin: 0;
    transform: rotate(-14deg);
    z-index: 3;
    pointer-events: none;
    display: block;
  }

  .whiteboardd {
    position: relative;
    right: auto;
    top: auto;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 0;
  }

  .dms {
    position: relative;
    top: auto;
    right: auto;
    text-align: center;
    margin-bottom: 10px;
  }

  .dms h2 {
    font-size: clamp(15px, calc(100vw * 26 / 1061), 20px);
    letter-spacing: 0.04em;
  }

  canvas {
    position: relative !important;
    top: auto !important;
    right: auto !important;
    margin: 0 auto;
    display: block;
    max-width: min(100vw - 2rem, 460px);
    width: 100%;
    height: auto;
    aspect-ratio: 500 / 550;
    box-sizing: content-box;
    border: 4px solid #283f75;
    background: #fffce9;
  }

  .canvas-controls span {
    font-size: clamp(15px, calc(100vw * 24 / 1061), 22px);
  }
}

@media (max-width: 768px) {
  .nav-toggle {
    display: flex;
    width: clamp(34px, calc(100vw * 42 / 1061), 40px);
    height: clamp(34px, calc(100vw * 42 / 1061), 40px);
    padding: clamp(7px, calc(100vw * 10 / 1061), 9px);
  }

  .navbar {
    position: fixed;
    top: max(10px, env(safe-area-inset-top));
    left: 12px;
    right: auto;
    width: auto;
    min-height: 0;
    margin: 0;
    padding: 0;
    background: transparent;
    border: none;
    box-shadow: none;
    z-index: 200;
    align-items: flex-start;
    justify-content: flex-start;
  }

  .navbar:not(.is-open) .navbar-menu {
    display: none;
  }

  .navbar.is-open {
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    max-width: 100vw;
    align-items: center;
    padding: max(8px, env(safe-area-inset-top)) max(8px, env(safe-area-inset-right)) 10px max(8px, env(safe-area-inset-left));
    background: #283f75;
    border-bottom: 3px solid #fff6b8;
    flex-direction: row;
    flex-wrap: nowrap;
    gap: 6px;
    justify-content: flex-start;
    box-sizing: border-box;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.18);
  }

  .navbar.is-open .nav-toggle {
    box-shadow: none;
    border-color: #fff6b8;
    margin: 0;
    flex-shrink: 0;
  }

  .navbar.is-open .navbar-menu {
    display: flex;
    flex: 1 1 0;
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: space-between;
    align-items: center;
    gap: clamp(2px, calc(100vw * 8 / 1061), 10px);
    min-width: 0;
    padding: 0 2px 0 0;
  }

  .navbar.is-open .navbar-menu a {
    flex: 1 1 0;
    min-width: 0;
    text-align: center;
    font-size: clamp(10px, calc(100vw * 28 / 1061), 14px);
    letter-spacing: clamp(0px, calc(100vw * 1.5 / 1061), 1.5px);
    color: #fff6b8;
    padding: 6px 2px;
    white-space: nowrap;
  }

  body.nav-menu-open .hero {
    padding-top: max(88px, calc(env(safe-area-inset-top) + 72px));
  }

  .hero {
    width: 100%;
    max-width: 100vw;
    padding-top: max(64px, calc(env(safe-area-inset-top) + 52px));
    min-height: 100vh;
    min-height: 100dvh;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    box-sizing: border-box;
  }

  
  .hero .title {
    font-family: Things, Georgia, serif;
    font-weight: 500;
    font-size: clamp(2.35rem, calc(100vw * 148 / 1061), 4.35rem);
    color: #fff6b8;
    -webkit-text-stroke: 1.5px #fff6b8;
    text-align: center;
    margin: 0 auto;
    padding: 0 16px;
    position: relative;
    z-index: 25;
    line-height: 0.82;
    max-width: 100%;
  }

  .hero .line2 {
    margin-left: clamp(1.5rem, calc(100vw * 132 / 1061), 3.4rem);
    display: inline-block;
  }

  .hero .scroll {
    z-index: 30;
    bottom: max(12px, env(safe-area-inset-bottom));
    top: auto;
    right: 3%;
  }

  .hero .img {
    transform: rotate(var(--rot, 0deg));
    filter: drop-shadow(0 5px 10px rgba(0, 0, 0, 0.22));
    max-width: min(48vmin, calc(100vw * 455 / 1061));
  }

  .hero .img:hover {
    transform: scale(1.06) rotate(calc(var(--rot, 0deg) + 1.5deg)) translateY(-5px);
    filter: drop-shadow(0 10px 16px rgba(0, 0, 0, 0.28));
  }

  .hero .paint {
    width: min(32vmin, calc(100vw * 335 / 1061));
    top: 12%;
    left: 8%;
    z-index: 6;
  }

  .hero .starbig {
    width: min(11vmin, calc(100vw * 118 / 1061));
    top: 18%;
    left: 43%;
    z-index: 14;
  }

  .hero .star {
    width: min(9vmin, calc(100vw * 98 / 1061));
    top: 19%;
    left: 49%;
    z-index: 13;
  }

  .hero .stamp {
    width: min(14vmin, calc(100vw * 148 / 1061));
    top: 21%;
    left: 53%;
    z-index: 12;
  }

  .hero .bow {
    width: min(26vmin, calc(100vw * 275 / 1061));
    top: 11%;
    right: 11%;
    left: auto;
    z-index: 16;
  }

  .hero .reciept {
    width: min(34vmin, calc(100vw * 360 / 1061));
    top: 14%;
    right: 9%;
    left: auto;
    z-index: 4;
  }

  .hero .camera {
    width: min(30vmin, calc(100vw * 315 / 1061));
    top: 22%;
    right: 11%;
    left: auto;
    z-index: 8;
  }

  .hero .letters {
    width: min(27vmin, calc(100vw * 285 / 1061));
    top: 36%;
    right: 10%;
    left: auto;
    z-index: 7;
  }

  .hero .belt {
    width: min(15vmin, calc(100vw * 158 / 1061));
    top: 24%;
    right: 22%;
    left: auto;
    z-index: 5;
  }

  .hero .vinyl {
    width: min(30vmin, calc(100vw * 315 / 1061));
    bottom: 48%;
    left: 10%;
    z-index: 5;
  }

  .hero .vine {
    width: min(16vmin, calc(100vw * 168 / 1061));
    bottom: 32%;
    left: 13%;
    z-index: 6;
  }

  .hero .radio {
    width: min(26vmin, calc(100vw * 272 / 1061));
    bottom: 38%;
    left: 13%;
    z-index: 8;
  }

  .hero .calendar {
    width: min(22vmin, calc(100vw * 232 / 1061));
    bottom: 22%;
    left: 38%;
    z-index: 10;
  }

  .hero .grapes {
    width: min(15vmin, calc(100vw * 158 / 1061));
    bottom: 26%;
    left: 30%;
    z-index: 9;
  }

  .hero .pcb {
    width: min(28vmin, calc(100vw * 295 / 1061));
    bottom: 18%;
    left: 42%;
    z-index: 11;
  }

  .hero .clover {
    width: min(14vmin, calc(100vw * 148 / 1061));
    bottom: 20%;
    left: 54%;
    z-index: 12;
  }

  .hero .plumeria {
    width: min(30vmin, calc(100vw * 315 / 1061));
    bottom: 24%;
    right: 9%;
    left: auto;
    z-index: 10;
  }

  .hero .cherry {
    width: min(20vmin, calc(100vw * 210 / 1061));
    bottom: 16%;
    right: 11%;
    left: auto;
    z-index: 11;
  }

  .about {
    padding-top: max(48px, env(safe-area-inset-top, 0px) + 6px);
  }

  .about .abt {
    font-family: Things, Georgia, serif;
    font-weight: 500;
    padding: 4px 20px 0;
    margin-bottom: 10px;
    font-size: clamp(48px, calc(100vw * 112 / 1061), 88px);
    color: #f70a36;
    line-height: 0.9;
    -webkit-text-stroke: 0.6px #f70a36;
  }

  .about .text {
    font-family: Gelasio, Georgia, serif;
    font-size: clamp(15px, calc(100vw * 27 / 1061), 18px);
    line-height: 1.55;
    padding: 0 20px;
    margin-bottom: 18px;
  }

  .about .contact-links {
    gap: clamp(2px, calc(100vw * 7 / 1061), 10px);
    padding: 0 16px 20px;
  }

  .about .contact-links img.gmail,
  .about .contact-links img.github,
  .about .contact-links img.linkedin,
  .about .contact-links img.instagram,
  .about .contact-links img.pinterest,
  .about .contact-links img.spotify {
    max-height: min(52px, max(13px, calc((100vw - 56px) / 6)));
  }

  .about-polaroids {
    padding: 8px 10px 28px;
    margin-top: 0;
  }

  .about-polaroids .group {
    width: min(94vw, calc(100vw * 990 / 1061));
    max-width: 540px;
    transform: rotate(-1.25deg);
    filter: drop-shadow(0 16px 30px rgba(0, 0, 0, 0.24));
  }

  .about .smalltext {
    text-align: left;
    padding: 4px 20px 32px;
    font-size: clamp(14px, calc(100vw * 23 / 1061), 17px);
  }
}

@media (max-width: 480px) {
  .navbar.is-open .navbar-menu a {
    font-size: clamp(9px, calc(100vw * 26 / 1061), 13px);
    letter-spacing: 0;
    padding: 6px 1px;
  }

  .footer {
    font-size: clamp(14px, 4vw, 22px);
    padding: 12px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .nav-toggle-bar {
    transition: none;
  }

  .project-card {
    transition: none;
  }

  .project-card:hover {
    transform: none;
  }
  
  .img {
    transition: none;
  }

  .img:hover {
    transform: scale(1.05) rotate(var(--rot, 0deg));
  }

  @media (max-width: 768px) {
    .hero .img:hover {
      transform: rotate(var(--rot, 0deg));
    }
  }
}
