@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "poppins", sans-serif;
    scroll-behavior: smooth;
    -webkit-tap-highlight-color: transparent;
    text-decoration: none;
    user-select: none;
}

*:focus {
    outline: none;
}

body::-webkit-scrollbar {
    display: none;
}

body {
    background: #f0f0f0;
    box-sizing: border-box;
}

.header-page-utama {
    display: grid;
    /* justify-content: center; */
    align-items: center;
    width: 100%;
    z-index: 100;
    position: fixed;
    top: 0;
    padding: 10px;
    border: none;
    background: transparent;

    .container-header-pg-utama {
        display: flex;
        justify-content: space-between;
        align-items: center;
        position: relative;
        gap: 10px;
        width: 100%;
        position: relative;
        background: white;
        border: none;
        padding: 5px 10px 5px 10px;
        border-radius: 20px;

        .box-header-search {
            display: grid;
            align-items: center;
            position: relative;
            width: 100%;
            border: none;
            background: transparent;

            .header-input-search {
                display: flex;
                justify-content: left;
                align-items: center;
                text-align: left;
                font-size: 1.2rem;
                border: none;
                border-radius: 10px;
                background: transparent;
            }
        }

        .box-bt-search {
            display: grid;
            justify-content: left;
            align-items: center;
            position: relative;
            /* background-color: ; */
            border: none;

            button {
                background: transparent;
                color: black;
                font-size: 1.5rem;
                display: flex;
                justify-content: center;
                align-items: center;
                border: none;
                text-align: center;
                position: relative;
                width: 40px;
                height: 40px;
                border-radius: 50%;
            }
        }
    }
}

.home {
    display: grid;
    align-items: center;
    width: 100%;
    border: none;
}

.page-lock {
    display: grid;
    align-items: center;
    border: none;
    width: 100%;
    z-index: 103;
    justify-content: center;
    position: fixed;
    top: 0;
    background: #d5d5d5;
    min-height: 100vh;

    .container-page-lock {
        display: grid;
        justify-content: center;
        align-items: center;
        border: none;
        width: 100%;
        position: relative;
        background: transparent;

        .box-tx-bt-page-lock {
            display: grid;
            justify-content: center;
            align-items: center;
            position: relative;
            width: 100%;
            border: none;
            background: transparent;
            padding: 5px;
            border-radius: 10px;

            .box-text-page-lock {
                display: grid;
                justify-content: left;
                align-items: center;
                text-align: left;
                background: transparent;
                width: 100%;
                position: relative;

                h2 {
                    font-size: 2rem;
                }
            }

            .box-bt-page-lock {
                display: grid;
                justify-content: center;
                align-items: center;
                position: relative;
                text-align: center;
                width: 100%;
                border: none;
                background: transparent;

                button {
                    display: flex;
                    justify-content: center;
                    align-items: center;
                    position: relative;
                    text-align: center;
                    border: none;
                    box-shadow: 0 2px 4px 0 black;
                    border-radius: 50%;
                    font-size: 2rem;
                    background: #0b2020;
                    cursor: pointer;
                    color: white;
                    width: 60px;
                    height: 60px;

                    &:active {
                        background: #123a3a;
                    }
                }
            }
        }
    }
}

.home-login-mardobe {
    display: none;
    align-items: center;
    position: relative;
    z-index: 102;
    min-height: 100vh;
    border: none;
    width: 100%;
    background: #d7d7d7;

    .container-login-mardobe {
        display: grid;
        align-items: center;
        width: 100%;
        border: none;
        background: transparent;
        position: relative;

        .form-login-mardobe {
            display: grid;
            align-items: center;
            gap: 10px;
            padding: 10px;
            width: 100%;
            position: relative;
            border: none;
            background: transparent;

            .h2-login-mardobe {
                display: grid;
                justify-content: center;
                align-items: center;
                text-align: center;
                position: relative;
                border: none;
                background: transparent;

                h2 {
                    font-size: 2rem;
                }
            }

            .container-input-login-mardobe {
                display: grid;
                align-items: center;
                position: relative;
                padding: 10px;
                gap: 10px;
                background: transparent;
                width: 100%;
                border: none;

                .box-in-email-login,
                .box-in-password-login {
                    display: grid;
                    align-items: center;
                    width: 100%;
                    position: relative;
                    border: none;
                    background: transparent;


                    input {
                        background-color: white;
                        border: none;
                        border-radius: 20px;
                        box-shadow: 0 2px 4px 0 black;
                        padding: 10px;
                        color: black;
                        height: 50px;
                        width: 100%;
                        font-size: 1.2rem;

                        &::placeholder {
                            color: lightgray;
                        }
                    }
                }

                .box-remember-forgot {
                    display: flex;
                    justify-content: space-between;
                    gap: 10px;
                    align-items: center;
                    position: relative;
                    width: 100%;

                    .box-in-checkbox {
                        display: flex;
                        justify-content: left;
                        align-items: center;
                        gap: 5px;
                        width: 100%;

                        p {
                            font-size: 1.1rem;
                        }
                    }

                    a {
                        color: black;
                        width: 100%;
                        font-size: 1.1rem;

                        &:hover {
                            color: blue;
                            text-decoration: underline;
                        }
                    }
                }

                .box-bt-login {
                    display: grid;
                    align-items: center;
                    text-align: center;
                    width: 100%;
                    position: relative;
                    border: none;
                    background: transparent;

                    button {
                        display: flex;
                        justify-content: center;
                        align-items: center;
                        text-align: center;
                        position: relative;
                        cursor: pointer;
                        width: 100%;
                        border: none;
                        border-radius: 25px;
                        padding: 10px;
                        color: white;
                        background: #051717;
                        font-size: 1.5rem;
                    }
                }

                .box-sign-up {
                    display: flex;
                    justify-content: center;
                    align-items: center;
                    cursor: pointer;
                    gap: 10px;
                    text-align: center;
                    position: relative;
                    width: 100%;

                    a {
                        color: black;

                        &:hover {
                            text-decoration: underline;
                        }
                    }
                }
            }
        }
    }
}

