/* CSS Document */

@import url('https://fonts.googleapis.com/css2?family=Nunito:ital,wght@0,200..1000;1,200..1000&family=Open+Sans:ital,wght@0,300..800;1,300..800&family=Oswald:wght@200..700&display=swap');

:root {
	
	--content-width: 1200px;
	--inner-width: 900px;
	--font-heading: "Oswald", sans-serif;
	--font-sub-heading: "Nunito", sans-serif;;
	--font-body: "Open Sans", sans-serif;
	--dark-grey:#181818;
	--purple: purple;
	--pink: rgb(243, 59, 179);
	--buttonover: rgb(154, 31, 142);
	--white: #fff;
	--green: lightgreen;
}

.block{z-index: 1}

.flex{display: flex; justify-content: space-around; align-items: stretch}

/* Forms */
.wpcf7{max-width: 500px; margin: 0 auto}

.wpcf7 textarea{width:100%}
.wpcf7 label{text-transform: uppercase; color: var(--pink); font-size:1rem}

/*  General content */
.general-content-wrap{padding:30px}
.general-content{max-width:var(--inner-width); margin: 0 auto}
.general-content h1{text-align: center; font-size:5rem; color: var(--pink); margin: 0; padding: 0}
.general-block-white{background-color: #fff; color: #000}
.general-block-pink{background-color: var(--pink); color: #fff}
.general-block-pink h1{color: #000 !important}
.general-block-purple{background-color: var(--purple); color: #fff}
.general-block-grey{background-color:var(--grey)}
.general-block-transparent{background-color:transparent}


/* Home page about */
.home-page-about{padding: 30px; background-color: var(--pink); position: relative}
.home-page-about .floated-image{position: absolute; top:0; right: -1000px; height: 100%; z-index: 1; transition:all 1s ease-in-out}
.home-page-about-inner{max-width:var(--inner-width); margin: 0 auto; padding: 0 0 60px; z-index: 2; position: relative; font-family:var(--font-heading)}
.home-page-about-inner h1{font-size:6rem}
.home-page-about-inner p{font-size:1.4rem}

.diagonal-box {
z-index: 1;
  width: 100%;
  aspect-ratio:16/1;
  background: linear-gradient(
    -3deg,
	var(--dark-grey) 50%,
    var(--pink) 50%
  );
}

.hp-apout-cta-wrap {
    position: relative;
    text-align: center;
    padding: 0 0 10px;
    z-index: 2;
}

.hp-apout-cta-wrap a {
    position: absolute;
    left: 50%;
    transform: translate(-50%, -90px); /* center horizontally, move up */
    display: inline-block;
    background-color: #fff;
    color: var(--dark-grey);
    text-decoration: none;
    padding: 0 20px 10px;
    font-size: 3rem;
    font-family: var(--font-heading);
    box-shadow: 10px 10px 0 var(--purple);
    line-height: 1.4;
}
.hp-apout-cta-wrap a:hover{color: var(--purple) !important}

@media (max-width:600px) {
	.floated-image{display: none}
	.home-page-about-inner h1{font-size: 4rem; margin: 15px 0}
	.hp-apout-cta-wrap a{font-size: 2rem; line-height: 2rem; padding: 15px 30px; max-width: calc(100vw - 60px)}
}



/* Video parallax */
.video-parallax {
  position: relative;
  overflow: hidden;
  aspect-ratio:16/6
}

.video-inner {
  position: absolute;
  top: 0;
  left: 0;
  aspect-ratio:4/3;
  will-change: transform;
}

.video-inner video {width: 100%; height: 100%; object-fit: cover}
@media (max-width:900px) {
	.video-parallax {aspect-ratio:16/9}
	.video-inner {aspect-ratio:2/3}
}
@media (max-width:600px) {
	.video-parallax {aspect-ratio:4/3}
	.video-inner {aspect-ratio:2/3}
}


/* 2 cols photo and text */
.photo-text-block{display:flex; justify-content: space-between; align-items: stretch; max-width: var(--content-width); margin: 30px auto}
.photo-text-block > div{width:100%; transition:all 1s ease-in-out}
.photo-text-block .photo-side{object-fit: cover; width:100%}
.photo-text-block .button{margin-top: 30px; display: inline-block}
.photo-text-block.block-order-left{flex-direction:row-reverse}
.photo-text-block .text-side{max-width: 50%; display: flex; justify-content: center; align-items: center; background: var(--pink); padding: 0; text-align: left; font-size:2rem; font-family: var(--font-heading)}
.photo-text-block .text-side > div{padding: 30px 60px}
.photo-text-block .text-side > div p{font-size:3rem; line-height: 1}
.photo-text-block .photo-side{overflow: hidden}
.photo-text-block .photo-side img{object-fit: cover; object-position: center; width:100%; height: 100%; display: block}

.photo-text-block.block-order-left .text-side.start{transform:translate(200px, 0); opacity: 0}
.photo-text-block.block-order-left .photo-side.start{transform:translate(-200px, 0); opacity: 0}
.photo-text-block.block-order-right .text-side.start{transform:translate(-200px, 0); opacity: 0}
.photo-text-block.block-order-right .photo-side.start{transform:translate(200px, 0); opacity: 0}

@media (max-width:600px) {
	.photo-text-block{flex-direction: column !important; margin: 30px}
	.photo-text-block > div{max-width: 100% !important}
	.photo-text-block .text-side > div{padding: 15px 15px 60px 15px}
	.photo-text-block.block-order-left .text-side.start{transform:none; opacity: 0}
}

/* Team */
.team-flex{display: flex; justify-content: center; align-items: stretch; flex-wrap: wrap; column-gap:30px; grid-row-gap: 60px; position: relative; max-width: var(--content-width); margin: 60px auto}
.team-flex > div{width:100%; max-width:300px; position: relative}
.team-details{background:#fff; color: #000; padding: 15px; width:80%; position: absolute; right:0; bottom:0; z-index: 2; transform:translate(15px, 15px)}
.team-details h2, .team-details h3{margin:0; font-size:1.4rem; font-family:var(--font-heading)}
.team-photo{aspect-ratio:1/1; z-index: 1}
.team-photo img{object-fit: cover; width:100%; height:100%; object-position: center; z-index: 1}


/* Large heading */
.large-heading-block{text-align: center; padding: 30px}
.large-heading-block h2{color: var(--pink); font-size:4rem}


/* Photo Splash */
.photo-splash-block{aspect-ratio:16/9; background-size: cover; background-position: center; transition:all 1s ease-in-out; position: relative; margin: 0 auto}
.photo-splash-block h1{font-size: 6rem; text-align: center; font-weight:900; padding: 60px 30px 30px; transition: all 2s ease-in-out; z-index: 1}
.photo-splash-block .start h1{opacity: 0; transform:translate(0, 100px)}
.photo-splash-block .confetti{aspect-ratio:16/6; background-image:url("../img/confetti.avif"); background-repeat: repeat; background-attachment: fixed; position: absolute; top:0; left:0; width:100%; z-index: 2}
@media (max-width:600px) {
	.photo-splash-block{aspect-ratio:1/1}
	.photo-splash-block h1{font-size: 3rem; padding-top: 30px}
}

/* Hero */
.hero-block{padding: 30px; text-align: center; display: flex; align-items: center; justify-content: center; background-size: cover; background-position: center; aspect-ratio:16/4}
.hero-block h1{font-size:5rem; color: #fff; text-shadow:1px 1px 5px rgb(0,0,0,0.8)}
@media (max-width:600px) {
	.hero-block h1{font-size:3rem}
}

/* Events list */
.events-list-block{background-image: url("../img/confetti.avif"); background-repeat: repeat; padding:60px 30px}
.events-list-flex{display: flex; max-width:var(--content-width); margin: 0 auto; flex-wrap: wrap; justify-content: center; align-items: stretch; column-gap: 15px; grid-row-gap: 40px}
.events-list-flex h3{color: #000 !important; font-weight:900; font-family:var(--font-heading)}
.events-list-flex > div{width:100%; max-width: 490px; background: var(--pink); display: flex; justify-content: space-between; align-items: stretch; aspect-ratio:1/1}
.events-list-flex > div > div{width:100%; max-width: 50%}
.events-list-flex > div > div:first-of-type{padding:10px; color: #fff}
.events-list-flex > div > div:last-of-type{background-color: #000}
.events-list-flex > div > div:last-of-type img{object-fit: cover; object-position: center; width:100%; height: 100%}
.events-list-flex h2{letter-spacing: 3px; margin-bottom: 60px; font-size:2rem}
@media (max-width:600px) {
	.events-list-flex > div{flex-direction: column; max-width: 320px}
	.events-list-flex > div > div{max-width: 100%}
	.events-list-flex > div > div:last-of-type{aspect-ratio:4/4}
	
}


/* Styles carousel */
.style-carousel{max-width:1000px; margin: 0 auto 30px}
.swiper-slide{width:100%; max-width: 100%; aspect-ratio:16/9; position: relative}
.swiper-slide h2{position: absolute; bottom:25px; left:25px; color: #fff; text-shadow:1px 1px 5px rgb(255,255,255,0.5); font-size:5rem}
.swiper-slide img{object-fit:cover; object-position: center; width:100%; height: 100%}
.swiper-pagination-bullet{background-color: #FFF !important; opacity: 0.7 !important}
.swiper-pagination-bullet-active{background-color: var(--pink) !important}
@media (max-width:600px) {
	.swiper-slide h2{font-size:2rem}
}


/* Testimonials carousel */
.testimonials-carousel{padding: 30px; max-width: 1000px; margin: 0 auto}
.testimonials-carousel .swiper-wrapper{margin: 0 auto}
.testimonial-swiper{overflow: hidden; max-height: 200px}
.testimonial-slide {
    padding: 30px 60px;
    background: var(--purple);
    border-radius: 10px;
    height: 200px;
	display: flex; justify-content: center; align-items: center; position: relative
}
.testimonial-slide > div{width: 100%; position: relative}

.testimonial-content {
    font-size: 1rem;
	line-height: 1;
    margin-bottom: 15px;
}
.testimonial-content p{line-height: 1; padding: 0; margin: 0 0 13px}

.testimonial-title {
    font-weight: 700;
    font-size: 1.2rem;
	line-height: 1
}
.testim-swiper-controls{position: absolute; top:100px; left:0; width:100%}
.testim-swiper-controls .swiper-pagination{transform:translate(0, 100px)}

@media (max-width:600px) {
	.testimonials-carousel{margin: 90px auto 30px}
	.testimonial-swiper{border-radius:15px}
	.testimonial-slide{padding: 14px}
	.testimonial-content p{margin-bottom: 10px; padding:0; font-size:0.8rem; max-width: 220px; margin: 0 auto}
	.testimonial-title{font-size: 0.9rem; max-width: 220px; margin: 0 auto}
	.swiper-button-next:after, .swiper-button-prev:after{color: #fff; opacity: 0.5; font-size:1rem !important}
}


.cpt-list-block{padding: 30px}
.cpt-flex{display:flex; justify-content: center; align-items: stretch; flex-wrap: wrap; margin: 0 auto; grid-gap: 30px; max-width: var(--content-width)}
.cpt-flex > div{padding: 30px; background: #fff; color: #000; flex: 1 1 200px; text-align: center; display: flex; justify-content: center; align-items: center}

.cpt-item .star{aspect-ratio:1/1; width:70px; background-image: url("../img/5-point-star.svg"); background-size: contain; background-repeat: no-repeat; margin: 0 auto}
.cpt-item h2{color: #eb9ae3}



/* Join us*/
.join-us-block{padding: 0 30px 60px}
.join-us-block > div{max-width: 600px; margin: 0 auto}
.join-us-block label{display: block; text-transform: uppercase; color:var(--pink)}
.join-us-block input{width:100%; margin: 4px 0 30px}
.join-us-block input[type=submit]{max-width:  200px; margin: 0 auto; display: block}
.join-us-block .flex{grid-gap: 30px}
.join-us-block .flex div{width:100%; flex:1}
@media (max-width:600px) {
	.join-us-block .flex{flex-direction: column; grid-gap: 0}
	.join-us-block .flex > div{width:100%; max-width: 100%; flex:none}
}


/* Login */
.login-block{padding: 60px 30px}
.login-block form{max-width: 300px; margin: 0 auto}
.login-block label{display: block; text-transform: uppercase; color:var(--pink)}
.login-block input{width:100%; margin: 4px 0 30px; font-size:1.4rem !important}
.form-error{color:red}

/* Reset password */
.login-reset-password{padding:30px}
.login-reset-password form{max-width: 400px; margin: 0 auto}
.login-reset-password label{display: block; text-transform: uppercase; color:var(--pink)}
.login-reset-password input{width:100%; margin: 6px 0 30px; font-size:1.4rem !important}

/* CTA */
.cta-block{padding:30px; text-align: center}
.cta-wrap{transition:all 600ms ease-in-out}
.cta-wrap.start{}
.cta-button{font-size:2rem}
.cta-button:hover{box-shadow:0 0 25px rgb(255,255,255,0.4)}


/* Dashboard */
.account-dashboard{padding:30px}
.account-dashboard > div{max-width:var(--content-width); margin: 0 auto}
.account-dashboard h1{margin: 0 0 30px}
.account-dashboard .button{padding:5px 25px 8px}

.account-dashboard form{max-width: 500px; margin: 60px auto}
.account-dashboard label{display: block; color: var(--pink)}
.account-dashboard input{margin: 0 0 30px; width:100%}
