@font-face {
    font-family: 'Merienda';
    src: url('../fonts/Relaway/Copia\ de\ Raleway-Regular.ttf'),
}

@font-face {
    font-family: 'Hengelbert Regular';
    src: url('../fonts/Englebert-Regular.ttf'),
}

@font-face {
    font-family: 'ABCFavourite Mono';
    src: url('../fonts/ABCFavoritMono-Regular.woff2');
}

@font-face {
    font-family: 'Silentmind Regular';
    src: url('../fonts/Silentmind\ Demo.otf');
}

@font-face {
    font-family: 'Bebas Regular';
    src: url('../fonts/Bebas/Copia\ de\ BebasNeue\ Regular.otf');
}

 ul li { 
  list-style-type: none; 
  &:before { 
    content: '• '; 
    margin-left: -1em; 
  }
 }


:root {
    --primary-color: #002761;
    --secondary-color: #fbbb00;
    --text-color: #efefef;
    --background-color: #0073cb;
    --accent-color: #ff6400;
}


body {

    background: var(--background-color);
    background: radial-gradient(at center bottom, var(--background-color), #002E64);
    margin: 0;
    padding: 0;
    font-family: 'Merienda';
}

form {
    display: flex;
    flex-direction: column;
    width: 100%;
}

ul {
    list-style-type: '»';
}

#watermark {
    position: absolute;
    top: 30px;
    right: 30px;
    width: 50%;
}

.body-container {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    width: 100%;
}

.main-body-container {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 70%;
}

.left-decoration-container,
.right-decoration-container {
    width: 9%;
    position: relative;
    margin: 40px auto;
}


.decorative-icon {
  position: absolute;
  width: 70px;
  opacity: 0.8;
  pointer-events: none;
}


.banner {
    position: relative;
    overflow: hidden;
    margin-top: 100px;
    width: 100%;
    perspective: 1px;
    /* visibility: hidden; */
}

.elementos-svg {
    position: relative;
    width: 100%;
    height: 550px;
    overflow: hidden;
}

.svg-elements {
    position: absolute;
    width: 100%;
    height: 100%;
}



.svg-item {
    position: absolute;
    opacity: 1;
    max-width: 100%;
}

/* Posiciones individuales */
.guante {
    top: 340px;
    left: 120px;
    width: 117px;
    rotate: 90deg;
}

.rosquilla {
    bottom: 35%;
    right: 12%;
    width: 18vw;
    max-width: 117px;
    rotate: 25deg;
}

.batidora {
    top: 7%;
    right: 15%;
    width: 18vw;
    max-width: 117px;
}

.gorro {
    top: 25%;
    left: 15%;
    width: 18vw;
    max-width: 117px;
    rotate: -25deg;
}

.panque {
    top: 2.5%;
    left: 9%;
    width: 9vw;
    max-width: 58px;
    rotate: -14deg;
}

.globo {
    top: 34%;
    right: 5%;
    width: 13vw;
    max-width: 85px;
    transform: scaleX(-1);
}

.empaque-harina {
    top: 4%;
    left: 40%;
    width: 40vw;
    max-width: 500px;
    z-index: 2;
}

.que-nunca-te-falte {
    top: 20%;
    left: 38%;
    transform: translateX(-50%);
    width: 30vw;
    max-width: 345px;
    z-index: 3;
}

.crea-tu-receta {
    width: 35%;
    margin-bottom: 30px;
}

.information-icon {
    width: 20px;
    margin-left: 5px;
    
}


li:hover {
    background-color: var(--primary-color);
    color: var(--text-color);
}

li {
    padding: 2px 0 2px 5px;
    border-radius: 10px;
    transition: background-color 0.3s;
}

#tres-estrellas-logo {
    height: 75px;
}

.general-container {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    margin-top: 30px;
}



.description {
    font-size: 17px;
    text-align: center;
    color: var(--text-color);
    width: 90%;
}

.description1 {
    margin-bottom: 2rem;
    font-size: 23px;
}

.description2 {
    font-size: 14px;
    text-align: center;
    color: #000000;
    font-weight: 600;
}

.receipt-prompt {
    display: flex;
    flex-direction: column;
    width: 90%;
    padding-top: 15px;
    align-items: center;
}

.prompt {
    display: flex; 
    flex-direction: row; 
    gap: 3px;
}


.prompt-title {
    font-size: 35px;
    color: var(--text-color);
    text-align: center;
    margin: 0;
    font-weight: bolder;
    margin-bottom: 20px;
    margin-top: 20px;
}

.text-input {
    height: 48px;
    font-size: 15px;
}

.personalization-toggle {
    color: #ff6400;
    cursor: pointer;
    text-decoration: underline;
}

