/* Responsive Adjustments */
@media (max-width: 768px) {
  .container {
    gap: 3rem;
  }
  
  img {
    max-width: 200px;
    height: 250px;
  }
  
  h1 {
    font-size: x-large;
  }
}

body {
    background: linear-gradient(135deg,#153677,#4e085f);
    font-family: Poppins, sans-serif;
    margin: 0;
    padding: 0;
}

* {
    box-sizing: border-box;
}

img {
    width: 250px;
    height: 300px;
    border-radius: 15px;
    display: inline-block;
}

.container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 100px;
}

input {
    width: 200px;
    padding: 8px;
    margin-top: 5px;
    border: 2px solid grey;
    border-radius: 5px;
    font-size: 16px;
    transition: all 0.3s ease;
    display: inline-block;
    font-family: Poppins, sans-serif;
}

input:focus {
    outline: none;
    border-color: #2ecc71;
    box-shadow: 0 0 5px rgba(46, 204, 113, 0.5);
}

input[type="text"] {
    background-color: #f9f9f9;
}

input[type="number"] {
    background-color: #fff;
}

p {
    font-size: 18px;
    font-weight: bold;
    color: #ff5945;
    margin-bottom: 8px;
}

button {
    border: none;
    outline: none;
    padding: 16px 50px;
    background: #ff5945;
    color: #fff;
    font-size: 16px;
    cursor: pointer;
    border-radius: 40px;
}

button:hover {
    background-color: #2ecc71;
}

h1 {
    background: linear-gradient(to right, rebeccapurple, rebeccapurple, rebeccapurple);
    max-width: max-content;
    color: gold;
    border-radius: 15px;
    font-family: 'Lucida Sans', 'Lucida Sans Regular', 'Lucida Grande', 'Lucida Sans Unicode', Geneva, Verdana, sans-serif;
    border-color: gold;
    position: relative;
}

h1::after {
    content: '';
    position: absolute;
    width: 0px;
    height: 2px;
    bottom: -5px;
    left: 0px;
    background: gold;
    transition: width 0.3s ease;
}

h1:hover::after {
    width: 100%;
}

input::placeholder {
    color: #333333;
    font-style: italic;
}

.heading {
    text-align: center;
    color: #ff5945;
}

textarea {
    width: 100%;
    height: 150px;
    padding: 10px;
    font-size: 16px;
    border: 2px solid #ccc;
    border-radius: 5px;
    resize: none;
    font-family: Poppins, sans-serif;
}

textarea:focus {
    border-color: #007bff;
    outline: none;
    box-shadow: 0 0 5px rgba(0, 123, 255, 0.5);
}