:root {
    --blue: #3490dc;
    --indigo: #6574cd;
    --purple: #9561e2;
    --pink: #f66d9b;
    --red: #e3342f;
    --orange: #f6993f;
    --yellow: #ffed4a;
    --green: #38c172;
    --teal: #4dc0b5;
    --cyan: #6cb2eb;
    --white: #fefbff;
    --gray: #767680;
    --gray-light: #a3a3a3;
    --gray-dark: #6c6d7a;
    --black: #1d1d1d;
    --primary: #4254f5;
    --secondary: #bf97ff;
    --tertiary: #5ED1CA;
    --success: #38c172;
    --info: #6cb2eb;
    --warning: #ffed4a;
    --danger: #e3342f;
    --light: #f8f9fa;
    --dark: #343a40;
}

@font-face {
    font-family: "Mona Sans";
    src: url("/fonts/MonaSansVF-Regular.ttf");
}

@font-face {
    font-family: "Azonix";
    src: url("/fonts/Azonix.otf");
}

input::-webkit-contacts-auto-fill-button,
input::-webkit-credentials-auto-fill-button {
    visibility: hidden;
    position: absolute;
    top: -50px;
}

* {
    font-family: "Mona Sans";
}

html {
    height: 100%;
}

body {
    background-color: #fefbff;
    height: 100%;
}

a {
    color: black !important;
    text-decoration: none;
}

.fw-400 {
    font-weight: 400 !important;
}

.fw-500 {
    font-weight: 500 !important;
}

.fw-600 {
    font-weight: 600 !important;
}

.primary {
    color: var(--primary) !important;
}

.secondary {
    color: var(--secondary) !important;
}

.gray {
    color: var(--gray) !important;
}

.gray-dark {
    color: var(--gray-dark) !important;
}

.black {
    color: var(--black) !important;
}

.primary-btn {
    background-color: var(--primary);
    color: var(--white) !important;
    padding: 0.625rem 5.5rem;
    border-radius: 10rem;
    font-size: 0.85rem;
    font-weight: 500;
    width: 18rem;
    box-sizing: border-box;
    display: inline-block;
}

.secondary-btn {
    color: var(--primary) !important;
    border: 1px solid var(--gray);
    padding: 0.625rem 5.5rem;
    border-radius: 10rem;
    font-size: 0.85rem;
    font-weight: 500;
    width: 18rem;
    box-sizing: border-box;
    display: inline-block;
}

.hidden {
    display: none;
}

.cursor {
    cursor: pointer;
}

.error {
    color: #dc3545;
}

.half-screen {
    min-height: 100%;
    width: 50vw;
}

.justify {
    text-align: justify;
}

.vertical-align-div {
    position: relative;
}

.vertical-align {
    top: 50%;
    position: absolute;
    -ms-transform: translateY(-50%);
    transform: translateY(-50%);
}

.profile-img-large {
    height: 17.75rem;
    width: 17.75rem;
    border-radius: 100rem;
    background-color: #f3f3fc;
}

.upload-img {
    height: 16.5rem;
    width: 16.5rem;
    background-color: #f3f3fc;
    border-radius: 100rem;
    background-size: cover;
    background-position: center;
    cursor: pointer;
}

.material-symbols-outlined {
    font-variation-settings: "FILL" 1, "wght" 400, "GRAD" 0, "opsz" 24;
}

.long-text {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* SCROLLBAR */

::-webkit-scrollbar {
    width: 0.75rem;
}

::-webkit-scrollbar-thumb {
    background: var(--secondary);
    border-radius: 0.625rem;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--secondary);
}

/* WELCOME */

.welcome-text {
    font-size: 5.4rem;
}

.app-font {
    font-family: "Azonix";
    line-height: 4.5rem;
}

/* LOGIN */

.floating-form {
    width: 37rem;
    background-color: var(--white);
    border-radius: 1.5rem;
}

/* REGISTER */

.register-header {
    font-size: 3.5rem;
    font-weight: 400;
}

