* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
}

    /* NAVBAR */
nav {
    width: fit-content;
    height: fit-content;
    margin: 30px auto 75px auto;
    z-index: 1000;
    border-radius: 10px;
    color: white;
    display: grid;
    grid-template-columns: auto auto auto auto auto auto;
    font-size: 40px;
    position: sticky;
    padding: 0 10px 0 10px;
    box-shadow: 5px 5px 5px rgba(0, 0, 0, 0.25);
}

.svt {
    background: #0BA057;
    border: 3px solid #008443;
}

.txt {
    background: #B49672;
    border: 3px solid #85745D;
}

.fimmies {
    background: #E9A6CA;
    border: 3px solid #DD91B4;
}

.clc {
    background: #F89194;
    border: 3px solid #DF1F51;
}

.loona {
    background: #676767;
    border: 3px solid #474747;
}

nav a {
    text-decoration: none;
    color: white;
}

nav a:hover {
    text-decoration: underline wavy;
}

nav i {
    color: white;
}

.current {
    font-weight: bold;
    padding: 15px;
}

.unused {
    font-weight: lighter;
    padding: 15px;
}


    /* PHOTOCARD BOOK */
.centering {
    display: flex;
    justify-content: center;
    align-items: center;
    align-content: center;
}

.book {
    position: relative;
    height: 609px;
    width: 460px;
    display: flex;
    align-items: center;
    align-content: center;
}

.paper {
    position: absolute;
    width: 100%;
    height: 100%;
    perspective: 1500px;
}

.front,
.back {
    position: absolute;
    display: flex;
    align-items: center;
    align-content: center;
    width: 100%;
    height: 100%;
    transform-origin: left;
    transition: transform 0.5s;
}

.front {
    z-index: 1;
    backface-visibility: hidden;
}

.back {
    z-index: 0;
}


