@charset "utf-8";
/* -----Custom properties----- */
:root {
    --primary-color: #ff3b6f;
    --secondary-color: #FF8941;
    --light-color: #fff;
    --dark-color: #000;
    --success-color: #47b192;
    --btn-color: #B7274B;
    --font-primary: 'Montserrat', sans-serif;
    --font-secondary: 'Inter', sans-serif;
    --btn-primary-color: #fff;
    --btn-primary-bg: #EB5276;
    --btn-primary-hover: #B7274B;
    --btn-primary-border: #EB5276;
    --btn-primary-border-hover: #B7274B;
    --btn-primary-active-bg: #B7274B;
    --btn-primary-radius: 10px;
    --btn-outline-primary-color: #EB5276;
    --border-primary-color: rgba(255, 131, 68, 0.5);
    --progress-bar-bg: #ff8344;
    --btn-choice-bg: #EB5276;
    --btn-choice-border: #EB5276;
    --btn-choice-border-hover: #B7274B;
    --btn-choice-hover: #B7274B;
    --progress-bar-result: #13bf8f;
    --border-width: #EB5276;
}

/* -----Custom properties----- */

body, html {
    margin: 0;
    padding: 0;
    height: 100%;
    font-family: var(--font-secondary);
    overflow-x: hidden;
    color: var(--dark-color);
}

.navbar {
    position: absolute !important;
    top: 0;
    width: 100%;
    z-index: 10 !important;
}

.navbar-brand {
    width: 160px;
}

h1, h2, h3, h4, h5, .h1, .h2, .h3, .h4, .h5 {
    font-family: var(--font-primary);
}

h2, .h2 {
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: -1px;
}

.h3, h3 {
    font-size: 1.5rem;
}

.h4, h4 {
    font-size: 1.35rem;
}

a {
    color: var(--dark-color);
}

small, .small {
    font-size: 0.8em;
}

.blockquote {
    font-size: 1.05rem;
}

.hero-section {
    color: var(--light-color);
    position: relative;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    overflow: hidden;
}

.page .hero-section {
    overflow: initial;
}

.progress {
    height: 0.5rem;
}

.text-primary {
    color: var(--secondary-color) !important;
}

.bg-primary {
    background-color: var(--progress-bar-bg) !important;
}

.btn-primary {
    min-height: 64px;
    font-weight: bold;
    background: var(--btn-primary-bg);
    color: var(--btn-primary-color);
    border-color: var(--btn-primary-border);
    border-radius: var(--btn-primary-radius);
}

.btn.btn-primary:focus, .btn.btn-primary:active, .btn.btn-primary:focus:active {
    background: var(--btn-primary-active-bg)!important;
}

.btn.btn-primary:hover {
    background: var(--btn-primary-hover)!important;
    border-color: var(--btn-primary-border-hover)!important;
}

.btn-outline-primary {
    --bs-btn-color: var(--btn-outline-primary-color);
    --bs-btn-border-color: var(--btn-outline-primary-color);
    --bs-btn-hover-color: #fff;
    --bs-btn-hover-bg: var(--btn-outline-primary-color);
    --bs-btn-hover-border-color: var(--btn-outline-primary-color);
    --bs-btn-active-color: #fff;
    --bs-btn-active-bg: var(--btn-outline-primary-color);
    --bs-btn-active-border-color: var(--btn-outline-primary-color);
    min-height: 64px;
    font-weight: bold;
    border-radius: var(--btn-primary-radius);
}

.border-primary {
    border-color: var(--border-primary-color) !important;
}

.form-check-input {
    border: var(--border-width) 1px solid !important;
}

.form-check-input:checked {
    background-color: var(--primary-color);
    border-color: var(--border-primary-color);
}

.choice-btn.selected {
    background-color: var(--btn-choice-bg) !important;
    border-color: var(--btn-choice-border) !important;
}

.input-group {
    height: 55px;
}

#quizz {
    min-height: 70vh;
}

#loading-screen {
    transition: opacity 0.3s ease;
}

.flag {
    max-width: 25px;
    bottom: 33px !important;
    right: 10px !important;
    z-index: 9;
}

.flagtesti {
    width: 15px;
}

.profile {
    position: relative;
    top: -65px;
}

.curve {
    max-height: 350px;
}

.shape {
    max-height: 150px;
}

