:root {
    --main-color: #F27324;
    --sub-color: #E7A23D;
    --accent-color: rgba(117, 147, 152, 0.87);
    --black: #3D3D3D;
    --white: #F9FAF0;
}

html {
    font-size: 18px;
}

/*@font-face {*/
/*    font-family: 'TinkerBell';*/
/*    src: url('./font/TinkerBell/Tinker Bell.ttf');*/
/*    font-weight: normal;*/
/*    font-style: normal;*/
/*}*/

/*@font-face {*/
/*    font-family: 'Alice';*/
/*    src: url('./font/Alice/Alice_in_Wonderland_3.ttf');*/
/*    font-weight: normal;*/
/*    font-style: normal;*/
/*}*/

@font-face {
    font-family: 'Cinderella';
    src: url('./font/Cinderella/Cinderella.ttf');
    font-weight: normal;
    font-style: normal;
}


body {
    font-family: "Helvetica Neue", Osaka, Arial, Meiryo, sans-serif;
    background-color: var(--white);
    color: var(--black);
    font-size: 1.0rem;
}

header, footer {
    background-color: var(--sub-color);
    color: var(--white);
    padding: 2.0rem 0 1.0rem 0;
}

header ul li, footer ul li {
    display: inline-block;
    margin: 0 1.0rem;
}

a { font-weight: bold; }
a:hover { opacity: 0.7; }
h1 { font-size: 3.0rem; }
h2 { font-size: 2.0rem; }
h3 { font-size: 1.4rem; }
h4 { font-size: 1.2rem; }
img { width: 100%; }

header span, header h1, footer h3, span.footer-sub, .deco { font-family: Cinderella, sans-serif; }

.inner {
    box-sizing: border-box;
    max-width: 1300px;
    margin: auto;
}


.flex {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
}

.header-block {
    flex-basis: 50%;
    margin: 0.5rem 1.0rem 0.2rem 1.0rem;
}

.header-block a, .footer-logo a {
    display: inline-block;
}

.footer-logo {
    text-align: center;
}

.footer-block {
    text-align: center;
}

.footer-block li {
    margin: 1.2rem;
}

.sign {
    font-family: Cinderella;
    color: var(--sub-color);
    display: block;
    max-width: 700px;
    text-align: right;
}
.sign span { font-size: 0.85rem; }
.sign span i { font-size: 1.3rem; }

.copy {
    text-align: center;
    font-size: 0.8rem;
}

.youtube {
    width: 65%;
    aspect-ratio: 16 / 9;
    text-align: center;
}

.youtube iframe {
    width: 100%;
    height: 100%;
}

img.characters {
    max-width: 150px;
    margin: 0.5rem 0;
}

img.character {
    max-height: 50px;
    width: auto;
}

main {
    min-height: 600px;
    margin: 2.0rem 0.75rem;
}

body.admin {
    background-color: var(--black);
    color: var(--white);
}

main a.btn {
    display: inline-block;
    margin: 1.0rem 0;
    padding: 1.0rem;
    border: 2px solid var(--sub-color);
    border-radius: 5px;
    color: var(--sub-color);
}

img.top-img {
    max-width: 2000px;
    max-height: 500px;
    object-fit: cover;
    object-position: 50% 40%;
    filter: saturate(60%);
}

main h2 {
    position: relative;
    padding-bottom: 1.0rem;
    margin-top: 2.0rem;
}

main h2:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 8px;
    background-image: repeating-linear-gradient(45deg, var(--main-color) 0px, var(--main-color) 1px, rgba(0,0,0,0) 0%, rgba(0,0,0,0) 50%);
    background-size: 8px 8px;
}

main h3 {
    margin: 1.0rem 0;
    color: var(--main-color);
}

main h4 {
    margin-top: 1.3rem;
    border-bottom: 1px solid var(--accent-color);
    color: var(--accent-color);
}

main p {
    margin: 1.0rem 0;
    line-height: 1.4rem;
}

main.about img {
    max-width: 600px;
    margin: auto;
}

.movie-description { font-size: 0.7rem; }

.item:before {
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    margin-right: 1.0rem;
    font-style: normal;
}
.folder:before { content: '\f07b'; }
.pdf:before {
    content: '\f1c1';
    color: #d66d6d;
}
.mp3:before, .wav:before {
    content: '\f1c7';
    color: #7197c9;
}
.other:before { content: '\f15b'; }

.admin main a {
    display: block;
    font-weight: normal;
    border: 1px solid var(--white);
    border-radius: 5px;
    padding: 0.5rem 1.0rem;
    margin: 0.5rem 0;
}

/* Tablets */
@media(max-width: 950px) {
    .header-block {
        margin: 0.5rem 0.5rem 0.2rem 0.5rem;
    }
    header ul li, footer ul li {
        margin: 0 0.3rem;
    }
}

/* Phones */
@media(max-width: 700px) {
    html { font-size: 16px; }

    main h2 { font-size: 1.6rem; }
    main h3 { font-size: 1.2rem; }
    main h4 { font-size: 1.1rem; }

    header ul li { margin: 0 0.3rem; }

    .flex {
        flex-direction: column;
        align-content:flex-start;
        align-items: start;
    }

    .header-block {
        flex-basis: 100%;
    }

    .youtube {
        width: 100%;
    }
}