/* General */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

.disable-select {
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

.dark {
    --bg: rgb(18, 18, 18);
    --fg: white;
    --rg: rgba(255, 255, 255, 0.1);
    --sc: rgb(18, 18, 18);
}

.light {
    --bg: white;
    --fg: rgb(18, 18, 18);
    --rg: rgba(0, 0, 0, 0.1);
    --sc: rgba(0, 0, 0, 0.3);
}

.switch-theme {
    padding: 5px;
    border: 1px solid var(--fg);
    border-radius: 40px;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    text-transform: uppercase;
    font-weight: bold;
    font-size: 1.5vh;
}

.switch-theme:hover {
    cursor: pointer;
}

.stamp-switch-light {
    position: relative;
}

.stamp-switch-light img {
    position: absolute;
    height: 100%;
}

.light-mode-text {
    margin-left: 2vh;
}

html {
    display: block;
    overflow: auto;
    background: var(--bg);
}

h1 {
    color: var(--fg);
    font-size: 4vh;
    padding-top: 20px;
    position: relative;
}

p, q {
    color: var(--fg);
    text-align: justify;
    text-justify: inter-word;
    font-weight: 300;
    line-height: 3vh;
    font-size: 2.25vh;
    margin-bottom: 3vh;
}

body {
    height: 100%;
    min-height: 80vh;
}

.outer-div {
    display: none;
    background: var(--bg);
}

.outer-div-foot {
    display: none;
}

.container {
    height: 100%;
    min-height: 80vh;
}

.content {
    margin: 10vh 0 0 0;
    background: var(--bg);
    position: relative;
    width: 100%;
    max-width: 1080px;
    height: 100%;
    min-height: 80vh;
}

.row {
    margin: 0 auto;
    width: 100%;
    z-index: 10;
}

footer {
    width: 100%;
    height: 10vh;
    text-align: center;
    display: flex;
    justify-content: space-evenly;
    align-items: center;
    background: var(--bg);
    border-top: 1px solid var(--fg);
    z-index: 20;
    font-size: 2vh;
}

footer li {
    color: var(--fg);
}

/* Navigation bar */

header {
    position: fixed;
    width: 100%;
    height: 10vh;
    top: 0;
    left: 0;
    background: var(--bg);
    border-bottom: 1px solid var(--fg);
    z-index: 20;
}

nav {
    width: 100%;
    height: 100%;
    text-align: center;
    display: flex;
    justify-content: space-evenly;
    align-items: center;
    font-size: 2.5vh;
}

.toggle {
    display: none;
    color: var(--fg);
}

.menu, .footer-menu {
    list-style-type: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 80vw;
    height: 10vh;
}

.menu li, .footer-menu li {
    position: relative;
    height: 100%;
    display: flex;
    justify-content: space-evenly;
    align-items: center;
}

.menu li a, .footer-menu li a {
    color: var(--fg);
    text-decoration: none;
}

.stamp-brand {
    width: 8vh;
}

.os-brand, .os-brand-hover {
    height: 3.5vh;
    position: absolute;
    top: 3.25vh;
    right: 0;
}

.os-brand-hover {
    display: none;
}

.twitter-brand, .twitter-brand-hover {
    height: 3.5vh;
    position: absolute;
    top: 3.25vh;
    left: 0;
}

.twitter-brand-hover {
    display: none;
}

@media all and (max-width: 991px) {
    body {
        min-height: 0px;
    }

    .container {
        min-height: 0px;
    }

    .content {
        min-height: 0px;
    }

    header {
        background: var(--bg);
    }
    
    nav {
        padding: 0 5vw 0 5vw;
    }

    .toggle {
        display: block;
        cursor: pointer;
        position: relative;
        z-index: 20;
        height: 10vh;
        width: 10vh;
    }
    
    #toggle-light, #toggle-dark {
        height: 5vh;
        position: absolute;
        top: 2.5vh;
        right: 0;
    }
    
    .logo {
        position: relative;
        z-index: 20;
    }
    
    #tog-close {
        height: 5vh;
        display: none;
    }
    
    #tog-open {
        height: 5vh;
        display: block;
        float: right;
    }
    
    .open #tog-close {
        display: block;
    }
    
    .open #tog-open {
        display: none;
    }
    
    .menu {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        background: var(--bg);
        flex-direction: column;
        justify-content: space-around;
        transform: translateX(-100%);
        transition: transform 0.2s;
    }

    .menu li a, .menu li span {
        font-size: 3vh;
    }

    .open .menu {
        transform: translateX(0);
    }
    
    .stamp-brand {
        width: 20vw;
    }
    
    .switch-theme {
        font-size: 2.5vh;
        padding: 1vw 1.5vw;
    }

    .light-mode-text {
        margin-left: 3.5vh;
    }

    .stamp-brand {
        width: 10vh;
    }
}

