* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', sans-serif;
}

body {
    background: #ffffff;
    color: #1e293b;
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: auto;
}

.navbar {
  width: 100%;
  max-width: 1200px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
  z-index: 1000;
  padding: 20px;
}

.logo img {
  height: 65px;
  width: auto;
}

.nav-links {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 35px;
  list-style: none;
  transition: all 0.3s ease;
}

.nav-links li a {
  text-decoration: none;
  color: #000;
  font-weight: 500;
  transition: color 0.3s ease;
}

.nav-links li a:hover {
  color: #0056ff;
}

.menu-icon {
  display: none;
  flex-direction: column;
  cursor: pointer;
  transition: 0.3s;
  z-index: 1001;
}

.bar {
  width: 25px;
  height: 3px;
  background-color: #000;
  margin: 4px 0;
  transition: all 0.3s ease;
}

.button {
  padding: 10px 15px;
  background: #fff;
  border: 1px solid #d1d5db;
  border-radius: 5px;
  color: #0056ff;
}

.button:hover {
  background: #f8fafc;
  transform: translateY(-2px);
  box-shadow: 3px 4px 22px rgba(0, 0, 0, 0.1);
}

.mobile-button {
  display: none;
}

@media (max-width: 900px) {
  .nav-links {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 70px;
    right: 20px;
    background: #fff;
    padding: 15px;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    opacity: 0;
    transform: translateY(-10px);
    pointer-events: none;
  }

  .nav-links.active {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
    transition: all 0.4s ease;
  }
  
  .logo img {
    padding-left: 20px;
  }

  .menu-icon {
    display: flex;
    padding-right: 25px;
  }
  
  .mobile-button {
    display: block;
  }

  .desktop-button {
    display: none;
  }
}

.menu-icon.active .bar:nth-child(1) {
  transform: rotate(45deg) translate(7.5px, 7.5px);
}
.menu-icon.active .bar:nth-child(2) {
  opacity: 0;
}
.menu-icon.active .bar:nth-child(3) {
  transform: rotate(-45deg) translate(7.5px, -7.5px);
}

/*hero section*/

.hero {
    padding: 70px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 40px;
}

.hero-content {
    flex: 1;
    min-width: 300px;
}

.badge {
    background: #e8edff;
    color: #0056ff;
    padding: 6px 14px;
    display: inline-block;
    border-radius: 5px;
    font-size: 0.8rem;
    margin-bottom: 18px;
    font-weight: 600;
    letter-spacing: 0.5px;
}

.hero h1 {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 16px;
    line-height: 1.2;
}

.hero p {
    color: #64748b;
    font-size: 1.1rem;
    margin-bottom: 30px;
    max-width: 500px;
}

.hero-buttons {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.hero-buttons button {
    padding: 14px 28px;
    font-weight: 600;
    border-radius: 6px;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.primary-btn {
    background: #0056ff;
    color: #fff;
    border: none;
}

.primary-btn:hover {
    background: #0046d4;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 86, 255, 0.3);
}

.secondary-btn {
    background: #fff;
    border: 1px solid #d1d5db;
    color: #0056ff;
}

.secondary-btn:hover {
    background: #f8fafc;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.hero-photo {
    flex: 0 0 auto;
    width: 480px;
    height: 480px;
    border-radius: 90% 49% 25% 40%;
    background: #0056ff;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    box-shadow: 0 10px 30px rgba(0, 86, 255, 0.2);
}

.hero-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 40% 25% 49% 80%;
}

.bubble {
    position: absolute;
    background: #fff;
    color: #434343;
    padding: 10px 14px;
    border-radius: 30px;
    font-size: 0.8rem;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    font-weight: 500;
    z-index: 10;
    animation: bounce 2s ease-in-out infinite;
}

@keyframes bounce {
    0% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-12px);
    }
    100% {
        transform: translateY(0);
    }
}
.bubble.top { 
    top: -20px; 
    right: -10px; 
    animation-delay: 1s;
}
.bubble.bottom { 
    bottom: -20px; 
    left: -10px; 
}