.first-gender-div {
    cursor: pointer;
    font-weight: 500;
    user-select: none;
    border: 1px solid var(--gray) !important;
    border-right: 0 !important;
    border-radius: 10rem 0 0 10rem;
}

.gender-div {
    cursor: pointer;
    font-weight: 500;
    user-select: none;
    border: 1px solid var(--gray) !important;
}

.last-gender-div {
    cursor: pointer;
    font-weight: 500;
    user-select: none;
    border: 1px solid var(--gray) !important;
    border-radius: 0 10rem 10rem 0;
    border-left: 0 !important;
}

.gender-check {
    padding-top: 0.125rem;
    font-size: 1.25rem;
}

.terms {
    color: #1d1d1d;
    font-size: 0.875rem;
}

/* HEADER */

.header-item-div {
    position: relative;
    text-align: center;
    width: 8rem;
}

.header-item-div img, .header-item {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.selected {
    color: var(--primary) !important;
}

.header-profile-img {
    min-height: 4.375rem;
    min-width: 4.375rem;
    background-color: #f3f3fc;
    border-radius: 100rem;
    background-size: cover;
    background-position: center;
    cursor: pointer;
}

/* HOME */

#search-icon {
    position: relative;
    top: 1.45rem;
    left: 3.5rem;
    color: #45464F;
}

.search-bar {
    border: 1px solid black !important;
    border-radius: 10rem !important;
    background-color: var(--white) !important;
    width: 26rem !important;
    padding: 0 3rem !important;
}

.search-bar::placeholder {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--gray);
}

.search-bar:focus {
    box-shadow: none !important;
}

.home-header {
    font-weight: 400;
    /* font-style: italic; */
    font-size: 3.25rem;
}

.module-item {
    background-color: var(--white);
    border: 1px solid black;
    border-radius: 1.25rem;
    padding: 1.5rem;
    margin: 1rem;
    width: 28rem;
    height: 38rem;
}

.module-item-img {
    height: 24.85rem;
    width: 24.85rem;
    background-size: cover;
    background-position: center;
    border-radius: 10px;
}

.module-item-title {
    font-weight: 600;
    font-size: 1.75rem;
    margin: 1.875rem 0;
}

.module-item-btn {
    font-weight: 500;
    border: 1px solid black;
    border-radius: 100rem;
    padding: 0.625rem 1.5rem;
    padding-right: 3.5rem;
    -webkit-box-shadow: 2px 3px 0 0 black;
    -moz-box-shadow: 2px 3px 0 0 black;
    box-shadow: 2px 3px 0 0 black;
    cursor: pointer;
}

.module-item-btn:hover {
    color: var(--white) !important;
    background-color: var(--primary);
}

/* MODULE */

/* .module-img {
    height: 36.75rem;
    max-width: 36.75rem;
    background-size: cover;
    background-position: center;
} */

.module-img {
    height: 28.5vw;
    width: 28.5vw;
    background-size: cover;
    background-position: center;
    position: relative;
}

.content-header {
    font-weight: 500;
    font-size: 2rem;
}

.content-title {
    font-weight: 400;
    font-size: 1.375rem;
}

/* RANKING */

.first-position {
    font-weight: 400;
    font-size: 5.375rem;
    height: 11.625rem;
    width: 22.25rem;
    padding: 2rem;
    color: var(--white);
    background-color: var(--primary);
    border-radius: 1.5rem;
}

.second-position {
    font-weight: 400;
    font-size: 5.375rem;
    line-height: 8.5rem;
    height: 8.5rem;
    width: 22.25rem;
    color: var(--white);
    background-color: var(--secondary);
    border-radius: 1.5rem;
}

.third-position {
    font-weight: 400;
    line-height: 6.5rem;
    font-size: 5.375rem;
    height: 6.5rem;
    width: 22.25rem;
    color: var(--white);
    background-color: var(--tertiary);
    border-radius: 1.5rem;
}

.separator {
    border-top: 1px solid #767680;
    width: 95%
}