.front-content,
.back-content {
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.back-content {
    transform: rotateY(180deg)
}

.binderpage {
    display: grid;
    height: 609px;
    width: 460px;
    align-items: center;
    grid-template-columns: 35px 5px 522px;
    overflow: hidden;
}

.binderholesside {
    background-color: rgba(255, 255, 255, 0.10);
    height: 609px;
    width: 5px;
    border-bottom: 1px dashed rgba(255, 255, 255, 0.75);
    border-top: 1px dashed rgba(255, 255, 255, 0.75);
    overflow: hidden;
}

.binderholes {
    display: grid;
    grid-template-rows: 25px 40px 75px 30px 45px 52px 10px 53px 45px 30px 75px 40px 25px;
    height: 550px;
    width: 35px;
    border-top-left-radius: 10px;
    border-bottom-left-radius: 10px;
    border-left: 1px dashed rgba(255, 255, 255, 0.75);
    background-color: rgba(255, 255, 255, 0.08);
    overflow: hidden;
}

.hole {
    border: 1px solid white;
    margin-left: auto;
    margin-right: auto;
    border-radius: 100px;
}

.binderpagebig {
    background-color: rgba(255, 255, 255, 0.10);
    display: grid;
    grid-template-rows: 203px 203px 203px;
    height: 609px;
    width: 420px;
    border: 1px dashed rgba(255, 255, 255, 0.75);
    overflow: hidden;
}

.bindercolumns {
    display: grid;
    grid-template-columns: 136px 148px 136px;
}

.binderpcleft {
    display: flex;
    height: 203px;
    width: 136px;
    justify-content: center;
    align-items: center;
    position: relative;
    overflow: hidden;
    transition: 0.8s;
}

.binderpcleft:after {
    content: "";
    position: absolute;
    top: -110%;
    left: -210%;
    width: 200%;
    height: 200%;
    opacity: 0;
    transform: rotate(30deg);
    background: rgba(255, 255, 255, 0.0);
    background: linear-gradient(
            to right,
            rgba(255, 255, 255, 0.0) 0%,
            rgba(255, 255, 255, 0.0) 70%,
            rgba(255, 255, 255, 0.14) 74%,
            rgba(255, 255, 255, 0.1) 76%,
            rgba(255, 255, 255, 0.0) 77%,
            rgba(255, 255, 255, 0.06) 79%,
            rgba(255, 255, 255, 0.3) 92%,
            rgba(255, 255, 255, 0.0) 100%
    );
}

/* Hover state - trigger effect */

.binderpcleft:hover:after {
    opacity: 1;
    top: -30%;
    left: -30%;
    transition-property: left, top, opacity;
    transition-duration: 0.7s, 0.7s, 0.15s;
    transition-timing-function: ease;
}

/* Active state */

.binderpcleft:active:after {
    opacity: 0;
}

.binderpcmiddle {
    display: flex;
    height: 203px;
    width: 136px;
    margin: 0 6px 0 6px;
    justify-content: center;
    align-items: center;
    position: relative;
    overflow: hidden;
    transition: 0.8s;
    border-right: 1px dashed rgba(255, 255, 255, 0.75);
 }

.binderpcmiddle:after {
    content: "";
    position: absolute;
    top: -110%;
    left: -210%;
    width: 200%;
    height: 200%;
    opacity: 0;
    transform: rotate(30deg);
    background: rgba(255, 255, 255, 0.0);
    background: linear-gradient(
            to right,
            rgba(255, 255, 255, 0.0) 0%,
            rgba(255, 255, 255, 0.0) 70%,
            rgba(255, 255, 255, 0.14) 74%,
            rgba(255, 255, 255, 0.1) 76%,
            rgba(255, 255, 255, 0.0) 77%,
            rgba(255, 255, 255, 0.06) 79%,
            rgba(255, 255, 255, 0.3) 92%,
            rgba(255, 255, 255, 0.0) 100%
    );
}

/* Hover state - trigger effect */

.binderpcmiddle:hover:after {
    opacity: 1;
    top: -30%;
    left: -30%;
    transition-property: left, top, opacity;
    transition-duration: 0.7s, 0.7s, 0.15s;
    transition-timing-function: ease;
}

/* Active state */

.binderpcmiddle:active:after {
    opacity: 0;
}

.binderpcright {
    display: flex;
    height: 203px;
    width: 136px;
    justify-content: center;
    align-items: center;
    position: relative;
    overflow: hidden;
    transition: 0.8s;
}

.binderpcright:after {
    content: "";
    position: absolute;
    top: -110%;
    left: -210%;
    width: 200%;
    height: 200%;
    opacity: 0;
    transform: rotate(30deg);
    background: rgba(255, 255, 255, 0.0);
    background: linear-gradient(
            to right,
            rgba(255, 255, 255, 0.0) 0%,
            rgba(255, 255, 255, 0.0) 70%,
            rgba(255, 255, 255, 0.14) 74%,
            rgba(255, 255, 255, 0.1) 76%,
            rgba(255, 255, 255, 0.0) 77%,
            rgba(255, 255, 255, 0.06) 79%,
            rgba(255, 255, 255, 0.3) 92%,
            rgba(255, 255, 255, 0.0) 100%
    );
}

/* Hover state - trigger effect */

.binderpcright:hover:after {
    opacity: 1;
    top: -30%;
    left: -30%;
    transition-property: left, top, opacity;
    transition-duration: 0.7s, 0.7s, 0.15s;
    transition-timing-function: ease;
}

/* Active state */

.binderpcright:active:after {
    opacity: 0;
}

.binderpc {
    display: flex;
    height: 192px;
    width: 125px;
    border-top: 1px groove rgba(255, 255, 255, 0.25);
    border-left: 1px groove rgba(255, 255, 255, 0.25);
    border-bottom: 1px groove rgba(50, 50, 50, 0.25);
    border-right: 1px groove rgba(50, 50, 50, 0.25);
    border-radius: 10px;
}

.binderpc img {
    height: 192px;
    width: 125px;
    object-fit: cover;
    overflow: hidden;
    border-radius: 10px;
}

.binderrightpc {
    display: flex;
    height: 192px;
    width: 125px;
    border-top: 1px groove rgba(255, 255, 255, 0.25);
    border-left: 1px groove rgba(255, 255, 255, 0.25);
    border-bottom: 1px groove rgba(50, 50, 50, 0.25);
    border-right: 1px groove rgba(50, 50, 50, 0.25);
    border-radius: 10px;
    transform: rotateY(180deg);
}

.binderrightpc img {
    height: 192px;
    width: 125px;
    object-fit: cover;
    overflow: hidden;
    border-radius: 10px;
}

/* PAPER FLIP */
.flipped .front,
.flipped .back {
    transform: rotateY(-180deg);
}

/* CONTROLL BUTTONS */
button {
    border: none;
    background-color: transparent;
    cursor: pointer;
    margin: 80px;
    transition: transform 0.5s;
}

button:focus {
    outline: none;
}

button:hover p {
    color: rgba(0, 0, 0, 0.5);
}

p {
    font-size: 50px;
    color: rgba(0, 0, 0, 0.25);
}

    /* PAPER STACK ORDER */
#p1 {
    z-index: 6;
}

#p2 {
    z-index: 5;
}

#p3 {
    z-index: 4;
}

#p4 {
    z-index: 3;
}

#p5 {
    z-index: 2;
}

#p6 {
    z-index: 1;
}