.btn {
    background: transparent;
    transition: scale 0.2s cubic-bezier(0, 0, 0, 1);
}

.btn:active {
    scale: 0.95;
    border: 0px;
    background: transparent;
}

.btn:disabled {
    border: 0px;
    border-color: transparent;
}

.form-filters {
    display: flex;
    flex-direction: row;
    justify-content: space-evenly;
    align-items: center;
    gap: 10px;
    margin-bottom: 50px;
}

.form-filters-elements {
    display: flex; 
    flex-direction: column; 
    justify-content: center; 
    align-items: center;
    width: 100%;
}

.subtitle {
    text-align: center;
    margin-top: 40px;
    font-size: 16px;
    font-weight: bold;
    display: flex;
    flex-direction: column;
    gap: 10px;
    align-items: center;
    justify-content: center;
}

#customize-receipt {
    display: flex;
    flex-direction: row;
    padding: 7px;
    width: 100%;
    color: var(--text-color);
    font-size: 23px;
}

.bi-caret-down-fill {
    transition: transform 0.5s ease;
}

.customize-receipt-title {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    width: 100%;
    margin-bottom: 25px;
}

#form-filters {
    margin-bottom: 40px;
}

.personalization-tooltip-text {
    font-size: 21px;
    color: var(--text-color);
    font-weight: 600;
    display: flex;
    flex-direction: row;
}

.custom-tooltip {
    font-family: 'Merienda';
    font-size: 12px;
}

.loader-container {
    width: 100%;
    height: 200px;
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 50px;
    gap: 10px;
    color: var(--text-color);
}

.pl {
    width: 6em;
    height: 6em;
}

.pl__ring {
    animation: ringA 2s linear infinite;
}

.pl__ring--a {
    stroke: var(--accent-color);
}

.pl__ring--b {
    animation-name: ringB;
    stroke: var(--text-color);
}

.pl__ring--c {
    animation-name: ringC;
    stroke: var(--accent-color);
}

.pl__ring--d {
    animation-name: ringD;
    stroke: var(--text-color);
}

.contenedor_respuesta {
    margin: auto;
    display: table;
}

.contenedor_respuesta p { 
    background: #ede8d8;
    color: black;
    font-size: 22px;
    /* font-family:'Amaranth', sans-serif; */
}
.contenedor_respuesta li { 
    background: white;
    color: black;
    font-size: 20px;
    /* font-family:'Amaranth', sans-serif; */
}

.receipt {
    position: relative;
    display: none;
    flex-direction: column;
    gap: 20px;
    width: 90%;
    text-align: center;
    border-radius: 14px;
    padding: 20px;
    margin-top: 60px;
    background-color: #0027614a;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
}


.receipt-info {
    display: flex;
    flex-direction: column;
    gap: 30px;
    justify-content: space-between;
    width: 45%;
}


.receipt-title {
    position:relative;
    font-size: 25px;
    color: #efefef;
    text-align: start;
    margin: 0;
    font-weight: bold;
    width: 90%;
}

#receipt-title-background {
    width: 100%;
}

#receipt-title-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #efefef;
    font-weight: bold;
    text-align: start;
    width: 85%;
    line-height: 40px;
    font-family: 'Bebas Regular';

}

.receipt-specs {
    display: flex;
    flex-direction: row;
    gap: 30px;
    margin-left: 5%;
    color: #efefef;
}

.receipt-spec-item {
    display: flex;
    flex-direction: column;
    gap: 10px;
    align-items: center;
}

.receipt-spec-text {
    font-size: 16px;
}


.btn-small {
    background-color: var(--secondary-color);
    color: 212121;
    border: 0px;
    border-radius: 7px;
    padding: 10px;
    transition: background-color 0.3s ease;
    width: 48px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.btn-small:hover {
    background-color: var(--secondary-color);
}

/* Receipt Section */

.receipt-section-item {
    width: fit-content;
}

.receipt-section-title {
    position: relative;
    color: #e2631c;
    font-size: 34px;
    text-align: start;
    margin-top: 10px;
    font-weight: bolder;
    font-family: 'Bebas Regular';
}

.receipt-section-icon {
    position: absolute;
    top: -20px;
    width: 48px;
    height: 48px;
}

.receipt-section-list {
    list-style-type: '»';
    text-align: start;
    font-size: 16px;
    color: #efefef;
}

/* Receipt Section */


.receipt-message {
    font-size: 50px;
    color: #efefef;
    text-align: center;
    font-family: 'Silentmind Regular';
}

#receipt-go-button-img {
    width: 100%; 
    display: block;
}

#receipt-error-text {
    font-size: 18px;
    display: block;
    color: #efefef;
    font-weight: bold;
}

