/*    minimal params     */
@import url('https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,100;0,300;0,400;0,500;0,700;0,900;1,100;1,300;1,400;1,500;1,700;1,900&display=swap');

*{
    margin: 0;
    padding: 0;
    border: none;
    text-decoration: none;
    font-family: 'Roboto', sans-serif;
}

body{
    max-width: 500px;
    position: relative;
    background: white;
}

.bold-text{
    font-family: 'Intro-Bold';
    font-weight: 700;
}

.regular-text{
    font-family: 'Intro-Regular';
}

::-webkit-scrollbar{
    display: none;
}




/* header */

header{
    padding: 20px 0px;
    background-color: #00C2FF;
    position: fixed;
    z-index: 10;
    top: 0%;
}

.header-text{
    font-size: 20px;
    font-family: 'Intro-Bold';
    color: #fff;
    margin-left: 20px;
}



/* main */

.content-container{
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    background-color: white;
}

.content-wrapper{
    width: 90%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: start;
    gap: 20px;
    margin-top: 80.67px;
    position: relative;
}

.content-filter-block{
    width: 100%;
    display: flex;
    align-items: center;
    gap: 10px;
}

.content-filter-elem{
    padding: 5px 10px;
    background-color: transparent;
    cursor: pointer;
    border-radius: 20px;
}

.content-filter-elem-text{
    font-size: 16px;
    font-weight: 400;
    color: #4E4E4E;
}

.content-block{
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    margin-bottom: 100px;
}

.content-box{
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.content-element{
    width: calc(100% - 20px);
    height: 110px;
    padding: 10px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border-radius: 15px;
    background-color: #FFF;
    box-shadow: 0px 0px 30px 0px rgba(0, 0, 0, 0.10);
}

.content-element-box{
    width: 100%;
    height: 100%;
    display: flex;
    gap: 10px;
}

.content-element-img{
    width: 30%;
    height: 100%;
    object-fit: cover;
    border-radius: 10px;
}

.content-element-right{
    width: 70%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: start;
    justify-content: space-between;
    gap: 5px;
}

.content-element-right-top{
    width: 100%;
    display: flex;
    align-items: center;
    gap: 10px;
}

.content-element-right-center{
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.content-element-right-bottom{
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.content-element-name{
    width: 60%;
    font-size: 14px;
    font-weight: 400;
    color: #000;
}

.content-element-volume{
    font-size: 14px;
    font-weight: 400;
    color: #000;
}

.content-element-price{
    font-size: 16px;
    font-weight: 900;
    color: #000;
}

.content-element-minimal{
    font-size: 14px;
    font-weight: 400;
    color: #000;
    font-style: italic;
}

.content-element-inblock{
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 14px;
    font-weight: 400;
    color: #000;
    font-style: italic;
}

.content-element-counter-box{
    min-width: 40%;
    height: 22px;
    padding: 5px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border: 2px solid #4992FF;
    border-radius: 5px;
}

.content-element-minus{
    width: 20%;
    height: 100%;
    font-size: 16px;
    font-weight: 900;
    color: black;
    text-align: center;
    cursor: pointer;
}

.content-element-plus{
    width: 20%;
    height: 100%;
    font-size: 16px;
    font-weight: 900;
    color: black;
    text-align: center;
    cursor: pointer;
}

.content-element-total{
    font-size: 14px;
    font-weight: 400;
    color: #000;
}


/* footer */

footer{
    padding: 18px 0px;
    background-color: #00C2FF;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    position: fixed;
    bottom: 0%;
    z-index: 10;
}




/* book window */

.book-window{
    width: 100%;
    height: 100%;
    position: fixed;
    top: 100%;
    z-index: 11;
    transition: 300ms;
    background-color: white;
}

.book-wrapper{
    width: 100%;
    height: calc(100% - 44.67px);
    overflow-y: scroll;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.window-exit{
    width: 20px;
    height: 20px;
    cursor: pointer;
}

.window-head-box{
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.window-head{
    font-size: 30px;
}

.window-block{
    width: 96%;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    margin-top: 30px;
}

.window-total{
    font-size: 30px;
}

.window-btn{
    width: 100%;
    background-color: #00C2FF;
    color: white;
    font-size: 20px;
    font-family: 'Intro-Bold';
    padding: 18px 0px;
    cursor: pointer;
    position: absolute;
    bottom: 0%;
    left: 0%;
}



/* fix */

.fix-container{
    height: 100%;
    position: fixed;
    top: 100%;
    left: 0%;
    z-index: 18;
    background-color: #0000005c;
}

.alert-window{
    width: 70%;
    height: 120px;
    background-color: white;
    position: absolute;
    z-index: 2;
    top: calc(50% - 60px);
    left: 15%;
    border-radius: 10px;
    padding: 5px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
}

.alert-wrapper{
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding-top: 5px;
    padding-left: 5px;
    margin-top: 25px;
    gap: 10px;
}

.alert-btn{
    font-family: 'Intro-Bold';
    width: 100%;
    height: 25%;
    background-color: #00C2FF;
    color: white;
    border-radius: 6px;
    cursor: pointer;
}




@media screen and (max-width: 400px) {
    .content-wrapper{
        width: 96%;
    }
}