@import url("https://use.typekit.net/sof0rsb.css");

html {
    font-family: "figtree", sans-serif;
    font-weight: 400;
    font-style: normal;
}

body {
    font-family: "figtree", sans-serif;
    font-weight: 400;
    font-style: normal;
    margin: 0;
    padding: 0;
    background: linear-gradient(to bottom, #E84189, #F4B8A0, #EF7846); 
    background-size: cover;
    background-position: top center;
    background-repeat: no-repeat;
    display: flex;
    flex-direction: column;
    align-items: center;
    overflow-x: hidden;
    position: relative; 
}

body::before { 
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url(images/poz.ruz.png); 
    background-size: cover;
    background-position: top center;
    background-repeat: no-repeat;
    z-index: -1; 
}

header {
    width: 20%;
    display: flex;
    justify-content: center; 
    align-items: center;
    padding: 20px;
}

.logo, nav {
    opacity: 0; 
    transition: opacity 1s ease; 
}

.logo {
    text-align: center;
}

.logo img {
    max-width: 30%;
    height: auto;
}

nav {
    display: flex;
    justify-content: center;
    padding: 10px;
    position: fixed; 
    top: 20px;
    right: 20px; 
    z-index: 1000; 
}

.scrollable-content {
    padding-top: 70px; 
}

.nav-button {
    background-color: #fff;
    color: #000;
    border: none;
    border-radius: 35px;
    padding: 8px 35px; 
    font-size: 22pt; 
    display: inline-block;
    align-items: center;
    margin: 10px;
    text-align: center; 
    font-family: "figtree", sans-serif;
    font-weight: 400;
    font-style: normal;
}

.nav-button img {
    margin-right: 10px; 
}

.nav-button.first img {
    width: 35px; 
}

.nav-button:last-child img {
    width: 75px; 
}

.nav-button:hover {
    color: #E84189; 
}

.nav-button.first:hover img {
    content: url('images/ikona1ruz.png'); 
}


.nav-button:last-child:hover img {
    content: url('images/ikona2ruz.png'); 
}

.kolecka-container {
    position: fixed;
    top: 40px;
    left: 60px;
    display: flex;
    flex-direction: row;
    align-items: flex-start;
}

.kolecka {
    background: none;
    display: flex;
    border: none;
    padding: 0;
    margin-bottom: 10px;
    margin-right: 10px;
}

.kolecka img {
    width: 60px;
    height: auto;
    display: block;
}

.kolecka:hover img {
    filter: brightness(120%);
}

.gif {
    opacity: 0;
    transition: opacity 1s ease;
    display: flex;
    justify-content: center;
}

.gif img {
    height: 38vw;
    width: auto;
    margin-top: -20px;
}

.main {
    max-width: 1200px;
    width: 100vw;
    margin: 0 auto;
    padding: 20px;
    display: flex;
    flex-wrap: wrap;
    overflow: hidden;
}

.kytka {
    width: 400px;
    height: 400px;
    background-image: url('images/kytka.png');
    background-size: contain;
    background-repeat: no-repeat;
    opacity: 0;
    transition: opacity 4s ease, transform 8s ease;
    z-index: 999;
    margin-top: -110px; 
    margin-bottom: -90px;
    margin-right: auto; 
    margin-left: auto; 
    position: relative; 
    
}

.kytka.move-right {
    transform: translateX(calc(100vw - 600px)) rotate(360deg); 
    opacity: 1; 
}

.kytka.move-left {
    transform: translateX(-250%); 
    opacity: 1;
}

.kytka2 {
    width: 400px; 
    height: 400px; 
    background-image: url('images/kytka.png');
    background-size: contain;
    background-repeat: no-repeat;
    opacity: 0;
    transition: opacity 4s ease, transform 8s ease;
    z-index: 999;
    margin-top: -110px; 
    margin-bottom: -90px; 
    margin-right: auto; 
    margin-left: auto; 
    position: relative; 
    transform: translateX(calc(-100vw - 600px)); 
}

.kytka2.move-right {
    transform: translateX(calc(100vw - 600px)) rotate(360deg); 
    opacity: 1; 
}

.kytka2.move-left {
    transform: translateX(-250%); 
    opacity: 1; 
}

.gallery-container {
    display: flex;
    justify-content: center; 
    margin-bottom: 20px;
    margin-top: 30px;
    flex-wrap: wrap; 
    text-align: center;
}

.gallery-item {
    flex: 0 0 85%; 
    margin: 15px; 
}

.gallery-item img {
    width: 18vw;
    height: auto;
    border-radius: 20px;
    transition: transform 0.3s ease;
    margin: 17px;
}

.gallery-item img:hover {
    transform: scale(1.2);
}

.scrollToTopButton {
    position: fixed;
    bottom: 50px;
    right: 50px;
    opacity: 1; 
   transition: opacity 1s ease; 
   z-index: 9999;
}

.scrollToTopButton.show {
    opacity: 1; 
}

.scrollToTopButton img {
    width: 60px; 
    height: auto; 
}

footer {
    margin-top: auto; 
    color: #fff;
    text-align: center;
    padding: 20px;
}

.OZnacce {
    text-align: center;
    margin-top: 50px; 
    color: #fff;
}

.brand-title {
    font-size: 40px;
    margin-bottom: 20px;
}

.brand-images {
    display: flex;
    justify-content: center;
    margin-bottom: 20px;
}

.brand-images img {
    height: 5vw;
    width: auto;
    margin: 40px 5vw -25px; 
}

.OZnacceText {
    display: flex;
    justify-content: center;
    margin-bottom: 5px;
}

.text-block {
    margin: 20px 4vw;
    font-size: 20px;
}

.OZnacceodstavec {
    margin: 20px 15vw;
    font-size: 18px;
    display: flex;
}


@media only screen and (max-width: 480px) {
    
    .logo img {
        max-width: 70%;
        height: auto;
    }

    .kolecka-container {
        top: 20px;
        left: 20px;
    }

    .kolecka img {
        width: 35px;
    }

    .kolecka {
        margin-right: 3px;
    }

   .gif img {
    width: 90vw;
    height: auto;
    margin-top: -10px; 
   }

    nav {
        font-size: 20px; 
        padding: 3px; 
    }

    .nav-button {
        font-size: 20px;
        padding: 5px 10px; 
        border-radius: 15px;
        margin: 5px;
        margin-right: 0;
    }

    .nav-button img {
        max-width: 15px; 
        height: auto;
        margin-right: 3px;
    }

       .nav-button:nth-child(3) {
        display: none;
    }

    .nav-button.first img {
        max-width: 25px;
    }

    .kytka,
    .kytka2 {
        display: none; 
    }

    .brand-title {
        font-size: 25px; 
        margin-bottom: 5px; 
        
    }

    .brand-images img {
        height: 40px; 
        width: auto; 
        margin: 15px 35px -30px; 
    }

    .OZnacceText {
        margin: 10px; 
        font-size: 18px; 
    }

    .text-block {
        margin: 10px;
        font-size: 18px;
    }

    .OZnacceodstavec {
        margin: 20px;
        font-size: 18px;
        display: flex;
        text-align: left;
    }

    .gallery-container {
        display: flex;
        flex-wrap: wrap;
        align-items: center;
        justify-content: center;
        margin-bottom: 20px;
        margin-top: 30px;
        margin-left: auto; 
        margin-right: auto; 
    }

    .gallery-item {
        flex: 0 0 45%;
        max-width: 45%;
        box-sizing: border-box;
        padding: 5px;
        text-align: center;
        margin: 5px;
    }

    .gallery-item img {
        width: 100%;
        height: auto;
        border-radius: 20px;
        transition: transform 0.3s ease;
        margin: 5px 0;
    }

    .gallery-row {
        display: flex;
        flex-direction: row;
        justify-content: center;
        flex: 0 0 100%;
        max-width: 100%; 
        box-sizing: border-box;
    }

    .gallery-row a {
        flex: 0 0 45%;
        max-width: 45%;
        box-sizing: border-box;
        padding: 5px;
        text-align: center;
        margin: 5px;
    }

    .gallery-row img {
        width: 100%;
        height: auto;
        border-radius: 20px;
        transition: transform 0.3s ease;
        margin: 5px 0;
    }
}

