@font-face {
    font-family: 'Digi';
    src: url('../fonts/F37BlankaCyrillic-VF.ttf') format('opentype');
}

.nav-link {
    transition: 0.3s;
 color:white;

}
.fade-in-text {
opacity:0;
transform:translateY(40px);
animation: fadeup 1s ease-out forwards;

}
@keyframes fadeup {
 0% {
     opacity:0;
     transform:translateY(55px);
 }
 100% {
    opacity:1;
    transform:translateY(0px);
 }
}
.nav-link:hover {
    color: rgb(255, 170, 0);
    box-shadow: 0px 10px 10px rgb(0, 0, 0);
    border-radius: 10px;
}

.banner {
    width: 100%;
    height: 90vh;
    background: url('../img/DSC08728.png');
    background-size: cover;
    background-position: center center;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    flex-direction: column;
}

html {
    font-size: 18px;
}

body {
    background-color: #272727;
    color: white;
    font-family: "Digi" ;
    margin: 0px;
    /* забираємо стандартні відступи в тега body */
}

.banner h1 {
    font-size: 3rem;
    text-align: center;
}

/* Стилі карточок взято з 4 уроку 2 модуля (сайт за макетом)  */

.my-card {
    padding: 28px;
    background: transparent;
    transition: background .2s linear;
    border-radius: 10px;
    max-width: 350px;
}

.my-card:hover {
    background: #a3a2a2;
    cursor: pointer;
    transition: background .2s linear;
    color: #272727;
}

.text-my-card {
    font-size: 1rem;
    font-weight: 600;
    margin-top: 20px;
}

.description-card {
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    /* number of lines to show */
    -webkit-box-orient: vertical;
    font-size: 0.7rem;

}

.price-card {
    font-size: 1rem;
    line-height: 1rem;
    /* 120% */
    color: rgb(255, 174, 23);
    display: flex;
    gap: 5px;
    align-items: center;
}

.my-card img {
    width: 244px;
    height: 214px;
    object-fit: contain;
    
}

.container-cards {
    display: flex;
    width: 100%;
    justify-content: space-between;
    flex-grow: 1;
    align-items: flex-start;
    align-content: space-between;
    flex-wrap: wrap;
    margin-bottom: 72px;
}

footer {
    margin-top: 50px;
    background: rgb(73, 73, 73);
    padding: 50px 100px;
}

footer {
    color: #c8c8c8;
}

header.fixed {
    position: fixed;
    /* Фіксоване позиціонування */
    top: 0;
    /* Закріплено зверху */
    width: 100%;
    /* Ширина за всю ширину вікна */
    background: #272727;
    max-width: 100%;
    z-index: 100;
}

.cart-btn {
    padding: 10px 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background: linear-gradient(to left, rgb(255, 238, 1), rgb(192, 59, 15));
    border-radius: 30px;
    color: rgb(255, 255, 255);
    font-weight: 600;
    font-size: 0.9em;
    font-family: "Martian Mono", monospace;
    border: none;
    position: relative;
    cursor: pointer;
    transition-duration: .2s;
    box-shadow: 5px 5px 10px rgba(0, 0, 0, 0.116);
    margin-left: 10px;
    transition:0.3s;
}
@media (max-width: 768px) {
    .cart-btn{
        margin-right: 0;
        margin-top: 10px;
    }
}
.bell {
    width: 25px;
}


.cart-btn:hover {
    background: linear-gradient(to left, rgb(204, 190, 1), rgb(159, 49, 13));
    transition:0.3s; 
}

.cart-btn:active {
    transform: scale(0.97);
    transition-duration: .2s;
}

.cart-counter {
    background: #fff;
    font-size: small;
    color: rgb(135, 91, 255);
    border-radius: 100px;
    padding: 0 .2em;
    position: absolute;
    /* Змініть позицію на абсолютну */
    top: 0;
    /* Відступ зверху */
    right: 0;
    /* Відступ справа */
}