@font-face {
    font-family: anti;
    src: url("/site/templates/fonts/PPRightSerifMono-Regular.otf") format("opentype");
}


.anti {
    font-family: "anti", serif;
}

#vanta-clouds {
    min-height: 100vh;
}

.headline-font {
    font-family: "anti"!important;
    font-size: 2rem!important;
    line-height: 2.2rem;
}

#newsletter-layer {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: white;
    transition: transform 0.5s ease;
    z-index: 2;
    overflow-y: auto;
    /* -webkit-box-shadow: 4px 0px 8px 0px rgba(0,0,0,0.75);
    -moz-box-shadow: 4px 0px 8px 0px rgba(0,0,0,0.75);
    box-shadow: 4px 0px 8px 0px rgba(0,0,0,0.75); */
    transform: translateX(0);
}

@media (max-width: 768px) {

    #content {
        min-height: 1rem;
        margin-bottom: 6rem;
        margin-left: 0px!important
    }
  }

.newsletter-content-container {
    padding: 0 16px;
    margin: 0;
    max-width: none;
}

#background-layer {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 1;
}

.image-grid {
    position: fixed;
    width: calc(100% - 4rem);
    height: 100vh;
    padding: 16px;
    margin-left: 4vw;
    z-index: 2;
    top: 0;
    overflow-y: auto;
}

/* Masonry container styles */
.masonry-grid {
    padding-left: 3rem;
    width: 100%;
}

.masonry-item {
    width: calc(16.666% - 16px);
    margin-bottom: 16px;
    padding: 0 8px;
}

@media (max-width: 1200px) {
    .masonry-item {
        width: calc(25% - 16px);
    }
}

@media (max-width: 768px) {
    .masonry-item {
        width: calc(50% - 16px);
    }
    .masonry-grid {
        padding-left: 1rem;
    }
    .image-grid {
        width: calc(100% - 2rem);
        margin-left: 1vw;
        padding-right: 1vw;
    }
}

@media (max-width: 480px) {
    .masonry-item {
        width: calc(100% - 16px);
    }
}

.masonry-item img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 4px;
    opacity: 1;
    transition: opacity 0.3s ease-in;
}

.masonry-item img.lazy {
    opacity: 0;
}

.masonry-item img.loaded {
    opacity: 1;
}

.masonry-item .description {
    padding: 8px;
    color: white;
    margin-top: 8px;
}

.preview-text {
    position: relative;
    max-height: 4.5em;
    overflow: hidden;
}

.preview-text::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 2em;
    background: linear-gradient(transparent, white);
}

.slide-left {
    transform: translateX(-94%)!important;
}

.active {
    color: red;
}

a {
    color: black;
    text-decoration: none;
}

/* Button and link styles */
.btn {
    background: none;
    border: none;
    border-radius: 1rem;
    padding: 0.2rem 0.5rem;
    color: black;
    display: inline-block;
    position: relative;
    overflow: hidden;
    z-index: 0;
    vertical-align: middle;
    transition: color 0.4s ease;
    margin-bottom: 2px;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, rgb(248, 166, 200), #ff758c);
    z-index: -2;
    filter: blur(20px);
    opacity: 0.8;
    border-radius: 1rem;
    transition: opacity 0.4s ease, background 0.4s ease, filter 0.4s ease;
}

