html {
    font-family: Inter;
    font-size: 14px;
    scroll-behavior: smooth;
}

body {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 0;
}

p {
    line-height: 1.6;
}

nav {
    display: flex;
    position: relative;
    top: 0;
    left: 0;
    width: 100%;
    gap: min(41px, 7vw);
    align-items: center;
    margin: 0;
    background-color: white;
    z-index: 3;
    height: clamp(55px, 10vh, 70px);
}

.nav-link {
    cursor: pointer;
}

.nav-link:hover {
    text-decoration: underline;
}

#nav-CTA {
    margin-right: 15px;
}

#menu {
    display: none;
    margin-right: 10px;
    width: 50px;
    height: 50px;
    background-image: url(/static/images/menu.png);
    background-size: 50px 50px;
    border: none;
    background-color: transparent;
}

.menu-rotate {
    animation: rotate 0.5s forwards;
}

.menu-rotate2 {
    animation: rotate2 0.5s forwards;
}

#nav-bar.nav-hide {
    display: none;
}

#nav-bar.nav-display {
    display: flex;
}

#nav-bar {
    display: none;
    flex-direction: column;
    align-items: center;
    position: relative;
    width: 100%;
    border-bottom: 1px solid black;
    background-color: white;
    z-index: 1;
}

#nav-bar-container {
    display: flex;
    flex-direction: column;
    align-items: start;
    width: calc(100px + min(41px, 7vw) + 50px);
}

#logo {
    margin-right: auto;
    margin-left: 10px;
    /* height: 50px; */
    /* width: 50px; */
    width: 100px;
    padding: 3px;
}
  
#logo:hover {
    cursor: pointer;
}

a {
    color: black;
    text-decoration: none;
    cursor: pointer;
}

.CTA {
    position: relative;
    /* background-image: linear-gradient(to right, rgba(115, 115, 115, 1), rgba(255, 106, 0, 0.63)); */
    /* color: white; */
    border-radius: 3px;
    border: none;
    width: 14rem;
    height: 2rem;
    font-size: 14px;
    font-weight: bold;
    z-index: 1;
    /* background-color: navy; */
    background-color: white;
    color: black;
    outline: 5px solid rgba(0, 0, 128, 0.2);
}

/* .CTA::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border-radius: 5px;
    width: 100%;
    height: 100%;
    padding: 5px;
    background-color: rgba(0, 0, 128, 0.2);
    z-index: -1;
    display: none;
}

.CTA:hover::after {
    background-color: rgba(0, 0, 128, 0.5);
}

.CTA:active::after {
    background-color: rgba(0, 0, 128, 0);
} */

.CTA:hover {
    background-color: black;
    color: white;
}

.CTA:active {
    outline: 0;
}

button {
    cursor: pointer;
    touch-action: manipulation;
}

button:hover {
    filter: contrast(115%);
}

#title {
    position: relative;
    font-size: min(15vh, 15vw);
    font-weight: bold;
    text-align: center;
    margin-bottom: 0;
    font-family: roboto;
    text-shadow: 4px 4px 1px rgba(0, 84, 84, 0.2);
    /* -webkit-text-stroke: 2px orange;
    background-image: linear-gradient(to bottom, white var(--percentage), orange 0%);
    background-clip: text;
    color: transparent;
    animation: border 3s infinite; */
}

#subtitle {
    display: flex;
    align-items: center;
    position: relative; 
    font-size: max(1.5vh, 11px);
    text-align: center;
    height: 18px;
    color: #232b2b;
    margin-left: 2em;
    margin-right: 2em;
}

/* #ellipse-CTA-button {
    position: relative;
    margin-top: 20px;
    transition: width 0.3s;
} */

#ball {
    display: inline-block;
    position: relative;
    /* background-image: radial-gradient(#FFFFFF, #681614);; */
    background-color: white;
    height: 5px;
    width: 5px;
    margin-top: 2px;
    /* outline: 3px solid rgba(148, 84, 84, 0.2); */
    outline: 3px solid rgba(0, 0, 128, 0.2);
    margin-left: 7px;
}

