/*__Fonts__*/

@font-face {
    font-family: 'NarkissBlock';
    src: url('../fonts/NarkissBlock-Regular.woff2') format('woff2');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'NarkissBlock';
    src: url('../fonts/NarkissBlock-Bold.woff2') format('woff2');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Sunday';
    src: url('../fonts/Sunday-Light.woff2') format('woff2');
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Sunday';
    src: url('../fonts/Sunday-Regular.woff2') format('woff2');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Sunday';
    src: url('../fonts/Sunday-MediumItalic.woff2') format('woff2');
    font-weight: 500;
    font-style: italic;
    font-display: swap;
}

@font-face {
    font-family: 'Sunday';
    src: url('../fonts/Sunday-BoldItalic.woff2') format('woff2');
    font-weight: 700;
    font-style: italic;
    font-display: swap;
}


/*__Reset__*/

*,
*:before,
*:after {
    box-sizing: border-box;
}

* {
    margin: 0;
    -webkit-font-smoothing: antialiased;

}

img {
    max-width: 100%;
}

p,
h1,
h2,
h3,
h4,
h5,
h6 {
    overflow-wrap: break-word;
}

ul {
    padding: 0;
    list-style: none;
}

/*__Root__*/

:root {
    --font-weight-regular: 400;
    --font-weight-medium: 500;
    --font-weight-bold: 700;

    /* Colors */
    --color-green: #43783c;
    --color-purple: #9d1da9;
    --color-white: #f5f5f5;
    --color-overlay: rgba(255, 252, 238, 0.42);
}

/*__Base__*/

html {
    font-size: 16px;
}

body {
    font-family: 'NarkissBlock', sans-serif;
    font-weight: var(--font-weight-regular);
    color: var(--color-purple);
    line-height: 1.5;
    min-height: 100vh;
    overflow-x: hidden;
}

/*__Page Wrapper__*/

.page-wrapper {
    position: relative;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 40px;
    gap: 40px;
}

/*__Background__*/

.background-container {
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: -1;
}

.background-image {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 50% 50%;
}

.background-overlay {
    position: absolute;
    inset: 0;
    background: var(--color-overlay);
}

/*__Header__*/

.header {
    width: 100%;
    height: 0;
    position: relative;
}

/*__Fixed Stars__*/

.fixed-stars {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    width: 100%;
    height: 0;
    z-index: 1000;
    pointer-events: none;
}

.fixed-stars .star-left,
.fixed-stars .star-right {
    position: absolute;
    bottom: 20px;
    width: 64.24px;
    height: 98.4px;
    object-fit: contain;
}

.fixed-stars .star-left {
    left: 20px;
}

.fixed-stars .star-right {
    right: 20px;
}

/*__Main Content__*/

.main-content {
    width: 100%;
    max-width: 1600px;
    display: flex;
    flex-direction: column;
    gap: 120px;
    align-items: center;
    position: relative;
    z-index: 1;
    margin-right: auto;
    margin-left: auto;
    margin-top: 80px;
}

/*__Hero Section__*/

.hero-section {
    display: flex;
    flex-direction: column;
    gap: 100px;
    align-items: center;
    text-align: center;
    width: 100%;
}

.hero-subtitle {
    font-family: 'Sunday', sans-serif;
    font-weight: 300;
    font-size: 65px;
    line-height: 50px;
    color: var(--color-purple);
    margin: 0;
    letter-spacing: -0.03em;
}

.hero-titles-container {
    display: grid;
}

.hero-titles-container > .hero-title {
    grid-column: 1;
    grid-row: 1;
}

.hero-title {
    font-family: 'Sunday', sans-serif;
    font-weight: var(--font-weight-medium);
    font-style: italic;
    font-size: 156px;
    line-height: 145px;
    color: var(--color-green);
    margin: 0;
    white-space: nowrap;
}

.hero-title .hero-title-word,
.hero-title .question-mark {
    display: inline-block;
    transform: translateY(1em);
    opacity: 0;
    visibility: hidden;
    transition: transform 500ms, opacity 400ms, visibility 500ms;
}

.hero-title .hero-title-word.appear,
.hero-title .question-mark.appear {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
}

.hero-title .question-mark {
    display: block;
}

/*__Q&A Container__*/

.qa-container {
    display: flex;
    flex-direction: row;
    gap: 20px;
    align-items: flex-start;
    justify-content: flex-end;
    position: relative;
    width: 100%;
}

/*__Q&A Sections__*/

.qa-sections {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 50px;
    align-items: flex-start;
    position: relative;
    padding-bottom: 100px;
}

