:root {
	--st-brand-purple: #a1409e;
    --st-brand-pink: #cc4a99;
}

html {
    scroll-behavior: smooth;
}

* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
}



body {
	font-family: 'Arial', sans-serif !important;
	line-height: 1.5 !important;
	font-size: 22px;
	color: #333;

}


body p:empty {
    margin: 0;
    padding: 0;
}

.contain {
	max-width: 1120px;
	margin: 0 auto;
	padding: 30px;
}

.hero {
	/* background: linear-gradient(135deg, #f20094, #5600ff); */
	background: transparent;
	color: white;
	padding: 16px 16px 48px;
	text-align: center;
	position: relative;
    overflow: hidden;
}

.hero-video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    z-index: 1;
    transform: translate(-50%, -50%);
}

.hero-overlay {
    position: relative;
    z-index: 2;
}


.hero-top-nav {
	display: flex;
	justify-content: space-between;
	align-items: start;
	gap: 1rem;
	font-size: 2rem;
    position: relative;
}

.hero-top-nav :is(.middle-nav, .right-nav) {
	display: flex;
	flex-direction: row;
	gap: 24px;
}

.hero-top-nav :is(.middle-nav, .right-nav) .nav-item {
	color: #fff;
	text-decoration: none;
	font-weight: medium;
}

.right-nav a {
	color: #fff;
}


/* Hamburger button */

.toggle-wrapper {
  position: absolute;
  right: 0;
  top: 50px;
}

.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;

}


button.menu-toggle:is(:hover, :active, :focus) {
    background: none;
    border: none;
}

button.menu-toggle:hover span {
    animation-name: line-bounce;
    animation-duration: 0.2s;
}

button.menu-toggle:hover span:nth-child(2) {
    animation-delay: 0.1s;
}

button.menu-toggle:hover span:nth-child(3) {
    animation-delay: 0.2s;
}

.menu-toggle span {
  display: block;
  width: 25px;
  height: 3px;
  background: white;
  border-radius: 2px;
}

@keyframes line-bounce {
    0% {
        width: 100%;
    }
    50% {
        width: 50%;
    }
    100% {
        width: 100%;
    }
}



.hero-content {
	text-align: left;
	display: flex;
	flex-direction: row;
	gap: 50px;
	flex-wrap: wrap;
	justify-content: center;
}

.hero-content .hero-text {
	flex-grow: 1;
	width: min-content;
}

.hero-content .presenter-photo {
	flex-grow: 0;
	margin-top: 1rem;
	width: 100%;
	max-width: 300px;
	text-align: center;
}

.presenter-photo img {
	width: 100%;
	border-radius: 50%;
}

.hero-content h1 {
	font-size: clamp(4rem, 3.2rem + 3vw, 7rem);
	margin: 1rem 0;
	line-height: 1;
    color: #ffffff;
}
.hero-content h2 {
	font-size: clamp(2.5rem, 2.2rem + 3vw, 5rem);
	font-weight: 100;
	color: #ffffff;
	line-height: 1;
}
.hero .logo-wrapper {
	max-width: 140px;
}

.hero .logo {
	width: 100%;
}

section {
	margin: 80px 0;
}
h3 {
	color: #0054a4 !important;
	margin-bottom: 0.5rem;
	font-size: 3rem !important;
    position: relative;
}

h3[data-icon="leaf"]:before {
    content: url("") / "🍀";
    position: absolute;
    left: 0;
    top: 0;
    transform: translateX(-100%);
}

ul {
	padding-left: 3rem;
}

ul li {
    margin-bottom: 0;
}

/* EVENT DETAILS */

.event-details {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
}

.when, .where {
    min-inline-size: min(20ch, 100%);
    flex-basis: 50%;
}

:is(.when, .where) ul {
    padding: 0;
} 

.when {
	padding: 30px 0 50px;
}

.about p {
	/* margin: 30px 0; */
}

.where {
	padding: 30px 0 50px;
}


.map {
    flex-basis: 100%;
    height: 300px;
    padding: 30px 0 60px;
}

.call-to-action {
    flex-basis: 100%;
}

/* hero button */
.hero .simpay-modal-control-open .simpay-form-control button.simpay-modal-btn {
	background: linear-gradient(135deg, #ffffff 100px, var(--st-brand-pink) 600px);
    color: var(--st-brand-pink);
    margin-top: 50px;
}

.simpay-modal-control-open .simpay-form-control button.simpay-modal-btn {
	background: linear-gradient(135deg, var(--st-brand-purple) 100px, #f20094 400px, #5600ff 600px);
	background-position-x: left;
	background-repeat: no-repeat;
	background-size: 1000px;
	color: white;
	padding: 16px 24px;
	font-size: 22px;
	border: none;
	border-radius: 20px;
	font-weight: bold;
	margin-top: 1rem;
	cursor: pointer;
	transition: background-position-x 0.3s ease, transform 0.4s ease;
}



.simpay-modal-control-open:hover .simpay-form-control button.simpay-modal-btn {
	background-position-x: 50%;
	transform: translateY(-10px);
	transition: background-position-x 0.3s ease, transform 0.4s ease;
}

.simpay-modal-control-open .simpay-form-control button.simpay-modal-btn span {
    all: unset;
}

.note {
	font-size: 1.3rem;
	margin-top: 0.5rem;
}

/* SPONSORS */

.brought-to-you {
    text-align: center;
}

.sponsors {
    display: flex;
    flex-direction: row;
    gap: 64px;
    justify-content: center;
    flex-wrap: wrap;
}

.sponsors img {
    max-height: 100px;
    max-width: 100%;
}


/* MEET THE PRESENTERS */

.bio {
	display: flex;
	align-items: flex-start;
	margin: 2rem 0 5rem;
    gap: 24px;
    flex-wrap: wrap;
}
.bio picture {
	min-inline-size: min(20ch, 100%);
    flex-basis: 0;
    flex-grow: 1;
    text-align: center;
}

.bio > div {
    flex-basis: 60%;
    flex-grow: 1;
}

.bio > div .new-speaker_tag {
    background: linear-gradient(to right, var(--st-brand-purple), var(--st-brand-pink));
    display: inline-block;
    padding: 2px 17px;
    font-size: 0.8em;
    color: white;
    border-radius: 100px;
    margin-left: 16px;
    vertical-align: middle;
    font-weight: bold;
}


/* FOOTER */

footer {
	background: #f3f3f3;
	display: flex;
	justify-content: space-between;
	padding: 2rem 1rem;
	flex-wrap: wrap;
}
.footer-brand img {
	width: 100px;
}
.contact h4 {
	margin-bottom: 0.5rem;
}

footer .wrapper {
	display: flex;
	justify-content: space-around;
	width: 80%;
	margin: auto;
}

/* hamburger menu */
@media (max-width: 900px) {
  .menu-toggle {
    display: flex;
  }

  .hero-top-nav :is(.middle-nav, .right-nav).nav-links {
    display: none;
    position: absolute;
    top: 60px;
    right: 1rem;
    background: #333;
    flex-direction: column;
    padding: 1rem;
    border-radius: 4px;
  }

  .hero-top-nav :is(.middle-nav, .right-nav).nav-links.show {
    display: flex !important;
  }
}



/* Responsive */
@media (max-width: 600px) {
    .hero-content {
        text-align: center;
    }

    .when, .where {
        text-align: center;
        flex-basis: 100%;
    }

}

@media (max-width: 400px) {

	footer .wrapper {
		flex-direction: column;
	}

	.footer-brand {
		padding-bottom: 40px;
	}
}