#hero {
    --animation: '';
    align-items: center;
    border-radius: 5px;
    margin-top: 25px;
}

.hero-h2 {
    position: absolute;
    top: 20px;
    font-size: min(40px, 8vw);
    font-family: roboto;
}

#hero-text {
    --animation: '';
    animation: var(--animation);
    animation-fill-mode: forwards;
    width: min(460px, calc(80vw - 40px));
    margin-top: 20px;
    margin-bottom: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
    padding: 10px 20px;
}

#hero::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    padding: 10px;
    z-index: -1;
    width: 100%;
    height: 100%;
    /* background-image: conic-gradient(from 0deg, transparent var(--percentage), rgba(148, 84, 84, 0.5) 0%); */
    background-image: conic-gradient(from 0deg, transparent var(--percentage), rgba(0, 0, 128, 0.2) 0%);
    animation: var(--animation);
    animation-fill-mode: forwards;
    border-radius: 10px;
}

.hero-img {
    width: min(500px, 80vw);
    border-radius: 5px;
}

.hero-buy {
    position: absolute;
    bottom: 20px;
}

#fan {
    --animation: '';
    align-items: center;
    border-radius: 5px;
    margin-top: 25px;
}

#fan-text {
    --animation: '';
    animation: var(--animation);
    animation-fill-mode: forwards;
    width: min(460px, calc(80vw - 40px));
    margin-top: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
    padding: 10px 20px;
}

#fan::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    padding: 10px;
    z-index: -1;
    width: 100%;
    height: 100%;
    /* background-image: conic-gradient(from 0deg, transparent var(--percentage), rgba(148, 84, 84, 0.5) 0%); */
    background-image: conic-gradient(from 0deg, transparent var(--percentage), rgba(0, 0, 128, 0.2) 0%);
    animation: var(--animation);
    animation-fill-mode: forwards;
    border-radius: 10px;
}

img {
    width: min(500px, 80vw);
}

.card-text {
    background-image: linear-gradient(to right, white var(--percentage2), lightgrey 0%);
    margin: 0;
    padding: 20px;
}

.card-p {
    color: #232b2b;
}

.card {
    position: relative;
    display: flex;
    flex-direction: column;
    position: relative;
    margin-top: 50px;
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
    width: min(500px, 80vw);
    border-radius: 5px;
}

#c1 {
    --animation: '';
}

#c1-text {
    --animation: '';
    animation: var(--animation);
    animation-fill-mode: forwards;
}

#c2 {
    --animation: '';    
}

#c2-text {
    --animation: '';
    animation: var(--animation);
    animation-fill-mode: forwards;
}

#c1::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    padding: 10px;
    z-index: -1;
    width: 100%;
    height: 100%;
    background-image: conic-gradient(from 0deg, transparent var(--percentage), rgba(148, 84, 84, 0.5) 0%);
    animation: var(--animation);
    animation-fill-mode: forwards;
}

#c2::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    padding: 10px;
    z-index: -1;
    width: 100%;
    height: 100%;
    background-image: conic-gradient(from 0deg, transparent var(--percentage), rgba(148, 84, 84, 0.5) 0%);
    animation: var(--animation);
    animation-fill-mode: forwards;
}

#reasons {
    --animation: '';
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: relative;
    width: 80%;
    max-width: 500px;
    margin-top: 70px;
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
    /* background-image: linear-gradient(to right, #141F35, #3C5B9B); */
    background-color: #141F35;
    color: white;
    border-radius: 5px;
}

#reasons::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    padding: 10px;
    z-index: -1;
    width: 100%;
    height: 100%;
    background-image: conic-gradient(from 0deg, transparent var(--percentage), rgba(148, 84, 84, 0.5) 0%);
    animation: var(--animation);
    animation-fill-mode: forwards;
    border-radius: 10px;

}

