/**
 * Theme Name: JawerthGroup
 * Template:   twentytwentyfour
 * Author: Gabriel Furmuzachi
 * Author URI: https://dev.cento.red
 */
 :where(.wp-site-blocks *:focus){outline-width:2px;outline-style:solid}



:where(body) {background-image: linear-gradient(to right bottom, #fffaf0, #fef8ef, #fdf5ee, #fbf3ed, #f9f1ec, #f9f0ec, #f8f0ec, #f8efec, #faf0ed, #fcf1ee, #fdf2ee, #fff3ef);}

.squiggle a {
  
  text-decoration: none; 

}


@keyframes squiggleShift {
  from { background-position: 0 100%; }
  to   { background-position: 20px 100%; }
}

.squiggle a {
  text-decoration: none;              /* no default underline */
  background-image: none;             /* hidden by default */
}

.squiggle a:hover {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 4'%3E%3Cpath fill='none' stroke='%2366e440b2' stroke-width='.75' d='M0,3.5 c 5,0,5,-3,10,-3 s 5,3,10,3'/%3E%3C/svg%3E");
  background-repeat: repeat-x;
  background-size: 20px 6px;          /* scale of the squiggle */
  background-position: 0 100%;        /* position at text baseline */
  animation: squiggleShift 0.3s linear infinite;
}

/* .no-decoration a, a:link, a:visited {
  text-decoration: none !important;              
  background-image: none;             
} */


/* Sticky header */
/* Target the header wrapper generated by WordPress */
header.wp-block-template-part {
    position: sticky;               /* make it stick */
    top: 0;                          /* distance from top */
    width: 100%;                     /* full width */
    z-index: 9999;                   /* above everything */
    background: rgba(255, 255, 255, 0.95);  /* optional semi-transparent */
    box-shadow: 0 2px 10px rgba(0,0,0,0.1); /* optional shadow */
}

/* Make sure all parent containers allow sticky */
body, .wp-site-blocks {
    overflow: visible !important;
}

/* Optional: tweak for mobile screens */
@media (max-width: 768px) {
    header.wp-block-template-part {
        position: sticky;    /* still sticky */
        top: 0;
        z-index: 9999;
    }
}




#soft {
  position: absolute;
  width: 100%;
  height: 100vh;
  
  top: 0;
  left: 0;
  
}


.s-intro {
  --header-height: 8.8rem;
  --logo-width: 100px;
  --text-display-size: 11.2rem;
  --text-multiplier: 1;
  z-index: 3;
  background-color: black;
  width: 100%;
  height: 100vh;
  min-height: calc(25.5 * var(--space));
  box-shadow: 0 0.8px 0.8px rgba(0, 0, 0, 0.031),
    0 1.9px 1.9px rgba(0, 0, 0, 0.044), 0 3.9px 3.9px rgba(0, 0, 0, 0.056),
    0 8px 8px rgba(0, 0, 0, 0.069), 0 22px 22px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  position: relative;
}


.s-intro__bg {
  display: block;
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  height: 100%;
  background-image: url(../images/bg-static.jpg);
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
}

.s-intro__bg::before {
  display: block;
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  height: 100%;
  background: black;
  pointer-events: none;
  opacity: 0.2;
}

.s-intro__bg::after {
  display: block;
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, black 10%, rgba(0, 0, 0, 0) 100%);
  pointer-events: none;
  opacity: 0.45;
}

.s-intro__particles {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  height: 100%;
  background-color: transparent;
  padding: 0;
  margin: 0;
  opacity: 0.2;
}

.s-intro__particles canvas {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  height: 100%;
}

#parallax {
  position: fixed;
  opacity: .015;
  z-index: -20;

  width: 100%;
  height: 130vh;
  
 background-image: url(https://jawerthgroup.org/wp-content/uploads/2024/09/p31.svg), url(https://jawerthgroup.org/wp-content/uploads/2024/09/p21.svg), url(https://jawerthgroup.org/wp-content/uploads/2024/09/p11.svg);

  background-repeat: no-repeat;
 
  background-position: 50% 50%;
  
}


 
.arrow {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  
}
.chevron {
  position: absolute;
  width: 2.1rem;
  height: 0.14rem;
  opacity: 0;
  transform: scale(0.3);
  animation: move-chevron 3s ease-out infinite;
}
.chevron:first-child {
  animation: move-chevron 3s ease-out 1s infinite;
}
.chevron:nth-child(2) {
  animation: move-chevron 3s ease-out 2s infinite;
}
.chevron:before, .chevron:after {
  content: '';
  position: absolute;
  top: 0;
  height: 100%;
  width: 50%;
  background: grey;
}
.chevron:before {
  left: 0;
  transform: skewY(30deg);
}
.chevron:after {
  right: 0;
  width: 50%;
  transform: skewY(-30deg);
}
@keyframes move-chevron {
  25% {
    opacity: 1;
 }
  33.3% {
    opacity: 1;
    transform: translateY(2.28rem);
 }
  66.6% {
    opacity: 1;
    transform: translateY(3.12rem);
 }
  100% {
    opacity: 0;
    transform: translateY(4.8rem) scale(0.5);
 }
}




.s-details {
  --overlay-opacity: 1;
  padding-top: 20vh;
  /* padding-bottom  20vh; */
  min-height: 100vh;
  width: 100%;
  position: sticky;
}

.s-details::after {
  content: "";
  display: block;
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  height: 100%;
  background-color:  hsla(76, 6%, 15%, 1);
  opacity: var(--overlay-opacity);
  pointer-events: none;
}


/* Style all videos */
.wp-block-video video {
  border-radius: 12px;                  /* rounded corners */
  box-shadow: 0 4px 24px rgba(0,0,0,0.25); /* soft shadow */
  overflow: hidden;                     /* ensures corners are clipped */
}


