:root {
  --blue: #dccfc5;
  --darkblue: #4d403a;
  --peach: #dfdacf;
  --red: #262626;
  --cream: #f2eee9;
  --pink: #f2d7d3;
  --red-light: #585151;
  --pad: 18px;                    
  --peek: clamp(10px, 6vw, 64px);     
}

html, body { overflow-x: clip; scroll-behavior: smooth;}

.red { 
    color: var(--red);
    text-align: center;
    font-size: 22px;
}

.blue { 
    color: var(--darkblue);
}

h1, h2, h3, p, span {
    font-family: "Poppins", sans-serif;
    margin: 0;
    padding-bottom: 16px;
}

h1, h2, h3, p {
    font-family: "Poppins", sans-serif;
    margin: 0;
    padding-bottom: 16px;
    color: var(--red);
}

#statement > div > div > p {
    padding-bottom: 30px !important;
}

a {
    text-decoration: none;
    font-family: "Poppins", sans-serif;
    color: #000000;
    border-bottom: 2px solid transparent; /* usynlig */
}

a:hover {
  border-bottom: 2px solid var(--red); 
}

.hyper {
  font-weight: 700; 
}

h1 { 
    font-size: 24px;
}

h1.usp { 
    font-size: 20px;
    font-weight: 600;
}

h2 { 
    font-size: 20px;
}

h2.red { 
    font-size: 26px;
}

h3 { 
    font-size: 18px;
}

p {
    font-size: 14px;
}

body {
  padding: 0;
  margin: 0 auto;
  box-sizing: unset;
  background-color: #ffffff;
}

header {
  position: fixed;
  width: 100%;
  z-index: 1000;
}

button, .btn { 
    font-family: "Poppins", sans-serif;
    background-color: var(--red);
    border: none;
    padding: 16px;
    border-radius: 12px;
    font-size: 16px;
    color: #ffffff;
}

button:hover { 
    border-bottom: none !important;
    background-color: var(--red-light);
    transition: ease 0.6s;
    cursor: pointer;
}

.btn:hover {
    border-bottom: none !important;
    background-color: var(--red-light);
    transition: ease 0.6s;
    cursor: pointer;
}

img {
    width: 100%;
}

.hide {
  display: none;
}

section {
  scroll-margin-top: 60px
}


/******************** SPLASH **********************/

#splash {
    display: flex;
}

span.intro {
  font-family: "Poppins", sans-serif;
  font-size: 26px;
  padding-bottom: 16px;
  font-weight: 800;
}

#splash > div > div > div.right-image > img {
    border-radius: 20px 0px 0px 20px;
}

span.splash-text {
    font-family: "Poppins", sans-serif;
    font-size: 18px;
    line-height: 40px;
}

.test_splash {
    display: flex;
    flex-wrap: nowrap;
    padding-top: 80px;
    padding-bottom: 60px;
}

.container_splash {
    display: flex;
    flex-wrap: nowrap;
    justify-content: end;
}

.right-image {
    width: 70%;
}

.img-tablet{ display:none; }

.left-txt-box {
    width: 60%;
    position: absolute;
    top: 340px;
    left: 10px;
    background-color: var(--peach);
    border-radius: 24px;
    padding: 24px 18px 22px 18px;
}

/******************** PORTFOLIO **********************/

#portfolio {
    display: flex;
    padding-top: 40px;
}

.test-portfolio {
    display: flex;
    justify-content: center;
}

.portfolio-text {
  padding: 0px 20px 0px 20px;
}

.buttons-container {
  padding-top: 35px;
  display: flex;
  justify-content: center;
}

#portfolio > div > div.test-portfolio > div > div.portfolio-text > div > a:nth-child(1) {
  margin-right: 10px;
}

.container-examples, .container-contact {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    padding: 60px 0px 60px 0px;
}


.top-container-text {
    display: flex;
    flex-wrap: wrap;
    flex-direction: column;
    text-align: center;
}

.mockup img {
    width: 80%;
    padding-bottom: 20px;
  }

.mockup {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-top: 40px;
}

.icons-container {
  display: flex;
  justify-content: space-evenly;
  max-width: 200px;
  margin: 0 auto;
  padding-top: 20px;
}

.icons-container img {
  width: 30%;
}

.example-right-text {
    padding: 10px 18px 30px 18px;
    text-align: center;
  }

.example-left-text {
    padding: 10px 18px 10px 18px;
    text-align: center;
  }

.box-example-1, .box-example-3 {
  padding: 20px 0px 60px 0px;
}

