/* General */
html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed,
figure, figcaption, footer, header, hgroup,
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
    margin: 0;
    padding: 0;
    border: 0;
    font-size: 100%;
    font: inherit;
    vertical-align: baseline;
}

article, aside, details, figcaption, figure,
footer, header, hgroup, menu, nav, section {
    display: block;
}

body {
    line-height: 1;
}

ol, ul {
    list-style: none;
}

blockquote, q {
    quotes: none;
}

blockquote:before, blockquote:after,
q:before, q:after {
    content: '';
    content: none;
}

table {
    border-collapse: collapse;
    border-spacing: 0;
}

html, body {
    font-family: "Readex Pro", Sans-serif;
    margin: 0;
    padding: 0;
}

body {
    background: black;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: white;
}

button {
    background-color: transparent;
    border: none;
    margin: 0;
    padding: 0;
    text-align: inherit;
    font: inherit;
    border-radius: 0;
    appearance: none;
    outline: none;
    box-shadow: none;
    cursor: pointer;
}

button:focus, button:active {
    outline: none;
    box-shadow: none;
    border: none;
}



/* header section */
header {
    display: flex;
    flex-direction: column;
    width: 100%;
    height: 150px;
}

header .upper {
    padding: 0px 10%;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    background-color: #112967;
    color: white;
}

header button {
    display: flex;
    align-items: center;
    gap: 15px;
    background-color: #ffffff00;
    color: white;
    padding: 10px 20px;
    font-size: 16px;
}

header .upper .right {
    display: flex;
    flex-direction: row-reverse;
    justify-content: center;
    align-items: center;
}

header button h6 {
    margin: 0px;
}

header .upper .right h6 {
    font-weight: 200;
}

header .upper .left h6 {
    font-weight: 800;
}

.emailicon {
    fill: white;
    width: 1em;
}

header .separator {
    font-size: 20px;
    font-weight: 100;
}

header .lower {
    padding: 0px 10%;
    border-bottom: 1px solid #ddd;
    background-color: white;

}

.navbar {
    height: 100px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 10%;
    background-color: #fff;
}

.logo img {
    height: 50px;
}

.menu {
    display: flex;
    flex-direction: row-reverse;
    align-items: center;
    gap: 60px;
}

.menu-item {
    font-family: "Readex Pro", Sans-serif;
    font-weight: 300;
    text-transform: uppercase;
    position: relative;
    font-size: 18px;
    color: black;
    text-decoration: none;
    padding: 10px 0;
}

.menu-item:hover {
    color: black;
    text-decoration: none;
}

.menu-item::after {
    content: '';
    position: absolute;
    bottom: 1px;
    left: 0;
    right: 0;
    height: 2px;
    background-color: red;
    opacity: 0;
    transition: opacity 0.2s;
}

.menu-item.active::after, .menu-item:hover::after {
    opacity: 1;
    background-color: red;
    /* Change to orange */
}

.icons {
    display: flex;
    gap: 30px;
}

.icon {
    position: relative;
    font-size: 24px;
    color: black;
    text-decoration: none;
}

.icon:hover {
    text-decoration: none;
}

/* the red circle above the shopping cart */
.cart-count {
    position: absolute;
    top: -10px;
    right: -10px;
    background-color: red;
    color: white;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 12px;
}



/* Container for the entire slider section*/
#heroSlider {
    width: 100%;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background-color: white;
    padding: 1% 0;
}

#heroSlider .slider-container {
    position: relative;
    width: 80%;
    max-width: 100%;
    overflow: hidden;
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.1);
}

/* holds all the slides */
#heroSlider .slider {
    display: flex;
    transition: transform 0.4s ease-in-out;
}

/* Each  slide */
#heroSlider .slide {
    min-width: 100%;
    height: 100%;
    transition: transform 0.5s ease-in-out;
}

#heroSlider .slide img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

