@keyframes slide-down {
    0% {
        top: -5rem;
    }

    25% {
        top: 2rem;
    }

    75% {
        top: 2rem;
    }

    100% {
        top: -5rem;
    }
}

@keyframes fade-in {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

:root {
    color-scheme: dark;
}

html {
    font-size: 10px;
}

body {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    margin: 0;
    background-color: black;
    font-family: "Lato", sans-serif;
    font-size: 1.4rem;
}

*.hidden {
    display: none !important;
}

.material-icons {
    -webkit-user-select: none;
    user-select: none;
    cursor: pointer;
}

.heading {
    color: white;
    font-size: 2.5rem;
    font-weight: 700;
    text-align: center;
}

@media(max-width:576px) {
    .heading {
        font-size: 1.8rem;
        margin-block-end: 1rem;

    }
}

.sub-heading {
    color: white;
    font-size: 1.8rem;
    text-align: center;
}

.label {
    display: block;
    margin: 1.5rem 0;
    font-weight: 700;
    cursor: pointer;
}

.input {
    display: block;
    box-sizing: border-box;
    width: 100%;
    padding: 1rem;
    border: none;
    border-bottom: 0.2rem solid #a5a5a5;
    border-radius: 0;
    outline: none;
    color: black;
    background-color: #ededed;
    font-family: inherit;
    font-size: 1.5rem;
    resize: none;
    transition-property: border-color;
    transition-duration: 0.25s;
    appearance: none;
}

.input:focus {
    border-bottom: 0.2rem solid black;
}

.input:not(textarea, input[type="file"]) {
    height: 5rem;
}

.input::file-selector-button {
    padding: 1rem;
    margin-right: 1rem;
    border: none;
    color: white;
    background-color: black;
}

.input-disabled {
    background-color: #dbdbdb;
    cursor: not-allowed;
}

.anchor {
    color: black;
}

.error {
    color: red;
    font-weight: 700;
}

.success {
    color: green;
    font-weight: 700;
}

.button {
    box-sizing: border-box;
    display: flex;
    justify-content: center;
    padding: 1rem;
    margin: 2.5rem auto;
    width: 100%;
    /* border: 0.2rem solid white; */
    /* border-radius: 2.1rem; */
    border: 0.2rem solid black;

    color: black;
    font-weight: 800;
    background-color: white;
    font-family: inherit;
    font-size: 1.5rem;
    text-decoration: none;
    cursor: pointer;
    -webkit-user-select: none;
    user-select: none;
}

.button:hover {
    background-color: black;
    color: white;
    border: 0.2rem solid white;
    font-weight: bold;
}

.button .material-icons {
    margin-right: 0.5rem;
}

.row {
    display: flex;
    align-items: center;
    height: max-content;
}

.row-top {
    display: flex;
    align-items: flex-start;
    height: max-content;
}

.column {
    flex: 1;
}

.column:not(.column:last-child) {
    padding-right: 1rem;
}

.container {
    box-sizing: border-box;
    width: 50rem;
    max-width: 100%;
    padding: 1rem;
    margin: 0 auto auto auto;
}

.navbar {
    position: sticky;
    top: 0;
    left: 0;
    z-index: 1;
    background-color: #ededed;
}

.navbar .row {
    justify-content: right;
}

.navbar-item {
    position: relative;
    display: flex;
    align-items: center;
    padding: 1rem;
    color: black;
    font-weight: 700;
    text-decoration: none;
    transition-property: background-color;
    transition-duration: 0.25s;
    cursor: pointer;
    -webkit-user-select: none;
    user-select: none;
}

.navbar-item:not(.navbar-item:last-child) {
    margin-right: 0.5rem;
}

.navbar-item:hover,
.navbar-item-active {
    background-color: #dbdbdb;
}

.navbar-item:hover .navbar-item-dropdown {
    display: block;
}

.navbar-item:hover .navbar-item-heading .material-icons {
    transform: rotate(180deg);
}

.navbar-item-heading {
    display: flex;
    align-items: center;
}

.navbar-item-heading .material-icons {
    transform: rotate(0);
    transition-property: transform;
    transition-duration: 0.5s;
}

.navbar-item-dropdown {
    position: absolute;
    top: 4rem;
    left: 0;
    display: none;
    padding: 1rem;
    background-color: white;
    box-shadow: 0 0 1rem #c9c9c9;
}

.navbar-item-dropdown .dropdown-item {
    position: relative;
    display: block;
    padding: 1rem;
    color: black;
    font-weight: 700;
    text-decoration: none;
    transition-property: background-color;
    transition-duration: 0.25s;
    -webkit-user-select: none;
    user-select: none;
}

.navbar-item-dropdown .dropdown-item:hover {
    background-color: #ededed;
}

.checkbox-container:not(.checkbox-container:last-child) {
    margin-right: 2.5rem;
}

.checkbox {
    position: relative;
    box-sizing: border-box;
    display: flex;
    justify-content: center;
    padding: 1rem;
    /* margin: 2.5rem auto; */
    margin-bottom: 2.5rem;
    width: 100%;
    border: 0.2rem solid white;
    border-radius: 2.1rem;
    color: black;
    background-color: #DCD0B6;
    font-family: inherit;
    font-size: 1.5rem;
    text-transform: uppercase;
    cursor: pointer;
    -webkit-user-select: none;
    user-select: none;
    transition-property: background-color, color;
    transition-duration: 0.25s;
    text-align: center;
}

.checkbox.active {
    color: white;
    background-color: #9F8957;
}

.checkbox input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
}