.tooltip-container {
    display: flex;
    flex-direction: column;
    gap: 10px;
    justify-content: center;
    align-items: center;
    margin-left: 2px;
    margin-bottom: 3px;
}

.form-control {
    text-align: center;
    font-weight: bold;
    font-size: 16px;
}

#btn-receipt {
    width: 160px;
    height: 150px;
    border: 0px;
    margin: 0;
    
}

.btn-radio {
    border: none; 
    background: none;
}

.submit-btn-container {
    position: relative;
    cursor: pointer;
    width: 100%;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    margin-top: 45px;
}

.save-btn-container {
    position: relative;
    cursor: pointer;
    width: 100%;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    margin-top: 45px;
    display: none;
}

.btn-create-receipt-img {
    width: 17%;
    transition: all 0.3s ease;
    position: relative; 
    border: none; 
    background: none; 
    padding: 0;
}

.btn-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    font-weight: bold;
    font-size: 18px;
    pointer-events: none; /* para que no bloquee clics en la imagen */
    text-align: center;
    width: max-content;
}

.btn-save-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    font-weight: bold;
    font-size: 18px;
    pointer-events: none; /* para que no bloquee clics en la imagen */
    text-align: center;
    width: max-content;
}

.btn-create-receipt-img:active {
    scale: 0.95;
    border: 0px;
}


@keyframes ringA {
    from, 4% {
    stroke-dasharray: 0 660;
    stroke-width: 20;
    stroke-dashoffset: -330;
    }

    12% {
    stroke-dasharray: 60 600;
    stroke-width: 30;
    stroke-dashoffset: -335;
    }

    32% {
    stroke-dasharray: 60 600;
    stroke-width: 30;
    stroke-dashoffset: -595;
    }

    40%, 54% {
    stroke-dasharray: 0 660;
    stroke-width: 20;
    stroke-dashoffset: -660;
    }

    62% {
    stroke-dasharray: 60 600;
    stroke-width: 30;
    stroke-dashoffset: -665;
    }

    82% {
    stroke-dasharray: 60 600;
    stroke-width: 30;
    stroke-dashoffset: -925;
    }

    90%, to {
    stroke-dasharray: 0 660;
    stroke-width: 20;
    stroke-dashoffset: -990;
    }
}

@keyframes ringB {
    from, 12% {
    stroke-dasharray: 0 220;
    stroke-width: 20;
    stroke-dashoffset: -110;
    }

    20% {
    stroke-dasharray: 20 200;
    stroke-width: 30;
    stroke-dashoffset: -115;
    }

    40% {
    stroke-dasharray: 20 200;
    stroke-width: 30;
    stroke-dashoffset: -195;
    }

    48%, 62% {
    stroke-dasharray: 0 220;
    stroke-width: 20;
    stroke-dashoffset: -220;
    }

    70% {
    stroke-dasharray: 20 200;
    stroke-width: 30;
    stroke-dashoffset: -225;
    }

    90% {
    stroke-dasharray: 20 200;
    stroke-width: 30;
    stroke-dashoffset: -305;
    }

    98%, to {
    stroke-dasharray: 0 220;
    stroke-width: 20;
    stroke-dashoffset: -330;
    }
}

@keyframes ringC {
    from {
    stroke-dasharray: 0 440;
    stroke-width: 20;
    stroke-dashoffset: 0;
    }

    8% {
    stroke-dasharray: 40 400;
    stroke-width: 30;
    stroke-dashoffset: -5;
    }

    28% {
    stroke-dasharray: 40 400;
    stroke-width: 30;
    stroke-dashoffset: -175;
    }

    36%, 58% {
    stroke-dasharray: 0 440;
    stroke-width: 20;
    stroke-dashoffset: -220;
    }

    66% {
    stroke-dasharray: 40 400;
    stroke-width: 30;
    stroke-dashoffset: -225;
    }

    86% {
    stroke-dasharray: 40 400;
    stroke-width: 30;
    stroke-dashoffset: -395;
    }

    94%, to {
    stroke-dasharray: 0 440;
    stroke-width: 20;
    stroke-dashoffset: -440;
    }
}

@keyframes ringD {
    from, 8% {
    stroke-dasharray: 0 440;
    stroke-width: 20;
    stroke-dashoffset: 0;
    }

    16% {
    stroke-dasharray: 40 400;
    stroke-width: 30;
    stroke-dashoffset: -5;
    }

    36% {
    stroke-dasharray: 40 400;
    stroke-width: 30;
    stroke-dashoffset: -175;
    }

    44%, 50% {
    stroke-dasharray: 0 440;
    stroke-width: 20;
    stroke-dashoffset: -220;
    }

    58% {
    stroke-dasharray: 40 400;
    stroke-width: 30;
    stroke-dashoffset: -225;
    }

    78% {
    stroke-dasharray: 40 400;
    stroke-width: 30;
    stroke-dashoffset: -395;
    }

    86%, to {
    stroke-dasharray: 0 440;
    stroke-width: 20;
    stroke-dashoffset: -440;
    }
}