.card.choice {
    cursor: pointer;
}

.progress-bar {
    background-color: var(--progress-bar-result);
}

#result_weight_loss_per_month {
    bottom: 20px;
    right: 50px;
    width: 1.3rem;
    height: 1.3rem;
}

#result_target_weight {
    bottom: 50px;
    right: 20px;
}

.beforeafter {
    width: 60px;
}

.university {
    height: 40px;
}

.price {
    border: 2px dashed green !important;
}

.testimonial {
    width: 50px;
    height: 50px;
}

.video-container-grid .position-relative {
    height: 100%;
}

.video-container-grid video {
    width: 100%;
    height: 420px;
    object-fit: cover;
    object-position: top;
    border-radius: 1rem;
}

#videoCarousel video {
    width: 100%;
    aspect-ratio: 16 / 11;
    object-fit: cover;
    border-radius: 1rem;
}

#videoCarousel .carousel-indicators {
    position: static !important;
    margin: 0 !important;
}

#videoCarousel .carousel-indicators [data-bs-target] {
    width: 30px;
    height: 5px;
    border-radius: 5px;
    background-color: var(--progress-bar-bg);
    opacity: 0.5;
}

#videoCarousel .carousel-indicators .active {
    opacity: 1;
}

#videoCarousel .play-overlay {
    pointer-events: none;
}

#videoCarousel .play-video-btn {
    pointer-events: auto;
}

.play-video-btn {
    width: 50px;
    height: 50px;
    cursor: pointer;
}

.play-overlay .play-video-btn {
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.play-overlay .play-video-btn i {
    background-color: white;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    transition: transform 0.2s ease-in-out;
}

.play-overlay .play-video-btn:hover i {
    transform: scale(1.1);
}

.heartbeat-loader {
    width: 150px;
    height: 40px;
    margin: 0 auto;
}

.heartbeat-svg {
    width: 100%;
    height: 100%;
}

.heartbeat-path {
    stroke: var(--primary-color);
    stroke-dasharray: 200;
    stroke-dashoffset: 200;
    animation: draw-heartbeat 2s linear infinite;
}

@keyframes draw-heartbeat {
    0% {
        stroke-dashoffset: 200;
    }
    50% {
        stroke-dashoffset: 0;
    }
    100% {
        stroke-dashoffset: -200;
    }
}

.form-control {
    border: 2px solid var(--border-primary-color);
}

#videoCarousel .carousel-item {
    transition: transform 0.3s ease-in-out;
}

.medal {
    width: 40px;
}

.is-invalid-shake {
    animation: shake 0.5s;
    border-color: #dc3545 !important;
}

@keyframes shake {
    10%, 90% {
        transform: translate3d(-1px, 0, 0);
    }
    20%, 80% {
        transform: translate3d(2px, 0, 0);
    }
    30%, 50%, 70% {
        transform: translate3d(-4px, 0, 0);
    }
    40%, 60% {
        transform: translate3d(4px, 0, 0);
    }
}

@media (max-width: 1399px) {
    #result_weight_loss_per_month {
        bottom: 16px;
    }

    #result_target_weight {
        bottom: 46px;
    }
}

@media (max-width: 1199px) {
    #result_weight_loss_per_month {
        bottom: 18px;
    }

    #result_target_weight {
        bottom: 47px;
    }
}

@media (max-width: 991px) {
    h2, .h2 {
        font-size: 1.3rem;
    }

    .lead {
        font-size: 1.15rem;
    }

    .navbar-brand {
        width: 150px;
    }

    #result_weight_loss_per_month {
        bottom: 22px;
    }

    #result_target_weight {
        bottom: 50px;
    }

    .fs-5 {
        font-size: 1.05rem !important;
    }
}

@media (max-width: 767px) {
    #result_weight_loss_per_month {
        bottom: 16px;
    }

    #result_target_weight {
        bottom: 42p;
    }
}

@media (max-width: 575px) {
    li {
        font-size: .7em;
    }

    .blockquote {
        font-size: .9em;
    }
}

@media (max-width: 496px) {
    #result_weight_loss_per_month {
        bottom: 15px;
    }

    #result_target_weight {
        bottom: 43px;
    }
}

@media (max-width: 420px) {
    #result_weight_loss_per_month {
        bottom: 12px;
    }

    #result_target_weight {
        bottom: 40px;
    }
}