.marquee-section {
    padding: 70px 0;
}

.marquee-wrapper {
    overflow: hidden;
    white-space: nowrap;
    position: relative;
}

.marquee-track {
    display: flex;
    gap: 24px;
    animation: scroll 22s linear infinite;
    width: max-content;
    padding: 10px 20px;
}

.marquee-track:hover {
    animation-play-state: paused;
}

.project-box {
    background: #fff;
    padding: 20px 28px;
    border-radius: 10px;
    min-width: 240px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.08);
    font-weight: 600;
    font-size: 1rem;
    color: #1e293b;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.project-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

@keyframes scroll {
    from { transform: translateX(0); }
    to { transform: translateX(-50%); }
}

/* Responsive */
@media (max-width: 1024px) {
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .hero-photo {
        width: 280px;
        height: 280px;
    }
}

@media (max-width: 850px) {
    .hero {
        flex-direction: column-reverse;
        text-align: center;
        gap: 40px;
    }
    
    .hero-content {
        text-align: center;
    }
    
    .hero p {
        margin-left: auto;
        margin-right: auto;
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    .hero h1 {
        font-size: 2.2rem;
    }
    
    .hero-photo {
        width: 240px;
        height: 240px;
    }
    
    .bubble.top {
        top: -15px;
        right: -5px;
    }
    
    .bubble.bottom {
        bottom: -15px;
        left: -5px;
    }
    
    .marquee-track {
      padding: 10px 15px;
        animation-duration: 14s;
        gap: 16px;
    }
    
    .project-box {
        min-width: 180px;
        font-size: 0.9rem;
        padding: 16px 20px;
    }
}

@media (max-width: 500px) {
    .hero {
        padding: 50px 0;
    }
    
    .hero h1 {
        font-size: 1.8rem;
    }
    
    .hero p {
        font-size: 1rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        width: 100%;
    }
    
    .hero-buttons button {
        width: 100%;
    }
    
    .hero-photo {
        width: 200px;
        height: 200px;
    }
    
    .bubble {
        font-size: 0.7rem;
        padding: 8px 12px;
    }
    
    .bubble.top {
        top: -10px;
        right: 0;
    }
    
    .bubble.bottom {
        bottom: -10px;
        left: 0;
    }
    
    .marquee-section {
        padding: 50px 0;
    }
    
    .marquee-section h2 {
        font-size: 1.6rem;
    }
    
    .project-box {
        min-width: 160px;
        padding: 14px 18px;
        font-size: 0.85rem;
    }
}

button:focus {
    outline: 2px solid #0056ff;
    outline-offset: 2px;
}

img {
    opacity: 0;
    transition: opacity 0.3s ease;
}

img.loaded {
    opacity: 1;
}

/*about section*/

.about {
  width: 100%;
  max-width: 1250px;
  background: #d0e0ff;
  margin: auto;
  padding: 60px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
}

.left {
  flex: 1 1 400px;
}

.left small {
  font-size: 0.8rem;
  color: #476bb3;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.left h1 {
  font-size: clamp(28px, 5vw, 48px); 
  font-weight: 800;
  line-height: 1.2;
  margin: 15px 0 20px;
}

.left p {
  color: #555;
  line-height: 1.7;
  font-size: 1rem;
  margin-bottom: 30px;
}

.left .primary-btn {
  padding: 12px 28px;
  font-weight: 600;
  border-radius: 5px;
}

.right {
  flex: 1 1 400px;
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.shape,
.shape2 {
  width: 60%;
  max-width: 320px;
  position: absolute;
  filter: drop-shadow(0 15px 30px rgba(0,0,0,0.1));
}

.shape {
  top: -20px;
  left: 30%;
  transform: translateX(-50%);
}

.shape2 {
  bottom: -50px;
  right: 7%;
  transform: translateX(0);
}

.main-image {
  width: 70%;
  max-width: 400px;
  border-radius: 20px;
  box-shadow: 0 20px 40px rgba(0,0,0,0.15);
  position: relative;
  z-index: 2;
  object-fit: cover;
}

.text {
  position: absolute;
  bottom: -20px;
  right: 20px;
  background: #0056ff;
  padding: 12px 20px;
  display: flex;
  align-items: center;
  gap: 10px;
  border-radius: 12px;
  font-family: "Inter", sans-serif;
  z-index: 3;
  animation: bounce 2s ease-in-out infinite;
  box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

.text .big {
  font-size: 1.5rem;
  font-weight: 700;
  color: #fff;
}

.text .small {
  font-size: 0.7rem;
  line-height: 1.3;
  color: #d1d1d1;
  text-transform: uppercase;
}

@media(max-width: 900px){
  .about {
    flex-direction: column;
    text-align: center;
  }
  .left, .right {
    width: 100%;
  }
  .shape, .shape2 {
    display: none;
  }
  .main-image {
    width: 80%;
  }
}

@media(max-width: 600px){
  .left h1 {
    font-size: clamp(24px, 6vw, 36px);
  }
  .left p {
    font-size: 0.9rem;
  }
  .main-image {
    width: 90%;
  }
  .shape, .shape2 {
    display: none;
  }
}



/* skill section */

.skill_bar_section * {
  font-family: Nunito, sans-serif;
}

.skill_bar_section .text-blk {
  margin-top: 0px;
  margin-right: 0px;
  margin-bottom: 0px;
  margin-left: 0px;
  line-height: 25px;
  font-size: 16px;
}

.skill_bar_section .responsive-container-block {
  min-height: 75px;
  height: fit-content;
  width: 100%;
  display: flex;
  flex-wrap: wrap;
  margin-top: 0px;
  margin-right: auto;
  margin-bottom: 0px;
  margin-left: auto;
  justify-content: flex-start;
}

.skill_bar_section .responsive-cell-block {
  min-height: 75px;
}

.skill_bar_section .responsive-container-block.container {
  margin-top: 50px;
  margin-right: auto;
  margin-bottom: 50px;
  margin-left: auto;
  justify-content: center;
  max-width: 1200px;
  overflow-x: hidden;
  overflow-y: visible;
}

.skill_bar_section .responsive-container-block.big-container {
  padding-top: 0px;
  padding-right: 50px;
  padding-bottom: 0px;
  padding-left: 50px;
}

.skill_bar_section .text-blk.section-head {
  font-size: 36px;
  line-height: 45px;
  font-weight: 700;
  max-width: 580px;
  margin-top: 0px;
  margin-right: 0px;
  margin-bottom: 55px;
  margin-left: 0px;
}

.skill_bar_section .text-blk.skill-name {
  font-size: 19px;
  line-height: 27px;
  font-weight: 700;
}

.skill_bar_section .skill-bar {
  height: 6px;
  background-color: #eeeeee;
}

.skill_bar_section .skills {
  margin-top: 0px;
  margin-right: 0px;
  margin-bottom: 55px;
  margin-left: 0px;
  position: relative;
}

.skill_bar_section .skill-per {
  height: 6px;
  background-color: #7bb9ff;
  width: 0px;
  transition-duration: 1.3s;
  transition-timing-function: linear;
  transition-delay: 0s;
  transition-property: all;
}

.skill_bar_section .skills-name-box {
  margin-top: 0px;
  margin-right: 0px;
  margin-bottom: 24px;
  margin-left: 0px;
}

.skill_bar_section .skill-per::after {
  position: absolute;
  content: attr(percentage) "%";
  top: 0px;
  right: 0px;
  font-size: 20px;
  font-weight: 700;
}

.skill_bar_section .skill-per.two {
  background-color: #5580ff;
}

.skill_bar_section .skill-per.three {
  background-color: #ff8a73;
}

.skill_bar_section .skill-per.four {
  background-color: #fed066;
}

.skill_bar_section .img {
  height: 450px;
  box-shadow: none;
}

.skill_bar_section .right-side {
  position: relative;
  height: 80%;
  display: flex;
  align-items: center;
}

.skill_bar_section .responsive-cell-block.wk-mobile-12.wk-ipadp-10.wk-tab-11.wk-desk-6 {
  min-height: 650px;
}

@media (max-width: 1024px) {
  .skill_bar_section .img {
    height: 350px;
    width: 100%;
  }

  .skill_bar_section .responsive-cell-block.wk-mobile-12.wk-ipadp-9.wk-tab-10.wk-desk-6.left-one {
    margin-top: 0px;
    margin-right: 0px;
    margin-bottom: 60px;
    margin-left: 0px;
  }
}

@media (max-width: 768px) {
  .skill_bar_section .responsive-cell-block.wk-mobile-12.wk-ipadp-9.wk-tab-10.wk-desk-6.left-one {
    margin-top: 0px;
    margin-right: 0px;
    margin-bottom: 40px;
    margin-left: 0px;
  }

  .skill_bar_section .responsive-cell-block.wk-mobile-12.wk-tab-11.wk-desk-6.wk-ipadp-10 {
    min-height: 450px;
  }

  .skill_bar_section .text-blk.skill-name {
    font-size: 18px;
  }

  .skill_bar_section .text-blk.section-head {
    font-size: 30px;
    line-height: 40px;
    margin-top: 0px;
    margin-right: 0px;
    margin-bottom: 40px;
    margin-left: 0px;
  }
}

@media (max-width: 500px) {
  .skill_bar_section .responsive-container-block.big-container {
    padding-top: 0px;
    padding-right: 20px;
    padding-bottom: 0px;
    padding-left: 20px;
  }

  .skill_bar_section .text-blk.section-head {
    font-size: 26px;
    line-height: 36px;
  }

  .skill_bar_section .responsive-cell-block.wk-mobile-12.wk-tab-11.wk-desk-6.wk-ipadp-10 {
    min-height: 75px;
  }

  .skill_bar_section .skills-name-box {
    margin-top: 0px;
    margin-right: 0px;
    margin-bottom: 16px;
    margin-left: 0px;
  }

  .skill_bar_section .skills {
    margin-top: 0px;
    margin-right: 0px;
    margin-bottom: 40px;
    margin-left: 0px;
  }
}

.skill_bar_section * {
  font-family: Nunito, sans-serif;
}

.skill_bar_section .text-blk {
  margin-top: 0px;
  margin-right: 0px;
  margin-bottom: 0px;
  margin-left: 0px;
  line-height: 25px;
  font-size: 16px;
}

.skill_bar_section .responsive-container-block {
  min-height: 75px;
  height: fit-content;
  width: 100%;
  display: flex;
  flex-wrap: wrap;
  margin-top: 0px;
  margin-right: auto;
  margin-bottom: 0px;
  margin-left: auto;
  justify-content: flex-start;
}

.skill_bar_section .responsive-cell-block {
  min-height: 75px;
}

.skill_bar_section .responsive-container-block.container {
  margin-top: 50px;
  margin-right: auto;
  margin-bottom: 50px;
  margin-left: auto;
  justify-content: center;
  max-width: 1320px;
  overflow-x: hidden;
  overflow-y: visible;
}

.skill_bar_section .responsive-container-block.big-container {
  padding-top: 0px;
  padding-right: 50px;
  padding-bottom: 0px;
  padding-left: 50px;
}

.skill_bar_section .text-blk.section-head {
  font-size: 36px;
  line-height: 45px;
  font-weight: 700;
  max-width: 580px;
  margin-top: 0px;
  margin-right: 0px;
  margin-bottom: 55px;
  margin-left: 0px;
}

.skill_bar_section .text-blk.skill-name {
  font-size: 19px;
  line-height: 27px;
  font-weight: 700;
}

.skill_bar_section .skill-bar {
  height: 6px;
  background-color: #eeeeee;
}

.skill_bar_section .skills {
  margin-top: 0px;
  margin-right: 0px;
  margin-bottom: 55px;
  margin-left: 0px;
  position: relative;
}

.skill_bar_section .skill-per {
  height: 6px;
  background-color: #7bb9ff;
  width: 0px;
  transition-duration: 1.3s;
  transition-timing-function: linear;
  transition-delay: 0s;
  transition-property: all;
}

.skill_bar_section .skills-name-box {
  margin-top: 0px;
  margin-right: 0px;
  margin-bottom: 24px;
  margin-left: 0px;
}

.skill_bar_section .skill-per::after {
  position: absolute;
  content: attr(percentage) "%";
  top: 0px;
  right: 0px;
  font-size: 20px;
  font-weight: 700;
}

.skill_bar_section .skill-per.two {
  background-color: #5580ff;
}

.skill_bar_section .skill-per.three {
  background-color: #ff8a73;
}

.skill_bar_section .skill-per.four {
  background-color: #fed066;
}

.skill_bar_section .circle {
  max-width: 536px;
  max-height: 536px;
  width: 100%;
  height: 100%;
  background-color: #fed066;
  border-top-left-radius: 270px;
  border-top-right-radius: 270px;
  border-bottom-right-radius: 270px;
  border-bottom-left-radius: 270px;
  position: absolute;
  left: 25%;
  bottom: -10%;
}

.skill_bar_section .right-side {
  position: relative;
  height: 80%;
  display: flex;
  align-items: center;
}

.skill_bar_section .responsive-cell-block.wk-mobile-12.wk-ipadp-10.wk-tab-11.wk-desk-6 {
  min-height: 650px;
}

@media (max-width: 1024px) {
  .skill_bar_section .circle {
    left: -10%;
    bottom: -15%;
    right: 0px;
  }

  .skill_bar_section .responsive-cell-block.wk-mobile-12.wk-ipadp-9.wk-tab-10.wk-desk-6.left-one {
    margin-top: 0px;
    margin-right: 0px;
    margin-bottom: 60px;
    margin-left: 0px;
  }
}

@media (max-width: 768px) {
  .skill_bar_section .responsive-cell-block.wk-mobile-12.wk-ipadp-9.wk-tab-10.wk-desk-6.left-one {
    margin-top: 0px;
    margin-right: 0px;
    margin-bottom: 40px;
    margin-left: 0px;
  }

  .skill_bar_section .responsive-cell-block.wk-mobile-12.wk-tab-11.wk-desk-6.wk-ipadp-10 {
    min-height: 450px;
  }

  .skill_bar_section .text-blk.skill-name {
    font-size: 18px;
  }

  .skill_bar_section .text-blk.section-head {
    font-size: 30px;
    line-height: 40px;
    margin-top: 0px;
    margin-right: 0px;
    margin-bottom: 40px;
    margin-left: 0px;
  }
}

@media (max-width: 500px) {
  .skill_bar_section .responsive-container-block.big-container {
    padding-top: 0px;
    padding-right: 20px;
    padding-bottom: 0px;
    padding-left: 20px;
  }

  .skill_bar_section .text-blk.section-head {
    font-size: 26px;
    line-height: 36px;
  }

  .skill_bar_section .responsive-cell-block.wk-mobile-12.wk-tab-11.wk-desk-6.wk-ipadp-10 {
    min-height: 75px;
  }

  .skill_bar_section .skills-name-box {
    margin-top: 0px;
    margin-right: 0px;
    margin-bottom: 16px;
    margin-left: 0px;
  }

  .skill_bar_section .skills {
    margin-top: 0px;
    margin-right: 0px;
    margin-bottom: 40px;
    margin-left: 0px;
  }
}

/* projects section*/

.main-container {
  display: flex;
  flex-direction: column;
  align-items: center;  
  justify-content: center;
  min-height: 100vh;
}

.parent {
  max-width: 1200px;
  padding: 20px 25px;
  max-height: 80vh;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  grid-template-rows: repeat(5, 1fr);
  gap: 18px;
}

.parent img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  cursor: pointer;
  border-radius: 50px;
  transition: transform 0.3s ease;
}

.parent img:hover {
  transform: scale(1.01);
  overlay: 1px solid red;
}

.div1 { grid-column: span 2; grid-row: span 5; }
.div2 { grid-column: 3; grid-row: span 3; }
.div3 { grid-column: 3 / span 2; grid-row: 4 / span 2; }
.div4 { grid-column: 5; grid-row: 4 / span 2; }
.div5 { grid-column: 4 / span 2; grid-row: 1 / span 3; }

@media (max-width: 600px) {
  .parent {
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: auto;
  }
  
  .div1, .div2, .div3, .div4, .div5 {
    grid-column: auto;
    grid-row: auto;
  }

  .second-classname {
    flex-direction: column;
    align-items: center;
  }
  .second-classname button {
    width: 80%;
    margin-bottom: 10px;
  }
}

@media (min-width: 601px) and (max-width: 1024px) {
  .parent {
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: auto;
  }
  .div1, .div2, .div3, .div4, .div5 {
    grid-column: auto;
    grid-row: auto;
  }
}

@media (min-width: 1025px) {
  .parent {
    grid-template-columns: repeat(5, 1fr);
    grid-template-rows: repeat(5, 1fr);
  }
}

.modal {
  display: none; 
  position: fixed;
  z-index: 999;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0,0,0,0.9);
  justify-content: center;
  align-items: center;
}



.modal-content {
  max-width: 90%;
  max-height: 90%;
  border-radius: 8px;
}

.close {
  position: absolute;
  top: 20px;
  right: 35px;
  color: white;
  font-size: 40px;
  font-weight: bold;
  cursor: pointer;
}


.second-classname {
  max-width: 1200px;
  display: flex;
  justify-content: center;
  gap: 20px;    
  margin: 30px auto;
}

/*contact section*/ 

.contact-container {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100vh;  
}

.grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  width: 100%;        
  max-width: 1200px; 
  margin: auto;      
  padding: 20px;
}