/*  previous and next navigation buttons */
#heroSlider .prev, #heroSlider .next {
    font-size: 30px;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(0, 0, 0, 0);
    color: #E4193F;
    border: none;
    width: 40px;
    height: 40px;
    cursor: pointer;
    z-index: 10;
    border-radius: 50%;
    transition: background-color 0.3s ease;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0;
    outline: none;
    border: none;
}

#heroSlider .prev {
    left: 10px;
}

#heroSlider .next {
    right: 10px;
}

#heroSlider .prev:hover, #heroSlider .next:hover {
    background-color: rgba(0, 0, 0, 0.8);
    outline: none;
    border: none;
}

#heroSlider .prev:active, #heroSlider .next:active {
    outline: none;
    border: none;
}

/* dot indicators below the slider */
#heroSlider .dots-container {
    margin-top: -35px;
    z-index: 10;
    display: flex;
    justify-content: center;
    align-items: center;
}

#heroSlider .dot {
    height: 25px;
    width: 25px;
    margin: 0 5px;
    background-color: rgba(255, 255, 255, 0.5);
    /* Semi-transparent white background */
    border-radius: 50%;
    display: inline-block;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

#heroSlider .dot.active {
    background-color: #E4193F;
}


#herotext {
    padding: 3% 0;
}

#herotext h2 {
    color: #333333;
    font-family: "Readex Pro", Sans-serif;
    font-weight: 600;
    line-height: 3.5rem;
    text-align: center;
}

.products-slider {
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 0 10%;
    margin: 2rem 0;
}

.products-slider .title {
    color: #333333;
    font-family: "Readex Pro", Sans-serif;
    font-size: 3.6vw;
    font-weight: 600;
    line-height: 2.5rem;
    text-align: center;
    padding: 7% 0;
}

.products-slider .upper {
    display: flex;
    flex-direction: row-reverse;
    justify-content: space-between;
}

.products-slider .upper .btns {
    width: 40%;
    display: flex;
    flex-direction: row;
    justify-content: flex-start;

}

.products-slider .upper h2 {
    font-family: "Readex Pro", Sans-serif;
    text-align: right;
    font-size: 1.75rem;
    color: #333;
    font-weight: 600;
    padding-right: 0.5em;
}

.productsTitle {
    display: flex;
    align-items: center;
}


.redbox {
    width: 22px;
    height: 50px;
    background-color: #E4193F;
    border-radius: 5px;
}

.products-slider .slider-container {
    display: flex;
    gap: 6%;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    -ms-overflow-style: none;
    position: relative;
    padding: 6% 0;
}

.slider-container::-webkit-scrollbar {
    display: none;
}

.product-card {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-content: center;
    flex: 0 0 20%;
    background-color: #fff;
    text-align: center;
    padding: 1rem;
    border-radius: 10px;
    border: solid 2px #F0F0F0;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    scroll-snap-align: start;
    height: 390px;
}

.product-card img {
    align-self: center;
    width: 50%;
    height: 50%;
    margin-bottom: 1rem;
    object-fit: contain;
}

.product-card h3 {
    font-size: 1rem;
    font-family: "Readex Pro", Sans-serif;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: #333;
    text-align: right;
}

.product-card .price {
    font-family: "Readex Pro", Sans-serif;
    text-align: right;
    font-weight: 600;
    font-size: 16px;
    color: #E4193F;
    margin: 0.5rem 0;
    font-size: 1.1rem;
}

.add-to-cart {
    width: 100%;
    font-family: "Readex Pro", Sans-serif;
    fill: #333333;
    background-color: #ffffff;
    color: #000000;
    border: solid 1px black;
    padding: 0.5rem 1rem;
    border-radius: 5px;
    cursor: pointer;
    font-size: 0.9rem;
    transition: background-color 0.3s;
}

.add-to-cart i {
    padding: 0 3%;
}

.add-to-cart:hover {
    background-color: #E4193F;
    color: #ddd;
    border: solid 1px rgba(0, 0, 0, 0);
}

