body {
    margin: 0;
    background-color: rgb(213, 235, 250);
    min-height: 100%;
}

.title {
    text-align: center;
    margin-top: 5vh;
    color: navy;
    font-family: 'Courier New', Courier, monospace;
    font-weight: 800;
    font-size: 16pt;
}

main {
    margin-top: 20px;
    width: 100vw;
}

.closetwrapper {
    width: 100vw;
    display: inline-block;
    justify-content: center;
    align-items: center;
    vertical-align: top;
    text-align: center;

}

.closet {
    /* float: left; */
    position: relative;
    display: inline-block;
    justify-content: center;
    align-items: center;
    vertical-align: top;
    text-align: center;
    height: 500px;
    width: 150px;
    background-color: rgb(161, 219, 255);
    margin: 25px; 
    border: solid navy 10px;
}

.label {
    background-color: navy; 
    color: lightblue;
    font-family: 'Courier New', Courier, monospace;
    font-weight: 800;
    font-size: 16pt; 
}


.topwrapper {
    position: relative;
    text-align: center;

}
.bottomwrapper {
    position: relative;
    text-align: center;

}
.shoewrapper {
    position: relative;
    text-align: center;
}

.top {
    position: absolute;
    top: 0px;
}
.bottom {
    position: absolute;
    top: 140px;
}
.shoe {
    position: absolute;
    top: 300px;
}

#sweater {
    min-width: 130%;
    height: auto;
    text-align: center;
    margin: auto;
    left: -20px;
    top: 0px;
    display: none;
}

#tank {
    display: none;
}

#button {
    min-width: 130%;
    height: auto;
    text-align: center;
    margin: auto;
    left: -20px;
    top: 0px;
    display: none;
}

#mini {
    min-width: 130%;
    height: auto;
    text-align: center;
    margin: auto;
    left: -20px;
    top: 180px;
    display: none;
}

#shorts {
    min-width: 130%;
    height: auto;
    text-align: center;
    margin: auto;
    left: -20px;
    top: 180px;
    display: none;
}

#jeans {
    min-width: 110%;
    height: auto;
    text-align: center;
    margin: auto;
    left: -15px;
    top: 160px;
    display: none;
}

#nikes {
    max-width: 65%;
    height: auto;
    text-align: center;
    margin: auto;
    left: 20px;
    top: 370px;
    display: none;

}

#adidas {
    max-width: 100%;
    height: auto;
    text-align: center;
    margin: auto;
    left: 7px;
    top: 370px;
    display: none;
}

#docs {
    max-width: 100%;
    height: auto;
    text-align: center;
    margin: auto;
    left: -5px;
    top: 350px;
    display: none;
}

img {
    max-width: 65%;
    height: auto;
    text-align: center;
    margin: auto;
    align-items: center;
    justify-content: center;
    padding: 10px;
  } 

img[title="Nike Sneakers"] {
    transform: scaleX(-1)rotate(90deg);
}
img[title="Adidas Sneakers"] {
    transform: scaleX(-1)rotate(-5deg);
    margin-top: 30px;
    max-width: 75%;
}
img[title="Doc Martens"]{
    transform: rotate(-40deg);
    margin-top: 30px;
}

input {
    text-align: center;
    width: 145px;
}
input[type='radio']  {
    accent-color: navy;
}
input[name='shoes']  {
    height: auto;
    margin-bottom: 10px;
    width: 145px;
}

div.closet:has(div.top1):has(input[value='top1']:checked) ~ div.closet > div.topwrapper > div#sweater {
    display: block;
}
div.closet:has(div.top2):has(input[value='top2']:checked) ~ div.closet > div.topwrapper > div#button {
    display: block;
}
div.closet:has(div.top3):has(input[value='top3']:checked) ~ div.closet > div.topwrapper > div#tank {
    display: block;
}
div.closet:has(div.bottom1):has(input[value='bottom1']:checked) ~ div.closet > div.bottomwrapper > div#mini {
    display: block;
}
div.closet:has(div.bottom2):has(input[value='bottom2']:checked) ~ div.closet > div.bottomwrapper > div#jeans {
    display: block;
}
div.closet:has(div.bottom3):has(input[value='bottom3']:checked) ~ div.closet > div.bottomwrapper > div#shorts {
    display: block;
}
div.closet:has(div.shoe1):has(input[value='shoe1']:checked) ~ div.closet > div.shoewrapper > div#nikes {
    display: block;
}
div.closet:has(div.shoe2):has(input[value='shoe2']:checked) ~ div.closet > div.shoewrapper > div#adidas {
    display: block;
}
div.closet:has(div.shoe3):has(input[value='shoe3']:checked) ~ div.closet > div.shoewrapper > div#docs {
    display: block;
}