/* header */
header {
    background-color: #f0f0f0;
    padding: 20px;
    text-align: center;
}

.hamburger {
    text-align: center !important;
    font-size: 24px;
    cursor: pointer;
    position: fixed;
    top: 0;
    right: 0;
    height: 60px;
    width: 60px;
    line-height: 60px;
    z-index: 2000;
    -webkit-transition: 0.3s ease-in-out;
    -moz-transition: 0.3s ease-in-out;
    transition: 0.3s ease-in-out;
    /* border-bottom-left-radius: 20%; */
}

.hamburger span {
    display: block;
    position: absolute;
    background-color: #333;
    width: 24px;
    height: 2px;
    left: 30px;
    top: 30px;
    line-height: 1;
    -webkit-transition: 0.3s ease-in-out;
    -moz-transition: 0.3s ease-in-out;
    transition: 0.3s ease-in-out;
    transform: translate(-50%, -50%);
}


.hamburger span:nth-of-type(1){
    top: 20px;
}
.hamburger span:nth-of-type(3){
    top: 40px;
}

.navbar {
    padding-top: 60px;
    position: fixed;
    background-color: #f0f0f0;    
    width: 200px;
    height: 100%;
    top: 0;
    left: 100%;
    transition: 0.3s ease-in-out;
    z-index: 500;
    text-align: center;
    border-left: 1px solid black;
}

.navbar ul {
    list-style-type: none;
    padding: 0;
    margin: 0;
}

.navbar a {
    display: flex;
    padding: 10px 0;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    text-align: center;
    height: 30px;
    color: black;
    font-size: 20px;
}

.navbar li {
    padding: 0;
    border-top: 1px solid black;
    border-bottom: 1px solid black;
}

.navbar li:first-child {
    border-top: 1px solid black;
}

.navbar li:last-child {
    border-bottom: 1px solid black;
}

.navbar li + li {
    border-top: none; /* 連続するliの間の上ボーダーを削除 */
}

/* header when it's open */

.open #navbar {
    left: calc(100% - 200px);
}
.open #hamburger span:nth-of-type(1){
    top: 30px;
    right: 30px;
    transform: translate(-50%, -50%) rotate(-45deg);
    width: calc(24px * 1.414);
}
.open #hamburger span:nth-of-type(2) {
    width: 0;
}
.open #hamburger span:nth-of-type(3) {
    top: 30px;
    right: 30px;
    transform: translate(-50%, -50%) rotate(45deg);
    width: calc(24px * 1.414);
}

/* body */

body {
    display: block;
    margin: 0;
}

.container {
    align-items: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    width: 100%;
    min-height: 100vh;
    background-color: #f0f0f0;
}

.year {
    padding: 20px;
}

.files {
    display: grid;
    grid-template-columns: repeat(3, minmax(200px, 1fr));
    gap: 20px;
}

.error {
    margin: 20px 0;
    color: #cc0000;
    font-size: 24px;
}

.countdown {
    margin: 20px 0;
    font-size: 24px;
    font-weight: bold;
    color: #cc0000;
}

table {
    border-collapse: collapse;
}
td {
    text-align: center;
    width: 100px;
    border: #333 solid 1px;
}

.info {
    padding: 100px 5px;
}

.list {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

@media (max-width: 768px) {
    .year {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
    }
    .files {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
    }
    .info {
        padding: 10px;
        /* margin: auto; */
        text-align: justify;
    }
    h1 {
        font-size: 1.2rem;
    }
}