/* IMPORTS -------------------------------------------------------------- */
@font-face {
    font-family: "icon";
    src: url("../fonts/fontawesome/Font\ Awesome\ 6\ Pro-Regular-400.otf");
}

@font-face {
    font-family: "comfortaa";
    font-weight: 300;
    src: url("../fonts/comfortaa/Comfortaa-Light.ttf");
}
@font-face {
    font-family: "comfortaa";
    font-weight: 400;
    src: url("../fonts/comfortaa/Comfortaa-Regular.ttf");
}
@font-face {
    font-family: "comfortaa";
    font-weight: 500;
    src: url("../fonts/comfortaa/Comfortaa-Medium.ttf");
}
@font-face {
    font-family: "comfortaa";
    font-weight: 600;
    src: url("../fonts/comfortaa/Comfortaa-SemiBold.ttf");
}
@font-face {
    font-family: "comfortaa";
    font-weight: 700;
    src: url("../fonts/comfortaa/Comfortaa-Bold.ttf");
}

@keyframes showMessageModal {
    0%{
        opacity: 0;
        transform: translate(-50%, calc(-100% - 2rem));
    }

    100%{
        opacity: 1;
        transform: translate(-50%, 0);
    }
}
@keyframes hideMessageModal {
    0%{
        opacity: 1;
        transform: translate(-50%, 0);
    }

    100%{
        opacity: 0;
        transform: translate(-50%, calc(-100% - 2rem));
    }
}
@keyframes modalTimer {
    0%{
        width: 0;
    }

    100%{
        width: 100%;
    }
}
/* ---------------------------------------------------------------------- */

/* MAIN & TEXTS --------------------------------------------------------- */
:root{
    --white: #FFFDF8;
    --black: #1E0908;
    --purple: #9120A6;
    --pink: #EC5544;
    --yellow: #F8BF54;

    --black64: #6F615E;
    --black32: #B7AFAB;

    --pink64: #F39185;
    --pink32: #F9C7BE;
    --pink16: #FCE2DB;

    --shadow: 0px 0px 24px 0px rgba(0, 0, 0, 0.16);
    --shadowlight: 0px 0px 16px 0px rgba(0, 0, 0, 0.08);
    
    font-size: 16px;
}
html, body{
    scroll-behavior: smooth;
    scroll-padding-top: 5rem;
    overscroll-behavior: none;
}
body{
    background-color: var(--white);
    color: var(--black);
    font-size: 1rem;
    font-family: "comfortaa";
    font-weight: 400;
    font-style: normal;
    overflow-x: hidden;
    padding-bottom: 10rem;
}
.noscroll{
    /* overflow: hidden; */
}

.container{
    padding: 0 1rem;
    position: relative;
    max-width: 80rem;
    margin: auto;
}

h1, .h1, h2, .h2, h3, .h3, h4, .h4, h5, .h5, h6, .h6{
    font-weight: 500;
    line-height: 1.2;
}
h1, .h1{
    font-size: 2rem;
    font-weight: 600;
}
h2, .h2{
    font-size: 1.5rem;
    font-weight: 600;
}
h3, .h3{
    font-size: 1.25rem;
}
h4, .h4{
    font-size: 1.125rem;
}

p{
    line-height: 1.5;
}
p.bold{
    font-weight: 700;
}
p.sm{
    font-size: 0.625rem;
    font-weight: 700;
    text-transform: uppercase;
}

.icon{
    font-size: 1rem;
    font-family: "icon";
    font-weight: 400;
    font-style: normal;
    color: var(--pink);
    width: fit-content;
    height: 1rem;
    line-height: 1;
    flex-shrink: 0;
    user-select: none;
}
.icon + span{
    margin: 1px 0 -1px;
}

a{
    color: var(--pink);
    text-decoration: underline;
    font-weight: 700;
}
/* ---------------------------------------------------------------------- */