.ranking-img {
    height: 5.5rem;
    width: 5.5rem;
    border-radius: 50%;
    object-fit: cover;
}

.ranking-name {
    font-weight: 400;
    font-size: 2.25rem;
    max-width: 40vw;
}

.fixed-ranking {
    position: sticky;
    float: right;
    right: 2.8rem !important;
    bottom: 2.8rem;
    width: 35rem;
    height: 8.2rem;
    background-color: #F3F4FF;
    border-radius: 1.5rem;
    border: 1px solid black;
    -webkit-box-shadow: 2px 3px 0 0 black;
    -moz-box-shadow: 2px 3px 0 0 black;
    box-shadow: 2px 3px 0 0 black;
}

.fixed-ranking .ranking-img {
    height: 5rem;
    width: 5rem;
    border-radius: 50%;
    object-fit: cover;
}

.user-ranking {
    background-color: #F3F4FF;
    margin: 0 !important;
}

.ranking-item {
    padding: 1.25rem 3.5rem !important;
}

.ranking-position {
    font-weight: 500;
    font-size: 1.375rem;
    background-color: var(--white);
    border: 1px solid black;
    border-radius: 100rem;
    height: 2.8rem;
    width: 2.8rem;
    padding: .65rem 0 !important;
    -webkit-box-shadow: 2px 3px 0 0 black;
    -moz-box-shadow: 2px 3px 0 0 black;
    box-shadow: 2px 3px 0 0 black;
}

/* CURIOSITIES */

.curiosity-item-img {
    width: 15.625rem;
    height: 9rem;
    border-radius: 0.625rem;
    background-size: cover;
    background-position: center;
    cursor: pointer;
}

.curiosity-item-header {
    font-weight: 600;
    font-size: 1.75rem;
}

.curiosity-item-date {
    font-weight: 400;
}

.curiosity-description {
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    -webkit-box-orient: vertical;
}

.curiosity-header {
    font-weight: 500;
    font-size: 5rem;
}

.curiosity-date {
    font-weight: 400;
    font-size: 1.375rem;
    color: var(--primary);
}

.curiosity-carousel {
    height: 49.5rem;
    /* min-width: 77rem !important; */
    min-width: 70vw !important;
    margin: 0 1.35rem;
    border-radius: 2.5rem;
    background-size: cover;
    background-position: center;
    cursor: pointer;
    transition: background-image 0.2s cubic-bezier(0.645, 0.045, 0.355, 1);
}

.curiosity-carousel-lateral {
    height: 46rem;
    /* min-width: 72rem !important; */
    min-width: 14.25vw !important;
    background-size: cover;
    background-position: center;
    transition: background-image 0.2s cubic-bezier(0.645, 0.045, 0.355, 1);
    cursor: pointer;
}

/* EVOLUTION */

.evolution-item {
    background-color: var(--primary);
    border-radius: 2rem;
    height: 15.5rem;
}

.evolution-item-header {
    color: var(--white);
    font-weight: 400;
    font-size: 2rem;
    user-select: none;
}

.evolution-icon {
    font-size: 2.5rem;
    color: var(--white);
    margin-left: auto;
}

.evolution-item-subtitle {
    font-weight: 400;
    font-size: 1.5rem;
    user-select: none;
}

.evolution-item-data {
    color: var(--white);
    font-weight: 500;
    font-size: 6.25rem;
    user-select: none;
    line-height: 7.5rem;
}

.evolution-module-item {
    background-color: #f3f4ff;
    border-radius: 1.5rem;
    height: 25rem;
}

.progress {
    height: 0.925rem;
    background-color: var(--white);
    border-radius: 10rem;
}

/* PROFILE */

.profile-background {
    border-radius: 1.5rem;
    height: 16rem;
    background-size: cover;
    background-position: center;
}

.profile-img {
    height: 16.25rem;
    width: 16.25rem;
    border-radius: 100rem;
    background-size: cover;
    background-position: center;
    position: relative;
    bottom: 7.5rem;
}