@keyframes loader_5191 {
    from {
    opacity: 0;
    }

    to {
    opacity: 1;
    }
}

.lm-copyRight {
    background-color: var(--primary-color);
    display: flex;
    flex-direction: row;
    gap: 3px;
    justify-content: center;
    align-items: center;
    font-size: 12px;
}

.test-info {
    padding: 10px;
}

#test-number {
    text-align: center; 
    font-size: 16px;
    color: #efefef;
}

#test-version {
    text-align: center; 
    font-size: 14px;
    color: #efefef44;
    font-family: 'ABCFavourite Mono';
    display: none;
}

#footer-privacy {
    text-decoration: none; 
    color: #efefef;
}

.receipt-pdf-bg {
    background-color: #004f99 !important;
}

.caret-rotated {
    transform: rotate(180deg) !important;
}
.caret-normal {
    transform: rotate(0deg) !important;
}

/* Mobile Screens */
@media only screen and (max-width: 768px) {

    .navbar {
		height: 75px;
	}

    #watermark {
        width: 20%;
        display: none;
    }

    .receipt-info {
        width: 100%;
    }

    .receipt-specs {
        margin: 0;
    }

    .receipt-section-title {
        font-size: 18px;
    }

    .receipt-section-icon {
        width: 30px;
        height: 30px;
    }

    .personalization-tooltip-text {
        font-size: 16px;
    }

    .btn-create-receipt-img span {
        font-size: 19px;
    }

    .btn-text {
        font-size: 15px;
    }

    #receipt-title-text {
        line-height: 20px;
    }

    .receipt-spec-text {
        font-size: 14px;
    }

    #tres-estrellas-logo {
        height: 55px;
    }

    .main-body-container {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        width: 90%;
    }

    .left-decoration-container,
    .right-decoration-container {
        display: none;
    }


    .decorative-icon {
        position: absolute;
        width: 70px;
        opacity: 0.8;
        pointer-events: none;
        display: none;
    }

    form {
        gap: 20px;
    }

    .elementos-svg {
        height: 400px;
    }

    .guante {
        top: auto;
        bottom: 40px;
        left: 10px;
        width: 60px;
        rotate: 90deg;
    }

    .rosquilla {
        bottom: 80px;
        right: 20px;
        width: 60px;
    }

    .batidora {
        top: 20px;
        right: 20px;
        width: 60px;
    }

    .gorro {
        top: 140px;
        left: 20px;
        width: 60px;
    }

    .panque {
        top: 40px;
        left: 15px;
        width: 40px;
    }

    .globo {
        top: 200px;
        right: 10px;
        width: 50px;
    }

    .empaque-harina {
        top: 150px;
        left: 50%;
        width: 200px;
        translate: -50%;
    }

    .que-nunca-te-falte {
        top: 20px;
        left: 50%;
        transform: translateX(-50%);
        width: 220px;
    }

    .crea-tu-receta {
        width: 80%;
    }

    .description {
        width: 90%; /* Cambiar el ancho al 70% en dispositivos con un ancho máximo de 768px */
    }

    .receipt-prompt {
        width: 90%; /* Cambiar el ancho al 70% en dispositivos con un ancho máximo de 768px */
    }

    .prompt-title {
        font-size: 30px; /* Cambiar el tamaño de la fuente a 30px en dispositivos con un ancho máximo de 768px */
    }

    .form-control::placeholder {
        height: 48px;
        overflow: visible;
        padding: 0;
    }


    .form-filters {
        display: flex;
        flex-direction: column;
        gap: 30px;
        margin-top: 0px;
        margin-bottom: 10px;
    }

    .subtitle {
        margin-top: 0px;
    }

    .lm-copyRight {
        display: flex;
        flex-direction: column;
        gap: 3px;
        justify-content: flex-start;
        align-items: flex-start;
        font-size: 11px;
        text-align: left;
    }

    .receipt {
        width: 100%;
    }

    .receipt-info {
        display: flex;
        flex-direction: column;
        gap: 24px;
        justify-content: center;
        align-items: center;
    }

    .receipt-title {
        font-size: 22px;
    }

    .receipt-spec-item {
        width: 32%;
    }

    #customize-receipt {
        display: flex;
        flex-direction: row;
        padding: 7px;
        width: 100%;
        color: var(--text-color);
        font-size: 20px;
    }

    .btn-create-receipt-img {
        width: 80%;
    }

    .option {
        width: 100%
    }

    .wrapper {
        flex-direction: row;
        height: max-content;
    }

}