@import url("https://fonts.googleapis.com/css?family=Source+Sans+Pro:300,300italic,400,400italic,600");

* {
    padding: 0;
    margin: 0;
}

html {
    box-sizing: border-box;
    font: 14px/1.5 'Source Sans Pro', sans-serif;
}

*,
*::before,
*::after {
    box-sizing: inherit;
}

body,
input,
textarea,
button {
    font: inherit;
}


section.banner {
    background: linear-gradient(to right, #3072d6, 45%, #09c4f3);
    padding-bottom: 1.5em;
}

section.ban-spec {
    background: linear-gradient(
        rgba(0, 0, 0, 0.5),
        rgba(0, 0, 0, 0.5)
    ), url("/images/Blackstar.jpg") no-repeat center center/cover;
}

.burger-menu {
    display: none;
}

.close-menu {
    display: none;
}

#menu-toggle {
    display: none;
}

nav ul {
    display: flex;
    gap: 2em;
    justify-content: center;
    z-index: 3;
}

nav ul li {
    display: block;
}

nav ul li a {
    display: block;
    padding: 1em 2em;
    text-decoration: none;
    color: rgb(248, 241, 241);
    border-bottom-left-radius: 0.5em;
    border-bottom-right-radius: 0.5em;
}

nav ul li a:hover {
    background-color: rgba(233, 233, 233, 0.199);
    cursor: pointer;
}

nav ul li a:active {
    background-color: rgba(233, 233, 233, 0.13);
}

nav ul li:nth-child(4) .special {
    background-color: rgba(226, 220, 220, 0.4);
    color: white;
    font-weight: bold;
    letter-spacing: 0.2em;
    border: 1px solid white;
    border-top: none;
    border-bottom-right-radius: 0.5em;
    border-bottom-left-radius: 0.5em;
    padding: 1em 2.5em;
}

nav ul li:nth-child(4) a:hover {
    cursor: default;
}

section.banner header {
    margin: 5em auto;
    text-align: center;
}

header h2 {
    color: white;
    font-size: 2.8rem;
    font-weight: lighter;
    padding-bottom: 1rem;
}

header p {
    color: white;
    font-size: 20px;
    font-weight: lighter;
    padding-bottom: 3rem;
}

header a {
    display: inline-block;
    padding: 0.7em 2em;
    text-decoration: none;
    color: white;
    font-size: 20px;
    border: 2px solid rgba(233, 233, 233, 0.774);
    border-radius: 0.4em;
    font-weight: bold;
}

header a:hover {
    background-color: rgba(233, 233, 233, 0.199);
    cursor: pointer;
}

header a:active {
    background-color: rgba(233, 233, 233, 0.13);
}

section.dispensers-series {
    padding: 3em 0;
}

div.gallery {
    background-color: rgba(231, 235, 243, 0.856);
    border-top: 1px solid rgb(209, 208, 208);
    border-bottom: 1px solid rgb(209, 208, 208);
}

div.gallery ul {
    display: flex;
    gap: 3em;
    justify-content: center;
}

div.gallery ul li {
    display: block;
}

div.gallery ul li img {
    max-width: 450px;
    height: 100%;
}

div.main-content {
    max-width: 55%;
    margin: 1em auto;
}

div.main-content {
    display: flex;
    gap: 3em;
    justify-content: center;
}

div.info {
    max-width: 450px;
}

div.info {
    display: flex;
    flex-direction: column;
    align-items: start;
}

div.info a {
    margin: 0.3em auto;
}

div.info h4 {
    font-size: 25px;
    padding-bottom: 1em;
    color: rgb(53, 52, 52);
    font-weight: lighter;
}

div.info p {
    color: rgb(134, 134, 134);
    padding-bottom: 2em;
}


a.btn {
    display: inline-block;
    text-decoration: none;
    color: rgb(134, 134, 134);
    padding: 1em 2em;
    border: 1px solid rgb(209, 208, 208);
    border-radius: 0.4em;
}

a.btn:hover {
    background-color: rgba(233, 233, 233, 0.199);
    cursor: pointer;
}

