@import url('https://fonts.googleapis.com/css2?family=Itim&display=swap');

@font-face {
    font-family: itim;
    src: url('https://fonts.googleapis.com/css2?family=Itim&display=swap');
    /*src: url('https://pctkpp.github.io/tnbt2022/fontNyashi.otf');*/
}

@font-face {
    font-family: FC rainbow;
    src: url('https://pctkpp.github.io/tnbt2022/font/fc-rainbow.otf');
    unicode-range: U+E00–E7F;
}


html {
    height: 100%;
}

body {
    width: 100vw;
    margin: 0;
    text-align: center;
    color: #372791;
    background-image: url(Assets/Tanabata_Color_Final-1\ 2.png);
    background-size: cover;
    background-repeat: no-repeat;
    background-position: 0 0;
    z-index: 1;
    position: absolute; 
}

.container{
    width: 100%;
    height: 100%;
    display:flex;
    text-align: center;
}

.space{
    margin-bottom: 2100px;
    text-align: center;
}
.btn{
        margin-top: 1200px;
        font-size: 1em;
        height: 50px;
        width: 250px;
        border: 0;
        outline: none;
        border-radius: 20px;
        color: #372791;
        background-color: wheat;
        cursor: pointer;
        margin-left: auto;
        margin-right: auto ;
        z-index: 100;
}

.story_btn{
    margin-top: 1200px;
    font-size: 1em;
    height: 50px;
    width: 250px;
    border: 0;
    outline: none;
    border-radius: 20px;
    color: #372791;
    background-color: wheat;
    cursor: pointer;
    margin-left: auto;
    margin-right: auto;
    z-index: 100;
}

.popup{
    width: 450px;
    text-align: center;
    background-color: #d1585f;
    border-radius: 15px;
    top: 30%;
    left: 50%;
    position: fixed;
    transform: translate(-50%,-50%);
    padding: 10px 30px 30px;
    visibility: hidden;
    z-index: 102;
}

.titlecard{
    color:white;
    font-family: 'FC rainbow', 'Nyashi', 'Hachi Maru Pop', 'Mali', cursive;
    z-index: 101;
}

.open-popup{
    visibility: visible;
}

.overlay {
    width: 100vw;
    height: 100vh;
    background-color: black;
    opacity: 70%;
    position: fixed;
    top: 0;
    left: 0;
    padding: 0;
    margin: 0;
    visibility: hidden;
    z-index: 101;
}

.ovl {
    visibility: visible;
}

input[type=text] {
    font-family: 'FC rainbow', 'Nyashi', 'Hachi Maru Pop', 'Mali', cursive;
    font-size: 1em;
    height: 40px;
    width: 300px;
    border: none;
    border-bottom: 2px solid #ff7e0d;
    padding: 0px 10px;
    margin-bottom: 30px;
    line-height: 2.5em !important;
}

.popup button{
    font-family: 'FC rainbow', 'Nyashi', 'Hachi Maru Pop', 'Mali', cursive;
    height: 40px;
    border-radius: 20px;
    border-color: purple;
    color: #372791;
    background-color: wheat;
    cursor: pointer;
    margin-left: auto;
    margin-right: auto;
    width: 300px;
    font-size: 1em;
}