.prev-arrow, .next-arrow {
    background: #f5f5f5;
    border: none;
    cursor: pointer;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 40;
    font-size: 2.5em;
    border-radius: 50%;
    padding: 0;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    color: #000000;
    font-weight: 600;
}

.next-arrow {
    position: relative;
    right: -10%;
}

.prev-arrow:hover, .next-arrow:hover {
    background-color: #E4193F;
    color: white;
}

.products-slider .mainBtn {
    align-self: center;
    width: fit-content;
    font-size: 18px;
    padding: 20px 40px;
    font-family: "Readex Pro", Sans-serif;
    font-weight: 400;
    fill: #FFFFFF;
    color: #FFFFFF;
    background-color: #E4193F;
    border-radius: 7px 7px 7px 7px;
    margin-top: 2%;
    transition: 0.4s;
}

.products-slider .mainBtn:hover {
    background-color: #112967;
}

.productsGerma {
    padding-top: 5%;
}

#gallery {
    width: 100%;
    display: flex;
    flex-direction: row;
    justify-content: space-around;
    align-items: center;
    padding: 0 10%;
}

#gallery img {
    width: 30%;
    margin-bottom: 20px;
}

#licenses {
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background-color: white;
    padding-top: 5%;
}

#licenses h2 {
    color: #333333;
    font-family: "Readex Pro", Sans-serif;
    font-weight: 600;
    line-height: 3.5rem;
    text-align: center;
    padding-bottom: 4%;
    padding-top: 4%;
}

#licenses .container {
    width: 100%;
    box-sizing: border-box;
    margin: 0;
    background-color: #F7F7F7;
    display: flex;
    flex-direction: row;
    justify-content: space-around;
    align-items: center;
    padding: 7% 10%;
    max-width: 100%;
}


#licenses .container img {
    max-width: 190px;
    max-height: 80px;
    margin: 0 6px;
    transition: 0.2s;
}

#licenses .container img:hover {
    transform: scale(1.1);

}
.float {
    position: fixed;
    width: 70px;
    height: 70px;
    bottom: 100px;
    right: 36px;
    background-color: #112967;
    color: #FFF;
    border-radius: 50%;
    text-align: center;
    font-size: 30px;
    z-index: 100;

}
.float:hover{
    background-color: #15337e;
    color: white;
}
.my-float {
    display: inline-block;
    line-height: 70px; 
}

footer {
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding-top: 6%;
}

footer .up {
    background-color: white;
    margin: 5% 10%;
    padding: 1% 0 5%;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    border-bottom: solid 0.6px #333333;
}

footer .up .social {
    width: 40%;
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    align-items: center;
    gap: 10%;
}

footer .up .social img {
    width: 30px;
    height: auto;
    transition: 0.1s;
}

footer .up .social img:hover {
    transform: scale(1.1);
}

footer h3, footer h4 {
    font-family: "Readex Pro", Sans-serif;
    color: #333333;
}

footer h4 {
    font-weight: 300;
    font-size: 16px;
    padding-bottom: 5%;
}



footer .down {
    margin: 0 10%;
    padding: 2% 5%;
    display: flex;
    flex-direction: row-reverse;
    justify-content: space-between;
    flex-wrap: nowrap;
}

footer .down .links, footer .down .help, footer .down .contact {
    width: 17%;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-end;
}

footer .down .links .list, footer .down .help .list, footer .down .contact .list {
    text-align: right;
}

footer a:hover {
    text-decoration: none;
}

footer h4:hover {
    color: #E4193F;
}

.subscribe {
    width: 33%;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    text-align: center;
}

footer .down h3 {
    font-size: 16px;
    padding-bottom: 20px;
    font-weight: 700;
    padding-bottom: 15px;
    text-align: right;
}

.subscribe .form-container {
    background-color: white;
    border-radius: 8px;
    overflow: hidden;
    padding: 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    width: 100%;
}