section.contacts {
    background: linear-gradient(to right, #3072d6, 45%, #09c4f3);
    padding: 4em;
    display: flex;
    justify-content: center;
    align-items: center;
}

div.contacts-content {
    width: 100ch;
    padding: 2em;
    border: 1px solid rgb(236, 233, 233);
    border-radius: 0.5em;
    text-align: center;
}

div.contacts-content p {
    font-size: 24px;
    color: rgb(236, 234, 234);
}

div.contacts-content a {
    display: inline;
    font-size: 18px;
    margin-left: 4em;
    background-color: white;
    padding: 1em 2em;
    border-radius: 0.5em;
    text-decoration: none;
    color: rgb(35, 155, 177)
}

div.contacts-content a:hover {
    background-color: rgba(255, 255, 255, 0.911);
    color: rgb(17, 114, 131);
    cursor: pointer;
}

section.new-products {
    padding: 5em 0;
}

div.new-products-content {
    margin: 0.5em auto;
    padding: 2em;
    text-align: center
}

.new-products .gallery ul li img {
    width: 300px;
}

div.new-products-content h3 {
    padding-bottom: 1.5em;
    font-size: 2.2rem;
    color: rgb(53, 52, 52);
    font-weight: lighter;
}

.testimonials-carousel {
    padding: 2em 1em 0 1em;
    text-align: center;
    position: relative;
    overflow: hidden;
    margin-bottom: 4em;
    position: relative;
}

.testimonials-carousel::before {
    content: "“";
    font-size: 14rem;
    color: rgba(231, 235, 243, 0.856);
    display: inline;
    position: absolute;
    top: 0%;
    left: 27%;
}

.testimonials-carousel h2 {
    font-size: 2.6rem;
    margin-bottom: 40px;
    color: rgb(53, 52, 52);
    font-weight: lighter;
}

.carousel {
    position: relative;
    width: 100%;
    max-width: 700px;
    margin: 0 auto;
    height: 250px;
}

.testimonial {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    opacity: 0;
    transform: translateX(100%);
    transition: all 0.8s ease;
    padding: 20px;
    background: white;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    z-index: 0;
}

.testimonial::before {
    content: "";
    display: block;
    width: 40px;
    height: 4px;
    background-color: rgb(35, 155, 177);
    margin: 0 auto 1rem auto;
    border-radius: 2px;
}

.testimonial.active {
    opacity: 1;
    transform: translateX(0);
    z-index: 1;
}

.carousel .testimonial:nth-child(1) {
    animation: showTestimonial 15s infinite;
}

.carousel .testimonial:nth-child(2) {
    animation: showTestimonial 15s infinite 5s;
}

.carousel .testimonial:nth-child(3) {
    animation: showTestimonial 15s infinite 10s;
}

@keyframes showTestimonial {
    0% {
        opacity: 0;
        transform: translateX(100%);
    }
    5% {
        opacity: 1;
        transform: translateX(0);
    }
    30% {
        opacity: 1;
        transform: translateX(0);
    }
    35% {
        opacity: 0;
        transform: translateX(-100%);
    }
    100% {
        opacity: 0;
        transform: translateX(-100%);
    }
}

.testimonial p {
    font-style: italic;
    color: #333;
    font-size: 1.2rem;
    margin-bottom: 20px;
}

.testimonial h4 {
    margin: 0;
    color: #111;
    font-size: 1.1rem;
}

.testimonial span {
    color: #777;
    font-size: 0.9rem;
}

.site-footer {
    background: linear-gradient(to right, #3072d6, 45%, #09c4f3);
    padding: 5em 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4em;
    border-top-left-radius: 50%;
    border-top-right-radius: 50%;
}

.footer-info {
    display: flex;
    gap: 6em;
}

.footer-info a:hover {
    text-decoration: underline;
    cursor: pointer;
}

.footer-header h3 {
    font-size: 2.2rem;
    text-align: center;
    color: white;
    font-weight: lighter;
    padding-bottom: 0.5em;
}

.footer-header h4 {
    font-size: 1.2rem;
    text-align: center;
    color: white;
    font-weight: lighter;
    padding-bottom: 0.5em;
}

.footer-header p {
    color: rgb(255, 114, 114);
    font-size: 18px;
}

.footer-buttons {
    display: flex;
    flex-direction: column;
    gap: 2em;
    justify-content: center;
}

.footer-buttons a {
    color: white;
    text-decoration: none;
    font-weight: bold;
}

.footer-contacts {
    display: flex;
    flex-direction: column;
    gap: 1em;
    justify-content: center;
}

.footer-contacts i {
    margin-right: 0.5em;
    color: rgb(45, 64, 134);
}

.footer-contacts a {
    text-decoration: none;
    color: white;
}

.copyright {
    width: 120ch;
    color: rgb(238, 237, 237);
    border-top: 1px solid rgb(209, 208, 208);
    text-align: center;
    padding-top: 3em;
}