.home-page-utama {
    display: none;
    justify-content: center;
    align-items: center;
    position: relative;
    width: 100%;
    margin-top: 65px;
    padding: 5px;
    min-height: 100vh;
    border: none;
    background: #f0f0f0;

    .container-home-page-utama {
        display: grid;
        align-items: center;
        width: 100%;
        position: relative;
        border: none;
        background: transparent;

        .box-gallery {
            display: block;
            width: 100%;
            align-items: center;
            background: transparent;
            columns: 2;
            column-gap: 10px;
            position: relative;


            .box-image {
                display: block;
                align-items: center;
                padding: 5px;
                width: 100%;
                background-position: center;
                background-repeat: no-repeat;
                background-size: cover;
                object-fit: cover;

                img {
                    display: block;
                    justify-content: center;
                    align-items: center;
                    border-radius: 15px;
                    box-shadow: 0 0 2px 0px black;
                    width: 100%;
                    background-position: center;
                    background-repeat: no-repeat;
                    background-size: cover;
                    object-fit: cover;
                }
            }
        }
    }
}

.nav-bottom-utama {
    display: none;
    z-index: 104;
    align-items: center;
    background: transparent;
    width: 100%;
    border: none;
    position: fixed;
    bottom: 0;

    .container-bottom-utama {
        display: grid;
        align-items: center;
        width: 100%;
        position: relative;
        border: none;
        background: transparent;

        .box-nav-a-utama {
            display: flex;
            justify-content: center;
            align-items: center;
            gap: 10px;
            position: relative;
            padding: 5px;
            background: white;
            border-radius: 15px 15px 0 0;
            border: none;

            button {
                display: flex;
                justify-content: center;
                align-items: center;
                text-align: center;
                position: relative;
                width: 50px;
                height: 50px;
                border: none;
                background: transparent;
                font-size: 1.5rem;
                cursor: pointer;
                border-radius: 50%;
            }

            button.activeBtNav {
                background: #9f9f9f;
            }

            #button-plus-nav {
                background: black;
                color: white;
                font-size: 2rem;
                top: -20px;
                transform: scale(1.1);
            }
        }
    }
}

.home-saved-board {
    display: none;
    align-items: start;
    justify-content: center;
    border: none;
    background: white;
    overflow-y: scroll;
    top: 0;
    width: 100%;
    height: 100vh;
    position: fixed;
    z-index: 103;
    &::-webkit-scrollbar{
        display: none;
    }

    .container-saved-board {
        display: grid;
        justify-content: center;
        align-items: center;
        position: relative;
        border: none;
        background: transparent;
        width: 100%;

        .h2-saved-board {
            display: flex;
            justify-content: center;
            align-items: center;
            text-align: center;
            position: relative;
            border: none;
            background: transparent;
            padding: 10px;
            width: 100%;

            h2 {
                display: flex;
                justify-content: center;
                align-items: center;
                text-align: center;
                position: relative;
                width: 100%;
                font-weight: 600;
                background: transparent;
                padding: 5px;
                border-radius: 10px;
                border: none;
                font-size: 2rem;
            }
        }

        .box-item-board {
            display: grid;
            justify-content: center;
            align-items: center;
            grid-template-columns: repeat(2, 1fr);
            gap: 15px;
            width: 100%;
            position: relative;

            .item-board {
                display: grid;
                align-items: start;
                gap: 10px;
                position: relative;
                text-align: center;
                width: 100%;
                border: none;
                background: transparent;

                .item2-board {
                    display: grid;
                    align-items: center;
                    height: 100%;
                    width: 160px;
                    height: 200px;
                    border-radius: 15px;
                    position: relative;
                    border: none;
                    justify-content: center;
                    background: #3f4444;
                }

                h2 {
                    background-color: white;
                }
            }
        }
    }
}