.profile-mail {
    font-weight: 500;
    font-size: 1rem;
    width: auto !important;
    background-color: #F2EAFF;
    border-radius: 100rem;
}

.profile-mail i {
    color: var(--black) !important;
    position: relative;
    top: .5rem;
    margin: 0 1.5rem 0 1rem;
}

.profile-infos-div {
    position: relative;
    bottom: 5.5rem;
}

.profile-info {
    border: 1px solid black;
    border-radius: 1.25rem;
    -webkit-box-shadow: 4px 3px 0 0 black;
    -moz-box-shadow: 4px 3px 0 0 black;
    box-shadow: 4px 3px 0 0 black;
    padding: 1.5rem !important;
    padding-bottom: 1.875rem !important;
    max-width: 20vw;
}

.profile-info span {
    font-weight: 400;
    font-size: 1.375rem;
}

.profile-info h6 {
    font-weight: 500;
    font-size: 1.5rem;
    color: var(--primary);
    margin-top: 1.375rem;
}

.profile-actions {
    background-color: #F3F3FC;
    border-radius: 1.5rem;
    padding: 1.875rem;
}

.profile-actions h6 {
    font-weight: 500;
    font-size: 1rem;
    color: var(--gray-dark);
}

/* CONTACT */

.consultation {
    width: 99% !important;
    height: 17rem;
}

/* SWITCH */

.switch-toggle {
    position: relative;
    box-sizing: border-box;
}

/* INFORMATION */

.info-img {
    height: 12rem;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    position: relative;
}

.switch-toggle input[type="checkbox"] {
    position: absolute;
    left: 0;
    top: 0;
    z-index: 10;
    width: 100%;
    height: 100%;
    cursor: pointer;
    opacity: 0;
    pointer-events: all !important;
}

.switch-toggle label {
    position: relative;
    display: flex;
    align-items: center;
    box-sizing: border-box;
    /* background: var(--white) !important; */
}

.switch-toggle label:before {
    content: "";
    width: 52px;
    height: 32px;
    background: #f6f4f8;
    position: relative;
    display: inline-block;
    border-radius: 46px;
    box-sizing: border-box;
    transition: 0.2s ease-in;
    border: 1.5px solid #77737b;
}

.switch-toggle label:after {
    content: "";
    position: absolute;
    width: 15px;
    height: 15px;
    border-radius: 50%;
    left: 7.5px;
    top: 8.9px;
    z-index: 2;
    background: #77737b;
    box-sizing: border-box;
    transition: 0.2s ease-in;
}

.switch-toggle input[type="checkbox"]:checked + label:before {
    background: var(--primary);
    border: 0;
}

.switch-toggle input[type="checkbox"]:checked + label:after {
    left: 24px;
    top: 4.5px;
    background: var(--white);
    width: 24px;
    height: 24px;
    border-radius: 50%;
}

/* INPUTS FORM */

.input-field.input-outlined > input {
    display: block;
    line-height: 1px !important;
    height: 2.5rem !important;
    width: calc(100% - 3.5rem);
    padding: 1.15rem 0 0 1rem;
    color: var(--gray-dark);
    background: #f3f3fc;
    border-radius: 0.5rem 0.5rem 0 0;
    border-bottom: solid var(--gray-dark) 0.125rem;
    transition: border-color 0.15s;
}

.input-field.input-outlined > input:focus:not([readonly]) {
    border-bottom: solid 2px var(--primary);
    box-shadow: 0 1px 0 0px var(--primary);
    color: #191c1b;
}

input[type="date"]::-webkit-inner-spin-button,
input[type="date"]::-webkit-calendar-picker-indicator {
    display: none !important;
    -webkit-appearance: none !important;
}

