@font-face {
    font-family: 'Gothic';
    src: url('./fonts/Century-Gothic/centurygothic.ttf');
}

@font-face {
    font-family: 'Gothic-bold';
    src: url('./fonts/Century-Gothic/centurygothic_bold.ttf');
}

.catalog-title {
    text-align: center;
    font-size: 1rem;
    text-shadow: 9px 5px 4px rgba(66, 68, 90, 0.511);

}

.catalog-title--main {
    font-size: 4rem;
    letter-spacing: 0.2rem;
}

.catalog-title--secondary {
    font-size: 2rem;
    font-weight: 600;
    letter-spacing: 0.2rem;
}

.catalog-title--hidden {
    position: absolute;
    left: -10000px;
    top: auto;
    width: 1px;
    height: 1px;
    overflow: hidden;
}


.section-product__wrapper-title-items-cards {
    border-bottom: 0.15rem solid rgba(0, 0, 0, 0.3);
    padding-bottom: 1rem;
}


.wrapper-catalog {
    margin-inline: auto;

}

.section-product__wrapper-products-cards {
    position: relative;
    margin-inline: auto;
    padding: 1rem;

}

.section-product__wrapper-items-cards {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    gap: 4rem;
    padding-block: 2rem;
}

.section-product__list-description-application-part {
    padding-inline: 1rem;
    list-style-type: none;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-top: 1rem;
}

.section-product__list-item-description-application-part {
    position: relative;
}

.section-product__list-item-description-application-part::before {
    content: '✧';
    position: absolute;
    top: 50%;
    left: 0;
    transform: translate(-50%, 0);
}

.section-product__wrapper-description-application-part {
    -webkit-box-shadow: 1px 5px 10px 2px rgba(34, 60, 80, 0.2) inset;
    -moz-box-shadow: 1px 5px 10px 2px rgba(34, 60, 80, 0.2) inset;
    box-shadow: 1px 5px 10px 2px rgba(34, 60, 80, 0.2) inset;
    padding: 2rem;
    margin-block: 2rem;
}

.description {
    font-size: 1rem;
    font-weight: 600;
    letter-spacing: 0.1rem;
    line-height: 2rem;
}

.wrapper-catalog {
    --radius-corner: 30px;
    background-color: transparent;
    padding-block: 2rem;
    border-top-right-radius: var(--radius-corner);
    border-bottom-left-radius: var(--radius-corner);
}

.section-product__header-menu {
    display: flex;
    flex-direction: column;
    position: relative;
    padding-top: 4rem;
    padding-bottom: 2rem;
    background-color: rgba(137, 35, 35, 0.693);
}

[data-menu-icon] {
    font-size: 3rem;
}

[data-menu-close-button] {
    width: fit-content;
    background-color: transparent;
    border: none;
    position: absolute;
    top: 0;
    right: 0;
    text-align: center;
    font-size: 2rem;
    font-weight: bolder;
    cursor: pointer;
}

[data-menu-button] {
    background-color: transparent;
    border: none;
}


.section-product__list-navigation-dropdown-buttons {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    justify-items: center;
    grid-auto-rows: max-content;
    gap: 1rem;

}

.section-product__list-item-navigation-dropdown-buttons {
    width: 80%;
}



.section-product__button-dropdown:active {
    -webkit-box-shadow: 2px 3px 5px 0px rgba(0, 0, 0, 0.75);
    -moz-box-shadow: 2px 3px 5px 0px rgba(0, 0, 0, 0.75);
    box-shadow: 2px 3px 5px 0px rgba(0, 0, 0, 0.75);
}



.section-product__wrapper-title-items-cards {
    text-align: center;
}

.section-product__list-products-cards {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    justify-items: center;
    justify-content: center;
    gap: 2rem;
}

.section-product__list-item-products-cards:last-child:nth-child(odd) {
    grid-column: span 2;
    width: 50%;
}

.button-menu-catalog {
    width: 100%;
    height: 100%;
    background-color: #5c9f24;
    color: rgb(255, 255, 255);
    font-size: 0.8rem;
    letter-spacing: 0.2rem;
    border: none;
    border-radius: 1rem;
    font-weight: 700;
    -webkit-box-shadow: 2px 2px 11px 0px rgba(0, 0, 0, 0.75);
    -moz-box-shadow: 2px 2px 11px 0px rgba(0, 0, 0, 0.75);
    box-shadow: 2px 2px 11px 0px rgba(0, 0, 0, 0.75);
    cursor: pointer;
    padding: 1em;
    transition: all 100ms ease-in-out;
    font-weight: 600;
    line-height: 1.2rem;
}

