:root {
  --color-txt-drk: #2e2e2e;
  --color-txt-lgt: #464646;
  --color-bg: #f0edde;
  --color-accent1: #355e3b;
  --color-accent2: #c1440e;
  --color-accent3: #3a3c2c;
  --color-light: #f4f1ee;
  --color-muted: #837060;
  --color-orange: #e8502e;
  --color-green: #5c6b56;
  --color-cream: #f0edde;
  --color-sand: #f7d89e;
  --color-sand-light: #efdfbe;
  --color-slate: #2b3a3f;
  --color-light-gray: #cccccc;
  --color-orange-light: #f37356;
  --color-green-dark: #2a3e25;
  --color-slate-light: #4b5a60;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  font-family: "Poppins", Arial, Helvetica, sans-serif;
}

body {
  background-color: var(--color-green-dark);
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 0;
  padding: 0;
  min-height: 100vh;
  flex-direction: column;
}

body::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: url("contour.svg");
  background-size: cover;
  background-position: center;
  opacity: 0.2;
  z-index: 1;
}

.hero {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  min-height: 100vh;
  position: relative;
  z-index: 2;
  padding: 0 20px;
  gap: 3em;
}

.site-logo {
  max-width: auto;
  height: 100%;
  display: block;
  margin: 0 auto;
  z-index: 998;
  max-height: 100vh;
}

.logo-container {
  animation: entrance 2s ease 0s 1 normal forwards;
}

@keyframes entrance {
  0% {
    transform: scale(0);
  }

  100% {
    transform: scale(1);
  }
}

.glow-image {
  width: 300px;
  height: auto;
  transition: transform 0.3s ease, filter 0.3s ease;
  animation: glowPulse 2s infinite;
  filter: drop-shadow(0 0 10px #c1440e);
}

.glow-image:hover {
  transform: scale(1.1);
  filter: drop-shadow(0 0 20px #c1440e);
  cursor: pointer;
}

@keyframes glowPulse {
  0% {
    filter: drop-shadow(0 0 5px #c1440e);
  }
  50% {
    filter: drop-shadow(0 0 20px #c1440e);
  }
  100% {
    filter: drop-shadow(0 0 5px #c1440e);
  }
}

.link,
.contact-btn {
  background-color: var(--color-green);
  color: white;
  padding: 15px 30px;
  font-size: 18px;
  border: 2px solid var(--color-sand);
  border-radius: 8px;
  cursor: pointer;
  text-transform: uppercase;
  font-weight: bold;
  text-decoration: none;
  position: relative;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  transition: all 0.3s ease-in-out;
  animation: contact-me 2s ease 0s 1 normal forwards;
}

@keyframes contact-me {
  0% {
    opacity: 0;
    transform: translateY(50px);
  }

  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

.link:hover,
.contact-btn:hover {
  background-color: var(--color-sand);
  color: var(--color-green);
  border: 2px solid var(--color-green);
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.3);
  scale: 1.2;
}

.modal {
  display: none;
  position: fixed;
  z-index: 999;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.4);
  justify-content: center;
  align-items: center;
  font-weight: 600;
}

.modal-content {
  background-color: var(--color-cream);
  padding: 30px;
  border-radius: 8px;
  width: 400px;
  text-align: center;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

h2 {
  margin-bottom: 15px;
}

.close-btn {
  color: #aaa;
  font-size: 30px;
  font-weight: bold;
  position: absolute;
  top: 10px;
  right: 15px;
  cursor: pointer;
}

.close-btn:hover,
.close-btn:focus {
  color: #000;
}

form {
  display: flex;
  flex-direction: column;
}

input,
textarea {
  padding: 10px;
  margin: 10px 0;
  border-radius: 5px;
  border: 1px solid #ccc;
}

button {
  background-color: #4c6a3f;
  color: white;
  padding: 10px;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  font-size: 16px;
  transition: background-color 0.3s ease;
}

button:hover {
  background-color: #355e3b;
}

input[type="number"]::-webkit-inner-spin-button,
input[type="number"]::-webkit-outer-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

input[type="number"] {
  -moz-appearance: textfield;
}