@media (min-width: 991px) {
    .sectitle {
        cursor: default;
    }
}

.submenu {
    display: none;
    z-index: 2;
    flex-direction: column;
    align-items: center;
    position: absolute;
    /* position: relative; */
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    background-color: var(--bg);
    padding: 10px;
    border-width: 5px 1px 1px 1px;
    border-style: none solid solid solid;
    border-color: var(--fg);
    white-space: nowrap;
}

.submenu li {
    display: block;
}

.submenu a {
    display: block;
    padding: 5px 10px;
    color: var(--fg);
    text-decoration: none;
}

.submenu a:hover {
    background-color: var(--rg);
}

@media all and (max-width: 991px) {
    .sectitle {
        cursor: default;
    }

    .submenu {
        border-style: inset solid solid solid;
    }
}

/* PFP */

.pfp-togglized {
    height: 80%;
    margin-right: 20px;
}

.pfp-togglized, .pfp-togglized img {
    display: none;
}

.circular-pfp {
    display: inline-block;
    height: 80%;
    margin-right: 0.5vw;
}

.circular-pfp img, .pfp-togglized img {
    width: auto;
    height: 100%;
}

/* IMN list */

.single-rev {
    padding: 10px;
    border: 1px solid var(--rg);
    border-radius: 7.5px;
}

.single-rev-img {
    width: 100%;
    border-radius: 5px;
}

.review-list-td {
  padding-bottom: 20px;
  text-align: center;
  border-bottom: none;
}

.review-list-title, .review-list-artist {
    text-align: center;
    font-size: 2vh;
    line-height: 2.5vh;
    margin: 5px 0px 0px 0px;
}

.os-link-review, .os-link-review-dark {
    width: 3vh;
    height: 3vh;
}

.os-brand-review, .os-brand-review-hover {
    margin-top: 10px;
    height: 3vh;
    width: 3vh;
}

#review-list-lil-screen {
    display: none;
}

@media all and (max-width: 991px) {

    #review-list-lil-screen {
       display: block;
    }
    
    #review-list-big-screen {
       display: none;
    }
}

#review-list-lil-screen .os-brand-review-hover,
#review-list-lil-screen .os-brand-review-dark,
#review-list-big-screen .os-brand-review-hover,
#review-list-big-screen .os-brand-review-dark {
    display: none;
}

/* IMN detail */

@media (min-width: 750px) {

    .detail-columns {
        width: 100%;
    }

    .detail-offset {
        margin-left: 0;
    }

}

@media (min-width: 991px) {

    .detail-columns {
        width: 65.3333333333%;
    }

    .detail-offset {
        margin-left: 17.3333333333%;
    }

}

.review-date-end {
    font-size: 2vh;
    font-style: italic;
    float: left;
    font-weight: 300;
    margin-top: 6vh;
    margin-bottom: 2vh;
}

.detail-container {
    margin: 2vh 0 4vh;
    text-align: center;
    font-size: 2vh;
    font-style: italic;
    text-align: center;
    color: var(--fg);
}

.artist-div-detail {
    text-align: center;
    margin-bottom: 50px;
    max-height: 50vh;
}

/* Threads about */

@media (min-width: 750px) {

    .section-content {
        width: 100%;
        margin-left: 0;
    }

}

@media (min-width: 991px) {

    .section-content {
        width: 82.6666666667%;
        margin-left: 8.66666666665%;
    }

}

section {
    margin-bottom: 20px;
}

