:root {
    --main-bg-color: #5d43ac;
    --main-text-color: #ffd700;
    --body-text-color: #fff;
    --bullet-color: #f00;
}

body {
    font-family: Montserrat;
    line-height: 1.6;
    color: var(--body-text-color);
    margin: 0;
    padding: 0;
    background-color: var(--main-bg-color);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    overflow-x: hidden;
}
.container {
    width: 90%;
    max-width: 800px;
    margin: 0 auto;
    padding: 15px;
    flex-grow: 1;
}
h1, h2, h3 {
    color: var(--main-text-color);
    text-align: center;
}

h2, h3 {
    margin: 2em 0 0 0;
}

h1.span {
    text-align: center;
}

a {
    color: inherit;
}

.spots-counter {
    color: var(--main-text-color);
    font-weight: bolder;
}
.center-button {
    display: flex;
    align-items: center;
    flex-direction: column;
    margin: 3em 0 4em 0;
}
h1 {
    font-size: 54px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    line-height: 1.2;
}
.headline-second-line {
    font-size: 54px;
    display: flex;
    align-items: baseline;
    text-align: center;
    gap: 0.3em;
    flex-wrap: wrap;
}

.highlight {
    background-color: var(--main-text-color);
    color: var(--main-bg-color);
    padding: 2px 8px;
    border-radius: 5px;
    font-weight: bold;
}
.sticky-header {
    /* position: fixed; */
    top: 0;
    width: 100%;
    background-color: var(--main-bg-color);
    padding: 10px 20px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    z-index: 1000;
    padding: 10px 0; /* Remove horizontal padding */
}

.sticky-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 0 auto;
    width: 90%; /* Match the width of the main container */
}

.logo-container {
    background-color: var(--main-bg-color); /* Adjust this color as needed */
    border-radius: 5px;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 160px;
    height: 40px;
    padding: 5px;
    flex-shrink: 0;
}

.logo {
    width: 100%;
    height: 100%;
}

.cta-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: var(--main-text-color);
    color: var(--main-bg-color);
    padding: 10px 20px;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    text-align: center;
    height: 40px;
    box-sizing: border-box;
    white-space: nowrap;
}
ul {
    list-style-type: none;
    padding-left: 0;
    text-align: center;
}
li::before {
    content: "✕ ";
    color: var(--bullet-color);
    ;
}
p {
    text-align: center;
}
hr.solid {
    border: none;
    height: 1px;
    background-color: var(--main-text-color);
    margin: 3em auto; /* This adds space above and below, approximating 1 line height */
    width: 30%; /* Makes the hr shorter */
}
.feature-list li::before {
    content: "→ ";
    color: var(--main-text-color);
}

.text-container {
    text-align: left;
    align-items: flex-end;
}

.content-wrapper {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    flex-wrap: nowrap;
    margin: 2em 0 0 0
}

.profile-image {
    width: 300px;
    height: auto;
    object-fit: cover;
    border-radius: 8px;
    border: 5px solid var(--body-text-color);
    box-shadow: 0 0 5px var(--main-text-color);
}

.email-form {
    margin: 20px;
    display: flex;
    align-items: center;
    flex-direction: column;
}
.email-form input, .email-form button {
    line-height: 2.5;
    width: 60%;
    padding: 10px;
    margin: 4px;
    border-radius: 5px;
    box-sizing: border-box;
}

/* Adjust layout for very small screens if needed */
@media screen and (max-width: 710px) {
    .logo-container {
        margin-bottom: 10px;
    }

    h1 {
        font-size: 28px;
    }

    h2, h2 {
        font-size: 20px;
    }

    .headline-second-line {
        font-size: 28px;
    }

    .profile-image {
        width: 90%;
    }

    .image-container {
        display: flex;
        align-items: center;
        flex-direction: column;
    }

    .text-container {
        text-align: center;
    }
    
    .content-wrapper {
        flex-wrap: wrap;
    }
    .email-form input, .email-form button {
        font-size: 14px;
        width: 80%;
        flex: 0 1 auto; /* Allows items to shrink but not grow */
        min-width: 50; /* Allows items to shrink below their content size */
    }
}