@import url('https://fonts.googleapis.com/css2?family=Montserrat+Alternates:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');
* {-webkit-box-sizing: border-box;-moz-box-sizing: border-box;box-sizing: border-box;}
html,body{padding:0px;margin:0px;}
:root{--red: #F71735;--blue: #85C7F2;--gold: #E3B505;}
body{font-family:"Montserrat Alternates",sans-serif;font-size:20px;background-color:black;color:white;}
a{text-decoration:none;color:white;}
input,select,textarea,button{font-family:inherit;font-size:inherit;}
input:focus,select:focus,textarea:focus,button:focus{outline:none;}

.top-bar{
    position: relative;
    padding: 50px 30px 0px;
    margin-bottom: 100px;
}

.top-bar > nav {
    margin: 0px auto;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 30px;
}

.top-bar > nav > a {
    padding: 15px;
    font-weight: 500;
}

.top-bar > nav > a:hover {
    color: var(--red);
}

.top-bar > .logo {
    position: relative;
    width: 250px;
}

.top-bar > .logo img {
    display: block;
    width: 100%;
}

.content-box {
    width: 1200px;
    margin: 0px auto;
    margin-bottom: 200px;
}

.main-banner {
    position: relative;
    display: flex;
    justify-content: space-between;
}

.main-banner > .hero {
    aspect-ratio: 1 / 1;
    position: relative;
    width: 500px;
    height: 500px;
    overflow: hidden;
    border: solid 5px var(--gold);
    -webkit-border-radius: 20px;
    -moz-border-radius: 20px;
    border-radius: 20px;
    flex-shrink: 0;
}

.main-banner > .hero > img {
    display: block;
    width: 100%;
}

.main-banner > .intro {
    margin-right: 30px;
}

.main-banner > .intro > h1 {
    font-weight: 600;
    font-size: 74px;
}

.main-banner > .intro > div {
    line-height: 140%;
}

.story-repo-container {
    position: relative;
}

.story-repo-container > h1 {
    text-align: center;
    font-weight: 500;
    font-size: 68px;
}

.story-repo-container .story-repo {
    display: grid;
    grid-template-columns: repeat(2, minmax(300px, 1fr));
    gap: 20px;
}

.story-repo-container .story-repo .repo-list {
    position: relative;
    width: 100%;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
}

.story-repo-container .story-repo .repo-list > a {
    display: block;
    width: 100%;
    padding: 20px;
}

.story-repo-container .story-repo .repo-list > a > .outerline {
    border: solid 3px var(--red);
    padding: 30px;
    position: relative;
    border-radius: 20px;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.story-repo-container .story-repo .repo-list > a > .outerline > .featimg {
    display: block;
    position: relative;
    height: 280px;
    overflow: hidden;
    border-radius: 15px;
}

.story-repo-container .story-repo .repo-list > a > .outerline > .featimg > img {
    display: block;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    height: 100%;
}

.story-repo-container .story-repo .repo-list > a > .outerline > .title {
    font-size: 36px;
    font-weight: 500;
    position: relative;
    margin-bottom: 30px;
}

.story-repo-container .story-repo .repo-list > a > .outerline > .title::after {
    content: '';
    display: block;
    width: 25%;
    height: 3px;
    background-color: var(--blue);
    position: absolute;
    left: 0px;
    bottom: -15px;
}

.story-repo-container .story-repo .repo-list > a > .outerline > .short {
    font-size: 18px;
    position: relative;
}

.story-reader > h1 {
    text-align: center;
    font-weight: 400;
    font-size: 70px;
}

.story-reader p.subhead {
    font-weight: 600;
}

.story-reader blockquote {
    width: 100%;
    text-align: center;
    font-size: 24px;
    border: solid 3px var(--red);
    padding: 30px 50px;
    margin: 0px;
    margin-bottom: 30px;
    -webkit-border-radius: 20px;
    -moz-border-radius: 20px;
    border-radius: 20px;
}

.story-reader figure {
    width: 100%;
    position: relative;
    overflow: hidden;
    -webkit-border-radius: 20px;
    -moz-border-radius: 20px;
    border-radius: 20px;
    margin: 0px;
    margin-bottom: 50px;
}

.story-reader figure > img {
    display: block;
    width: 100%;
}

.story-reader article {
    display: block;
    width: 100%;
    line-height: 170%;
    font-size: 22px;
    text-align: justify;
}

.story-reader q {
    font-weight: 500;
    font-style: italic;
}
.story-reader q::before,
.story-reader q::after{
    content: none;
}

.memos h1 {
    font-weight: 500;
    font-size: 80px;
    margin-bottom: 100px;
}

.memos {
    line-height:1.5em;
}

.memos > ol > li {
    font-size: 38px;
    font-weight: 600;
    margin-top: 50px;
}

.memos > ol > li > ol {
    list-style:lower-roman;
    margin-top: 30px;
}

.memos > ol > li > ol > li {
    font-size: 28px;
    font-weight: 500;
}

.memos > ol > li > ol > li > ul,
.memos > ol > li > ol > li > p {
    font-size: 20px;
    font-weight: 400;
}

.memos > ol > li > ol > li > ul {
    margin-bottom: 1em;
}

.addr a:hover {
    text-decoration: underline;
}

form {
    display: flex;
    flex-direction: column;
    padding: 20px;
    border: dashed 2px white;
    border-radius: 15px;
    position: relative;
}

form label {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 20px;
}

form label > span {
    font-weight: 500;
    flex-shrink: 0;
    flex-grow: 0;
    width: 150px;
    padding: 10px 0px;
}

form label input,
form label textarea {
    flex-grow: 1;
    padding: 10px;
    background-color: rgba(0,0,0,0);
    color: white;
}

form label input {
    border: none;
    border-bottom: solid 1px white;
}

form label textarea {
    border: solid 1px white;
    border-radius: 10px;
}

form button {
    height: 50px;
    border: solid 3px var(--red);
    border-radius: 10px;
    background-color: rgba(0,0,0,0);
    color: white;
    font-weight: 500;
    flex-grow: 1;
}

form button:hover {
    cursor: pointer;
    border: solid 3px var(--gold);
    background-color: var(--gold);
    color: black;
}

form .loading {
    width: 100%;
    padding: 0px 10px;
    font-weight: 500;
    font-size: 18px;
    color: var(--gold);
    display: none;
}

footer {
    width: 1200px;
    margin: 0px auto 100px;
    padding-top: 50px;
    border-top: solid 5px var(--red);
    font-size: 17px;
    font-weight: 500;
    display: flex;
    justify-content: space-between;
}

footer .links {
    display: flex;
    column-gap: 20px;
}

footer a:hover {
    color: var(--red);
}

@media all and (max-width: 1279px){
    
    .content-box {
        width: 600px;
        margin-bottom: 150px;
    }

    .main-banner {
        align-items: center;
        flex-direction: column-reverse;
        text-align: center;
    }

    .main-banner > .intro {
        margin-right: 0px;
    }
    
    .main-banner > .intro > h1 {
        font-size: 68px;
    }

    .story-repo .repo-list > a {
        width: 100%;
        aspect-ratio: 1.1 / 1;
    }

    footer {
        width: 600px;
        flex-direction: column;
        row-gap: 15px;
        text-align: center;
    }

    footer .links {
        justify-content: center;
    }
}

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

    .top-bar > nav {
        width: 100%;
        margin: 50px auto;
        justify-content: center;
        column-gap: 10px;
    }
    .top-bar > .logo {
        position: absolute;
        left: 50%;
        transform: translateX(-50%);
        top: 50px;
        width: 250px;
    }
    .content-box {
        width: 100%;
        margin-bottom: 100px;
    }
    .main-banner > .hero {
        aspect-ratio: 1 / 1;
        width: 90%;
        height: auto;
    }
    .main-banner > .intro > h1 {
        font-size: 50px;
        padding: 10px;
    }
    .main-banner > .intro > div {
        padding: 0px 15px;
    }
    .story-repo > h1 {
        font-size: 55px;
    }
    .story-repo .repo-list > a {
        aspect-ratio: 1 / 1.1;
    }
    .story-repo .repo-list > a > .outerline > .featimg {
        height: 160px;
    }
    .story-repo .repo-list > a > .outerline > .title {
        font-size: 32px;
    }
    .story-repo .repo-list > a > .outerline > .short::before {
        display: none;
    }
    .memos {
        padding: 0px 15px;
    }
    .memos h1 {
        font-size: 60px;
    }
    .story-reader {
        padding: 0px 15px;
    }
    .story-reader > h1 {
        font-weight: 500;
        font-size: 60px;
    }
    footer {
        width: 100%;
        row-gap: 30px;
        text-align: center;
    }
    footer .links {
        flex-direction: column;
        align-items: center;
        row-gap: 15px;
    }
}

@media all and (max-width: 424px){
    .top-bar > nav > a {
        text-align: center;
    }
    .content-box {
        padding: 0px 10px;
    }
    .main-banner > .intro > h1 {
        font-size: 40px;
    }
    .story-repo > h1 {
        font-size: 40px;
    }
    .story-repo .repo-list > a {
        aspect-ratio: 1 / 1.4;
    }
    .story-repo .repo-list > a > .outerline > .featimg {
        height: 120px;
    }
    .story-repo .repo-list > a > .outerline > .title {
        display: none;
    }
    .story-repo .repo-list > a > .outerline > .short::before {
        display: none;
    }
    .memos {
        line-height: 180%;
    }
    .memos h1 {
        font-size: 40px;
        font-weight: 600;
    }
    .memos > ol {
        list-style: none;
        padding: 0px;
    }
    .memos > ol > li {
        font-size: 30px;
    }
    .memos > ol > li > ol > li {
        font-size: 25px;
    }
    .memos > ol > li > ol > li > ul,
    .memos > ol > li > ol > li > p {
        font-size: 16px;
        font-weight: 400;
        line-height: 150%;
    }
    .story-reader > h1 {
        font-weight: 600;
        font-size: 50px;
    }
    
    .story-reader blockquote {
        padding: 20px 40px;
    }
}

/*
.memos > ol > li {
    font-size: 38px;
    font-weight: 600;
    margin-top: 50px;
}

.memos > ol > li > ol {
    list-style:lower-roman;
    margin-top: 30px;
}

.memos > ol > li > ol > li {
    font-size: 28px;
    font-weight: 500;
}

.memos > ol > li > ol > li > ul,
.memos > ol > li > ol > li > p {
    font-size: 20px;
    font-weight: 400;
}

.memos > ol > li > ol > li > ul {
    margin-bottom: 1em;
}


.story-reader > h1 {
    text-align: center;
    font-weight: 400;
    font-size: 70px;
}

.story-reader blockquote {
    width: 100%;
    text-align: center;
    font-size: 24px;
    border: solid 3px var(--red);
    padding: 30px 50px;
    margin: 0px;
    margin-bottom: 30px;
    -webkit-border-radius: 20px;
    -moz-border-radius: 20px;
    border-radius: 20px;
}

.story-reader figure {
    width: 100%;
    position: relative;
    overflow: hidden;
    -webkit-border-radius: 20px;
    -moz-border-radius: 20px;
    border-radius: 20px;
    margin: 0px;
    margin-bottom: 50px;
}

.story-reader figure > img {
    display: block;
    width: 100%;
}

.story-reader article {
    display: block;
    width: 100%;
    line-height: 170%;
    font-size: 22px;
    text-align: justify;
}

.story-reader q {
    font-weight: 500;
    font-style: italic;
}
.story-reader q::before,
.story-reader q::after{
    content: none;
}


.story-repo .repo-list > a > .outerline > .featimg > img {
    display: block;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    height: 100%;
}

.story-repo .repo-list > a > .outerline > .title {
    font-size: 36px;
    font-weight: 500;
}

.story-repo .repo-list > a > .outerline > .short {
    font-size: 18px;
    position: relative;
}

.story-repo .repo-list > a > .outerline > .short::before {
    content: '';
    display: block;
    width: 25%;
    height: 3px;
    background-color: var(--blue);
    position: absolute;
    left: 0px;
    top: -15px;
}
*/