
*,
*:after,
*:before {
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    -webkit-font-smoothing: antialiased;
    font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}
/* html element 62.5% font-size for REM use */
html,
body {
    margin: 0;
    padding: 0;
    width: 100%;
    height: 100%;
    color: #000000;
    font-size: 16px;
    font-weight: 400;
    font-family: Verdana, Geneva, Tahoma, sans-serif;
}

/* clear */
.clear:before,
.clear:after {
    content: " ";
    display: table;
}

.clear:after {
    clear: both;
}
.clear {
    *zoom: 1;
}
img {
    max-width: 100%;
    vertical-align: bottom;
}
.header{
    width: 100%;
    position: relative;
}
.header__hero{
    width: 100%;
    height: calc(100vh - 320px);
    background-image: url(./hero_bg.png);
    background-size: cover;
    background-position: left center;
    background-repeat: no-repeat;
    z-index: 1;
    position: relative;
    background-color: #4C000A;
}
.header__hero__contents{
    position: absolute;
    bottom:0;
    left:0;
    padding: 32px;
}
.header__hero__logo{
    width: 136px;
    height: auto;
    margin-bottom: 16px;
}
.header__hero__contents h1{
    margin: 0;
    padding: 0;
    font-weight: 700;
    font-size: 40px;
    line-height: 120%;
    letter-spacing: 0;
    color: #FFFFFF;
    max-width: 725px;
}
.welcome-section{
    padding: 40px 32px 28px;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}
.welcome-section__contents{
    width: 100%;
    max-width: 530px;
    display: flex;
    flex-direction: column;
    row-gap: 16px;
}
.welcome-section__contents__title{
    margin: 0;
    font-weight: 700;
    font-size: 24px;
    line-height: 130%;
    letter-spacing: 0;
}
.welcome-section__contents__excerpt{
    font-weight: 400;
    font-size: 14px;
    line-height: 150%;
    letter-spacing: 0;
}
.welcome-section__actions{
    width: 100%;
    max-width: 445px;
    padding: 16px;
    background-color: #EDECE8;
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    row-gap: 16px;
}
.welcome-section__actions__title{
    width: 100%;
    text-align: center;
    font-weight: 700;
    font-size: 16px;
    line-height: 120%;
    letter-spacing: 0;
}
.welcome-section__actions__content{
    display: flex;
    flex-direction: column;
    row-gap: 16px;
}
.welcome-section__actions__counter{
    width: 100%;
    text-align: center;
    padding: 8px 24px;
    font-weight: 700;
    font-size: 32px;
    line-height: 120%;
    letter-spacing: 0;
    background-color: white;
    border-radius: 4px;
}
.welcome-section__actions__button{
    width: 100%;
    text-align: center;
    padding: 8px 24px;
    font-weight: 700;
    letter-spacing: 0;
    background-color: #B51930;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 250ms ease-in-out;
    user-select: none;
}
.welcome-section__actions__button:hover{
    background-color: #F71738;
}
.welcome-section__actions__button img{
    width: 32px;
    height: 32px;
}
.testimonials{
    width: 100%;
    padding: 115px 32px 145px;
    display: flex;
    flex-direction: column;
    row-gap: 48px;
    overflow: hidden;
}
.testimonials__info{
    width: 100%;
    max-width: 450px;
}
.testimonials__info__title{
    font-weight: 700;
    font-size: 24px;
    line-height: 120%;
    letter-spacing: 0;
    margin: 0;
    margin-bottom: 16px;
}
.testimonials__info__excerpt{
    font-weight: 400;
    font-size: 14px;
    line-height: 150%;
    letter-spacing: 0;
}
.testimonial__slider{
    width: calc(100% + 64px);
    overflow: auto;
    display: flex;
    flex-direction: row;
    column-gap: 24px;
    margin-left: -32px;
    padding: 0 32px;
    margin-right: -32px;
}
.testimonial__slider {
    -ms-overflow-style: none;  /* IE and Edge */
    scrollbar-width: none;  /* Firefox */
    scrollbar-height: none;  /* Firefox */
}
.testimonial__slider::-webkit-scrollbar {
    width: 0;
    height: 0;
    display: none;  /* Chrome, Safari, Opera */
}
.testimonial__slider::-moz-scrollbar {
    width: 0;
    height: 0;
    display: none;  /* Old Firefox */
}
.testimonial__slider::-o-scrollbar {
    width: 0;
    height: 0;
    display: none;  /* Old Opera */
}
.testimonial__slider::scrollbar {
    width: 0;
    height: 0;
    display: none;  /* Standard (in the future) */
}

