@keyframes rainbowBackground {
  0% {
    background-position: 0% 50%
  }

  50% {
    background-position: 100% 50%
  }

  100% {
    background-position: 0% 50%
  }
}

body {
  font-family: 'Roboto', sans-serif;
  color: #333;
  background: linear-gradient(270deg, #d94f5d, #d9a55f, #3bcabd, #d94f5d, #d9a55f);
  background-size: 1000% 1000%;
  animation: rainbowBackground 30s ease infinite;
  margin: 0;
}

a {
  text-decoration: none;
  color: inherit;
}

.btn {
  display: inline-block;
  padding: 15px 35px;
  background: #fff;
  color: #ff4d6d;
  font-weight: 700;
  border-radius: 50px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, .2);
  transition: .3s ease;
  cursor: pointer;
  border: none;
  outline: none;
}

.btn:hover {
  background: #ff4d6d;
  color: #fff;
  transform: scale(1.06)
}

main {
  margin: 25px;
}

main h1 {
  font-size: 3em;  
  text-shadow: 0 10px 25px rgba(0, 0, 0, .15);
  color: rgba(255, 255, 255, .65);
  text-align: center;
  margin-bottom: 10px;
}

.boxes {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 25px;
}

.box {
  background: rgba(255, 255, 255, .65);
  backdrop-filter: saturate(160%) blur(10px);
  border-radius: 25px;
  padding: 25px; 
  box-shadow: 0 10px 25px rgba(0, 0, 0, .15);
  color: #333;
  overflow: hidden;
}

.smallbox {
  max-width: 600px;
}

.box h2 {
  color: #ff4d6d;
  font-size: 1.5em;
  margin: 0;
  margin-bottom: 10px;
}

.box p {
  margin: 0;
  margin-bottom: 25px;
}

.textimg {
  height: auto;
  max-width: 300px;
  border-radius: 12px;
  object-fit: cover;
}

@media (max-width: 840px) {
  .textimg {
    float: none;
    display: block;
    max-width: 100%;
    width: 100%;
    height: 300px;
    margin: 0 auto;
    margin-bottom: 10px;
    object-fit: cover;
    object-position: center;
  }
}

label {
  font-weight: 700;
}

input,
textarea {
  width: 100%;
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid rgba(0, 0, 0, .1);
  outline: none;
  background: #fff;
  box-shadow: inset 0 1px 2px rgba(0, 0, 0, .04);
  font-size: 16px;
  box-sizing: border-box;
  margin-top: 5px;
  margin-bottom: 15px;
}

input:focus,
textarea:focus {
  border-color: #ff4d6d;
  box-shadow: 0 0 6px #ff4d6d;
}

textarea {
  min-height: 200px;
  resize: vertical
}

/* Honeypot */
.hp {
  position: absolute;
  left: -5000px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form-msg {
  font-weight: 600;
  display: none;
  margin-top: 25px;
}

.site-footer {
  margin-top: 500px;
  padding: 10px;
  background: rgba(255,255,255,.65);
  backdrop-filter: saturate(160%) blur(10px);
  box-shadow: 0 -6px 18px rgba(0,0,0,.12);
  display: flex;
  justify-content: center;
}

.site-footer .links {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
}