*{
  font-family: "Jersey 10", sans-serif;
  text-transform: uppercase;
  font-size: 110%;
}
body{
    background-image: url(img/background.jpg);
    margin: 0;
    padding: 0;
    height: 300%;
}
header{
    position:fixed;
    height: 7%;
    text-align: center;
    background-color: black;
    width: 100%;
    top: 0px;
    z-index: 99999;
}
header h3{
    color: white;
    margin: 0;
    padding: 5px;
    font-weight: 400;
}
header a{
    width: 20%;
    margin: auto;
    text-decoration: none;
    align-content: center;
}
#Name{
    width: 100%;
    top: 0%;
}
main{
    display: flex;
    flex-direction: column;
    text-align: center;
}
#welcome-message{
    width: 40%;
    margin-top: 17%;
    align-self: center;
    margin-bottom: 7%;
}
#welcome-message:hover{
    color: white;
}
#question{
    width: 50%;
    margin: auto;
    margin-bottom: 5%;
}
#question:hover{
    color: white;
}
#choice{
    align-items: center;
    display: flex;
    justify-content: center;
}
#add{
    margin-bottom: 5%;
    height: 200px;
}
#choose{
    margin-bottom: 5%;
    height: 200px;
}
#choice a{
        width: 45%;
        text-decoration: none;
        color: black;
}
#choice a:hover{
    color: white;
}
.box{
    background-color: rgb(129, 129, 129);
    border: 10px solid black;
    padding: 20px;
    margin: 5%;
    text-align: center;
    box-sizing: border-box;
    align-content: center;
    
    box-shadow:
        inset 10px 10px 0 #d6d6d6,
        20px 20px 0 black;
}
#photos img{

    width: 200px;
    margin: 0px;

}
#photos{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}
.section-title{
    background-color: rgb(129, 129, 129);
    border: 6px solid black;
    box-shadow: inset 6px 6px 0 #d6d6d6, 10px 10px 0 black;
    padding: 8px 25px;
    margin: 10px 0 0 0;
    text-align: center;
    color: black;
}
.section-title:hover{
    color: white;
}
.arrow{

    background-color: rgb(129, 129, 129);
    box-shadow: inset 10px 10px 0 #d6d6d6, 20px 20px 0 black;
    border: 10px solid black;
    padding: 3%;
    margin: 3%;
    margin-right: 6%;
}
.arrow:hover{
    color: white;
}
.item-container{
    display: flex;
    flex-direction: row;
    width: 90%;
    align-items: center;
    background-color: rgb(255, 83, 175);
    box-shadow: inset 10px 10px 0 #ff92cc, 20px 20px 0 #921c5b;
    border: 10px solid #921c5b;
    margin: 5%;
    margin-bottom: 40px;
    justify-content: center;
}
.image-box{
    height: fit-content;
    position: relative;
}
.delete-btn{
    position: absolute;
    top: 5px;
    right: 5px;
    width: 20px;
    height: 20px;
    background-color: rgb(129, 129, 129);
    border: 2px solid black;
    box-shadow: inset 2px 2px 0 #d6d6d6;
    color: black;
    font-size: 12px;
    line-height: 1;
    padding: 0;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    font-family: "Jersey 10", sans-serif;
}
.delete-btn:hover{
    background-color: #ff5555;
    color: white;
    box-shadow: inset 2px 2px 0 #ff9999;
}

@media (max-width: 600px){
    .delete-btn{
        width: 24px;
        height: 24px;
        font-size: 14px;
        top: 3px;
        right: 3px;
    }
}

