@import url('https://fonts.googleapis.com/css2?family=EB+Garamond:ital,wght@0,400..800;1,400..800&family=Fjalla+One&family=Hachi+Maru+Pop&family=Kaisei+HarunoUmi&family=Playwrite+GB+S:ital,wght@0,100..400;1,100..400&family=RocknRoll+One&family=Sawarabi+Gothic&family=Yuji+Boku&family=Zen+Maru+Gothic&display=swap'); 



/* body::-webkit-scrollbar {
    display: none;
} */


:root {
    --green: #2EA139;
}

* {
    font-family: "Zen Maru Gothic", sans-serif;      
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    text-transform: none;
    outline: none;
    border: none;
    text-decoration: none;
    transition: all .2s linear;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 100px;
}


body {
    background-color: #f4f4f9;
    background-image: url('png/anime_background.jpg');
     /* background-attachment: fixed;
     background-repeat: no-repeat;
     background-size: cover; */
}
.content .search {
    display: flex;
    flex-direction: column;
    gap:10px;
    margin: 20px auto;
    border: solid #fff;
    width: 300px;
    height: auto;
}
.content .search .input{
    font-size:1.3rem;
    text-align: center;
}

/* Header Container */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: #954535;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 5%;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
    z-index: 1000;
}

/* Logo styling */
.logo {
    font-size: 24px;
    font-weight: bold;
    color: #fff;
    text-decoration: none;
}

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 30px;
  background-color: #954535;
  color: white;
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 1000;
}
.nav-links {
  display: flex;
  list-style: none;
}
.nav-links li a {
  color: white;
  text-decoration: none;
  padding: 0 15px;
  font-size:1.3rem;
}
.nav-links li a:hover{
  color:#F80576;
}

/* Hide Hamburger Icon on Desktop */
.menu-toggle {
  display: none;
  flex-direction: column;
  background: transparent;
  border: none;
  cursor: pointer;
}
.menu-toggle .bar {
  height: 3px;
  width: 25px;
  background-color: white;
  margin: 4px 0;
  transition: 0.3s ease;
}

section {
    display: flex;
    flex-direction: column;
    width: 50%;
    background: #AB9292;
    margin: 0px auto;
    padding: 20px;
    color: #fff;
    text-align: center; 
    height: auto;
}

.container .title{
    text-align: center;
    padding-left: 10px;
    margin: 100px auto 30px auto;
    color: #333;
    border-left: 10px solid #954535;
    border-right: 10px solid #954535;   
    width: 30%;
    font-size: 30px;
    background: #fff;

}
 .container section .content {
    margin-top:10px;
    height: auto;
    margin-bottom:20px;
 }
  .container section .content h2{
        font-size: 2rem;
        margin: 30px auto;
        width:60%;
        border-bottom: 2px solid red;
        padding-bottom: 10px;
    }
 .container section .content .content-inner{
    display:flex;
    flex-direction: column;
    gap:20px;
    width: 700px;
    background: pink;
    margin: 20px auto;
    padding:20px;
    font-size: 1.3rem;
    border-radius: 10px;
 }
  .container section .content .content-inner h3 {
    color:#954535;
  }
   .container section .content .content-inner a{
    margin: auto;
    color: red;
    background: #fff;
    width: 80%;
   }

.container section .content p{
    font-size: 25px;
    text-align: left;
}
.container section .content img{
    width: 35%;
    margin: 20px;
    float: left;
    border-radius: 10px;
}
.output {
  width: 80%;
  border-collapse: collapse;
  background: #AB9292;
  white-space: nowrap;
}

.output th{
        display: none;
    }
    
.output td:empty{
    display: none;
    }

.output, .output tbody, .output tr, .output td{
    display: block;
    width: 100%;
    border-bottom: 0.5px solid gray;
    }
.output th{
        font-size: 1.5rem;
        padding-bottom: 10px;
        color: #fff;
    }

.output tr{
    margin-bottom: 15px;
    background:#554949;
}


.output td {
    /* text-align: center; */
    padding:5px;
    font-size: 1.5rem;
    border-bottom: 2px dotted red;
    text-align: left;
    /* display:flex; */
}
.output td a{
    color: orange;
}
.output td:nth-child(-n+11)::before{
    display: grid;
    font-size: 1.3rem;
    background: #F54927;
    border-radius: 5px;
    padding:5px;
    margin-right: 20px;
    width:100px;
    height: 30px;
    text-align: center;
}
.output td:nth-child(1) {
    display:none;
}
.output td:nth-child(2):before{
    content: "更新日";
}
.output td:nth-child(3):before{
    content: "タイトル";
}
.output td:nth-child(4):before{
    content: "原作";
}
.output td:nth-child(5) {
    display: none;
}
.output td:nth-child(6):before {
    content: "放送開始";
}
.output td:nth-child(7) {
    display:none;
}
.output td:nth-child(8):before {
    content: "放送終了";
}
.output td:nth-child(9):before {
    content: "声の出演";
}
.output td:nth-child(10):before {
    content: "主題歌";
}
.output td:nth-child(11):before {
    content: "内容";
}
.output td:nth-child(11) {
    white-space: normal;
}


.counter {
    margin: 10px auto;
    width: 8%;
    height: auto;
    text-align: center;
    background: #fff;
    padding-top: 2px;
}
.counter img {
    height:auto;
    width: 80px
}





/* Responsive Breakpoint: Mobile Screens */
@media (max-width: 768px) {
   
   .menu-toggle {
    display: flex; /* Show hamburger on mobile */
  }

  .nav-links {
    position: fixed;
    top: 60px;
    right: -100%; /* Hidden off-screen by default */
    flex-direction: column;
    background-color: #954535;
    width: 80%;
    height: calc(100vh - 60px);
    text-align: center;
    transition: 0.3s ease;
  }

  .nav-links li {
    margin: 25px 0;
    font-size: 1.5rem;
  }

  /* Target Class Added by JavaScript to Slide Menu In */
  .nav-links.active {
    right: 0;
  }

.container section .content .content-inner{
    width: 90%;
    font-size: .9rem;
    margin-top:20px;
}
  
  
     .container section {
        width: 90%;
        margin-top:10px;
    }

    .container section .content {
        padding:0px;
        
    }
    .container section .content p{
        font-size: 1.2rem;
        clear: both;
    }
    .container section .content h2{
        font-size: 1.4rem;
        margin-bottom: 10px;
        border-bottom: .5px solid red;
        padding-bottom: 10px;
        width: 100%;
        }
    .container .title{
        width: 90%;
        font-size: 24px;
    }
    .container section .content img{
       width: 90%
    }
    .content .search {
        width: 200px;
    }
    .output {
        width:100%;
    }
    .output td {
        font-size: 1rem;
    }
    .output td:nth-child(-n+11)::before{
        font-size:0.8rem;
        width: 70px;
        height: 20px;
    }
      .counter {
    margin: 10px auto;
    width: 20%;
    height: auto;
    text-align: center;
    }
    .counter img {
        height:auto;
        width: 50px
    }
}
