.precatalog-container-catalog-item:hover {
    background-color: white;
    border-radius: 20px;
    border: 1px solid var(--main-color-1);
}
.precatalog-container-catalog-item {
    border-radius: 20px;
    position: relative; 
    border: 1px solid white;
}
.precatalog-container-catalog-item:hover .precatalog-container-catalog-item-btn {
    background-color: white;
    color: var(--main-color-1);
    text-decoration: none;
}

.precatalog-container-catalog-item-btn:hover {
    background-color: var(--main-color-1)!important;
    color: white!important;
    border: 1px solid white;
}

.precatalog-container-catalog-item:hover .precatalog-container-catalog-item-label  {
    opacity: 0;
    visibility: hidden;
}
.precatalog-container-catalog-item:hover .precatalog-container-catalog-item-img  {
    opacity: 0;
    visibility: hidden;
}
.precatalog-container-catalog-item:hover .mobill {
    opacity: 1;
}
.precatalog-container-catalog-item-label {
    transition: all .3s ease;
}
.precatalog-container-catalog-item-img {
    transition: all .3s ease;
}
.nodec {
    text-decoration: none!important;
}
.mobill {
    position: absolute;
    color: var(--main-color-1);
    font-family: var(--font-1);
    top: 20px;
    overflow-Y: scroll;
    overflow-x: hidden;
    right: 15px;
    left: 15px;
    text-align: center;
    bottom: 60px;
    font-weight: 400;
    opacity: 0;
    background-color: white;
    
}
.mobill p {
    margin-top: 0;
    padding: 0;
    font-weight: 700;
    letter-spacing: 2px;
}
.mobill::-webkit-scrollbar {
    width: 10px;
    background-color: white;
    border-radius: 5px;
}
.mobill::-webkit-scrollbar-thumb {
    border: 3px solid white;
    background-color: var(--main-color-1);
    border-radius: 5px;
}
.s-modal {
    position: fixed;
    z-index: 999;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: rgba(0, 0, 0, .5);
    display: flex;
    justify-content: center;
    align-items: center;
    padding-left: 40px;
    padding-right: 40px;
    visibility: hidden;
    opacity: 0;
    transition: all .3s ease;
}
.s-modal.open {
    visibility: visible;
    opacity: 1;
}
.modal-window {
    background-color: white;
    display: grid;
    grid-template-columns: 1fr 1fr;
    max-width: 1200px;
    width: 100%;
    aspect-ratio: 2/1;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0px 0px 17px -7px rgba(34, 60, 80, 0.2);
}
.mw-img {
    background-image: url('../res/img/precatalog/1.png');
    background-repeat: no-repeat;
    background-position: center center;
    background-size: cover;
    transition: all .2s ease;
}
.mw-info {
    background-color: rgb(250, 250, 250);
    position: relative;
}
.nw-info-title {
    margin-top: 30px;
    margin-left: 30px;
    font-family: var(--font-2);
    font-size: 40px;
    font-weight: 700;
    color: var(--main-color-1);
}
.mw-info-btn {
    margin-top: 20px;
    margin-left: 30px;
    margin-right: 30px;
    font-family: var(--font-1);
    padding: 10px 80px;
    border: 1px solid var(--main-color-1);
    border-radius: 20px;
    font-weight: 600;
    font-size: 16px;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    transition: all .3s ease;
    text-align: center;
}
.mw-info-btn:hover {
    background-color: var(--main-color-1);
    color: rgb(250, 250, 250);
}
.mw-info-text {
    font-size: 23px;
    margin-left: 30px;
    margin-right: 30px;
    margin-top: 30px;
    position: relative;
}
.mw-info-text.dodi {
    height: 67%!important;
}
#mw-info-text::-webkit-scrollbar {
    width: 5px;
    background-color: white;
    border: 1px solid var(--main-color-1);
    border-radius: 10px;
}
#mw-info-text::-webkit-scrollbar-thumb {
    background-color: var(--main-color-1);
    border-radius: 10px;
}
.modal-x {
    color: white;
    position: fixed;
    top: 100px;
    right: 100px;
    cursor: pointer;
    font-size: 30px;
    font-weight: 900;
}
#mw-info-text {
    overflow-y: auto;
    overflow-x: hidden;
    margin-right: 15px;
}