.button-menu-catalog:active {
    -webkit-box-shadow: 2px 3px 5px 0px rgba(0, 0, 0, 0.75);
    -moz-box-shadow: 2px 3px 5px 0px rgba(0, 0, 0, 0.75);
    box-shadow: 2px 3px 5px 0px rgba(0, 0, 0, 0.75);
}

.button-menu-catalog--selected {
    position: relative;
    z-index: 2;
    -webkit-box-shadow: 2px 3px 5px 0px rgba(0, 0, 0, 0.75);
    -moz-box-shadow: 2px 3px 5px 0px rgba(0, 0, 0, 0.75);
    box-shadow: 2px 3px 5px 0px rgba(0, 0, 0, 0.75);
    color: #000;
    font-style: italic;
    cursor: default;
    transition: 100ms all linear;
}

.button-menu-catalog--selected::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: -1;
    border: none;
    border-radius: inherit;
    background: linear-gradient(130deg, #ff0000, #cdcbcb, #f200ff);
    background-size: 200% 200%;
    animation: rotation-anim-btn 10s linear alternate forwards infinite;
}

.section-product__list-item-products-cards {
    width: 100%;
}



.section-product__product-card {
    width: 100%;
    height: 100%;
    background-color: rgb(255, 255, 255);
    border: none;
    position: relative;
    box-shadow: 10px 10px 27px -4px rgba(0, 0, 0, 0.75);
    -webkit-box-shadow: 10px 10px 27px -4px rgba(0, 0, 0, 0.75);
    -moz-box-shadow: 10px 10px 27px -4px rgba(0, 0, 0, 0.75);
}