.btn:hover::before {
    background: linear-gradient(135deg, #85ffbd, #fffb7d);
    filter: blur(30px);
    opacity: 1;
}

.btn:hover {
    color: white;
    cursor: pointer;
}

.btn-like {
    position: relative;
    text-decoration: none;
    z-index: 1;
    text-wrap: nowrap;
    padding: 0 4px;
}

.btn-like::before {
    content: '';
    position: absolute;
    top: -2px;
    right: -4px;
    bottom: -2px;
    left: -4px;
    background-color: rgba(35, 193, 0, 0.5);
    filter: blur(8px);
    z-index: -1;
    transition: background-color 0.3s ease;
}

.text-white {
    color: white;
}
.btn-like.highlight::before {
    /* background-color: rgb(255, 234, 0); */
    background-color: rgb(0,150,236)
}

.btn-like.highlight-dark::before {
    background-color: rgb(31, 31, 31);
}

.btn-like.highlight-grey::before {
    background-color: rgb(134, 134, 134);
}

.btn-like:hover::before {
    background-color: rgb(199, 237, 13);
}

.newsletter-items {
    display: none;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.newsletter-items.visible {
    display: inline;
    opacity: 1;
}

.btn-like-outline {
    position: relative;
    text-decoration: none;
    z-index: 1;
    text-wrap: nowrap;
    padding: 0 8px;
    /* Add margin to compensate for the pseudo-element positioning */
    margin: 0 4px;
    /* Ensure inline-block to maintain consistent dimensions */
    display: inline-block;
}

.btn-like-outline::before {
    content: '';
    position: absolute;
    /* Fix the positioning to prevent movement */
    top: -2px;
    right: -4px;
    bottom: -2px;
    left: -4px;
    border: 1px solid black;
    border-radius: 16px;
    z-index: -1;
    /* Use transform for hover effect instead of changing background */
    transition: transform 0.3s ease, background-color 0.3s ease;
    /* Ensure the element is locked in place */
    transform-origin: center;
    /* Add a default scale to match the non-hover state */
    transform: scale(1.0);
    background-color: transparent;
}

.btn-like-outline:hover::before {
    background-color: rgba(182, 223, 223, 1);
    /* Slight scale to create hover effect without moving text */
}

#background-layer{
    background: black!important;
}


/* Input */

.custom_input {
	display: flex;
	align-items: center;
	position: relative;
	max-width: 100%;
}

.input {
	font-size: 14px;
	padding: 5px 10px;
    display: inline-block;
	outline: none;
	background: #FFFFFF;
	color: #000000;
	border: 2px solid #000000;
	border-radius: 0px;
	transition: .3s ease;
}

.input:focus {
	background: #F2F2F2;
	border: 1px solid #5A7EC7;
	border-radius: 0px;
}

.input::placeholder {
	color: #898989;
}

ul {
    margin-left: 1.2rem;
}

.underline {
    border-bottom: 1px solid black;
}

#content p, ul {
    margin-bottom: 1.5rem;
}

@media (max-width: 768px) {
    ul {
        margin-left: 1.2rem;
    }
    
    #content p, ul {
        margin-bottom: 1.5rem;
    }
  }







.flier {
pointer-events: none;
}

.flier > * {
/* Adjust animation duration to change the element’s speed */
        animation: fly 50s linear infinite;
        pointer-events: none !important;
	top: 0;
	left: 0;
	transform: translateX(-120%) translateY(-120%) rotateZ(0);
	position: fixed;
	animation-delay: 1s;
	z-index: 999999;
}

 /* Keyframe values control where the element will begin
    and end its trajectory across the screen. Each rule
    represents a path the element follows across the screen. */


@keyframes fly {

	98.001%, 0% {
                display: block;
		transform: translateX(-200%) translateY(100vh) rotateZ(0deg)
	}

	15% {
		transform: translateX(100vw) translateY(-100%) rotateZ(180deg)
	}

	15.001%, 18% {
		transform: translateX(100vw) translateY(-30%) rotateZ(0deg)
	}

	40% {
		transform: translateX(-200%) translateY(3vh) rotateZ(-180deg)
	}

	40.001%, 43% {
		transform: translateX(-200%) translateY(-100%) rotateZ(-180deg)
	}

	65% {
		transform: translateX(100vw) translateY(50vh) rotateZ(0deg)
	}

	65.001%, 68% {
		transform: translateX(20vw) translateY(-200%) rotateZ(180deg)
	}

	95% {
		transform: translateX(10vw) translateY(100vh) rotateZ(0deg)
	}
}