.box-example-2 {
  padding: 20px 0px 40px 0px;
}


.newsletter-video-wrapper {
  display: flex;
  justify-content: flex-end;
  overflow: hidden;
  margin: 0px 0px 20px 0px;
}

.ads-video-wrapper {
  display: flex;
  justify-content: flex-start;
  overflow: hidden;
  margin: 0px 0px 20px 0px;
}

.ads-video-wrapper video {
  width: 270%;
  object-fit: cover;
}

.newsletter-video-wrapper video {
  width: 300%;
  object-fit: cover;
}

.container-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  grid-auto-rows: 300px; 
  gap: 0;                  
  width: 100%;
}

.container-gallery img {
  width: 100%;
  height: 100%;
  object-fit: cover;    
  display: block;
}

.tile {
  position: relative;
  overflow: hidden;
}

.overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.6);
  display: flex;
  justify-content: center;
  font-family: "Poppins", sans-serif;
  align-items: center;
  color: #fff;
  font-size: 20px;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.tile .overlay {
  opacity: 0;
  pointer-events: none;
}
.tile:hover .overlay,
.tile:focus-within .overlay {
  opacity: 1;
  pointer-events: auto;
  cursor: pointer;
}

.lightbox {
  position: fixed;
  inset: 0; /* fuld skærm */
  background: rgba(0,0,0,0.8);
  display: none;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  z-index: 9999;
}

.lightbox-content {
  max-width: 90%;
  /* max-height: 80%; */
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.lightbox img {
  max-width: 100%;
  max-height: 70vh;
  object-fit: contain;
}

.lightbox p {
  color: #fff;
  text-align: center;
  font-size: 14px;
  margin: 0;
}

.lightbox button {
  background: #fff;
  border: none;
  padding: 10px 20px;
  cursor: pointer;
  font-weight: bold;
  color: #000000;
}

.lightbox {
  display: none;
}
.lightbox.is-open {
  display: flex;
}

.lightbox-content > p {
  padding: 0 !important;
}

/*********************** WORKFLOW *************************/

#statement {
    display: flex;
    padding: 40px 20px 40px 20px;
    background-color: var(--blue);
}

.txt-statement, .test-statement {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    text-align: center;
}

#workflow {
    display: flex;
    justify-content: center;
    text-align: center;
    padding: 80px 20px 80px 20px;
    background-color: var(--blue);
}

.container-workflow {
    display: flex;
    flex-wrap: wrap;
    flex-direction: column;
}

.workflow-icon {
  width: 40%;
  margin: 0 auto; /* centrerer boksen i forhold til sin parent */
}

 .rate-text {
    padding-bottom: 20px;
  }

.content-box, .content {
    display: flex;
    flex-wrap: wrap;
    flex-direction: column;
}

.content-box {
    display: flex;
    text-align: center;
    justify-content: center;
}

#contact {
  display: flex;
}

.container-rate {
    text-align: center;
    padding: 80px 20px 80px 20px;
}

.contact {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    padding: 0px 30px 0px 30px;
    margin-bottom: 30px;
}

.right-txt-contact {
    padding: 24px 18px 22px 18px;
    border-radius: 0px 0px 24px 24px;
    background-color: var(--peach);
}

.right-txt-contact span, div.footer-contact span {
  font-weight: 700;
}

.right-txt-contact p.contact-text, body > footer > div.footer-container > div.footer-contact > p {
  font-size: 18px;
}

.left-image-contact {
  text-align: center;
}

.left-image-contact img {
  border-radius: 24px 24px 0px 0px;
}

footer {
  background-color: var(--blue);
  color: #333;
  padding: 40px 20px;
  font-size: 14px;
}

.footer-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  max-width: 1200px;
  margin: 0 auto;
  gap: 20px;
}

.footer-container div {
  flex: 1 1 250px;
}

.footer-about h3 {
  margin-bottom: 5px;
}

.footer-social a {
  margin-right: 10px;
  color: #333;
  text-decoration: none;
}

.footer-social a:hover {
  text-decoration: none;
}

.footer-bottom {
  text-align: center;
  margin-top: 30px;
  font-size: 12px;
  color: var(--darkblue);
}

.footer-social a::after {
  content: " ·";
  text-decoration: none;       /* fjerner underline */
  display: inline-block;       /* så den kan stå selv */
  margin: 0 5px;               /* styr mellemrum */
}

.footer-social a:last-child::after {
  content: "";
}

/****************** ANIMATIONER  *******************/

.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

