
/* ------ MOBILE FIRST ----------- */
:root {
    --main-color: grey;
    --light-shadow: 175, 175, 175;
    --dark-shadow: 102, 102, 102;
    --wrapper-light-shadow: 163, 163, 163;
    --wrapper-dark-shadow: 87, 87, 87;
    --dark-main-color: darkgrey;
    --button: deeppink;
    --button-hover: deeppink;
    --see-soon: #d99d5c;
    --see-very-soon: #d95e5c;
    --bar-color: #232323;
    --main-dark-grey: #343a40;
    --medium-grey: #4e4e4e;
    --background-color: #676666;
    --light-grey: #afafaf;
}

body {
    background: var(--main-color);
    color: white;
    width: 100%;
    place-items: center;
    font-size: 1.1em;
    font-family: Cambria, Cochin, Georgia, Times, 'Times New Roman', serif;
    margin: 0px 0px 20px 0px;
}

#content {
    width: 100%;
    text-align: center;
    margin: auto;
}

#btnStart, #btnEnd {
    color: white;
    margin : 20px;
    padding: 40px;
    width: 90%;
    border-radius: 20px;
    font-size: 1.7em;
}

#btnStart {
    background-color: #6aa80e;
}

#btnEnd {
    background-color: #d5093b;
}

.songs {
    font-size: 2em;
    margin-left: 20px;
}

.song {
    border: 1px solid white;
    margin: 0px;
}

#addActivity {
    border-radius: 50px;
    margin-left: 15px;
}

#addNewActi{
    margin-top: 10px;
    border-radius: 8px;
    padding: 15px;
}

#formNewActi, #formDeleteActi {
    display: none;
    border: 1px white solid;
    margin: 20px;
    padding: 20px;
    border-radius: 20px;
}
#formNewActi label, #formDeleteActi label {
    display: block;
    margin-bottom: -5px;
}

#formNewActi input {
    width: 80%;
    height: 40px;
}

#askDelete {
    float: left;
    background: transparent;
    border: none;
    filter: brightness(2.5);
}

#formDeleteActi {
 display: none;
}

#deleteActi, #cancelDeleteActi {
    padding: 15px;
}

#deleteActi {
    margin-right: 10px;
}

#formDeleteActi label {
    margin-bottom: 10px;
}

p {
    margin-top: 2px;
    margin-bottom: 2px;
}

#mainTitle {
    margin: 0px 0px 10px 0px;
    font-size: 0.9em;
}

#titleActi {
    margin: 0px;
}

/* --- Menu btn active --- */
input#btnMenu.active, input#waitList.active, input#statList.active {
    background-color: transparent;
    border: none;
    color: var(--button);
}

input#btnMenu.active:hover, input#waitList.active:hover, input#statList.active:hover {
    background-color: transparent;
    cursor: default;
}

/* --- Menu --- */
#menu {
    width: 80%;
    display: flex;
    justify-content: space-around;
    margin: 0px auto;
}

#menu button {
    border-radius: 30%;
    padding: 10px;
}

#backback {
    border: none;
    cursor: pointer;
    appearance: none;
    background-color: inherit;
}

/* --- State choice btn --- */
#secondChoice, #thirdChoice {
    position: fixed;
    top: 50%;
    left: 50%;
    /* bring your own prefixes */
    transform: translate(-50%, -50%);
}
#stateChoice, #thirdChoice { width: 100%; margin: auto; }

#stateChoice input { width: 60%; color: white; }
#stateChoice button { width: 60%; color: white; margin-bottom: 15px; }
#thirdChoice button { margin-bottom: 15px; }
#stateChoice button:hover { color: var(--button); background-color: white; }
#stateChoice img, #thirdChoice img {
    height: 25px;
    margin-right: 10px;
    vertical-align: middle;
}

ul#btnStateChoice { margin: 0px; padding: 0px; }
#btnStateChoice button { min-width: 45%; margin: 6px; }

/* FORM */
#newMedia {
    margin: 20px;
}

#newMedia h1 {
    font-size: 0.8em;
    margin: 0px;
    float: left;
}

.formBlock {
    border: solid 1px white;
    border-radius: 4px;
    padding: 5px;
}

/* --- MEDIA CHOICE --- */
#mediaChoice {
    width: 100%;
}

/* --- BAR --- */
#bar {
    width: 100%;
    display: inline-block;
}

#logoutBtn {
    float: right;
}

#megaHome {
    float: left;
}

#megaHomeBtn {
    color: white;
    background-color: transparent;
    border: 0px solid black;
}

/* --- List artwork --- */
#artworksList {
    list-style: none;
    text-align: left;
}

#artworksList button {
    margin-left: 10px;
}

#artworksList li {
    margin-bottom: 10px;
}

#artworksList p {
    margin: 0px;
}

/* --- Add creator --- */
#addedCreators {
    list-style: none;
}

.creatorToAdd, .countryToAdd, .genreToAdd, .franchiseToAdd, .tagToAdd, .serieToAdd, .featureToAdd {
    border: 2px solid black;
    background-color: gray;
    border-radius: 5px;
    width: fit-content;
    margin-bottom: 5px;
    padding: 2px;
}

#removeCreaBtn {
    border-color: white;
    border-radius: 10px;
    margin-left: 4px;
}

