/*
Theme Name: Dolce Far Niente
Theme URI: https://www.dolcefarniente.nu
Author: Dolce Far Niente
Author URI: https://www.dolcefarniente.nu
Description: Minimalistisch, SEO- en Core Web Vitals-geoptimaliseerd WordPress theme.
Version: 1.0
Text Domain: dolce-far-niente
*/
* {
  margin: 0;
	box-sizing:border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  min-height: 100%;
background-color: #544F20;
}

body {
  min-height: 100vh;
  display: grid;
  place-items: center;
  font-family: "Formiga", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  color: #F1EA9C;
}

.centered-content {
  max-width: 640px;
  position: relative;
  z-index: 2;
  text-align: center;
}
.centered-content .logo-mark {
  width: 96px;
  margin: 0 auto;
  opacity: 0;
  animation: fadeUp 0.5s ease-out forwards;
  animation-delay: 0s;
}
.centered-content h1 {
  font-size: 44px;
  color: #F1EA9C;
  opacity: 0;
  animation: fadeUp 0.5s ease-out forwards;
  animation-delay: 0.5s;
  margin-bottom: 24px;
}
.centered-content h1 span {
  color: #E58258;
}
.centered-content p {
  opacity: 0;
  animation: fadeDown 0.5s ease-out forwards;
  animation-delay: 1s;
}
.centered-content .contact-btn {
  border-radius: 50px;
  padding: 16px 24px;
  color: #F1EA9C;
  background-color: #E58258;
  text-decoration: none;
  display: inline-block;
  margin: 16px auto 0 auto;
  opacity: 0;
  animation: fadeDown 0.5s ease-out forwards;
  animation-delay: 1.5s;
}
.centered-content .socials {
  margin-top: 24px;
  opacity: 0;
  animation: fadeDown 0.5s ease-out forwards;
  animation-delay: 1.5s;
}
.centered-content .socials ul {
  margin-top: 24px;
  margin-left: -44px;
}
.centered-content ul li {
  display: inline-block;
  margin: 8px 16px;
}
.centered-content ul li a {
  text-decoration: none;
  background-color: #E58258;
  padding: 20px 12px 8px 12px;
  border-radius: 25px;
}
.centered-content ul li a img {
  width: 24px;
}

.cover {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 1;
  background-color: #544F20;
  width: 100%;
  height: 100vh;
  opacity: 0.85;
}

.cover-img {
  height: 100vh; /* 100% van de viewport hoogte */
  margin: 0;
  width: 100%;
  position: absolute;
  top: 0;
  left: 0;
  z-index: 0;
  background-image: url("assets/img/website-background.webp");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: fixed;
}

/* Fade-down (van boven naar beneden) */

/* Keyframes fade-up */
@keyframes fadeUp {
  0% {
    opacity: 0;
    transform: translateY(30px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}
/* Keyframes fade-down */
@keyframes fadeDown {
  0% {
    opacity: 0;
    transform: translateY(-30px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}
@media (max-width: 768px) {
  .logo-mark {
    width: 72px;
  }
  h1 {
    font-size: 32px;
  }
}