/* Form box */
.form-box {
  background: #fff;
  padding: 25px;
  border-radius: 8px;
  box-shadow: 0 3px 12px rgba(0,0,0,0.1);
}

.form-box h2 {
  font-family: 'Lobster', cursive;
  margin-bottom: 20px;
  color: #0056ff;
}

.form-box label {
  display: block;
  font-weight: 600;
  margin-bottom: 6px;
  color: #444;
}

.form-box input,
.form-box textarea {
  width: 100%;
  padding: 10px;
  margin-bottom: 16px;
  border: 1px solid #ccc;
  border-radius: 5px;
  font-size: 0.95rem;
}

.form-box textarea {
  resize: vertical;
}

.form-box button {
  display: inline-block;
  padding: 12px 20px;
  background: #0056ff;
  color: #fff;
  border: none;
  border-radius: 6px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.3s ease, transform 0.2s ease;
}

.form-box button:hover {
  background: #0046d4;
  transform: translateY(-2px);
}

/* Paper preview */
.paper {
  position: relative;
  background: rgba(255,255,255,0.95);
  box-shadow: 0 0 8px rgba(0,0,0,0.2);
  border-radius: 6px;
  overflow: hidden;
  min-height: 500px;
}

.paper::before {
  content: '';
  position: absolute;
  left: 45px;
  top: 0;
  height: 100%;
  width: 2px;
  background: rgba(255,0,0,0.4);
}

.lines {
  height: 100%;
  width: 100%;
  background-image: repeating-linear-gradient(
    white 0px, 
    white 24px, 
    steelblue 25px
  );
}

.Lettertext {
  position: absolute;
  top: 65px;
  left: 55px;
  right: 20px;
  bottom: 20px;
  line-height: 25px;
  font-family: 'Bad Script', cursive;
  font-size: 1rem;
  font-weight: bold;
  color: #222;
  overflow-y: auto;
}

/* Responsive */
@media(max-width: 900px) {
  .grid {
    grid-template-columns: 1fr;
  }
  .paper {
    min-height: 400px;
  }
}

@media(max-width: 600px) {
  .form-box {
    padding: 15px;
  }
  .Lettertext {
    font-size: 0.9rem;
    line-height: 22px;
  }
}