/* input[type="date"]::-webkit-datetime-edit-day-field,
input[type="date"]::-webkit-datetime-edit-month-field,
input[type="date"]::-webkit-datetime-edit-year-field,
input[type="date"]::-webkit-datetime-edit-text, */
input[type="date"]::-webkit-datetime-edit {
    display: none !important;
    -webkit-appearance: none !important;
    /* width: calc(100% - 1rem) !important;
    line-height: normal !important;
    color: #f3f3fc !important;
    font-family: 'Mona Sans' !important */
}

/* input[type="date"]::-webkit-datetime-edit-day-field,
input[type="date"]::-webkit-datetime-edit-month-field,
input[type="date"]::-webkit-datetime-edit-year-field,
input[type="date"]::-webkit-datetime-edit-text {
  color: var(--white);
} */

.input-field.input-outlined > .label.active {
    transform: translateY(-0.75rem) !important;
    top: 1.25rem !important;
    color: var(--gray-dark);
}

.label {
    display: block !important;
    position: absolute !important;
    top: 1.75rem !important;
    transform: translateY(-50%) !important;
    left: 1rem !important;
    color: rgba(0, 0, 0, 0.5) !important;
    transform-origin: left top !important;
    user-select: none !important;
    transition: transform 150ms cubic-bezier(0.4, 0, 0.2, 1),
        color 150ms cubic-bezier(0.4, 0, 0.2, 1), top 500ms !important;
    font-size: 16px !important;
    color: var(--gray-dark) !important;
}

input:focus + .label,
input.is-valid + .label.active,
select:focus + .label,
select.is-valid + .label.active {
    font-size: 0.8rem !important;
    transform: translateY(-100%) scale(0.75) !important;
    color: var(--primary) !important;
}

input:not(:focus) + .label.active,
select:not(:focus) + .label.active {
    font-size: 0.8rem !important;
    color: var(--gray-dark) !important;
}

.select,
.select:not(:focus) {
    padding-left: 1rem;
    height: 3.75rem !important;
    line-height: 4rem;
    font-size: 1.1rem;
    color: var(--gray-dark) !important;
    background-color: #f3f3fc !important;
    border: 0 !important;
    border-bottom: 1px solid var(--gray) !important;
    border-radius: 0.5rem 0.5rem 0 0;
    transition: border-bottom 0.25s !important;
    background-image: url("data:image/svg+xml;utf8,<svg fill='black' height='24' viewBox='0 0 24 24' width='24' xmlns='http://www.w3.org/2000/svg'><path d='M7 10l5 5 5-5z'/><path d='M0 0h24v24H0z' fill='none'/></svg>") !important;
    background-repeat: no-repeat !important;
    background-position-x: 98% !important;
    background-position-y: 50% !important;
}

.select:focus {
    color: #191c1b !important;
    background-color: #f3f3fc !important;
    border: 0 !important;
    border-bottom: 2px solid var(--primary) !important;
    border-radius: 0.5rem 0.5rem 0 0;
    transition: border-bottom 0.25s !important;
    outline: 0 !important;
    box-shadow: 0 1px 0 0 var(--primary) !important;
}

textarea {
    height: 9.5rem;
    padding: 1rem;
    border-radius: 0.35rem 0.35rem 0 0;
    background-color: #f3f3fc;
    border: none;
    resize: none;
    color: var(--gray-dark) !important;
    border-bottom: 1px solid var(--gray) !important;
}

textarea:focus {
    color: #191c1b !important;
    padding: 1rem;
    border-radius: 0.35rem 0.35rem 0 0;
    background-color: #f3f3fc;
    border: none;
    outline: none;
    resize: none;
    border-bottom: 2px solid var(--primary) !important;
    box-shadow: 0 1px 0 0 var(--primary) !important;
}

textarea::placeholder {
    color: var(--gray-dark);
}

.counter {
    font-weight: 400;
    font-size: 0.75rem;
}

/* Icons of Password Field */

.left-icon input {
    padding-left: 3.65rem !important;
}

.left-icon label {
    padding-left: 2.65rem;
}

.left-icon .left {
    position: absolute;
    top: 1rem;
    left: 1rem !important;
}

.right-icon {
    position: absolute;
    top: 1rem;
    right: 1rem !important;
    color: #75777f;
}