.checkbox .material-icons {
    margin: auto;
    color: #ededed;
    transition-property: color;
    transition-duration: 0.25s;
}

.checkbox.active .material-icons {
    color: black;
}

.break {
    width: 75rem;
    max-width: 100%;
    margin: 2.5rem auto;
    border: none;
    border-bottom: 0.2rem solid black;
    color: black;
}

.tab {
    display: flex;
    justify-content: center;
    padding: 1rem;
    color: black;
    text-decoration: none;
    cursor: pointer;
    -webkit-user-select: none;
    user-select: none;
    transition-property: background-color;
    transition-duration: 0.25s;
}

.tab:not(.tab-active):hover {
    background-color: #ededed;
}

.tab-active {
    background-color: #dbdbdb;
    font-weight: 700;
}

.table-container {
    overflow: auto;
}

.table {
    width: 98rem;
    margin: 2.5rem 0;
    border-collapse: collapse;
    text-align: center;
}

.table caption {
    margin-bottom: 1rem;
    text-align: left;
}

.table th,
.table td {
    padding: 1rem;
}

.table thead tr {
    background-color: #dbdbdb;
}

.table tbody tr:nth-child(even) {
    background-color: #ededed;
}

.table tbody tr:nth-child(odd) {
    background-color: white;
}

.table a {
    display: flex;
    justify-content: center;
    color: black;
    text-decoration: none;
}

.menu-item {
    box-sizing: border-box;
    display: block;
    width: max-content;
    max-width: 100%;
    padding: 1rem;
    margin-left: auto;
    color: white;
    font-size: 2.5rem;
    font-weight: 700;
    text-align: right;
    text-decoration: none;
}

.menu-item .material-icons {
    transform: rotate(0);
    transition-property: transform;
    transition-duration: 0.5s;
}

.menu-item-active {
    text-decoration: underline;
}

.menu-item-heading {
    display: flex;
    align-items: center;
    justify-content: right;
}

.menu-item-dropdown {
    max-height: 0;
    overflow: hidden;
    border-left: 0.2rem solid white;
    transition-property: max-height;
    transition-duration: 0.5s;
}

.menu-item.active .menu-item-dropdown {
    max-height: 25rem;
}

.menu-item.active .material-icons {
    transform: rotate(180deg);
}

.menu-item-dropdown .dropdown-item {
    display: block;
    padding: 1rem;
    color: white;
    text-decoration: none;
}

.pagination-item {
    display: block;
    width: 3rem;
    margin: 0.5rem;
}

@media (max-width:576px) {
    .pagination-item {
        width: 2.2rem;
    }
}

.pagination-arrow {
    display: block;
    width: 3rem;
    margin: 0.5rem;
    cursor: pointer;
}

.answer-info {
    display: none;
    padding: 2rem;
    margin: 0;
    opacity: 0;
    font-size: 1.2rem;
    text-align: center;
    animation-name: fade-in;
    animation-duration: 0.5s;
    animation-fill-mode: forwards;
}

.answer-info.active {
    display: block;
}

.answer-info strong {
    color: #9F8957;
    font-size: 1.5rem;
}

.pagination-control {
    position: absolute;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: transparent;
    border: none;
}

.pagination-control .material-icons {
    font-size: 48px;
}

.hint {
    text-align: center;
}

#login {
    box-sizing: border-box;
    width: 50rem;
    max-width: 100%;
    padding: 1rem;
    margin: auto;
}

#toolbar {
    color: white;
    background-color: black;
}

#user {
    margin-left: 0.5rem;
}

#logout {
    display: flex;
    align-items: center;
    height: max-content;
    margin-left: auto;
    color: white;
    text-decoration: none;
}

#logout span {
    margin-left: 0.5rem;
}

#mobile-navbar {
    display: none;
}

#open-menu {
    display: block;
}

