body{
    background: black;
    height: 100vh;
    color: #c8c8c8;
    cursor: url(../src/img/cursor/cursor_normal_w.png), default;
}
::selection {
    color: rgb(18,18,18); 
    background: none;
}
h2:hover{
    color: rgb(18,18,18); 
    text-decoration: outline;
        -webkit-text-stroke: 1px #c8c8c8;
}
.mid_container{
    position: relative;
}
.contents {
    width: 99vw;
    height: 100%;
    margin-left: 0.5vw;
    margin-right: 0.5vw;
    padding-top: 10vh;
}
img{
    width: 100%;
    border-radius: 10px;
}

.peer_card{
    display: inline-grid;
    width: 32.25vw;
    height: 19.5vw;
    margin-right: 0.5vw;
    margin-bottom: 1vw;
    position: relative;
}
.peer_card:active{
    z-index: 10;
}
.peer_card:hover{
    z-index: 10;
}
.peer_margin{
    margin-right: 0;
}
.peer_container{
    width: 100%;
    display: inline-block;
    border-radius: 5px;
    perspective: 2500px;
    transform-origin: top;
}
#btnControl {
    display: none;
}
.peer_contents div{
    width: 100%;
    position: absolute;
        -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
}

.peer_contents div:first-child{
        width: 100%;
        height: 100%;
        transform: rotateY(180deg);
    }

.peer_contents{
    width: 100%;
    box-sizing: border-box;
    transform: rotateY(0deg);
    transition: transform 1s ease;
        -webkit-transform-style: preserve-3d;
    transform-style: preserve-3d;
}

.peer_rotate{
    transform: rotateY(180deg);
    
}
.peer_bottom{
    width: 100vw;
    height: 4vh;
    position: relative;
}

.bottom_container{
    background-color: rgb(18,18,18);
    color: #c8c8c8;
}
.bottom_container:hover{
    background-color: #c8c8c8;
    color: rgb(18,18,18);

}
.bottom_contents{
    width: 100%;
    height: 100%;
}
@media only screen 
  and (min-device-width: 320px) 
  and (max-device-width: 700px){ 
    .up_container {
        height: 18vw;
        background: linear-gradient(180deg, rgba(0,0,0,1), rgba(0,0,0,0));
    }
    .mid_container{
       overflow-x: hidden;
       overflow-y: scroll;
    }
    .contents{
        width: 90vw;
        padding-top: 10vh;
        margin-left: 5vw;
    }
    .peer_card {
        display: inline-block;
        width: 90vw;
        height: 58vw;
        margin-right: 0.75vw;
        position: relative;
    }
}

