@charset "UTF-8";
/* CSS Document */

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

/* BODY */
body {
  font-family: 'Cinzel', serif;
  background-color: #5B0708;
  color: white;
  text-align: center;
}

/* HEADER  */
header p {
  font-size: 2.2rem; 
  letter-spacing: 4px;
  margin-bottom: 15px;

  font-weight: 400;

  color: rgba(255, 255, 255, 0.75);

  text-shadow:
    2px 2px 0 #000,
    0 10px 20px rgba(0,0,0,0.8);

  position: relative;
  z-index: 1;

  animation: inkSettle 3.5s ease-out forwards;
}
header {
  padding: 100px 20px;
  position: relative;

  background-image: url("../images/skullbackground.svg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
@keyframes inkSettle {
  0% {
    opacity: 0;
    transform: translateY(-12px) scale(1.03);
    filter: blur(2px);
    letter-spacing: 6px;
  }

  60% {
    opacity: 0.9;
    transform: translateY(2px) scale(1);
    filter: blur(0.5px);
    letter-spacing: 3px;
  }

  100% {
    opacity: 1;
    transform: translateY(0);
    filter: blur(0px);
    letter-spacing: 3px;
  }
}
/* DARK OVERLAY */
header::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.85);
  z-index: 0;
}


header h1 {
  font-size: 6.2rem;
  letter-spacing: 9px;
  margin-bottom: 15px;
  display: inline-block;
  padding: 35px 70px;
  position: relative;
  z-index: 1;
  color: rgba(255, 255, 255, 0.85);
  text-shadow:
    2px 2px 0 rgba(0, 0, 0, 0.7),
    0 14px 35px rgba(0,0,0,0.7);
}



/* NAV */

nav {
  background: rgba(0, 0, 0, 0.85);
  padding: 15px 0;
  position: relative;
  z-index: 1;
}
nav ul {
  list-style: none;
  display: flex;
  justify-content: center;
  gap: 25px;
}

nav a {
  text-decoration: none;
  color: #f5dada;
  font-size: 1.2rem;
  position: relative;
  transition: 0.3s;
}
nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -5px;
  width: 0%;
  height: 2px;
  background: #8b0000;
  transition: width 0.3s ease;
}

nav a:hover {
  color: #ff4d4d;
  text-shadow: 0 0 8px rgba(120, 0, 0, 0.8);
}

nav a:hover::after {
  width: 100%;
}
/* HERO */
.hero {
  margin: 80px auto;
  max-width: 1100px;
  width: 95%;
}

.hero p {
  margin-bottom: 15px;
  font-size: 2.6rem;
  line-height: 1.8;

  font-weight: 400; 
  letter-spacing: 1px;
  color: rgba(255, 255, 255, 0.9);
}

.hero p.small-text {
 
  font-size: 1.5rem;
  opacity: 0.9;
  line-height: 1.6;
}

.hero button {
  margin-top: 10px;
}

/* BUTTONS */
button {
  padding: 14px 30px;
  font-size: 1.1rem;
  border: 2px solid white;
  background: transparent;
  color: white;
  cursor: pointer;
  transition: 0.2s;
  font-family: 'Cinzel', serif;
}

button:hover {
  background: white;
  color: #5B0708;
  transform: scale(1.05);
}

/* CREATURE CARDS */
.creatures {
  display: flex;
  justify-content: center;
  gap: 60px;
  margin: 80px 0;
  flex-wrap: wrap;
}

.creature-card {
  width: 260px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.creature-card img {
  width: 100%;
  height: 320px;
  object-fit: cover;
}

.creature-card h3 {
  margin-top: 15px;
  font-size: 1.8rem;
}

.creature-card p {
  font-size: 1.1rem;
  margin: 15px 0;
  min-height: 60px;
}

/* INFO BOX WRAPPER */
.frames-wrapper {
  display: flex;
  justify-content: center;
  gap: 40px;
  margin: 70px auto;
  flex-wrap: wrap;
}

.frame-container {
  position: relative;
  width: 40%;
  min-width: 300px;
  height: 500px;
  background-size: cover;
  background-position: center;
  overflow: hidden;
}

/* BACKGROUNDS */
.frame-container:nth-child(1) {
  background-image: url("../images/bigfoot.svg");
}

.frame-container:nth-child(2) {
  background-image: url("../images/images.svg");
}

/* INFO BOX */
.info-box {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 75%;
  padding: 30px;

  background: rgba(0, 0, 0, 0.9);
  border: 2px solid white;

  text-align: left;
  font-size: 1.1rem;
  line-height: 1.6;
}
.info-box ul {
  padding-left: 20px;
  margin-top: 10px;
}

.info-box li {
  margin-bottom: 8px;
}

/* CONTACT */
.contact {
  margin: 60px 0;
}

.contact h2 {
  font-size: 3rem;
  margin-bottom: 25px;
}

/* FORM */
form {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

/* INPUT */
input,
textarea {
  width: 100%;
  max-width: 900px;
  padding: 12px;
  font-size: 1rem;
  border: none;
  font-family: 'Cinzel', serif;
}

textarea {
  height: 120px;
}

/* SOCIALS */
.socials {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin: 30px 0;
}

.socials p {
  border: 1px solid white;
  border-radius: 50%;
  padding: 10px;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* FOOTER */
footer {
  margin: 20px;
  font-size: 0.9rem;
}

/* MOBILE */
@media (max-width: 768px) {

  header h1 {
    font-size: 2.8rem;
    padding: 20px;
  }

  .creatures {
    flex-direction: column;
    align-items: center;
  }

  .frame-container {
    width: 90%;
    height: 400px;
  }
}
