@font-face {
    font-family: Dir;
    src: url(/frontend/fonts/Dirooz.ttf);
}


:root {
    --c1 : #202229;
    --c2 : #ba531e;
    --c3 : white;
    --c4 : black;

}

*::-webkit-scrollbar {
    background:var(--c3);
    width: 8px;
}

*::-webkit-scrollbar-thumb {
    background: var(--c2);
    border-radius: 150px;
}

*::selection {
    color:var(--c3);
    background:var(--c1);
}


html {
    overflow-x: hidden;
    scroll-behavior: smooth;

}

main {
    overscroll-behavior: contain;
    overflow: hidden;
    width: 100%;
}

body {
    margin: 0;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    flex-direction: column;
}

a {
    margin: 0;
    padding: 0;
    width: fit-content;
    height: fit-content;
}


.flex-suggest {
    display: flex;
    align-items: center;
    justify-content:center;
    flex-direction: row;
    flex-wrap: wrap;
    padding: 50px 0;
}
.flex-suggest aside {
    display: flex;
    max-width:1500px;
    flex-direction: row;
    align-items: center;
    justify-content:center;
    flex-wrap: wrap;
}
.flex-suggest li {
    position: relative;
    max-width: 290px;
    max-height: 330px;
    overflow: hidden;
    min-width: 290px;
    min-height: 350px;
    display: flex;
    align-items: center;
    flex-direction: column;
    text-align: left;
    font-size: 10px;
    margin:15px;
    border: 2px solid var(--c1);
    border-radius: 10px;
    padding: 5px 20px;
}
.flex-suggest li strong {
    position: relative;
    font-size: 3em;
    white-space: nowrap;
    font-family: Dir;
    color:var(--c2);
    padding-bottom: 5px;
    text-transform: capitalize;
    display: flex;
    align-items: center;
    justify-content: center;
}
.flex-suggest li p {
    font-size: 1.5em;
    font-family: Dir;
    margin:0;
    width: 100%;
    margin-top: 10px;
    overflow-y: hidden;
    text-overflow: ellipsis;
    z-index: 2;
    color:white;
}

.flex-suggest div {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    top:0;
    left:0;
    overflow: hidden;
    z-index: 0;
}

.flex-suggest div img {
    height: 120%;
    object-fit: contain;
}


.flex-suggest li section {
    width: 100%;
    height: 100%;
    background:rgba(0, 0, 0, .4);
    position: absolute;
    top:0;
    right:0;
    margin:0;
    z-index: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}


.flex-suggest li button {
    border-radius: 150px;
    border: 2px solid var(--c1);
    font-family: Dir;
    font-size: 1.9em;
    margin: 10px 0;
    padding: 4px 20px;
    background:var(--c1);
    cursor: pointer;
    color:var(--c3);
    transition: background 300ms ease,border 300ms ease,color 300ms ease;
}
.flex-suggest li a {
    position: absolute;
    bottom:3px;
}
.flex-suggest li button:hover {
    background:var(--c2);
    border:2px solid var(--c2);
    color:var(--c3)
}