/* Reset basic styling */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Playwrite GB S", cursive;
  background: linear-gradient(135deg, #1f4037 0%, #99f2c8 100%);
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  min-height: 100vh;
  padding: 20px;
}

form {
  background-color: #fff;
  padding: 30px;
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  max-width: 600px;
  width: 100%;
  margin-bottom: 40px;
  animation: fadeIn 1.5s ease;
}

h2 {
  color: #1f4037;
  font-size: 1.8rem;
  margin-bottom: 15px;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: bold;
}

h2:hover {
  color: #ff5722; /* Change color on hover */
  transform: scale(1.02); /* Slightly increase size on hover */
  cursor: pointer;
}

label {
  font-size: 1rem;
  color: #333;
  font-weight: 500;
  display: block;
  margin-bottom: 8px;
}

input[type="text"],
input[type="email"],
input[type="file"] {
  width: 100%;
  padding: 10px;
  margin-bottom: 20px;
  border: 2px solid #ddd;
  border-radius: 8px;
  font-size: 1rem;
  background-color: #f9f9f9;
  transition: border-color 0.3s ease;
}

input[type="text"]:focus,
input[type="email"]:focus {
  border-color: #25ffc5;
  width: 102%;
  outline: none;
}

button[type="submit"] {
  background-color: #1f4037;
  color: white;
  padding: 12px 20px;
  border: none;
  border-radius: 8px;
  width: 100%;
  cursor: pointer;
  font-size: 1.1rem;
  font-weight: bold;
  text-transform: uppercase;
  transition: background-color 0.3s ease;
}

button[type="submit"]:hover {
  background-color: #16a085;
}

/* Resume container styling */
#resume {
  background-color: white;
  padding: 20px;
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  max-width: 600px;
  width: 100%;
  animation: slideIn 1s ease;
}

/* Profile styling */
.profile {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 20px;
}

.profile-pic {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 15px;
  border: 4px solid #00bfa6;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.profile-pic:hover {
  transform: scale(1.2); /* Zoom-in effect */
  box-shadow: 0 8px 20px rgba(0, 191, 166, 0.5); /* Shadow effect */
  border-color: #007f6d; /* Border color change on hover */
}

.profile h1 {
  font-size: 2rem;
  color: #333;
  font-family: "PT Sans", sans-serif;
  font-weight: 700;
  font-style: normal;
}

.profile p {
  font-size: 1rem;
  color: #777;
}

#profilePreview {
  display: none;
  width: 100px;
  height: 100px;
  border-radius: 50%;
}

/* Education and Skills section */
h2 {
  color: #00bfa6;
  font-size: 1.5rem;
  margin-bottom: 10px;
  font-family: "PT Sans", sans-serif;
}

p {
  font-size: 1rem;
  color: #333;
}

.skills h2 {
  margin-top: 10px;
}

.skills ul {
  list-style-type: none;
  padding: 0;
}

.skills li {
  background-color: #16a085;
  color: white;
  display: inline-block;
  padding: 8px 12px;
  border-radius: 5px;
  margin: 5px;
  font-size: 0.9rem;
  font-family: "PT Sans", sans-serif;
}

#shareable-link-container {
  background-color: white;
  padding: 20px;
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  max-width: 600px;
  width: 100%;
  animation: slideIn 1s ease;
  margin-top: 15px;
}

#shareable-link {
  text-decoration: none;
  color: rgb(56, 56, 164);
  font-family: Arial, Helvetica, sans-serif;
  display: flex;
  flex-direction: column;
}

#shareable-link:hover {
  color: rgb(28, 22, 67);
  transform: scale(1.05);
}

#download-pdf {
  margin: 0 auto;
  background-color: #1f4037;
  color: white;
  padding: 12px 20px;
  border: none;
  border-radius: 8px;
  width: 50%;
  cursor: pointer;
  font-size: 1.1rem;
  font-weight: bold;
  text-transform: uppercase;
  transition: background-color 0.3s ease;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 8px;
}

#download-pdf:hover {
  background-color: #16a085;
  transform: scale(1.05);
}

/* Animations */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: scale(0.9);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes slideIn {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Responsive Design */
@media (max-width: 600px) {
  form {
    padding: 20px;
  }

  .profile h1 {
    font-size: 1.6rem;
  }

  .profile-pic {
    width: 80px;
    height: 80px;
  }

  .skills li {
    padding: 6px 10px;
    font-size: 0.8rem;
  }
}
