*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Geologica", sans-serif;
}

a {
    text-decoration: none;
    color: #d56989;
}

.underline {
    text-decoration: underline;
}

img {
    -webkit-user-drag: none;
    user-select: none;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

body {
    min-height: 100vh;
    background: #fbfbfb;
}

.root {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 50px;

    font-optical-sizing: auto;
    line-height: 1.5;
}

.pp-root {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 100px 18px 0 18px;
    min-height: 100vh;

    background: url("../images/pp-background.jpg") no-repeat;
    background-position: center top;
    background-size: auto auto;
}

.delimiter {
    width: 3.375rem;
    border-bottom: 1px solid #fbfbfb;
    margin: 0 auto;
}

.promo {
    background-color: rgba(255, 255, 255, 0.15);
}

.card {
    position: relative;
    display: flex;
    flex-direction: column;

    width: 500px;
    min-height: calc(100vh - 155px);

    margin: 0 auto;
    border-radius: 1rem;
    box-shadow: 0 10px 20px rgb(126 112 112 / 30%);
    background-image: linear-gradient(rgba(0, 0, 0, 0.1), rgba(0, 0, 0, 0.1)), url("../images/background-gradient.jpeg");

    background-repeat: no-repeat;
    background-size: cover;
    background-position: center center;
    background-attachment: fixed;
}

.card-background {
    position: absolute;

    width: 100%;
    height: 876px;

    object-fit: cover;

    border-radius: 1rem;
    z-index: 0;
}

.fade-mask {
    mask-image: linear-gradient(to bottom, black 30%, transparent 100%);
    -webkit-mask-image: linear-gradient(to bottom, black 30%, transparent 100%);
}

.profile-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 32px;
    padding-top: 34px;
    z-index: 100;
}

.profile-header h1 {
    font-size: 2.5rem;
    text-transform: uppercase;
}

.profile-background {
    z-index: 1;
}

.profile-background img {
    width: 100%;
    border-top-left-radius: 1rem;
    border-top-right-radius: 1rem;
}

.avatar-wrapper {
    margin-top: 40px;
    margin-bottom: 12px;

    width: 104px;
    height: 104px;

    border-radius: 50%;
    overflow: hidden;
}

.avatar-wrapper img {
    width: 100%;
    height: 100%;
}

.profile-name {
    font-size: 1.4rem;
    font-weight: 400;
    color: #fbfbfb;
}

.profile-description {
    margin-top: 18rem;
    font-size: 1.2rem;
    font-weight: 400;
    line-height: 1.5rem;
    letter-spacing: 1px;
    color: #fbfbfb;
}

.t-shadow {
    text-shadow: 1px 1px 4px rgba(37, 37, 37, 1);
}

.social-link {
    line-height: 0;
}

.social-links {
    display: flex;
    flex-flow: row;
    align-items: center;
    gap: 24px;
    flex-wrap: wrap;
    justify-content: center;
    margin-top: 18px;
    margin-bottom: 6rem;
}

.icon-instagram,
.icon-tiktok,
.icon-threads,
.icon-email {
    width: 24px;
    height: 24px;
    display: inline-block;
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    border-radius: 0;
    background-color: transparent;
    color: #fbfbfb;
}

.icon-instagram {
    background-image: url("../images/icons/social-instagram.svg");
}

.icon-tiktok {
    background-image: url("../images/icons/social-tiktok.svg");
}

.icon-threads {
    background-image: url("../images/icons/social-threads.svg");
}

.icon-email {
    background-image: url("../images/icons/social-email.svg");
}

.links-section {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 20px;
    width: 100%;
    padding: 0 18px;
    z-index: 1001;
}

.section-link {
    position: relative;
    width: 100%;
    font-size: 14px;
    letter-spacing: 0.1px;
    line-height: 24px;
    font-weight: 200;
    min-height: 54px;
    box-sizing: border-box;
    text-align: center;
    display: flex;
    flex-flow: row;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: #fbfbfb;
    border: 1px solid #fbfbfb;
    border-radius: 25px;
    transition: background-color 0.1s;
}

.muted-text {
    display: block;
    margin-top: 0.25rem;
    font-size: 14px;
    font-weight: 200;
    color: #fbfbfb;
}

.section-header {
    font-size: 1.2rem;
    letter-spacing: 1px;
    line-height: 1.5rem;
    color: #fbfbfb;
    font-weight: 400;
    margin: 0 auto 4px auto;
}

.section-link.active {
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;

    color: #6E5762;
    background-color: #fbfbfb;
    border-bottom: 1px solid rgba(0 0 0 / .1);
}

.expandable-chevron {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    right: 10px;
    fill: #fbfbfb;
}

.accordion-toggle {

}

.accordion-content {
    display: block;
    max-height: 0;
    border-radius: 25px;
    overflow: hidden;
    transition: max-height 0.2s;
}