.home-post-wadrobe{
    display: none;
    align-items: start;
    height: 100vh;
    width: 100%;
    background: white;
    z-index: 103;
    border: none;
    position: fixed;
    top: 0;

    .container-post-wadrobe{
        display: grid;
        justify-content: center;
        align-items: center;
        position: relative;
        width: 100%;
        border: none;
        background: transparent;

        .h2-post-wadrobe{
            display: grid;
            justify-content: center;
            align-items: center;
            text-align: center;
            position: relative;
            border: none;
            background: transparent;
            width: 100%;
            padding-top: 10px;

            h2{
                text-align: center;
                font-size: 2rem;
            }
        }


    }
}

.home-bar-wadrobe{
    display: none;
    align-items: center;
    position: fixed;
    z-index: 103;
    top: 0;
    overflow-y: scroll;
    width: 100%;
    height: 100vh;
    border: none;
    background: white;
    &::-webkit-scrollbar{
        display: none;
    }

    .container-bar-wadrobe{
        display: grid;
        align-items: center;
        position: relative;
        width: 100%;
        border: none;
        background: transparent;

        .box-bar-wadrobe {
            display: grid;
            gap: 10px;
            align-items: center;
            width: 100%;
            position: relative;
            margin-bottom: 80px;
            border: none;
            background: transparent;
            padding: 15px;

            .item-bar-wadrobe{
                display: grid;
                justify-content: center;
                text-align: center;
                cursor: pointer;
                position: relative;
                width: 100%;
                background: #c7c7c7;
                border: none;
                border-radius: 15px;
                
                &:hover{
                    background: #9f9f9f;
                }
                
                .box-img-bar{
                    display: grid;
                    justify-content: center;
                    align-items: center;
                    position: relative;
                    width: 100%;
                    border: none; 
                    
                    img{
                        display: grid;
                        justify-content: center;
                        align-items: center;
                        position: relative;
                        width: 130px;
                        height: 130px;
                        border: none;
                        background: transparent;
                        border-radius: 15px;
                        background-position: center;
                        background-repeat: no-repeat;
                        background-size: cover;
                        object-fit: cover;
                    }
                }


                h2{
                    display: grid;
                    width: 100%;
                    font-size: 2rem;
                    text-align: center;
                }
            }
        }
    }
}

.home-scan-wardrobe{
    display: none;
    align-items: start;
    position: fixed;
    top: 0;
    width: 100%;
    height: 100vh;
    background: white;
    z-index: 106;
    padding: 5px;
    border: none;

    .container-scan-wardrobe{
        display: grid;
        align-items: center;
        width: 100%;
        position: relative;
        background: transparent;
        border: none;

        .box-scan-wardrobe{
            display: grid;
            align-items: center;
            align-content: space-between;
            border-radius: 15px;
            width: 100%;
            background: #868686;
            height: 95vh;
            border: none;

            .h2-scan-wardrobe{
                display: flex;
                justify-content: space-between;
                align-items: center;
                width: 100%;
                position: relative;
                background: transparent;
                border: none;

                h2{
                    text-align: center;
                    width: 100%;
                    font-size: 2rem;
                    position: relative;
                    font-weight: bold;
                }

                button{
                    display: flex;
                    justify-content: center;
                    align-items: center;
                    text-align: center;
                    font-size: 2rem;
                    cursor: pointer;
                    color: white;
                    position: relative;
                    width: 50px;
                    background-color: transparent;
                    border: none;
                    height: 50px;
                }
            }
        }

        .button-scan-wardrobe{
            background: transparent;
            width: 75%;
            position: relative;
            display: flex;
            justify-content: space-between;
            align-items: center;
            position: relative;
            border: none;

            .box-gallery-scan, .box-button-potret{
                display: grid;
                justify-content: center;
                align-items: center;
                text-align: center;
                position: relative;
                width: 100%;
                padding: 10px;
                border: none;

                .button-gallery-scan{
                    display: flex;
                    justify-content: center;
                    align-items: center;
                    text-align: center;
                    cursor: pointer;
                    position: relative;
                    border-radius: 15px;
                    width: 60px;
                    height: 60px;
                    border: none;
                }

                .button-potret-scan{
                    background: transparent;
                    border: 7px solid white;
                    display: flex;
                    justify-content: center;
                    cursor: pointer;
                    align-items: center;
                    text-align: center;
                    width: 60px;
                    height: 60px;
                    border-radius: 50%;
                }
            }
        }
    }
}