.optionTazaku{
    width: 90%;
    height: 25%;
    top: 87.5%;
    left: 50%;
    margin-left: auto;
    margin-right: auto;
    border-radius: 15px;
    text-align: center;
    position: fixed;
    transform: translate(-50%,-50%);
    padding: 20px; 
    background-color: #fcf1e5eb;
    visibility: hidden;
    z-index: 102;
}
.cl{
    width: 50px;
    height: 50px;
    padding: 20px 40px;
    border-radius: 5px;
    border-color: black;
    margin-bottom: 2px;
    background-color: var(--color);
    cursor: pointer;
    margin: 10px;
}
.cl_1 {--color: black; border-color: grey;}
.cl_2 {--color: #fdb7c2; border-color: grey}
.cl_3 {--color: #a1e9ff;border-color: grey}
.cl_4 {--color: #3f3152;border-color: grey}
.cl_5 {--color: #fbe1a4;border-color: grey}
.cl_6 {--color: #acf4b4;border-color: grey}
.cl_7 {--color: #d1585f;border-color: grey}
.cl_8 {--color: #f5f4f0;border-color: grey}

.open-option{
    visibility: visible;
}

.bg_bottom{
    position: absolute;
    top:70%;
    left: 50%;
    width: 100%;
    transform: translate(-50%, -50%);
    z-index: 2;
}

.random{
    margin-top: 2300px;
    z-index: 200;
    font-size: 2em;
    position: center;
    left: 50%;
    cursor: pointer;
    margin-left: auto;
    margin-right: auto;
}

.gallery text{
    font-family: FC rainbow;
}
.popupstory {
    width: auto;
    height: 300  px;
    background-color: #f5f4f0;
    border-radius: 6px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    position: fixed;
    padding: 15px 30px 15px;
    visibility: hidden;
    z-index: 300;
}

.open-popup_story {
    visibility: visible;
}

.close {
    background: red;
    color: #FFFFFF;
    line-height: 25px;
    position: absolute;
    right: -12px;
    text-align: center;
    top: -10px;
    width: 24px;
    text-decoration: none;
    font-weight: bold;
    -webkit-border-radius: 12px;
    -moz-border-radius: 12px;
    border-radius: 12px;
    -moz-box-shadow: 1px 1px 3px #000;
    -webkit-box-shadow: 1px 1px 3px #000;
    box-shadow: 1px 1px 3px #000;
}

.close:hover {
    background: #f5f4f0;
}

.choice1 {
    background-color: #372791;
    color: white;
    padding: 5px;
    border-radius: 5px;
}

.choice2 {
    background-color: #372791;
    color: white;
    padding: 5px;
    border-radius: 5px;
}

.choice3 {
    background-color: #372791;
    color: white;
    padding: 5px;
    border-radius: 5px;
}

.choice4 {
    background-color: #372791;
    color: white;
    padding: 5px;
    border-radius: 5px;
}

.choice5 {
    background-color: #372791;
    color: white;
    padding: 5px;
    border-radius: 5px;
}

.choice6 {
    background-color: #372791;
    color: white;
    padding: 5px;
    border-radius: 5px;
}

#gallerywrapper {
    width: 640px;
    height: 450px;
    margin: 0 auto;
    position: relative;
    font-family: verdana, arial, sans-serif;
}

#gallerywrapper #gallery {
    position: absolute;
    left: 0;
    top: 0;
    height: 450px;
    width: 640px;
    overflow: hidden;
    text-align: center;
}

#gallerywrapper #gallery div {
    width: 640px;
    height: 900px;
    padding-top: 10px;
    position: relative;
}

#gallerywrapper #gallery div img {
    clear: both;
    display: block;
    margin: 0 auto;
    border: 0;
}

#gallerywrapper #gallery div h3 {
    padding: 10px 0 0 0;
    margin: 0;
    font-size: 18px;
}

#gallerywrapper #gallery div p {
    padding: 5px 0;
    margin: 0;
    font-size: 18px;
    line-height: 18px;
}

#gallery .previous {
    display: inline;
    float: left;
    margin-left: 10px;
    text-decoration: none;
    size: 2;
    padding: 10px;
    background-color: black;
}

#gallery .next {
    display: inline;
    float: right;
    margin-right: 10px;
    text-decoration: none;
    padding: 10px;
    background-color: black;
}

h4{
    color:#3f3152;
    font-family: itim;
    text-align: center;
}

a{
    color:white;
    font-family: itim;
}

.SeeOther a{
    background-color:#fbe1a4;
    color:#000;
    bottom: 20%;
    text-align: center;
    margin-left: auto;
    margin-right: auto;
    size: 1em;
    z-index: 300;
    position: absolute;
    left: 50%;
    padding: 5px;
    border-radius: 10px;
    transform: translate(-50%, -50%);
}