.section-product__wrapper-content-application-part {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.section-product__wrapper-table-application-part {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 2rem;
}

.section-product__table-head-item-application-part {
    border-bottom: 0.3rem solid black;
}

.section-product__table-body-item-application-part {
    padding: 0.5rem;
    border-right: 0.2rem dashed black;
    font-size: 0.7rem;
}

.section-product__table-body-item-application-part:last-child {
    border: none;
}

.section-product__list-images-application-part {
    display: grid;
    grid-template-columns: repeat(2, minmax(min-content, 70vw));
    gap: 1rem;
    filter: drop-shadow(10px 10px 27px -4px rgba(0, 0, 0, 0.75));
}

.section-product__wrapper-images-application-part {
    background-color: azure;
    background-image: linear-gradient(to right bottom, #f5f5dc, #efefcc, #e6e6bb, #e6e6b1, #dedea2);
    border-radius: 1rem;
    width: 100%;
    height: 100%;
    position: relative;
    box-shadow: 10px 10px 27px -4px rgba(0, 0, 0, 0.75);
    -webkit-box-shadow: 10px 10px 27px -4px rgba(0, 0, 0, 0.75);
    -moz-box-shadow: 10px 10px 27px -4px rgba(0, 0, 0, 0.75);
    margin-bottom: 2rem;
}

.section-product__image-product {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.section-product__application-image {
    width: 100%;
    height: 100%;
    border-radius: 1rem;
}

.section-product__wrapper-btns-switch-page {
    display: flex;
    position: sticky;
    bottom: 45%;
    left: 0;
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: space-between;
    z-index: 2;
    width: 100%;
}


.nav-btn-switch-page {
    background-color: #c5f26cce;
    width: 3em;
    height: 3em;
    border: none;
    font-size: 2rem;
    border-radius: 50%;
    cursor: pointer;
    transition: 0.5s all ease-in-out;
    text-align: center;
}

.nav-btn-switch-page:focus {
    outline: 0.5rem double #c5f26cce;
}

.nav-btn-switch-page--not-active {
    opacity: 0.5;
    cursor: default;
}

.show-up-el-from-right {
    animation: appear-el-from-right 0.3s linear
}

.show-up-el-from-left {
    animation: appear-el-from-left 0.3s linear
}

.hide-el-to-right {
    animation: disappear-el-to-right 0.3s linear
}

.hide-el-to-left {
    animation: disappear-el-to-left 0.3s linear
}

.disable-el {
    position: absolute;
    left: -10000px;
    top: auto;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

.enabled-el-block {
    display: block;
}

@keyframes appear-el-from-right {
    0% {
        opacity: 0;
        transform: translate(3%, 0);
    }

    50% {
        opacity: 0.6;
        transform: translate(2%, 0);
    }

    100% {
        opacity: 1;
        transform: translate(0%, 0%);
    }
}

@keyframes appear-el-from-left {
    0% {
        opacity: 0;
        transform: translateX(-3%);
    }

    50% {
        opacity: 0.6;
        transform: translateX(-2%);
    }

    100% {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes disappear-el-to-left {
    0% {
        opacity: 1;
        transform: translateX(0);
    }

    50% {
        opacity: 0.6;
        transform: translateX(-2%);
    }

    100% {
        transform: translateX(-3%);
        opacity: 0;
    }
}

@keyframes disappear-el-to-right {
    0% {
        opacity: 1;
        transform: translateX(0);
    }

    50% {
        opacity: 0.6;
        transform: translateX(2%);
    }

    100% {
        transform: translateX(3%);
        opacity: 0;
    }
}


@media screen and (min-width: 701px) {
    .button-menu-catalog {
        font-size: 1rem;
        line-height: 1.5rem;
    }

    .catalog-title {
        text-shadow: 9px 5px 4px rgba(66, 68, 90, 0.300);
    }

    .catalog-title--main {
        font-size: 6rem;
    }

    .catalog-title--secondary {
        font-size: 4rem;
    }

    .description {
        font-size: 2rem;
    }

    .section-product__list-item-description-application-part::before {
        font-size: 2rem;
    }

    .section-product__button-dropdown {
        width: 16em;
        height: 8em;
    }

    .nav-btn-switch-page {
        width: 5em;
        height: 5em;
    }

    .section-product__list-products-cards {
        gap: 3rem;
    }



    .section-product__product-card {
        width: 100%;
        height: 100%;
        box-shadow: 10px 10px 27px -4px rgba(0, 0, 0, 0.3);
        -webkit-box-shadow: 10px 10px 27px -4px rgba(0, 0, 0, 0.3);
        -moz-box-shadow: 10px 10px 27px -4px rgba(0, 0, 0, 0.3);
    }


    .section-product__wrapper-images-application-part {
        width: 100%;
        height: 100%;
        box-shadow: 10px 10px 27px -4px rgba(0, 0, 0, 0.3);
        -webkit-box-shadow: 10px 10px 27px -4px rgba(0, 0, 0, 0.3);
        -moz-box-shadow: 10px 10px 27px -4px rgba(0, 0, 0, 0.3);
    }



    .section-product__table-head-item-application-part,
    .section-product__table-body-item-application-part {
        font-size: 1.7rem;
    }
}



@media screen and (min-width: 1201px) {
    .button-menu-catalog {
        font-size: 1.5rem;
        line-height: 3.2rem;
    }

    .section-product__button-dropdown {
        width: 16em;
        height: 8em;
    }

    .wrapper-catalog {
        width: 80vw;
    }

    .section-product__wrapper-products-cards {
        -webkit-box-shadow: 1px 5px 10px 2px rgba(34, 60, 80, 0.2) inset;
        -moz-box-shadow: 1px 5px 10px 2px rgba(34, 60, 80, 0.2) inset;
        box-shadow: 1px 5px 10px 2px rgba(34, 60, 80, 0.2) inset;
        margin-inline: auto;
        padding: 3rem;
    }



    .section-product__wrapper-btns-switch-page {
        width: 100%;
    }

}

@keyframes rotation-anim-btn {
    0% {
        background-position: 10% 0%;
    }

    50% {
        background-position: 91% 100%;
    }

    100% {

        background-position: 10% 0%;
    }
}

.hide-catalog-menu {
    animation: menu-closing 0.3s linear
}

.show-up-catalog-menu {
    animation: menu-opening 0.3s linear
}

@keyframes menu-closing {
    0% {
        opacity: 1;
        transform: rotateX(0deg);
        -webkit-transform: rotateX(0deg)
    }

    50% {
        opacity: 0.6;
        transform: rotateX(-45deg);
        -webkit-transform: rotateX(-45deg)
    }

    100% {
        transform: rotateX(-90deg);
        -webkit-transform: rotateX(-90deg);
        opacity: 0;
    }
}

@keyframes menu-opening {
    0% {
        opacity: 0;
        transform: rotateX(-90deg);
        -webkit-transform: rotateX(-90deg)
    }

    50% {
        opacity: 0.6;
        transform: rotateX(-45deg);
        -webkit-transform: rotateX(-45deg)
    }

    100% {
        transform: rotateX(0deg);
        -webkit-transform: rotateX(0deg);
        opacity: 1;
    }
}

.catalog-title,
.button-menu-catalog {
    font-family: 'Gothic', sans-serif;
}