/* Outfit page */
.outfit-body{
    background-image: url(img/background.jpg);
    min-height: 100vh;
    height: auto;
}
.outfit-body::after{
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.4);
    z-index: 0;
    pointer-events: none;
}
#outfit-title{
    position: relative;
    z-index: 5;
    display: flex;
    justify-content: center;
    margin-top: 10%;
}
#outfit-heading{
    width: 50%;
    margin: 0;
}
#outfit-heading p{
    font-size: 80%;
    margin: 5px 0 0 0;
}
#outfit-canvas{
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10;
    pointer-events: none;
}
#outfit-box{
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60%;
    height: 75%;
    background-color: rgba(129, 129, 129, 0.5);
    border: 10px solid black;
    box-shadow: inset 10px 10px 0 rgba(214, 214, 214, 0.4), 20px 20px 0 black;
    z-index: 2;
    pointer-events: none;
}
.outfit-item{
    position: fixed;
    width: 150px;
    cursor: grab;
    pointer-events: all;
    user-select: none;
    -webkit-user-select: none;
    touch-action: none;
    background-color: transparent;
    border: none;
    box-shadow: none;
    padding: 0;
}
.outfit-item:active{
    cursor: grabbing;
}
#wear-outfit{
    display: flex;
    justify-content: center;
    margin-bottom: 60px;
}
#wear-btn{
    cursor: pointer;
    width: 50%;
    transition: color 0.1s;
}
#wear-btn:hover{
    color: white;
}

/* Layers panel */
#layers-panel{
    position: fixed;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 50;
    background-color: rgb(129, 129, 129);
    border: 6px solid black;
    box-shadow: inset 6px 6px 0 #d6d6d6, 10px 10px 0 black;
    padding: 10px;
    max-height: 70vh;
    overflow-y: auto;
}
#layers-title{
    text-align: center;
    margin-bottom: 8px;
}
#layers-title h3{
    margin: 0;
    font-size: 100%;
}
#layers-list{
    display: flex;
    flex-direction: column;
    gap: 6px;
}
.layer-row{
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 4px;
    background-color: rgba(0,0,0,0.15);
    padding: 4px 6px;
    border: 2px solid black;
}
.layer-thumb{
    width: 35px;
    height: 35px;
    object-fit: contain;
    background-color: transparent;
}
.layer-label{
    font-size: 70%;
    text-transform: uppercase;
    margin-left: 4px;
}
.layer-arrow-btn{
    width: 22px;
    height: 22px;
    background-color: rgb(129, 129, 129);
    border: 2px solid black;
    box-shadow: inset 2px 2px 0 #d6d6d6;
    color: black;
    font-size: 10px;
    line-height: 1;
    padding: 0;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: "Jersey 10", sans-serif;
}
.layer-arrow-btn:hover:not(:disabled){
    background-color: rgb(255, 83, 175);
    color: white;
    box-shadow: inset 2px 2px 0 #ff92cc;
}
.layer-arrow-btn:disabled{
    opacity: 0.3;
    cursor: default;
}
.layer-scale-btn{
    width: 22px;
    height: 22px;
    background-color: rgb(129, 129, 129);
    border: 2px solid black;
    box-shadow: inset 2px 2px 0 #d6d6d6;
    color: black;
    font-size: 14px;
    line-height: 1;
    padding: 0;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: "Jersey 10", sans-serif;
}
.layer-scale-btn:hover{
    background-color: rgb(255, 83, 175);
    color: white;
    box-shadow: inset 2px 2px 0 #ff92cc;
}

@media (max-width: 600px){
    .outfit-item{
        width: 110px;
    }
    #outfit-heading{
        width: 80%;
    }
    #wear-btn{
        width: 80%;
    }
    #outfit-box{
        width: 85%;
        height: 70%;
    }
    #layers-panel{
        right: 5px;
        padding: 6px;
        max-height: 50vh;
    }
    .layer-thumb{
        width: 28px;
        height: 28px;
    }
    .layer-arrow-btn{
        width: 20px;
        height: 20px;
        font-size: 9px;
    }
    .layer-scale-btn{
        width: 20px;
        height: 20px;
        font-size: 12px;
    }
    .layer-label{
        font-size: 60%;
    }
}