h2 {
    font-size: 3vh;
    margin-bottom: 10px;
    color: var(--fg);
}

h3 {
    font-size: 2.5vh;
    margin-bottom: 10px;
    color: var(--fg);
}

.order-container {
    text-align: center;
    display: inline-block;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.threads-img-container {
    margin: 2vh 0 4vh;
    text-align: center;
    font-size: 2vh;
    font-style: italic;
    text-align: center;
    color: var(--fg);
}

.threads-imgs {
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    margin-bottom: 50px;
}

.museum-canvas {
    position: relative;
    max-width: 100%;
    max-height: 50vh;
    box-shadow: -10px 25px 15px var(--sc),
                10px 25px 15px var(--sc),
                0px 25px 30px var(--sc);
    overflow: hidden;
}

.museum-canvas img {
    max-width: 100%;
    height: auto;
}

/* Threads examples */

.slideshow-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    font-size: 2vh;
    text-align: center;
    color: var(--fg);
}

.slideshow {
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    margin-bottom: 50px;
    height: 65vh;
}

.thread-example {
    max-height: 100%;
}

.vertical-center {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.prev,
.next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    font-size: 4vh;
    cursor: pointer;
    display: flex;
    align-items: center;
}

.prev, .prev:hover, .next, .next:hover {
    color: var(--fg);
    text-decoration: none;
}

/* Batailles */
#batailles-generate {
    text-align: center;
    transform: translateY(3vh);
}

#generate-btn {
    width: 200px;
    background-color: #505050;
    border:none;
    border-radius:.3125rem;
    color: white;
    cursor:pointer;
}

#generate-btn:hover {
    background-color:#505050;
    transition: background .2s;
}

#generate-btn:hover:disabled {
    cursor: not-allowed;
}

@media all and (max-width: 991px) {
    .thread-example {
        max-height: 85%;
        max-width: 100%;
    }

    .prev,
    .next {
        top: auto;
        bottom: 40px;
        transform: translateY(0);
    }

    .slideshow-container {
        transform: translateY(-75px);
    }
}

.prev:before,
.next:before {
    content: "";
    display: inline-block;
    vertical-align: middle;
    height: 100%;
}

.prev {
    left: 10px;
}

.next {
    right: 10px;
}

.tooltip {
    position: absolute;
    pointer-events: none;
    background-color: rgb(18, 18, 18);
    color: white;
    padding: 5px;
    border-radius: 4px;
    font-size: 12px;
    z-index: 9999;
}


/* Contact form */

form p input, form p textarea {
    color: var(--fg);
}

span {
    color: var(--fg);
}

label {
    margin-bottom: 2vh;
}

input {
    margin-bottom: 3vh;
}

#id_name {
    height: 5vh;
}

#id_email {
    height: 5vh;
}

#id_message {
    height: 20vh;
    resize: vertical;
}

#id_send_copy {
    margin-top: 2vh;
    margin-bottom: 0;
    height: 2.5vh;
    width: 2.5vh;
}

.contact-form {
    font-weight: 300;
    font-size: 2.25vh;
}

/* Newsletter form */

.newsletter-form {
    font-weight: 300;
    font-size: 2.25vh;
}

.sub-explanation {
    margin-bottom: 20px;
    border-bottom: 1px solid grey; 
}

#sub-name {
    margin-left: 0;
}

#sub-email {
    margin-right: 0;
}

#newsletter-sub-btn {
    text-align: center;
}

#email-error {
    color: rgba(255, 0, 0, 0.5);
}

.sub-message-div {
    margin: 2vh 0 4vh;
    padding: 1vh 1vw;
    border: 1px solid var(--fg);
    border-radius: 5px;
    text-align: center;
}

.sub-message-p {
    text-align: center;
    padding: 0;
    margin: 0;
}

input[type="submit"] {
    font-size: 1.5vh;
    height: 5vh;
    line-height: 5vh;
    color: var(--fg);
    border-color: var(--fg);
}

/* Error pages */
.error-div {
    text-align: center;
}

.error-img {
    height: 70vh;
    margin: 5vh 0;
    border-radius: 5px;
}