.qa-item {
    width: 100%;
    display: flex;
    gap: 40px;
    align-items: flex-start;
    justify-content: flex-start;
    text-align: right;
}

.qa-question {
    font-family: 'NarkissBlock', sans-serif;
    font-weight: var(--font-weight-bold);
    font-size: 30px;
    line-height: 45px;
    color: var(--color-purple);
    margin: 0;
    flex-basis: 394px;
    flex-shrink: 1;
}

.qa-answer {
    font-family: 'NarkissBlock', sans-serif;
    font-weight: var(--font-weight-regular);
    font-size: 30px;
    line-height: 45px;
    color: var(--color-purple);
    margin: 0;
    width: 814px;
    flex-shrink: 0;
    white-space: normal;
}

.qa-answer-list {
    display: flex;
    flex-direction: column;
    gap: 13px;
}

.qa-answer-list .qa-answer {
    margin: 10px 0;
}

.qa-answer .bold {
    font-weight: var(--font-weight-bold);
    color: var(--color-green);
    /* font-size: 1.25em; */
}

/*__Registration Button__*/

.contact-button,
.registration-button {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    cursor: pointer;
    z-index: 100;
    transition: transform 0.2s ease;
}

.buttons-container-desktop {
    position: sticky;
    top: 0;
}

.contact-button-desktop,
.registration-button-desktop {
    align-self: flex-start;
    width: 232px;
    height: 232px;
    pointer-events: auto;
    display: none;
    /* Hidden by default, shown on desktop */
    margin-top: 0;
    margin-right: 20px;
    flex-shrink: 0;
}

.registration-button-desktop {
    transform: translate( 40px, 0 );
}

.contact-button-desktop {
    transform: translate( -40px, 0 );
}

.contact-button-mobile,
.registration-button-mobile {
    position: fixed;
    bottom: 60px;
    left: 60px;
    width: 200px;
    height: 200px;
    display: none;
    /* Hidden by default, shown on mobile */
}

/*__Hover Effects (only on devices that support hover)__*/

@media (hover: hover) {
    /* .registration-button:hover {
        transform: scale(1.05);
    } */

    .contact-button-desktop:hover img {
        transform: rotate(4deg);
    }
    .registration-button-desktop:hover img {
        transform: rotate(4deg);
    }

    .registration-button-mobile:hover {
        transform: scale(1.05);
    }
}

.button-bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: transform 0.2s ease;
}

.button-text {
    position: absolute;
    font-family: 'Sunday', sans-serif;
    font-weight: var(--font-weight-bold);
    font-style: italic;
    font-size: 42px;
    line-height: 48px;
    color: var(--color-white);
    text-align: center;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80%;
    z-index: 1;
    pointer-events: none;
    white-space: nowrap;
}

/*__Footer__*/

.footer {
    /* width: 100%; */
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: auto;
    position: absolute;
    top: 20px;
    left: 20px; right: 20px;
    box-sizing: border-box;
    z-index: 1;
}

.footer-logo {
    flex-shrink: 0;
}

.footer-logo-right {
    height: calc( 77px * 0.6 );
    width: calc( 275px * 0.6 );
    position: relative;
}

.footer-logo-left {
    height: calc( 157px * 0.6 );
    width: calc(102px * 0.6 );
    position: relative;
}

.footer-logo-left img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.footer-logo-right img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
}

/*__Responsive - Tablet and Below (768px)__*/

/*__Responsive - Medium screens (1550px and below)__*/

@media (min-width: 1550px) {
    .main-content {
    }
}

@media (max-width: 1550px) {
    .page-wrapper {
        padding: 20px 60px;
        /* overflow-x: hidden; */
    }

    .main-content {
        max-width: 100%;
        padding: 0;
        width: 100%;
        box-sizing: border-box;
    }

    .hero-section {
        width: 100%;
        box-sizing: border-box;
    }

    .hero-subtitle {
        font-size: 60px;
        line-height: 50px;
    }

    .hero-title {
        font-size: 120px;
        line-height: 110px;
        white-space: normal;
    }

    .qa-container {
        flex-direction: row;
        align-items: flex-start;
        justify-content: flex-end;
        max-width: 100%;
        width: 100%;
        box-sizing: border-box;
    }

    .qa-sections {
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
        flex: 1;
        min-width: 0;
    }

    .qa-item {
        width: 100%;
        max-width: 100%;
        flex-wrap: wrap;
        box-sizing: border-box;
    }

    .qa-question {
        font-size: 26px;
        line-height: 38px;
        max-width: 30%;
        min-width: 200px;
        flex-shrink: 0;
        flex-basis: 30%;
        box-sizing: border-box;
    }

    .qa-answer {
        font-size: 26px;
        line-height: 38px;
        max-width: 65%;
        flex: 1;
        min-width: 0;
        word-wrap: break-word;
        overflow-wrap: break-word;
        box-sizing: border-box;
    }

    .qa-answer-list {
        max-width: 65%;
    }

    .qa-answer-list .qa-answer {
        max-width: none;
        width: auto;
    }

    .contact-button-desktop,
    .registration-button-desktop {
        display: none;
    }

    .contact-button-mobile,
    .registration-button-mobile {
        display: flex;
        position: fixed;
        bottom: 8vh;
        left: 6vw;
        width: 180px;
        height: 180px;
        z-index: 1000;
    }

    .registration-button-mobile {
        bottom: 26vh;
        left: 15vw;
    }

    .button-text {
        font-size: 32px;
        line-height: 38px;
    }

    .background-container {
        overflow: hidden;
    }

    .background-image {
        min-width: 100%;
        min-height: 100%;
    }
}