.subscribe input[type="email"] {
    width: 100%;
    padding: 15px;
    border: none;
    font-size: 16px;
    box-sizing: border-box;
}

.subscribe button {
    width: 100%;
    padding: 15px;
    border: none;
    background-color: #E4193F;
    color: white;
    font-size: 18px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.subscribe button:hover, .subscribe button:active {
    background-color: #c0392b;
}

footer h6 {
    color: rgba(0, 0, 0, 0.61);
    font-family: "Readex Pro", Sans-serif;
    font-size: 16px;
    font-weight: 200;
    text-align: center;
    padding-top: 5%;
}

#subsBig {
    display: block;
}

.subscribe.mobile {
    display: none;
}



@media (max-width: 1200px) {
    .menu {
        font-size: 14px;
        gap: 30px;
    }
}

@media (max-width: 1024px) {
    footer .down {
        flex-wrap: wrap;
        justify-content: space-between;
        gap: 20px;
    }

    #subsBig {
        display: none;
    }

    footer .down .links, footer .down .help, footer .down .contact {
        width: 30%;
    }

    .subscribe.mobile {
        display: block;
        width: 80%;
        margin: 20px auto;
    }
}

@media (max-width: 992px) {

    header .upper {
        display: none;
    }

    .navbar {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
    }

    .navbar .icon-cart {
        display: none;
    }

    .menu {
        display: none;
        flex-direction: column;
        width: 100%;
        background-color: #fff;
        position: fixed;
        top: 0;
        left: 0;
        height: 100%;
        z-index: 100;
        overflow-y: auto;
        transition: transform 0.8s ease;
        transform: translateX(-100%);
        /* Hide off-screen by default */
    }

    .menu.active {
        display: flex;
        transform: translateX(0);
    }

    .menu-item {
        text-align: left;
        padding: 10px;
    }

    .hamburger {
        display: flex;
        align-items: center;
        cursor: pointer;
        font-size: 24px;
        color: black;
    }

    .hamburger:before {
        content: "☰";
        font-size: 24px;
    }

    .close-button {
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 24px;
        cursor: pointer;
        padding: 10px;
        color: black;
        background-color: #fff;
    }

    .close-button:before {
        content: "✖";
    }

    .menu.active~.icons {
        display: none;
    }

    #herotext h2 {
        padding-top: 6%;
        line-height: 1.7;
        font-size: 1.4em;
    }

    .logo img {
        height: 38px;
    }

    .product-card {
        flex: 0 0 calc(50% - 0.5rem);
    }

    .products-slider .title {
        font-size: 6vw;
    }

    .products-slider .upper h2 {
        font-size: 1.3rem;
    }

    #gallery .third {
        display: none;
    }

    #gallery {
        flex-direction: column;
    }

    #gallery img {
        width: 80%;
        margin-bottom: 20px;
    }

    #licenses {
        padding-top: 4%;
    }

    #licenses h2 {
        font-size: 2.5rem;
        padding-bottom: 3%;
        padding-top: 3%;
    }

    #licenses .container {
        padding: 5% 5%;
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
        justify-content: center;/
    }

    #licenses .container img {
        max-width: 100%;
        max-height: 60px;
        display: block;
        margin: 0 auto;
    }
}

@media (max-width: 768px) {
    footer .up {
        flex-direction: column-reverse;
        align-items: center;
        justify-content: center;
    }

    footer .up .social {
        width: 100%;
        justify-content: center;
        padding-top: 40px;
    }

    footer .down {
        flex-direction: column;
        align-items: center;
    }

    footer .down .links, footer .down .help, footer .down .contact {
        width: 100%;
        align-items: center;
        text-align: center;
        padding: 2% 0;
    }

    footer .down .links .list, footer .down .help .list, footer .down .contact .list {
        text-align: center;
    }

    footer .down h3 {
        text-align: center;
    }
}