* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;}

body {
  font-family: 'Poppins', sans-serif;
  color: #3b2f2f;

  background: linear-gradient(rgba(0,0,0,0.4), rgba(0,0,0,0.6)),url('./img/wood1.jpg') no-repeat center center/cover;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  animation: fadeIn 2s ease-in;}

.container {
  background-color: rgba(255, 255, 255, 0.85);
  position: relative;
  overflow: hidden;
  padding: 2rem 3rem;
  border-radius: 20px;
  box-shadow: 0px 0px 6px rgba(0,0,0,0.7);
  max-width: 96%;
  z-index: 0;
  width: 90%;}

header{animation-delay: 0.3s;}

header h1 {
  font-family: 'Playfair Display', serif;
  font-size: 2.5rem;
  letter-spacing: 2px;
  color: #3b2f2f;
  animation: floatUp 2s ease-in-out;}

header h2 {
  font-size: 1.5rem;
  font-weight: 700;
  color: #7a6b5e;
  margin-top: 0.5rem;}

.intro p {
  font-size: 1.1rem;
  line-height: 1.6;
  font-weight: 450;
  color: #4a403a;
  animation-delay: 0.6s;
  margin: 1.5rem 0;}

fieldset {
  border: 2px solid #bfa47b;
  border-radius: 12px;
  padding: 1.5rem;
  display: inline-block;}

legend {
  color: #5b4636;
  font-weight: bold;
  font-size: 1.1rem;}

button {
  background: #bfa47b;
  color: white;
  border: none;
  border-radius: 30px;
  padding: 0.8rem 1.5rem;
  margin: 0.5rem;
  cursor: pointer;
  font-size: 1rem;
  animation-delay: 0.9s;
  transition: all 0.3s ease;}

button:hover {
  background: #a38e6f;
  box-shadow: 0 0 12px rgba(191, 164, 123, 0.8);
  transform: scale(1.1);}

.social { animation-delay: 1.2s; }

.social h3 {
  margin-top: 1.5rem;
  font-size: 1.1rem;
  margin-bottom: 1rem;
  color: #5b4636;}

.icons a {
  font-size: 1.5rem;
  margin: 0 16px;
  transition: 0.3s;}

.icons a:hover {
  color: #bfa47b;
  transform: scale(1.9);}

footer {
  margin-top: 2rem;
  font-size: 0.9rem;
  font-weight: 450;
  animation-delay: 1.5s;
  color: #7a6b5e;}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes floatUp {
  from { opacity: 0; transform: translateY(40px); }
  to { opacity: 1; transform: translateY(0); }
}

.container::before,
.container::after {
  content: "";
  position: absolute;
  width: 3px;
  height: 100%;
  border-radius: 10px;
  z-index: 1;}

.container::before {
  left: 0;
  top: 0;
  background: linear-gradient(180deg, #00f0ff, transparent);
  animation: snakeCyan 7s ease-in infinite;
  box-shadow: 0 0 4px 2px #00f0ff;
  transform-origin: top right;
  transform: rotate(2deg);}

.container::after {
  right: 0;
  bottom: 0;
  background: linear-gradient(0deg, #a000ff, transparent);
  animation: snakePurple 7s ease-in infinite;
  box-shadow: 0 0 12px #a000ff;
  transform-origin: bottom left;
  transform: rotate(-2deg);}

@keyframes snakeCyan {
  0% { transform: translateY(-100%) translateX(0); }
  50% { transform: translateY(100%) translateX(0); }
  100% { transform: translateY(-100%) translateX(0); }
}

@keyframes snakePurple {
  0% { transform: translateY(100%) translateX(0); }
  50% { transform: translateY(-100%) translateX(0); }
  100% { transform: translateY(100%) translateX(0); }
}

@media (min-width: 992px) {
  .container {
    max-width: 90%; 
    padding: 4rem;}
  .container h1 {
    font-size: 3rem;}
  .container p {
    font-size: 1.5rem;}
}