@media (max-width: 850px) {
    .page-wrapper {
        padding: 20px;
        gap: 40px;
        /* overflow-x: hidden; */
    }

    .fixed-stars .star-left,
    .fixed-stars .star-right {
        width: 45px;
        height: 70px;
    }

    .fixed-stars .star-left {
        left: 15px;
    }

    .fixed-stars .star-right {
        right: 15px;
    }

    .header {
        position: relative;
        margin-bottom: 20px;
    }

    .main-content {
        gap: 60px;
        align-items: center;
        max-width: 100%;
        width: 100%;
        box-sizing: border-box;
        padding-bottom: 80px;
    }

    .qa-container {
        flex-direction: column;
        align-items: flex-start;
        max-width: 100%;
        width: 100%;
        box-sizing: border-box;
    }

    .qa-sections {
        align-items: flex-start;
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
    }

    .hero-section {
        gap: 20px;
    }

    .hero-subtitle {
        font-size: 45px;
        line-height: 50px;
    }

    .hero-title {
        font-size: 124px;
        line-height: 100px;
        white-space: normal;
    }

    .qa-sections {
        gap: 40px;
    }

    .qa-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }

    .qa-question {
        width: 100%;
        max-width: none;
        font-size: 28px;
        line-height: 40px;
    }

    .qa-answer {
        width: 100%;
        max-width: none;
        font-size: 28px;
        line-height: 40px;
    }

    .qa-answer-list {
        max-width: none;
    }

    .registration-button-desktop {
        display: none;
    }

    .contact-button-mobile,
    .registration-button-mobile {
        width: 150px;
        height: 150px;
    }

    .registration-button-mobile {
        left: 8vh;
        bottom: 20vh;
    }

    .button-text {
        font-size: 29px;
        line-height: 1;
    }

    .registration-button-mobile {
        display: flex;
    }

    .footer-logo-right {
        height: 51px;
        width: 181px;
    }

    .footer-logo-left {
        height: 71px;
        width: 46px;
    }
}

/*__Responsive - Mobile (480px and below)__*/

@media (max-width: 480px) {
    .page-wrapper {
        padding: 15px;
        gap: 30px;
    }

    .hero-subtitle {
        font-size: 35px;
        line-height: 45px;
    }

    .hero-title {
        font-size: 80px;
        line-height: 70px;
    }

    .qa-question {
        font-size: 24px;
        line-height: 35px;
    }

    .qa-answer {
        font-size: 24px;
        line-height: 35px;
    }

    .contact-button-mobile,
    .registration-button-mobile {
        width: 80px;
        height: 80px;
    }

    .button-text {
        font-size: 18px;
        line-height: 28px;
    }

    .fixed-stars .star-left,
    .fixed-stars .star-right {
        width: 35px;
        height: 55px;
    }

    .fixed-stars .star-left {
        left: 10px;
        top: 15px;
    }

    .fixed-stars .star-right {
        right: 10px;
        top: 15px;
    }

    .star-decoration {
        height: 60px;
        width: 40px;
    }

}

/*__Desktop - Show sticky button (only for screens wider than 1550px)__*/

@media (min-width: 1551px) {
    .qa-container {
        flex-direction: row;
        align-items: flex-start;
        justify-content: flex-end;
    }

    .buttons-container-desktop {
        display: flex;
        flex-direction: column;
        position: sticky;
        top: 120px;
        align-self: flex-start;
    }

    .contact-button-desktop,
    .registration-button-desktop {
        display: flex;
    }

    .registration-button-mobile {
        display: none;
    }
}