/* BUTTONS -------------------------------------------------------------- */
.btn, button{
    width: fit-content;
    display: flex;
    flex-direction: row;
    gap: 0.5rem;
    align-items: center;
    padding: 0.75rem 1rem;
    border-radius: 2rem;
    font-weight: 400;
    line-height: 1;
    text-decoration: none;
    cursor: pointer;
}
.btn.primary, button.primary{
    background-color: var(--pink);
    color: var(--white);
}
.btn.primary .icon, button.primary .icon{
    color: var(--white);
}

.btn.secondary, button.secondary{
    background-color: var(--pink16);
    color: var(--pink);
}

.btn.tertiary, button.tertiary{
    color: var(--pink);
    padding: 0.25rem 0;
    border-radius: 0;
}

.fixed-btn{
    position: fixed;
    bottom: 5.5rem;
    right: 0.5rem;
    width: 3.5rem;
    height: 3.5rem;
    border-radius: 10rem;
    border: 2px solid var(--pink);
    box-shadow: var(--shadow);
    background-color: var(--pink16);
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    z-index: 4;
}
.fixed-btn i{
    font-size: 1.5rem;
    height: 1.5rem;
}

button.bubble{
    width: 3.5rem;
    height: 3.5rem;
    border-radius: 10rem;
    background-color: var(--pink);
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
}
button.bubble i{
    font-size: 1.5rem;
    height: 1.5rem;
    color: var(--white);
}

.btn.go-back{
    padding: 0.75rem;
    position: absolute;
    border-radius: 0.5rem 0 1rem 0;
    top: 1rem;
    left: 1rem;
    z-index: 2;
    color: var(--white);
    /* color: var(--black); */
    background-color: rgba(30, 9, 8, 0.32);
    /* background-color: rgba(255, 253, 248, 0.32); */
    backdrop-filter: blur(0.5rem);
}
.btn.go-back i{
    color: var(--white);
    /* color: var(--black); */
}
/* ---------------------------------------------------------------------- */

/* FORM ELEMENTS -------------------------------------------------------- */
input, button, textarea {
    background-color: var(--white);
    color: var(--black);
    font-size: 1rem;
    font-family: "comfortaa";
    font-weight: 400;
    font-style: normal;
    line-height: 1;
}

button[type=submit].full-width{
    width: 100%;
    margin-top: 1rem;
    justify-content: center;
}
/* ---------------------------------------------------------------------- */

/* MESSAGE MODAL -------------------------------------------------------- */
.message-modal{
    --modalColor: var(--black);
    background-color: var(--white);
    color: var(--modalColor);
    width: calc(100% - 4rem);
    max-width: 32rem;
    position: fixed;
    top: 2rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: row;
    gap: 0.5rem;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    border-radius: 0.5rem;
    text-align: center;
    box-shadow: var(--shadow);
    overflow: hidden;
    z-index: 6;
    cursor: pointer;
    animation: showMessageModal 500ms 500ms 1 backwards, hideMessageModal 500ms 5.5s 1 forwards;
}
.message-modal.success{
    --modalColor: green;
    background-color: lightgreen;
}
.message-modal.error{
    --modalColor: red;
    background-color: pink;
}

.message-modal .icon{
    color: var(--modalColor);
}
.message-modal::after{
    content: "";
    height: 2px;
    background-color: var(--modalColor);
    position: absolute;
    bottom: 0;
    left: 0;
    animation: modalTimer 5s 500ms linear 1 both;
}
/* ---------------------------------------------------------------------- */

/* NO RESULT ------------------------------------------------------------ */
.no-result-card{
    background-color: var(--white);
    box-shadow: var(--shadowlight);
    border-radius: 1rem;
    padding: 1rem;
    text-align: center;
    margin: auto;
    max-width: 32rem;
}
.no-result-card .h3{
    margin-bottom: 1rem;
}
.no-result-card .h3 span{
    color: var(--pink);
    font-weight: 500;
}
.no-result-card .btn, .no-result-card button{
    margin: 2rem auto 0;
}
/* ---------------------------------------------------------------------- */