#enterNewShow, #possibleTv, #possibleMag, #possibleMovies, #possibleSagas, #possibleFranchises, #possibleCreators {
    display: none;
}

#newMedia ul#possibleMovies, #newMedia ul#possibleSagas, #newMedia ul#possibleCreators {
    display: none;
}

#newMedia ul, #newMedia p {
    margin: 0px;
    list-style: none;
    display: flex;
}

#addSagaFranchise {
    display: none;
    margin-top: 30px;
}

p#neoSaga {
    font-size: 0.8em;
    text-align: center;
    display: block;
}

form li {
    margin-right: 10px;
}

/* Media auto list */
#possibleFranchises, #possibleSagas, #possibleMovies, #possibleTv, #possibleMag, #possibleBooks,
#possibleVgs, #possibleVrs, #possibleComic, #possibleShows, #possibleSpectacles, #possibleCreators {
    background-color: #afafaf;
    padding-bottom: 12px;
}

#possibleSagas li:nth-child(even), #possibleMovies li:nth-child(even), #possibleTv li:nth-child(even), #possibleMag li:nth-child(even),
#possibleBooks li:nth-child(even), #possibleVgs li:nth-child(even), #possibleVrs li:nth-child(even),
#possibleComic li:nth-child(even), #possibleSpectacles li:nth-child(even), #possibleFranchises li:nth-child(even),
#possibleCreators li:nth-child(even) {
    background-color: pink;
}

#possibleSagas li:hover, #possibleMovies li:hover, #possibleTv li:hover, #possibleMag li:hover, #possibleBooks li:hover,
#possibleVgs li:hover, #possibleVrs li:hover, #possibleComic li:hover, #possibleSpectacles li:hover, #possibleFranchises li:hover,
#possibleCreators li:hover {
    text-decoration: underline;
    cursor: pointer;
}

input#neoMovie, input#neoTv, input#magName, input#neoBook, input#neoVg, input#neoVr, input#neoComic, input#neoSpectacle  {
    position: relative;
}

#res {
    position: absolute;
}

#seasonsViewed, #sagaList, #addNeoCreator {
    display: none;
}

#sagaList label {
    font-weight: bold;
}

#newMedia #sagaList #existingSagaList {
    display: block;
}

#newMedia #sagaList {
    margin-top: 10px;
    font-style: italic;
    font-size: 0.9em;
}

/* --- Artwork detail --- */
#artworkDetail p {
    margin: 0px;
    margin-bottom: 8px;
}

#grade {
    font-size: 0.6em;
    margin: 10px;
}

#mediaTitle {
    font-size: 1.3em;
    font-weight: bold;
    margin-right: 10px;
}

.artFeat {
    font-size: 0.6em;
    font-style: italic;
    margin-right:6px;
}

.review {
    text-align: left;
    margin-left: 40px;
    margin-bottom: 10px;
}

/* --- Artwork sum up --- */
#artworkSumUp p {
    margin: 0px;
}

.sumUpViews div {
    text-align: left;
}

.oneView {
    margin-bottom: 10px;
}

/* SEASON FORM */
#proposeNewSeason {
    display: none;
}

/* BOUTONS POUSSOIRS */

.pushButton {
    box-shadow: 2px 2px 4px 1px #343a40;
    margin-left: 10px;
    margin-bottom: 5px;
    border-radius: 5px;
    background-color: darkgrey;
}

.pushButton.active {
    box-shadow: inset 2px 2px 3px 1px #343a40;
    margin-left: 10px;
    margin-bottom: 5px;
    border-radius: 5px;
    background-color:white;
}

details {
    margin: 10px;
    border: solid 1px;
    border-radius: 6px;
    padding: 10px;
}

details summary {
    margin-top: -8px;
}

/* ------------- CSS TABLET --------------- */
@media (max-width: 360px) {

    body {
        background-color: rgb(95, 236, 170);
    }

    #content {
        width: 100%;
        font-size: 0.7em;
    }
}

/* -----  Mon tel ------*/
@media (min-width: 361px) and (max-width: 490px) {
    body {
        background-color: rgb(127 109 74);
    }

    #content {
        font-size: 0.8em;
    }

    #menu {
        width: 100%;
        display: block;
    }

    #artworksList {
        padding-inline-start: 4px;
    }

    #btnSecondChoice {
        padding-inline-start: 4px;
    }
}

@media (min-width: 491px) and (max-width: 667px) {
    body {
        background-color: rgb(29, 240, 21);
    }

    #btnStateChoice button { min-width: 40%; margin: 8px; }
}

/* ---- CSS TABLET OU MOBILE HORIZONTAL ----- */
@media (min-width: 668px) and (max-width: 849px) {

    body {
        background-color: orangered;
    }

    #content { width: 80%; }
}

/* ---- CSS DESKTOP ---- */
@media (min-width: 850px) {

    body {
        background-color: blueviolet;
    }

    #content {
        width: 60%;
    }
}

/* ---- CSS DESKTOP BIG ---- */
@media (min-width: 950px) {
    body {
        background-color: rgb(211, 0, 88);
    }

    #btnStateChoice button { min-width: 30%; margin: 8px; }
    #stateChoice {
        width: 80%
    }
}

/* ---- CSS DESKTOP VERY BIG ---- */
@media (min-width: 1200px) {
    body {
        background-color: #615806;
    }

    #stateChoice, #thirdChoice {
        width: 60%
    }
}