.reason {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

.reason-img {
    width: 50px;
    height: 50px;
    margin-right: 3rem;
    font-size: 50px;
}

.reason-p {
    color: lightgrey;
}

#FAQ {
    --animation: '';
    display: flex;
    flex-direction: column;
    align-items: center;
    background-color: #ECECEC;
    width: 100%;
    margin-top: 70px;
    padding: 20px 0px 20px 0px;
    position: relative;
}

#FAQ::after {
    content: '';
    position: absolute;
    bottom: 0;
    padding-top: 10px;
    z-index: -1;
    width: 100%;
    height: 100%;
    background-image: linear-gradient(to right, black var(--percentage), transparent 0%);
    animation: var(--animation);
    animation-fill-mode: forwards;
}

.FAQ-item {
    background-color: #D4D4D4;
    border-radius: 4px;
    padding: 20px;
    width: 80%;
    margin-bottom: 1rem;
    cursor: pointer;
}

.hide {
    display: none;
}

.show {
    display: block;
}

.Q-btn-container {
    display: flex;
    user-select: none;
}

.question {
    margin-right: auto;
}

.answer {
    color: darkslategrey;
}

#weight-table {
    margin-top: 15px;
}

.FAQ-button {
    background-color: transparent;
    border: none;
    padding: 5px;
    font-size: 20px;
}

.FAQ-button:hover {
    color: grey;
}

.FAQ-button-rotate {
    animation: FAQ-btn-rotate 0.5s forwards;
}

.FAQ-button-rotate2 {
    animation: FAQ-btn-rotate2 0.5s forwards;
}

#break {
    --animation: '';
    /* background-image: linear-gradient(to left, lightblue var(--percentage), transparent 0%); */
    background-image: linear-gradient(to left, #141F35 var(--percentage), transparent 0%);
    animation: var(--animation);
    animation-fill-mode: forwards;
    position: relative;
    height: 10px;
    width: 100%;
    margin-top: 70px;
    /* background-color: #C0F6FB; */
    background-color: #3C5B9B;
}

#products-frame {
    --animation: '';
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background-color: white;
    width: 100%;
    position: relative;
    min-height: 100vh;
    box-sizing: border-box;
}

#products-frame::after {
    content: '';
    position: absolute;
    bottom: 0;
    padding-top: 10px;
    z-index: -1;
    width: 100%;
    height: 100%;
    background-image: linear-gradient(to right, black var(--percentage), transparent 0%);
    animation: var(--animation);
    animation-fill-mode: forwards;
}

.products {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2rem;
}

.product {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 1rem;
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
    border-radius: 25px;
}

.product-background {
    display: flex;
    justify-content: center;
    width: 190px;
    height: 150px;
    background-color: #0E0604;
    border-radius: 25px 25px 0 0;
    border: 2px solid white;
}

.product-picture {
    border-radius: 25px 25px 0 0;
    width: 150px;
    height: 150px;
    aspect-ratio: 1 / 1;
}

.product-information {
    background-color: white;
    border-radius: 0 0 25px 25px;
    font-weight: bold;
    width: 190px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    border: 2px solid white;
    text-align: center;
}

.product-label {
    margin: 0.5rem;
}

.product-stars {
    margin-bottom: 0.5rem;
    color: grey;
}

.fa {
    position: relative;
}

#half-star {
    position: absolute;
    color: orange;
    left: 0;
    z-index: 1;
}

#half-star::before {
    font-family: FontAwesome;
    content: '\f089';
    color: orange;
    z-index: 1;
}

.rating {
    text-decoration: underline;
}

.rating:hover {
    color: #0096FF;
}

.rating:active {
    color: #0096FF;
}

.prices {
    margin-bottom: 1rem;
}

.former-price {
    color: grey;
    text-decoration: line-through;
}

.sale {
    color: red;
}