.home-my-mardrobe{
    display: none;
    align-items: center;
    width: 100%;
    z-index: 106;
    height: 100vh;
    position: fixed;
    border: none;
    background: #cfcfcf;

    .container-my-mardrobe{
        display: grid;
        width: 100%;
        align-items: center;
        padding: 10px;
        position: relative;
        border: none;
        background: transparent;

        .h2-my-wardrobe{
            display: flex;
            justify-content: space-between;
            align-items: center;
            position: relative;
            width: 80%;
            background: transparent;

            button{
                display: flex;
                justify-content: center;
                align-items: center;
                position: relative;
                cursor: pointer;
                background: transparent;
                border: none;
                color: black;
                font-size: 2rem;
            }

            h2{
                font-size: 2rem;
            }
        }

        .box-my-mardrobe{
            display: flex;
            gap: 10px;
            width: 100%;
            align-items: center;
            position: relative;
            padding: 10px;
            border: none;
            background: transparent;

            .box-bt-slide{
                display: flex;
                width: 100%;
                justify-content: center;
                gap: 10px;
                align-items: center;
                border: none;
                transform: translateX(-10px);
                z-index: 200;
                background: transparent;
                position: absolute;

                .box-bt-left, .box-bt-right{
                    display: grid;
                    align-items: center;
                    width: 100%;
                    position: relative;
                    border: none;

                    button{
                        display: flex;
                        align-items: center;
                        position: relative;
                        border: none;
                        color: #3f4444;
                        cursor: pointer;
                        width: 100%;
                        font-size: 4.5rem;
                        background: transparent;
                    }
                }

                .box-bt-left button{
                    justify-content: left;
                    text-align: left;
                    transform: translateX(-10px);
                }
                
                .box-bt-right button {
                    justify-content: right;
                    text-align: right;
                    transform: translateX(10px);
                }
            }

            .box-photo-show{
                display: grid;
                align-items: center;
                position: relative;
                width: 100%;
                border: none;
                background: transparent;

                .item-photo-show{
                    display: grid;
                    justify-content: center;
                    align-items: center;
                    width: 100%;
                    position: relative;
                    border: none;
                    border-radius: 10px;
                    height: 85vh;
                }
            }

        }
    }
}

.home-draft-wardrobe{
    display: none;
    align-items: start;
    position: fixed;
    top: 0;
    height: 100vh;
    width: 100%;
    background: white;
    border: none;
    z-index: 106;

    .container-draft-wardrobe{
        display: grid;
        align-items: center;
        position: relative;
        width: 100%;
        background: transparent;
        border: none;

        .h2-draft-wardrobe{
            display: flex;
            justify-content: center;
            align-items: center;
            position: relative;
            width: 100%;
            border: none;
            background: transparent;
            text-align: center;

            button{
                display: flex;
                justify-content: center;
                align-items: center;
                position: absolute;
                left: 0;
                border: none;
                background: transparent;
                font-size: 2rem;
                color: black;
                cursor: pointer;
                transform: translateX(15px);
            }

            h2{
                display: grid;
                justify-content: center;
                align-items: center;
                position: relative;
                border: none;
                background: transparent;
                color: black;
                font-size: 2rem;
            }
        }

        .layout-draft-wardrobe{
            display: block;
            align-items: center;
            columns: 2;
            position: relative;
            height: 90vh;
            width: 100%;
            background: #b5b5b5;
            padding: 10px;

            .item-draft-wardrobe{
                display: block;
                width: 100%;
                position: relative;
                margin-bottom: 10px;
                cursor: pointer;
                padding: 5px;
                border-radius: 10px;
                justify-content: center;
                align-items: center;
                border: 5px solid transparent;
                background: white;
                transition: .3s ease;

                &:hover{
                    border: 5px solid black;
                }

                .box-img-draft{
                    display: grid;
                    justify-content: center;
                    align-items: center;

                    img{
                        display: grid;
                        justify-content: center;
                        align-items: center;
                        position: relative;
                        border: none;
                        background-position: center;
                        background-repeat: no-repeat;
                        background-size: cover;
                        object-fit: cover;
                        width: 100px;
                        height: 100px;
                    }
                }
            }
        }
    }
}

@media (max-width: 768px) {
    .box-gallery {
        width: 480px;
        columns: 2;
    }

    .layout-draft-wardrobe{
        width: 480px;
        columns: 2;
    }
}