
   /* download button */ 
.button {
  padding: 0.6rem 4.5rem;
  border: none;
  outline: none;
  font-size: 1.1rem;
  border-radius: 0.2rem;
  font-weight: 550;
  background-color: rgba(15, 15, 15, 0.953);
  position: relative;
  overflow: hidden;
  cursor: pointer;
  transition: 0.7s ease-in-out;
}

.button .text {
  position: absolute;
  left: 1.8rem;
  top: 0.9rem;
  transition: 0.4s ease-in-out;
  color: rgb(79, 228, 10);
}

.svg {
  transform: translateY(-20px) rotate(30deg);
  opacity: 0;
  width: 2rem;
  transition: 0.4s ease-in-out;
}

.button:hover {
  background-color: rgb(83, 241, 10);
}

.button:hover .svg {
  display: inline-block;
  transform: translateY(0px) rotate(0deg);
  opacity: 1;
}

.button:hover .text {
  opacity: 0;
}

.button:active {
  scale: 0.97;
}
/* color code */
.gradient-text {
  background: linear-gradient(90deg, yellow, green);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
/* views letter heading */
    .sl-viewer {
        margin: 20px 0;
        text-align: center;
    }
    .sl-heading {
        font-size: 18px;
        font-weight: bold;
        margin-bottom: 10px;
    }
    iframe {
        border: 1px solid #ddd;
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    }


/* contact me */ 
.form {
  display:flex;
  flex-direction: column;
  align-self: center;
  font-family: inherit;
  gap: 9px;
  padding-inline: 2em;
  padding-bottom: 0.4em;
  /* background-color: #171717; */
  background-color: #191b1f;
  border-radius: 20px;

    /* Base size for mobile devices */
  width: 80%;    /* Use percentage instead of fixed width */
  max-width: 600px;  /* Maximum width on larger screens */
  min-height: 400px; /* Minimum height */
  height: 500px;      /* Allow height to adjust based on content */
}

/* For tablets */
@media screen and (min-width: 768px) {
  .form {
    width: 80%;
  }
}

/* For desktop */
@media screen and (min-width: 1024px) {
  .form {
    width: 600px; /* Your original desired width */
  }
}

/* For smaller mobile devices */
@media screen and (max-width: 480px) {
  .form {
    width: 95%;
    padding-inline: 1em; /* Reduce padding on smaller screens */
  }
}

.form-heading {
  text-align: center;
  margin: 2em;
  height: 500px;
  width: 600px;
  color: #90eb18;
  font-size: 1.2em;
  background-color: transparent;
  align-self: center;
  
}

.form-field {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.7em;
  border-radius: 10px;
  padding: 0.6em;
  border: none;
  outline: none;
  color: white;
  background-color: #171717;
  box-shadow: inset 2px 5px 10px rgb(5, 5, 5);
}

.input-field {
  background: none;
  border: none;
  outline: none;
  width: 100%;
  color: #ccd6f6;
  padding-inline: 1em;
}

.sendMessage-btn {
  cursor: pointer;
  margin-bottom: 3em;
  padding: 1em;
  border-radius: 10px;
  border: none;
  outline: none;
  background-color: transparent;
  color: #90eb18;
  font-weight: bold;
  outline: 1px solid #90eb18;
  transition: all ease-in-out 0.3s;
}

.sendMessage-btn:hover {
  transition: all ease-in-out 0.3s;
  background-color: #90eb18;
  color: #000;
  cursor: pointer;
  box-shadow: inset 2px 5px 10px rgb(5, 5, 5);
}

.form-card1 {
  background-image: linear-gradient(163deg, #90eb18 0%, #90eb18 100%);
  border-radius: 22px;
  transition: all 0.3s;
  
  /* Base size for mobile devices */
  width: 90%;
  max-width: 600px;
  min-height: 400px;
  height: auto;
}

/* For tablets */
@media screen and (min-width: 768px) {
  .form-card1 {
    width: 80%;
  }
}

/* For desktop */
@media screen and (min-width: 1024px) {
  .form-card1 {
    width: 600px;
    height: 500px; /* Original height for desktop */
  }
}

/* For smaller mobile devices */
@media screen and (max-width: 480px) {
  .form-card1 {
    width: 95%;
  }
}

.form-card1:hover {
  box-shadow: 0px 0px 30px 1px rgba(100, 255, 218, 0.3);
}

.form-card2 {
  border-radius: 0;
  transition: all 0.2s;
}

.form-card2:hover {
  transform: scale(0.98);
  border-radius: 20px;
}

/* cards */

.card {
  position: relative;
  width: 300px;
  height: 200px;
  background-color: #f2f2f2;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  perspective: 1000px;
  box-shadow: 0 0 0 5px #ffffff80;
  transition: all 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  background: #212121;
  box-shadow: 15px 15px 30px rgb(25, 25, 25),
             -15px -15px 30px rgb(91, 185, 3);
}

.card svg {
  width: 48px;
  fill: #333;
  transition: all 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.card:hover {
  transform: scale(1.05);
  box-shadow: 0 8px 16px rgba(255, 255, 255, 0.2);
}

.card__content {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  padding: 20px;
  box-sizing: border-box;
  background-color: #f2f2f2;
  transform: rotateX(-90deg);
  transform-origin: bottom;
  transition: all 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.card:hover .card__content {
  transform: rotateX(0deg);
}

.card__title {
  margin: 0;
  font-size: 18px;
  color: #333;
  font-weight: 700;
}

.card:hover svg {
  scale: 0;
}

.card__description {
  margin: 8px 0 0;
  font-size: 14px;
  color: #777;
  line-height: 1.4;
}

/* card images */
.card-picture {
  width: 100%;
  height: 100%;
  object-fit:cover;
}
/* snow effect */
/* .snowflake {
  color: #fff;
  font-size: 1em;
  font-family: Arial, sans-serif;
  text-shadow: 0 0 5px #000;
}

.snowflake,.snowflake .inner{animation-iteration-count:infinite;animation-play-state:running}
@keyframes snowflakes-fall{0%{transform:translateY(0)}100%{transform:translateY(110vh)}}
@keyframes snowflakes-shake{0%,100%{transform:translateX(0)}50%{transform:translateX(80px)}}
.snowflake{position:fixed;top:-10%;z-index:9999;-webkit-user-select:none;user-select:none;cursor:default;animation-name:snowflakes-shake;animation-duration:3s;animation-timing-function:ease-in-out}
.snowflake .inner{animation-duration:10s;animation-name:snowflakes-fall;animation-timing-function:linear}
.snowflake:nth-of-type(0){left:1%;animation-delay:0s}.snowflake:nth-of-type(0) .inner{animation-delay:0s}
.snowflake:first-of-type{left:10%;animation-delay:1s}
.snowflake:first-of-type .inner,.snowflake:nth-of-type(8) .inner{animation-delay:1s}
.snowflake:nth-of-type(2){left:20%;animation-delay:.5s}
.snowflake:nth-of-type(2) .inner,.snowflake:nth-of-type(6) .inner{animation-delay:6s}
.snowflake:nth-of-type(3){left:30%;animation-delay:2s}
.snowflake:nth-of-type(11) .inner,.snowflake:nth-of-type(3) .inner{animation-delay:4s}
.snowflake:nth-of-type(4){left:40%;animation-delay:2s}
.snowflake:nth-of-type(10) .inner,.snowflake:nth-of-type(4) .inner{animation-delay:2s}
.snowflake:nth-of-type(5){left:50%;animation-delay:3s}.snowflake:nth-of-type(5) .inner{animation-delay:8s}
.snowflake:nth-of-type(6){left:60%;animation-delay:2s}.snowflake:nth-of-type(7){left:70%;animation-delay:1s}
.snowflake:nth-of-type(7) .inner{animation-delay:2.5s}.snowflake:nth-of-type(8){left:80%;animation-delay:0s}
.snowflake:nth-of-type(9){left:90%;animation-delay:1.5s}.snowflake:nth-of-type(9) .inner{animation-delay:3s}
.snowflake:nth-of-type(10)
{left:25%;animation-delay:0s}.snowflake:nth-of-type(11){left:65%;animation-delay:2.5s} */

