::root {
    --shadow-soft: hsla(0, 0%, 20%, 0.2);
    --shadow: hsla(0, 0%, 20%, 0.2);
}

body {
    font-size: 16px;
    margin: 0;
    line-height: 21px;
    font-family: Arial, Helvetica, sans-serif;
    overflow-x: hidden;
    background-color: snow;

    transition: background-color .3s ease-in-out;
}

header {
    position: fixed;
    top: 0;
    left: 0;
    margin: auto;
    display: flex;
    font-size: 12px;
    z-index: 999;

    width: 100%;
    justify-content: center;
}

header div {
    opacity: 40%;

    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    height: fit-content;
    padding: 20px 20px;
}

header div:hover {
    cursor: pointer;
    text-decoration: underline;
}

.selected {
    opacity: 80%;
}

#diapoBtn {
    margin: 15px;
    height: 30px;
    width: 30px;
    position: absolute;
    top: 0;
    right: 0;
    background-image: url(play.svg);
    background-size: cover;
    z-index: 9999;
    opacity: 20%;
    transition: all ease-in-out .5s;
}

#diapoBtn:hover {
    opacity: 100%;
    transition: all ease-in-out .5s;
    cursor: pointer;
}



.content {
    /*! max-width: 920px; */
    position: relative;
    margin: auto;
    display: flex;
    flex-direction: column;
    width: 100%;
    height: 100vh;
    justify-content: center;
    align-items: center;
}


/* PROJECT */
.up {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
    width: 100%;

}

#nextpro {
    position: absolute;
    z-index: 0;
    opacity: 0;
    text-decoration: none;
    transition: all ease-in-out .2s;
}

#nextpro:hover {
    text-decoration: underline;
    cursor: pointer;
    transition: all ease-in-out .2s;
}


.thumbnail {
    transform: translateX(100vw);
    opacity: 1 !important;
    transition: all ease-in-out .2s;

    display: flex;
    justify-content: center;
    align-items: center;
    height: 70%;
    z-index: 10;

}

.thumbnail img {
    border-radius: 6px;
    box-shadow: 0 0 10px hsla(0, 0%, 20%, 0.2);
    height: 100%;
    position: absolute;
    background-color: hsla(0, 0%, 20%, 0.2);

    transition: all ease-in-out .3s;
}

.thumbnail img:hover {
    cursor: pointer;
    transform: scale(1.1) rotate(0deg) !important;
    transition: all ease-in-out .3s;


}

.thumbnail img:nth-child(1) {
    transform: rotate(1deg);
}

.thumbnail img:nth-child(2) {
    transform: rotate(-1deg);
}

.thumbnail img:nth-child(3) {
    transform: rotate(2deg);
}

.thumbnail img:nth-child(4) {
    transform: rotate(-2deg);
}

.thumbnail img:nth-child(5) {
    transform: rotate(3deg);
}

.thumbnail img:nth-child(6) {
    transform: rotate(-3deg);
}

.info {
    display: grid;
    grid-template-columns: 1fr auto;
    background-color: hsla(0, 0%, 99%, 0.8);
    width: 100%;
    padding: 12px 18px;
    box-sizing: border-box;
    gap: 12px;
    position: relative;
    z-index: 10;
    box-shadow: 0 0 10px hsla(0, 0%, 20%, 0.2);
}

.info>div {
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    gap: 12px;
}

.info>div:nth-child(2) {
    align-items: end;
}

#objectTitle {
    font-size: 24px;
}


#objectURL {
    text-decoration: none;
    color: inherit;

    font-size: 14px;

    z-index: 99;
    color: black;
    transition: all ease-in-out .2s;

}

#objectURL:hover {
    text-decoration: underline;
    cursor: pointer;
    transition: all ease-in-out .2s;

}

#objectDate {
    color: hsla(0, 0%, 20%, 0.4);
}

#objectTags {
    display: flex;
    gap: 8px;
    height: fit-content;
}

#objectTags span {
    background-color: hsla(0, 0%, 20%, 0.2);
    padding: 3px 8px 4px 8px;
    border-radius: 4px;
    font-size: 14px;
    color: hsla(0, 0%, 20%, 0.8);
    ;
}


/* NAVIGATION */


#leftSide {
    position: absolute;
    height: 100%;
    width: 30%;
    max-width: 300px;
    top: 0;
    left: 0;
    background-color: hsla(0, 0%, 20%, 0);
    transition: all ease-in-out .2s;

}


#rightSide {
    position: absolute;
    height: 100%;
    width: 30%;
    max-width: 300px;
    top: 0;
    right: 0;
    background-color: hsla(0, 0%, 20%, 0);
    transition: all ease-in-out .2s;

}

#leftSide:hover,
#rightSide:hover {
    cursor: pointer;
    background-color: hsla(0, 0%, 20%, 0.1);
    transition: all ease-in-out .2s;

}

#leftSide:active,
#rightSide:active {
    background-color: hsla(0, 0%, 20%, 0.1);
    transition: all ease-in-out .2s;
}

.active {
    background-color: hsla(0, 0%, 20%, 0.1) !important;
    transition: all ease-in-out .2s;
}


.imageMove {
    -webkit-transform: translateX(0) !important;
    -ms-transform: translateX(0) !important;
    transform: translateX(0) !important;
    opacity: 1 !important;
    -webkit-transition: all ease-in-out .3s;
    -o-transition: all ease-in-out .3s;
    transition: all ease-in-out .3s;
}

.imageGo {
    -webkit-transform: translateX(-100vw) !important;
    -ms-transform: translateX(-100vw) !important;
    transform: translateX(-100vw) !important;
    opacity: 0;
    -webkit-transition: all ease-in-out .3s;
    -o-transition: all ease-in-out .3s;
    transition: all ease-in-out .3s;
}

.hidden {
    display: none;
}