/* Icons Password */

#show-password-icon,
#show-old-password-icon,
#show-new-password-icon,
#show-password-confirmation-icon {
    color: #75777f;
    cursor: pointer;
    user-select: none;
    -moz-user-select: none;
    -khtml-user-select: none;
    -webkit-user-select: none;
    -o-user-select: none;
}

#password-icon,
#old-password-icon,
#new-password-icon,
#password-confirmation-icon {
    width: 5%;
    left: 2%;
    color: #75777f;
    /* cursor: pointer; */
    user-select: none;
    -moz-user-select: none;
    -khtml-user-select: none;
    -webkit-user-select: none;
    -o-user-select: none;
}

#email-icon {
    width: 5%;
    left: 2%;
    color: #75777f;
    /* cursor: pointer; */
    user-select: none;
    -moz-user-select: none;
    -khtml-user-select: none;
    -webkit-user-select: none;
    -o-user-select: none;
}

#hide-password-icon {
    color: #75777f;
    cursor: pointer;
    user-select: none;
    -moz-user-select: none;
    -khtml-user-select: none;
    -webkit-user-select: none;
    -o-user-select: none;
}

/* CHECKBOX */

/* The container */
.terms {
    display: block;
    position: relative;
    padding-left: 2.25rem;
}

/* Hide the browser's default checkbox */
.terms input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    height: 0;
    width: 0;
}

/* Create a custom checkbox */
.check {
    position: absolute;
    top: 0;
    left: 0;
    height: 1.125rem;
    width: 1.125rem;
    border-radius: 0.125rem;
    background-color: #eee;
}

/* When the checkbox is checked, add a blue background */
.terms input:checked ~ .check {
    background-color: var(--secondary);
}

/* Create the checkmark/indicator (hidden when not checked) */
.check:after {
    content: "";
    position: absolute;
    display: none;
}

/* Show the checkmark when checked */
.terms input:checked ~ .check:after {
    display: block;
}

/* Style the checkmark/indicator */
.terms .check:after {
    left: 0.4rem;
    top: 0.15rem;
    width: 0.35rem;
    height: 0.65rem;
    border: solid white;
    border-width: 0 0.15rem 0.15rem 0;
    -webkit-transform: rotate(45deg);
    -ms-transform: rotate(45deg);
    transform: rotate(45deg);
}

/* RADIO BUTTON */

/* The container */
.radio-div {
    padding: 0 2rem;
    margin: 0.5rem 0;
    display: block;
    position: relative;
    cursor: pointer;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

/* Hide the browser's default radio button */
.radio-div input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
}

.radio-div span {
    font-size: 1rem;
    font-weight: 400;
    color: var(--gray-dark);
}

/* Create a custom radio button */
.checkmark {
    position: absolute;
    top: 0;
    left: 0;
    height: 20px;
    width: 20px;
    border: 2px solid #75777f;
    background-color: #fff;
    border-radius: 50%;
}

/* On mouse-over, add a grey background color */
.radio-div:hover input ~ .checkmark {
    background-color: #fff;
}

/* When the radio button is checked, add a blue background */
.radio-div input:checked ~ .checkmark {
    background-color: #fff;
    border: 2px solid var(--primary);
}

.radio-div input:checked ~ span {
    color: var(--primary);
    font-weight: 500;
}

/* Create the indicator (the dot/circle - hidden when not checked) */
.checkmark:after {
    content: "";
    position: absolute;
    display: none;
}

/* Show the indicator (dot/circle) when checked */
.radio-div input:checked ~ .checkmark:after {
    display: block;
}

/* Style the indicator (dot/circle) */
.radio-div .checkmark:after {
    top: 3px;
    left: 3px;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--primary);
}

body.swal2-shown:not(.swal2-no-backdrop):not(.swal2-toast-shown), html.swal2-shown:not(.swal2-no-backdrop):not(.swal2-toast-shown) { height: 100% !important; overflow-y: visible !important; }