:root {
    --dark-color: #113559;
    --light-color: #20a5de;
    --bright-color: #f4f8f9;
    --gold-color: #ffa022;
    --black-color: #1d1d1b;
}

@font-face {
    font-family: "Poppins";
    src: url("fonts/Poppins-Medium.ttf") format("truetype");
    font-weight: normal;
    font-style: normal;
    color: var(--black-color);
}

@font-face {
    font-family: "Poppins";
    src: url("fonts/Poppins-Bold.ttf") format("truetype");
    font-weight: bold;
    font-style: normal;
    color: var(--black-color);
}

@font-face {
    font-family: "Poppins";
    src: url("fonts/Poppins-Italic.ttf") format("truetype");
    font-weight: normal;
    font-style: italic;
    color: var(--black-color);
}

@font-face {
    font-family: "Poppins";
    src: url("fonts/Poppins-BoldItalic.ttf") format("truetype");
    font-weight: bold;
    font-style: italic;
    color: var(--black-color);
}

@font-face {
    font-family: "NotablyAbsent";
    src: url("fonts/NotablyAbsent-Regular.otf") format("opentype");
    font-weight: normal;
    font-style: normal;
    color: var(--black-color);
}

body {
    font-family: "Poppins", sans-serif;
}

strong, b {
    font-weight: bold;
}

em, i {
    font-style: italic;
}

h1, h2, h3, h4, h5, h6 {
    font-family: "NotablyAbsent", serif;
}

body {
    background-color: var(--bright-color);
}

.product-title {
    color: var(--light-color);
}

.color-dark {
    color: var(--dark-color);
}

.color-light {
    color: var(--light-color);
}

.color-bright {
    color: var(--bright-color);
}

.custom-banner {
    background-color: var(--gold-color);
    border-radius: 1rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    margin: 10px auto;
    width: calc(100% - 20px);
    padding: 0.5rem 1rem;
    transition: all 0.3s ease-in-out;
}

.fixed-top-banner {
    position: fixed;
    top: 80px;
    right: 0;
    left: 0;
    z-index: 1020; /* deve essere sotto alla navbar*/
}

@media only screen and (max-width: 768px) {
    .fixed-top-banner {
        top: 60px;
    }
}

.custom-navbar {
    background-color: var(--light-color);
    border-radius: 1rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    margin: 10px auto;
    width: calc(100% - 20px);
    padding: 0.5rem 1rem;
    transition: all 0.3s ease-in-out;
}

.custom-navbar .nav-link {
    position: relative;
    font-weight: 500;
    color: var(--bright-color) !important;
    margin: 0 10px;
    transition: color 0.3s ease-in-out;
}

.custom-navbar .nav-link::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0%;
    height: 2px;
    background-color: var(--bright-color);
    transition: width 0.3s ease-in-out;
}

.custom-navbar .nav-link:hover {
    color: var(--bright-color) !important;
}

.custom-navbar .nav-link:hover::after {
    width: 100%;
}

.navbar-brand img {
    max-height: 50px;
}

.navbar-toggler {
    border: none;
}

.navbar-toggler:focus {
    box-shadow: none;
}

section {
    margin: 50px 10px;
    border-radius: 1rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    padding: 20px;
    transition: all 0.3s ease-in-out;
}

@media only screen and (max-width: 768px) {
    section {
        margin: 80px 10px;
    }
}

.right-section {
    background-color: var(--dark-color);
    color: var(--bright-color);
    border-radius: 1rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    padding: 20px;
}

.btn {
    text-transform: uppercase;
    font-weight: 600;
}

.right-section .btn-primary {
    background-color: var(--bright-color);
    border-color: var(--bright-color);
    color: var(--dark-color);
    transition: all 0.3s ease-in-out;
}

.right-section .btn-primary:hover {
    background-color: var(--light-color);
    border-color: var(--light-color);
    color: var(--bright-color);
    transition: all 0.3s ease-in-out;
}

.right-section p {
    line-height: 18px;
    margin-bottom: 10px;
}

a {
    color: var(--dark-color);
    text-decoration: none;
    transition: color 0.3s ease-in-out;
}

a:hover {
    color: var(--light-color);
}

.element-box {
    position: relative;
    margin: 20px auto;
    max-width: 500px;
    border-radius: 1rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    padding: 10px;
    transition: all 0.2s ease-in-out;
    overflow: hidden;
}

.element-box-big {
    max-width: 1000px;
    padding: 20px;
    line-height: 4em;
}

.element-box-bg {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background-size: cover;
    background-position: center;
    filter: blur(3px);
    z-index: 0;
}