.testimonial__slider__item{
    width: 313px;
    aspect-ratio: 313 / 304;
    padding: 24px 16px;
    background-color: #EDECE8;
    border-radius: 16px;
    overflow: hidden;
    font-weight: 400;
    font-size: 16px;
    line-height: 150%;
    letter-spacing: 0;
    background-image: url(./quote-card.svg);
    background-size: 100% auto;
    background-position: bottom left;
    background-repeat: no-repeat;
    flex-shrink: 0;
}

.stories{
    width: 100%;
    padding:64px 32px;
    display: flex;
    flex-direction: column;
    gap: 40px;
}
.stories__intro{
    width: 100%;
    max-width: 625px;
}
.stories__intro__title{
    margin: 0;
    margin-bottom: 16px;
    font-weight: 700;
    font-size: 24px;
    line-height: 120%;
    letter-spacing: 0%;
}
.stories__intro__excerpt{
    font-weight: 400;
    font-size: 14px;
    line-height: 150%;
    letter-spacing: 0%;
}
.stories__list__item{
    display: flex;
    flex-direction: row;
    padding: 16px 0;
    position: relative;
    gap: 16px;
    align-items: center;
    justify-content: flex-start;
    color: #000000;
    text-decoration: none;
}
.stories__list__item__img{
    flex-shrink: 0;
    width: 100%;
    max-width: 202px;
    aspect-ratio: 202 / 136;
    position: relative;
}
.stories__list__item__img img{
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
}
.stories__list__item__content{
    display: flex;
    flex-direction: column;
    gap: 16px;
    max-width: 465px;
    width: 100%;
}
.stories__list__item__title{
    font-family: "Lora", serif;
    font-weight: 400;
    font-size: 20px;
    line-height: 130%;
    letter-spacing: 0;
    font-optical-sizing: auto;
    line-clamp: 2;
    -webkit-line-clamp: 2;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.stories__list__item__date{
    font-family: Inter;
    font-weight: 600;
    font-size: 12px;
    line-height: 100%;
    text-transform: capitalize;
    color: #9C9C9C;
}
.stories__list__item::before {
    content: "";
    position: absolute;
    width: 100%;
    height: 1px;
    top: 0px;
    background: linear-gradient(90deg, rgb(183, 186, 255) 0%, rgb(172, 121, 255) 50%, rgb(183, 186, 255) 100%);
}
.stories__list__cta{
    padding-top: 8px;
}
.stories__list__cta__button{
    font-weight: 400;
    font-size: 14px;
    line-height: 150%;
    letter-spacing: 0%;
    text-decoration: underline;
    text-decoration-style: solid;
    text-decoration-offset: 0%;
    text-decoration-thickness: 0%;
    color: #000000;
    text-decoration-skip-ink: auto;
    opacity: 1;
    transition: opacity 250ms ease-in-out;
}
.stories__list__cta__button:hover{
    opacity: 0.6;
}
.footer{
    width: 100%;
    background-color: #EDECE8;
    padding: 140px 195px 160px;
}
.footer__contents{
    display: flex;
    flex-direction: column;
    gap: 16px;
}
.footer__contents__quote__person{
    font-weight: 400;
    font-size: 12px;
    line-height: 150%;
    letter-spacing: 0%;
    color: #000000;

}
.footer__contents__quote{
    width: 100%;
    max-width: 660px;
    font-weight: 400;
    font-size: 16px;
    line-height: 120%;
    letter-spacing: 0%;
    color: #000000;
}
.footer__contents__quote__header{
    font-weight: 400;
    font-size: 32px;
    line-height: 120%;
    letter-spacing: 0%;
    color: #000000;
}
.footer__contents__logo{
    width: 136px;
}
.footer__contents__links{
    display: flex;
    flex-direction: row;
    gap: 12px;
}
.footer__contents__links.margin{
    margin-top: 45px;
}
.footer__contents__links__link{
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    font-size: 12px;
    line-height: 100%;
    letter-spacing: 2%;
    text-transform: uppercase;
    padding: 16px 32px;
    text-decoration: none;
    display:inline-block;
    border: 1px solid #7B61FF;
    cursor: pointer;
    opacity: 1;
    transition: background-color 250ms ease-in-out, opacity 250ms ease-in-out, color 250ms ease-in-out, border-color 250ms ease-in-out;
}
.footer__contents__links__link.primary{
    background-color: #7B61FF;
    color: #FFFFFF;
}
.footer__contents__links__link.primary:hover{
    opacity: 0.5;
}
.footer__contents__links__link.secondary{
    background-color: transparent;
    color: #7B61FF;
}
.footer__contents__links__link.secondary:hover{
    background-color: #7B61FF;
    color: #FFFFFF;
}
.emoji-rain-container{
    z-index: 150;
    pointer-events: none;
    -webkit-user-select: none;
    user-select: none;
    position: fixed;
    inset: 0%;
    overflow: hidden;
}
.single-rain-emoji {
    will-change: transform;
    width: max(200px, 15vw);
    position: absolute;
}
.single-rain-emoji.hidden {
    opacity: 0;
}
.single-rain-emoji-image-fire {
    background-image: url('./fire-emoji.png');
    background-position: 50%;
    background-size: cover;
    width: 100%;
    padding-top: 100%;
  }
  
  .single-rain-emoji-image-love {
    background-image: url('./heart-emoji.png');
    background-position: 50%;
    background-size: cover;
    width: 100%;
    padding-top: 100%;
  }
.translation-en{
    display: none;
}
.show-en .translation-en{
    display: block;
}
.show-en .translation-en.inline-block,
.show-se .translation-se.inline-block{
    display: inline-block;
}
.show-en .translation-se{
    display: none;
}
.show-se .translation-en{
    display: none;
}
.show-se .translation-se{
    display: block;
}
.language-switcher{
    position: absolute;
    right: 10px;
    top: 10px;
    display: flex;
    border-radius: 4px;
    line-height: 0;
    overflow: hidden;
}
.language-switcher__item{
    cursor: pointer;
    padding: 8px;
    background: white;
}
.language-switcher__item:hover{
    background: #EDECE8;
}
.show-en .language-switcher__item.lang-en{
    background: #d4d4d4;
    cursor: pointer;
}
.show-se .language-switcher__item.lang-se{
    background: #d4d4d4;
    cursor: pointer;
}


@media (max-width: 1080px) {
    .header__hero{
        height: calc(100vh - 320px);
    }
    .header__hero__contents{
        padding: 32px 16px;
    }
    .header__hero__contents h1{
        font-weight: 700;
        font-size: 32px;
        line-height: 120%;
        letter-spacing: 0%;
    }
    .welcome-section{
        padding:40px 16px 32px;
        gap: 32px;
    }
    .welcome-section__actions{
        max-width: 380px;
    }
    .welcome-section__contents{
        max-width: 440px;
    }
    .welcome-section__contents__title{
        font-weight: 700;
        font-size: 20px;
        line-height: 130%;
    }
    .welcome-section__actions__content{
        flex-direction: row;
        gap: 16px;
    }
    .welcome-section__actions__counter{
        font-weight: 700;
        font-size: 16px;
        line-height: 28px;
        padding: 10px 24px;
    }
    .welcome-section__actions__button{
        padding: 10px 24px;
    }
    .welcome-section__actions__button img{
        width: 28px;
        height: 28px;
    }
    .testimonials{
        padding: 40px 16px 32px;
        row-gap: 40px;
    }
    .testimonials__info{
        max-width: 400px;
    }
    .testimonials__info__title{
        font-weight: 700;
        font-size: 32px;
        line-height: 120%;
    }
    .testimonial__slider{
        column-gap: 16px;
        margin-left: -16px;
        padding: 0 16px;
        margin-right: -16px;
    }
    .stories{
        padding: 40px 16px 32px;
    }
    .stories__intro{
        max-width: 400px;
    }
    .stories__intro__title{
        font-weight: 700;
        font-size: 32px;
        line-height: 120%;
        letter-spacing: 0;
    }
    .footer{
        padding: 40px 16px 40px;
    }
}
@media (max-width: 860px) {
    .welcome-section{
        flex-direction: column;
    }
    .welcome-section__actions{
        max-width: 440px;
    }
}
@media (max-width: 560px) {
    .header__hero{
        height: calc(100vh - 360px);
    }
    .welcome-section__contents,
    .welcome-section__actions,
    .testimonials__info,
    .stories__intro,
    .stories__list__item__img{
        max-width: unset;
    }
    .stories__list__item{
        flex-direction: column;
    }
}