body {
  background: #d1e0dd;
}

.main {
  position: relative;
  overflow: hidden;
  height: 500px;
  width: 100%;
}

.bg {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: url('bg.jpg');
  background-size: cover;
  background-position: center;
  opacity: 0.5;
  z-index: -1;
}

.center {
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  height: calc(100% - 100px);
  width: 100%;
}

.logo{
  background-image: url('logo.png');
  height: 60px;
  width: 120px;
  margin-bottom: 30px;
  animation-name: logo-anim;
  animation-duration: 3s;
  animation-iteration-count: infinite;
  transform-origin: center center;
}

.form {
  margin-top: 20px;
}

.text {
  padding: 8px 10px;
  border: 2px solid #fff;
  border-radius: 25px;
  outline: 0 none;
  box-shadow: none;
  color: #000;
  font-size: 18px;
  background-color: transparent;
  transition: all 0.5s ease-in-out;
}

.text:focus {
  padding: 10px 12px;
  border: 2px solid #f00;
  border-radius: 15px;
  background-color: rgba(255, 255, 255, 0.7);
}

.btn {
  margin-left: 10px;
  padding: 6px 14px;
  border-radius: 25px;
  background-color: #f00;
  color: #fff;
  cursor: pointer;
  font-size: 20px;
  text-transform: uppercase;
  transition: all 0.3s ease-in-out;
}

.btn:hover {
  transform: scale(1.1);
}

@keyframes logo-anim {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.1) rotateY(180deg);
  }
  100% {
    transform: scale(1);
  }
}