.element-box-content {
    position: relative;
    z-index: 1;
    font-size: 30px;
    font-weight: 600;
    text-transform: uppercase;
    background-color: rgba(255, 255, 255, 0.7);
    color: var(--dark-color);
    padding: 10px;
    border-radius: 1rem;
}

.element-box-content-sm {
    font-size: 20px;
}

.element-box:hover {
    cursor: pointer;
    transform: scale(1.05);
}

.ribbon {
    position: absolute;
    top: 30px;
    right: -40px;
    background: var(--gold-color);
    color: black;
    padding: 5px 50px;
    font-size: 14px;
    font-weight: bold;
    transform: rotate(45deg);
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
    z-index: 2;
    line-height: 2em;
    text-align: center;
}

.footer {
    font-size: 12px;
    line-height: 15px;
}

.no-margin {
    margin: 0 !important;
}

.form-control:focus, .form-check-input:focus {
    border-color: var(--light-color);
    box-shadow: 0 0 0 .15rem rgba(32, 165, 222, 0.25);
}

.btn-primary {
    background-color: var(--light-color);
    border-color: var(--light-color);
}

.btn-primary:hover {
    background-color: var(--dark-color);
    border-color: var(--dark-color);
}

.btn-lower {
    background-color: var(--dark-color);
    border-color: white;
    font-size: 14px;
    color: white;
}

.btn-lower:hover {
    color: var(--dark-color);
    background-color: white;
    border-color: var(--dark-color);
}

.btn-lower:hover .fa-solid {
    color: var(--dark-color);
}

.fa-solid {
    margin-right: 5px;
}

.icon-invert {
    margin-right: 0px;
    margin-left: 5px;
}

a .fa-solid {
    color: white;
    transition: color 0.3s ease-in-out;
}

a .fa-solid:hover {
    color: var(--light-color);
}

.btn .fa-solid:hover {
    color: white;
}

@media only screen and (max-width: 768px) {
    .navbar-brand img {
        max-width: 200px;
    }
}

.progress {
    height: 30px;
    margin: 10px 0px;
}

.progress-bar {
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    background-color: var(--light-color);
}

.icon-same-width {
    width: 20px;
    display: inline-block;
    text-align: center;
}

#scrollButton {
    top: 120px;
    opacity: 0;
    transition: all 0.5s;
    padding: 10px 15px;
}

@media only screen and (max-width: 768px) {
    #scrollButton {
        /* display: none; */
        top: 140px;
    }
}

.scroll-btn-hidden {
    opacity: 0;
    pointer-events: none;
    transition: all 0.4s ease;
}

.scroll-btn-visible {
    opacity: 1 ! important;
    pointer-events: auto;
    transition: all 0.4s ease;
}

.banner-text {
    width: 100%;
    text-align: center;
    margin-bottom: 0;
    color: var(--dark-color);
    font-size: 14px;
}

.btn-big {
    font-size: 20px;
    padding: 10px 20px;
}

.product-description h2, .product-description h3, .product-description h4 {
    margin-top: 50px;
}

.product-description .text-red {
    color: #e74c3c;
}

.prod-box {
    padding: 20px;
    border-radius: 1rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    margin: 10px;
    height: calc(100% - 20px);
}

.prod-box-special {
    padding: 20px;
    border-radius: 1rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    margin: 10px;
    background-color: var(--dark-color);
    color: var(--bright-color);
}

.prod-box-special b {
    font-size: 18px;
}

.video-wrapper {
    position: relative;
    width: 100%;
    padding-top: 56.25%;
    overflow: hidden;
    border-radius: 1rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.video-wrapper video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.expand-section {
    margin: 10px auto;
    padding: 20px;
    border-radius: 1rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease-in-out;
    background-color: var(--dark-color);
    color: var(--bright-color);
}

.expand-section:hover {
    cursor: pointer;
}

.expand-section .chevron {
    margin-right: 20px;
    transition: transform 0.3s ease;
}

.expand-section[aria-expanded="true"] .chevron {
    transform: rotate(180deg);
}

.card-body {
    border-radius: 1rem;
}

.bundle-box {
    padding: 20px;
    border-radius: 1rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    margin: 10px;
    background-color: var(--dark-color);
    color: var(--bright-color);
}

.bundle-box-title {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 10px;
}

.bundle-box-price {
    background-color: white;
    padding: 10px 20px;
    border-radius: 1rem;
    color: var(--dark-color);
    font-weight: 600;
    margin: 20px 0px;
    display: inline-block;
}

.bundle-box-price-old {
    text-decoration: line-through;
    color: #999;
    font-size: 14px;
}

.card p {
    margin-bottom: 0px ! important;
}

.grecaptcha-badge {
    bottom: 70px !important;
}