.buy-product {
    width: 5rem;
    margin-bottom: 1rem;
    border-radius: 5px;
    z-index: 1;
}

.buy-product::after {
    border-radius: 10px;
}

#contact-popup {
    background-color: rgba(0, 0, 0, 0.3);
    opacity: 0;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    transition: opacity 0.3s ease-in-out;
    z-index: -5;
    display: flex;
    align-items: center;
    justify-content: center;
}

#contact-popup-inner {
    position: relative;
    background-color: white;
    border-radius: 5px;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.3);
    padding: 15px 25px;
    text-align: center;
    width: 380px;
}

#contact-popup.open {
    opacity: 1;
    z-index: 5;
}

h2 {
    margin-top: 0;
}

table, th, td {
    color: black;
    border-collapse: collapse;
    border: 2px solid grey;
}

.close-popup {
    position: absolute;
    top: 0;
    right: 0;
    width: 50px;
    height: 50px;
    color: white;
    background-color: black;
}

.close-popup:active {
    background-color: white;
    color: black;
}

button:disabled {
    opacity: 0.5;
    cursor: default;
}

@-webkit-keyframes loading {
0% {
    -webkit-transform: rotate(0deg);
    transform: rotate(0deg);
}
100% {
    -webkit-transform: rotate(360deg);
    transform: rotate(360deg);
}
}

@keyframes loading {
0% {
    -webkit-transform: rotate(0deg);
    transform: rotate(0deg);
}
100% {
    -webkit-transform: rotate(360deg);
    transform: rotate(360deg);
}
}

.ball-animation {
    /* animation: ball 0.3s ease-in forwards; */
    animation: ball 0.1s ease-in forwards;
}

.ball-animation2 {
    /* animation: ball2 0.3s linear forwards; */
    animation: ball2 0.1s linear forwards;
}

@property --percentage {
    syntax: "<percentage>";
    initial-value: 100%;
    inherits: false;
}

@property --percentage2 {
    syntax: "<percentage>";
    initial-value: 0%;
    inherits: false;
}

@keyframes border {
    from {--percentage: 100%;}
    to {--percentage: 0%;}
}

@keyframes ball {
    from {top: 0px;}
    /* to {top: 100px;} */
    to {top: 20px;}
}

@keyframes border2 {
    from {--percentage: 0%;}
    to {--percentage: 100%;}
}

@keyframes ball2 {
    /* from {top: 100px;} */
    from {top: 20px;}
    to {top: 0px;}
}

@keyframes txt {
    from {--percentage2: 0%;}
    to {--percentage2: 100%;}
}

@keyframes txt2 {
    from {--percentage2: 100%;}
    to {--percentage2: 0%;}
}

@keyframes input {
    from {
        outline-offset: 0px;
        outline-width: 0px;
    }
    to {
        outline-offset: 2px;
        outline-width: 3px;
    }
}

@keyframes rotate {
    from {transform: rotate(0deg);}
    to {transform: rotate(90deg)}
}

@keyframes rotate2 {
    from {transform: rotate(90deg);}
    to {transform: rotate(180deg);}
}

@keyframes FAQ-btn-rotate {
    from {transform: rotate(0deg);}
    to {transform: rotate(45deg);}
}

@keyframes FAQ-btn-rotate2 {
    from {transform: rotate(45deg);}
    to {transform: rotate(90deg);}
}

@media only screen and (max-width: 700px) {
    nav {
        justify-content: center;
    }

    .nav-link {
        display: none;
    }

    #nav-CTA {
        display: none;
    }

    #menu {
        display: inline;
        margin: 0;
    }

    #logo {
        margin: 0;
    }

    a {
        margin: 1rem;
        margin-left: 0;
    }
}

@media only screen and (max-width: 550px) {
    #subtitle {
        font-size: 11px;
    }
}

@media only screen and (max-width: 450px) {
    .products {
        flex-direction: column;
    }
}