#menu {
    position: fixed;
    top: 0;
    right: -100%;
    z-index: 1;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: black;
    transition-property: right;
    transition-duration: 0.5s;
}

#menu.active {
    right: 0;
}

#close-menu {
    display: block;
    margin: 2.5rem 0;
    color: white;
    font-size: 48px;
    text-align: right;
}

#snackbar-container {
    position: relative;
    width: 30rem;
    margin: 0 auto;
}

#snackbar {
    position: fixed;
    top: -5rem;
    z-index: 2;
    box-sizing: border-box;
    width: inherit;
    padding: 1rem;
    box-shadow: 0 0 1rem black;
    color: white;
    background-color: green;
    text-align: center;
    animation-name: slide-down;
    animation-duration: 2s;
    animation-delay: 0.5s;
    animation-fill-mode: forwards;
}

#consent-container {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    opacity: 0;
    animation-name: fade-in;
    animation-duration: 0.5s;
    animation-delay: 0.5s;
    animation-fill-mode: forwards;
}

#consent {
    box-sizing: border-box;
    display: flex;
    justify-content: space-evenly;
    align-items: center;
    width: 100rem;
    max-width: 100%;
    padding: 2.5rem;
    margin: auto;
    box-shadow: 0 0 1rem black;
    background-color: white;
}

#header {
    object-fit: cover;
    display: block;
    width: 100%;
    height: 30rem;
    margin-bottom: 2.5rem;
}

#header-backgrounds {
    display: flex;
}

#header-backgrounds img {
    display: block;
    width: 25%;
}

#footer-backgrounds {
    display: none;
    margin-bottom: 0;
}

#footer-backgrounds img {
    display: block;
    width: 100%;
}

#logo {
    display: block;
    width: 25rem;
    margin: -4rem auto 0 auto;
}

#question {
    position: relative;
    background-image: linear-gradient(180deg, white, transparent 50%), url(../images/asesor/questions.jpg);
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

/* .heading-container{
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
} */

.btn-back {
    position: absolute;
    top: 1rem;
    left: -8rem;
    cursor: pointer;
}

.btn-back img {
    width: 4rem;
}

@media (max-width:576px) {
    .btn-back {
        position: relative;
        display: flex;
        justify-content: center;
        left: unset;
        top: unset;
    }

    .btn-back img {
        width: 6rem;
    }
}

#question .heading {
    color: black;
    text-transform: uppercase;
}

#pagination {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    /* margin-top: 2.5rem; */
}

#info {
    border-radius: 2.1rem;
    background-color: white;
    color: black;
}

#info .button {
    margin: 0 auto;
}

#answers-info {
    max-height: 0;
    overflow: hidden;
    transition-property: max-height;
    transition-duration: 0.5s;
}

#answers-info.active {
    max-height: 40rem;
}

#discover-logo {
    display: block;
    width: 25rem;
    margin: auto;
}

#lineup {
    display: block;
    width: 100%;
}

#results {
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

#result-container {
    position: relative;
    background-color: rgba(255, 255, 255, 0.75);
    padding: .5rem 2rem;
    border-radius: 2rem;
    margin-top: 3rem;
    display: flex;
}
@media (max-width:576px){
    #result-container{
        display: block;
        margin-top: 5rem;

    }
}

#result-container p {
    color: black;
    text-align: center;
    text-transform: uppercase;
}

#percentage {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: auto;
    margin-top: 1rem;
    border-radius: 3.75rem;
    font-size: 1.4rem;
    text-align: center;
}

#percentage p {
    color: white;
    padding: 1rem;
    line-height: 1;
    font-weight: bold;
    text-transform: uppercase;
}

#percentage span {
    font-size: 1.6rem;
}

#parfume {
    display: flex;
    width: 20rem;
}
@media (max-width:576px){
    #parfume {
        margin: -5rem auto 0 auto;
        width: 15rem;

    }
}

#description {
    color: black;
    text-align: center;
}

#pagination-previous {
    left: 0;
}

#pagination-next {
    right: 0;
}

#newsletter-header {
    box-sizing: border-box;
    display: flex;
    justify-content: left;
    align-items: center;
    width: 100%;
    height: 20rem;
    padding: 2.5rem;
    background-image: url(../images/results/newsletter.jpg);
    background-size: cover;
}

#newsletter-header .pagination-control {
    position: relative;
    color: #9F8957;
}

#promo {
    color: #9F8957;
}


.body-home {
    position: relative;
    height: 100vh;
    overflow-y: hidden;
}

.body-home .welcome {
    position: absolute;
    bottom: 0;
    width: 100%;
    background-color: black;
    padding: 0;
}

.body-home .welcome .button {
    width: 20rem;
}

.body-asesor {
    display: grid;
    grid-template-columns: 25% 50% 25%;
}

