/* common */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
    background: url('/wp-content/themes/en_ikemen/images/game/title/vampire/images/bg1.webp') center center fixed;
}

body, html {
    margin: 0;
    padding: 0;
    height: 100%;
}

header {
    position: relative;
}

header, nav, .content, .dl-container {
    border: none;
}

header img {
    width: 100%;
}

p {
    font-size: 1.5rem;
    color: #f2e6af;
    font-family: "Libre Baskerville", serif;
    font-weight: 400;
    font-style: normal;
}

li {
    list-style: none;
    color: #f2e6af;
    text-align: left;
    line-height: 1.3rem;
    font-size: 0.9rem;
}

img {
    width: 100%;
    display: block;
}

section {
    padding-bottom: 5%;
}

/* style */

section h2 {
    width: 89.6666%;
    margin: 0 auto;
}

.container {
    width: 100%;
    max-width: 750px;
    margin: 0 auto;
    background: url('/wp-content/themes/en_ikemen/images/game/title/vampire/images/bg.webp');
    background-size: contain;
    border: none;
    padding-bottom: 20%;
}

.header-logo {
    width: 18%;
    position: absolute;
    left: 0;
    padding: 10px;
}

.logo-text {
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    z-index: 10;
    width: 100%;
}

.logo-text img {
    margin-top: 10px;
}

.details p {
    padding-left: 9%;
}

.text-box {
    position: relative;
    text-align: center;
    margin: 10px 0;
}

.text-box-top {
    background: url('/wp-content/themes/en_ikemen/images/game/title/vampire/images/text_box_t.webp') no-repeat top;
    background-size: cover;
    height: 15px;
}

.text-box-content {
    background: url('/wp-content/themes/en_ikemen/images/game/title/vampire/images/text_box_c.webp') repeat-y ;
    background-size: contain;
    padding:  0 20px;
}

.text-box-content > ul > li {
    padding-left: 20px;
} 

.text-box-bottom {
    background: url('/wp-content/themes/en_ikemen/images/game/title/vampire/images/text_box_b.webp') no-repeat center bottom;
    background-size: cover;
    height: 15px;
}

.carousel-container {
    position: relative;
    width: 100%;
    overflow: hidden;
}

.carousel-images {
    display: flex;
    transition: transform 0.5s ease-in-out;
    text-align: center;
}

.carousel-images .image {
    display: none;
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
}

.carousel-images .image.on {
    display: block;
    opacity: 1;
}

.image {
    min-width: 100%;
    display: none;
    justify-content: center;
    align-items: center;
}

.image img {
    width: 82.666%;
    max-width: 750px;
    margin: 0 auto;
}

.image.on {
    display: flex;
}

button.prev, button.next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(0,0,0,0);
    color: #f2e6af;
    border: none;
    font-size: 3em;
    cursor: pointer;
    z-index: 10;
}

button.prev {
    left: 5px;
}

button.next {
    right: 5px;
}

.overall-item {
    position: relative;
    text-align: center;
    width: 94.4444%;
    margin: 0 auto 20px;
}

.image-container, .dl-container {
    position: relative;
}

.image-container img {
    width: 100%;
    max-width: 750px;
}

.text-overlay {
    position: absolute;
    top: 75%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    width: 100%;
    padding: 10px;
    box-sizing: border-box;
    text-align: center;
}

.text-overlay p {
    margin: 0;
    font-size: 1.2em;
}

.overall-item img {
    width: 100%;
    max-width: 750px;
}

footer {
    text-align: center;
    background-color: #812c44;
}

footer p {
    font-size: 1rem;
    padding: 10px;
}

.quick-links {
    position: fixed;
    bottom: 10px;
    right: 10px;
    display: none;
    background-color: rgba(255, 255, 255, 0.9);
    padding: 10px;
    border-radius: 5px;
}

.quick-links a {
    display: block;
    margin: 5px 0;
}

nav {
    position: fixed;
    bottom: -4px;
    width: 100%;
    max-width: 750px;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.5s ease-in-out, visibility 0.5s ease-in-out;
    z-index: 99;
}

nav.show {
    opacity: 1;
    visibility: visible;
}

.image-container {
    width: 91.999%;
    margin: 0 auto;
}

.dl_text {
    position: absolute;
    top: 68%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 1);
    width: 100%;
    box-sizing: border-box;
    text-align: left;
}

.dl_text p {
    margin: 0;
    font-size: 1.2em;
}

.dl_text p span {
    margin: 0;
    font-size: 1.23rem;
    line-height: 1.3;
}

.clickable {
    cursor: pointer;
    padding: 10px 0 0;
}

.Election_content{
    width: 94.44444%;
    margin: 0 auto;
}

.Election_content:nth-of-type(1) {
    padding-bottom: 8%;
}

.dl-container img {
    margin-bottom: 4px;
}

@media (min-width: 768px) {
    .clickable {
        cursor: pointer;
        padding: 20px 0 0;
    }

    .text-overlay p {
        margin: 0;
        font-size: 2.2em;
    }

    .details p {
        padding-left: 7%;
        font-size: 1.9rem;
    }

    .text-box-content > ul > li {
        font-size: 1.5rem;
        line-height: 1.3;
        padding-left: 5%;
    }

    .dl_text p {
        margin: 0;
        font-size: 2.2em;
    }

    .dl_text p span{
        margin: 0;
        font-size: 1.15em;
    }
    .container {
        padding-bottom: 158px;
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes fadeOut {
    from {
        opacity: 1;
    }
    to {
        opacity: 0;
    }
}

.fade-in {
    animation: fadeIn 0.5s forwards;
}

.fade-out {
    animation: fadeOut 0.5s forwards;
}

.content {
    padding-bottom: 60px;
}

