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

form {
  background: rgba(255, 255, 255, 0.9);
  max-width: 800px;
  width: 100%;
  padding: 30px;
  border-radius: 15px;
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

html,body{
  font-family: 'Poppins', sans-serif;
  background: linear-gradient(145deg, rgb(209, 212, 14) 0%, #4f46e5 100%);
  min-height: 100vh;
}

.container {
  background: linear-gradient(145deg, rgb(209, 212, 14) 0%, #4f46e5 100%);
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.container form {
  width: 100%;
  max-width: 1000px;
  background: #fff;
  padding: 30px;
  border-radius: 15px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

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

.col {
  flex: 1 1 400px;
}

.title {
  color: #444;
  text-transform: capitalize;
  margin-bottom: 25px;
  font-size: 24px;
  position: relative;
}

.title::before {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 50px;
  height: 3px;
  background: #6f42c1;
}

.inputBox {
  margin: 15px 0;
}

.inputBox span {
  display: block;
  color: #555;
  margin-bottom: 5px;
  text-transform: capitalize;
}

.inputBox input{
  width: 100%;
  padding: 12px;
  border: 1px solid #ddd;
  border-radius: 8px;
  font-size: 15px;
  transition: all 0.3s ease;
}

.inputBox select{
  width: 100%;
  padding: 12px;
  border: 1px solid #ddd;
  border-radius: 8px;
  font-size: 15px;
  transition: all 0.3s ease;
}

.inputBox input:focus {
  border-color: #6f42c1;
  outline: none;
}

.inputBox select:focus {
  border-color: #6f42c1;
  outline: none;
}

.flex {
  display: flex;
  gap: 15px;
}

.inputBox img {
  height: 34px;
  margin-top: 5px;
  filter: drop-shadow(0 0 1px #000);
}

.submit-btn {
  width: 100%;
  padding: 15px;
  background: #6f42c1;
  color: #fff;
  border: none;
  border-radius: 8px;
  font-size: 16px;
  text-transform: capitalize;
  cursor: pointer;
  margin-top: 20px;
  transition: all 0.3s ease;
}

.submit-btn:hover {
  background: #6f42c1;
  transform: translateY(-2px);
}

@media (max-width: 768px) {
  .row {
      flex-direction: column;
  }
  
  .flex {
      flex-direction: column;
  }
  
  .container form {
      padding: 20px;
  }
}

#nominee_img { display: block;
margin-left: auto;
margin-right: auto;
height: 120px;
border: 2px solid #0287F0;
padding: 5px;  
border-radius: 5%;
transition-duration: .8s;
}

#nominee_img:hover {
transform: scale(1.9);
border: none;
}

#snackbar {
  visibility: hidden;
  min-width: 150px;
  margin-left: -125px;
  background-color: #f72586;
  color: #fff;
  text-align: center;
  border-radius: 2px;
  padding: 16px;
  position: fixed;
  z-index: 1;
  left: 50%;
  bottom: 30px;
  font-size: 17px;
}

#snackbar.show {
  visibility: visible;
  -webkit-animation: fadein 0.5s, fadeout 0.5s 2.5s;
  animation: fadein 0.5s, fadeout 0.5s 2.5s;
}

#snackbar1 {
  visibility: hidden;
  min-width: 150px;
  margin-left: -125px;
  background-color: #f72586;
  color: #fff;
  text-align: center;
  border-radius: 2px;
  padding: 16px;
  position: fixed;
  z-index: 1;
  left: 50%;
  bottom: 30px;
  font-size: 17px;
}

#snackbar1.show {
  visibility: visible;
  -webkit-animation: fadein 0.5s, fadeout 0.5s 2.5s;
  animation: fadein 0.5s, fadeout 0.5s 2.5s;
}

#snackbar2 {
  visibility: hidden;
  min-width: 150px;
  margin-left: -125px;
  background-color: #f72586;
  color: #fff;
  text-align: center;
  border-radius: 2px;
  padding: 16px;
  position: fixed;
  z-index: 1;
  left: 50%;
  bottom: 30px;
  font-size: 17px;
}

#snackbar2.show {
  visibility: visible;
  -webkit-animation: fadein 0.5s, fadeout 0.5s 2.5s;
  animation: fadein 0.5s, fadeout 0.5s 2.5s;
}

@-webkit-keyframes fadein {
  from {bottom: 0; opacity: 0;} 
  to {bottom: 30px; opacity: 1;}
}

@keyframes fadein {
  from {bottom: 0; opacity: 0;}
  to {bottom: 30px; opacity: 1;}
}

@-webkit-keyframes fadeout {
  from {bottom: 30px; opacity: 1;} 
  to {bottom: 0; opacity: 0;}
}

@keyframes fadeout {
  from {bottom: 30px; opacity: 1;}
  to {bottom: 0; opacity: 0;}
}