.accordion-content-card {
    padding: 20px 18px;
    border-bottom-left-radius: 25px;
    border-bottom-right-radius: 25px;
    background-color: #fbfbfb;
}

.accordion-content.active {
    border-top-right-radius: 0;
    border-top-left-radius: 0;
}

.accordion-content-details {
    color: #6E5762;
    font-size: 12px;
    font-weight: 400;
    line-height: 1.8em;
}

input {
    border: none;
    outline: none;
    border-radius: 4px;
    background-color: #F5F5F5;
    line-height: 24px;
    height: 44px;
    padding: 0 13px;
    margin-bottom: 15px;
    font-size: 12px;
}

input::placeholder {
    font-size: 12px;
    font-weight: 300;
}

textarea {
    border: none;
    outline: none;
    border-radius: 4px;
    background-color: #F5F5F5;
    line-height: 24px;
    padding: 10px 13px;
    min-height: 94px;
    font-size: 12px;
}

textarea::placeholder {
    font-size: 12px;
    font-weight: 300;
}

.inputs-section {
    display: flex;
    flex-direction: column;
    margin: 10px 0;
}

.submit-button {
    width: 100%;
    height: 44px;
    font-weight: 500;
    border-radius: 25px;
    cursor: pointer;
    border: none;
    color: #44363c;
    background-color: #FDE2DF;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 20px;
    transition: background-color 0.2s;
}

.submit-button:hover {
    background-color: #fdb9b5;
}

.close-button {
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #fbfbfb;
    margin: 21px auto 5px auto;
    width: 38px;
    height: 38px;
    cursor: pointer;
    border: none;
    border-radius: 50%;
}

.hidden {
    display: none !important;
}

.error {
    box-shadow: 0 0 0 1px #ad2525;
}

.error-text {
    color: #ad2525;
    font-size: 12px;
    margin-top: -8px;
    margin-bottom: 8px;
    line-height: 1;
}

.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;

    background-color: rgba(0, 0, 0, 0.6);

    display: flex;
    justify-content: center;
    align-items: center;

    z-index: 99999;
}

.modal-content {
    background: #fbfbfb;
    color: #333;
    padding: 24px;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.modal-content .submit-button {
    width: 100%;
    margin-top: 16px;
}

.multiselect-dropdown {
    position: relative;
    width: 100%;
}

.multiselect-button {
    width: 100%;
    height: 44px;
    background-color: #F5F5F5;
    color: rgba(0 0 0 / 0.6);
    border: none;
    border-radius: 4px;
    padding: 0 13px;
    margin-bottom: 15px;
    text-align: left;
    cursor: pointer;
    font-family: inherit;
}

.multiselect-button.invalid {
    border-color: #D93025;
}

.multiselect-list {
    position: absolute;
    top: calc(100% - 7px);
    left: 0;
    width: 100%;
    background: #fff;
    border: none;
    border-radius: 4px;
    z-index: 10;
    max-height: 200px;
    overflow-y: auto;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.multiselect-list label {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 12px;
    font-size: 12px;
    cursor: pointer;
}

.multiselect-list label:hover {
    background-color: #f4f4f4;
}

.multiselect-list label input[type="checkbox"] {
    width: 16px;
    height: 16px;
    justify-self: center;
    align-self: center;
    margin: 0;
}

.pattern-select-list-item {
    display: flex;
    align-items: center;
}

.paragraph-spacer {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.pp-result-header {
    font-size: 5rem;
    font-weight: 700;
    line-height: 120%;
}

.pp-error-text {
    color: #FC7AA5FF;
}

.pp-success-text {
    color: #ECF6FFFF;
}

.pp-info-container {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-top: 232px;
    margin-bottom: 40px;
    text-align: center;
}

.pp-failure-container {
    margin-top: 1rem;
    margin-bottom: 4.25rem;
}

.pp-info-text {
    font-weight: 200;
    color: #987A84FF;
    font-size: 1.5rem;
    line-height: 120%;
    max-width: 85%;
    margin: 0 auto;
}

.pp-links-section {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 20px;
}

.max-w-m {
    max-width: 750px;
}

.max-w-l {
    max-width: 856px;
}

.text-center {
    text-align: center;
}

.text-normal {
    text-align: left;
}

.promo-banner {
    position: fixed;
    width: 100%;
    padding: 4px;
    background: #FC7AA5FF;
    color: #fbfbfb;
    top: 0;
    left: 0;
    z-index: 9999;
}

@media screen and (max-width: 750px) {
    .root {
        display: block;
        padding: 0;
        min-height: 100vh;
    }

    .card-background {
        border-radius: 0;
    }

    .card {
        width: 100%;
        min-height: 100vh;
        border-radius: 0;
        box-shadow: none;
    }
    
    .promo-banner {
        display: block;
    }

    .pp-result-header {
        font-size: 2.75rem
    }

    .pp-info-text {
        font-size: 1rem;
        max-width: 85%;
    }

    .pp-info-container {
        margin-top: 132px;
    }
}