.logo-asesor {
    margin: 4rem;
}

.logo-right {
    margin-left: 0;
}

.logo-left {
    margin-right: 0;
}

.logo-asesor img {
    width: 20rem;
}

@media (max-width:768px) {
    .body-asesor {
        display: flex;
        flex-direction: column;
    }

    .logo-asesor {
        margin: unset;
        display: flex;
        justify-content: center;
    }

    .logo-asesor img {
        width: 10rem;
        margin-top: 1rem;
    }

    .logo-left {
        margin-right: unset;
    }

    .logo-right {
        display: none;
    }

}

.mbe-0 {
    margin-block-end: 0;
}

.mbs-0 {
    margin-block-start: 0;
}

@media (max-width:768px) {
    .body-home .welcome {
        position: relative;
        display: flex;
        flex-direction: column;
        justify-content: center;
        margin: auto;

    }

    #footer-backgrounds {
        display: flex;
    }
}

.img-heading {
    width: 15rem;
}
@media (max-width:576px){
    .img-heading {
        width: 10rem;
    }
}

.ingredientes-container {
    display: flex;
    justify-content: center;
}

.ingredientes-container div {
    margin-top: 1rem;
    width: 30%;
}

.ingredientes-container div p {
    margin-block-start: .5em;
}

.ingredientes-container .ingrediente{
    font-size: 1rem;
}
@media (max-width:576px){
    .ingredientes-container .ingrediente{
        font-size: 1.4rem;
    }
}

.ingredientes-container img {
    width: 3rem;
}

.olfativo-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 1rem;
}

.olfativo-container img {
    margin-top: .5rem;
    width: 3rem;
}
.olfativo-container #intensidad-img {
    margin-top: 1rem;
    width: 6rem;
}

.olfativo-container p {
    margin-block-start: 0;
}

.result-btn {
    margin: .5rem auto;
}

#share-whatsapp {
    position: absolute;
    bottom: 1rem;
    right: 1rem;
    box-sizing: border-box;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
}

#share-whatsapp img {
    width: 4rem;
    height: 4rem;
}

#share-whatsapp img:hover {
    box-shadow: 0 0 2rem white;
    border-radius: 50%;
}

.loader {
    width: 50px;
    aspect-ratio: 1;
    --c: no-repeat radial-gradient(farthest-side, #e5004b 92%, #0000);
    background:
        var(--c) 50% 0,
        var(--c) 50% 100%,
        var(--c) 100% 50%,
        var(--c) 0 50%;
    background-size: 10px 10px;
    animation: l18 1s infinite;
    position: relative;
}

.loader::before {
    content: "";
    position: absolute;
    inset: 0;
    margin: 3px;
    background: repeating-conic-gradient(#0000 0 35deg, #514b82 0 90deg);
    -webkit-mask: radial-gradient(farthest-side, #0000 calc(100% - 3px), #000 0);
    border-radius: 50%;
}


@keyframes l18 {
    100% {
        transform: rotate(.5turn)
    }
}




/* ----- clases para backgrounds de resultados ------------ */
.classic-bg {
    background-image: linear-gradient(180deg, black, transparent 50%),url(../images/results/classic-bg-desktop.jpg);
}
.shine-bg {
    background-image: linear-gradient(180deg, black, transparent 50%),url(../images/results/shine-bg.jpg);
}
.glamour-bg {
    background-image: linear-gradient(180deg, black, transparent 50%),url(../images/results/glamour-bg-desktop.jpg);
}
.splendoria-bg {
    background-image: linear-gradient(180deg, black, transparent 50%),url(../images/results/splendoria-bg-desktop.jpg);
}
.beyond-bg {
    background-image: linear-gradient(180deg, black, transparent 50%),url(../images/results/beyond-bg-desktop.jpg);
}
.beyond-moon-bg {
    background-image: linear-gradient(180deg, black, transparent 50%),url(../images/results/beyond-moon-bg.jpg);
}

@media (max-width:768px) {
    .classic-bg {
        background-image: linear-gradient(180deg, black, transparent 50%),url(../images/results/classic-bg.jpg);
    }
    .glamour-bg {
        background-image: linear-gradient(180deg, black, transparent 50%),url(../images/results/glamour-bg.jpg);
    }
    .splendoria-bg {
        background-image: linear-gradient(180deg, black, transparent 50%),url(../images/results/splendoria-bg.jpg);
    }
    .beyond-bg {
        background-image: linear-gradient(180deg, black, transparent 50%),url(../images/results/beyond-bg.jpg);
    }   
}


.d-flex {
    display: flex;
}

.flex-column {
    flex-direction: column;
}

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

.justify-content-center {
    justify-content: center;
}

.d-none {
    display: none;
}