/*!
Theme Name: avhbo
Theme URI: http://underscores.me/
Author: Underscores.me
Author URI: http://underscores.me/
Description: Description
Version: 1.0.0
Tested up to: 5.4
Requires PHP: 5.6
License: GNU General Public License v2 or later
License URI: LICENSE
Text Domain: avhbo
*/



  /* Reset some default browser styles */
  * {
	box-sizing: border-box;
	margin: 0;
	padding: 0;
  }

  body {
	font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
	line-height: 1.6;
	color: #333;
    background-color: rgb(214, 214, 214);
  }

  /* Container with max width and centered */
  .container {
	max-width: 1610px;
	margin: 29px auto;
    padding: 0px 0px 5px;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 0 16px #ccc;
	width: 100%;

  }

  /* Header and Navigation */
  header {
	background-color: #000;
	color: white;
	padding: 20px 0;
	position: sticky;   /* keep nav on top while scrolling */
	top: 0;
	z-index: 1000;
  }

  .nav-container {
	display: flex;
	justify-content: space-between;
	align-items: center;
	max-width: 1600px;
	margin: 0 auto;
	padding: 0 20px;
  }

  div#nav-toggle {
    display: none;
}

  .logo {
	font-size: 1.8rem;
	font-weight: bold;
	letter-spacing: 2px;
  }

  nav ul {
	list-style: none;
	display: flex;
  }

  nav ul li {
	margin-left: 30px;
  }

  nav ul li a {
    text-decoration: none;
    color: white;
    font-weight: normal;
    transition: color 0.3s ease;
    font-size: 20px;
}

  nav ul li a:hover {
	color: #ffde59;
  }
  h2.heading a {
    color: #4091dc;
    font-size: 19px;
}
.container {
    min-height: 100vh;
}

.logo img {
    width: 104px;
    margin-bottom: -10px;
}
  /* Projects */
  h2.heading, .page-title {
    border-bottom: 1px solid #ccc;
    padding: 12px;
    display: flex
;
    justify-content: space-between;
    margin-bottom: 25px;
}

.video-grid {
    display: flex
;
    flex-wrap: wrap;
    padding: 0 15px;
    margin-bottom: 50px;
    overflow: hidden;
}

.video-card {
    border: 1px solid #ddd;
    border-radius: 0;
    overflow: hidden;
    box-shadow: 0 3px 6px rgba(0, 0, 0, 0.1);
    background: white;
    display: flex
;
    flex-direction: column;
    transition: transform 0.3s ease;
    cursor: pointer;
    width: 25%;
}
  .video-card:hover {
	transform: translateY(-8px);
	box-shadow: 0 8px 15px rgba(0,0,0,0.15);
  }
  .video-card img {
    width: 100%;
    height: 258px;
    object-fit: cover;
}

  .video-info {
	padding: 15px;
	flex-grow: 1;
  }

  .video-info h3 {
    margin-bottom: 0;
    color: #000;
    font-weight: 400;
}

  .video-info h3 a {
  display: -webkit-box;
  -webkit-line-clamp: 2;      /* Limit to 2 lines */
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
}

  .video-info h3 a {
    margin-bottom: 0;
    color: #000;
    font-weight: 600;
	  text-decoration:none
}

  .video-info p {
	font-size: 0.95rem;
	color: #555;
  }


  .video-meta {
    margin: 0;
    display: flex
;
    align-items: center;
    justify-content: space-between;
    font-size: 14px;
    list-style: none;
}

ul.video-meta {
    padding: 3px 7px;
    border-radius: 9px;
    background: #4690d03d;
    margin-top: 10px;
}



ul.video-meta svg {
    width: 15px;
	margin-right: 5px;
}


.video-meta li:first-child {
    margin: 0 10px 0 0;
}
ul.video-meta li {
    margin: 2px 10px 0 0;
    display: flex
;
}

  /* Footer */
  footer { 
	padding: 20px;
	background-color: #000;
	color: white;
	margin-top: 40px;
	font-size: 0.9rem;
  }

.footer_c {
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
}
.footer_c h3 {
    width: 33%;
    padding: 5px 0;
}

.footer_c div {
    display: flex
;
    flex-wrap: wrap;
    margin-bottom: 20px;
    margin-top: 20px;
}




.container.se_1 {
    padding: 15px 20px;
}
.video-main {
    display: flex
;
}

.inner-video {
    width: 70%;
}
video#video {
    width: 100%;
    border-radius: 0px 0px 15px 15px;
}

h1.heading {
    font-size: 22px;
    line-height: 26px;
    color: #fff;
    background: #000;
    padding: 7px 8px;
    border-radius: 15px 15px 0px 0px;
	font-family: unset;
}


.description {
    padding: 11px 16px;
    color: #000;
    border-left: 5px solid;
    background: #cccccc42;
    border-radius: 0 15px 15px 0;
    margin-top: 20px;
    margin-bottom: 20px;
}

.Video_Details a {
    display: inline-block;
    border: 1px solid #000;
    border-radius: 15px;
    text-decoration: none;
    padding: 3px 17px;
    text-transform: uppercase;
    color: #000;
    margin: 5px;
    font-size: 15px;
	cursor:pointer
}
.Video_Details a:hover{
	background:#000;
	color:#fff
}
.Video_Details h3 {
    margin-bottom: 4px;
}




.video-sidebar {
    width: 30%;
    padding: 20px;
}


.tag-grid ul {
    list-style: none;
    padding: 0;
    display: flex
;
    flex-wrap: wrap;
}
.tag-grid {
    padding: 15px 20px 50px;
}

.tag-grid ul li {
    width: 17%;
    padding: 5px 3px;
    height: 60px;
    align-items: center;
    display: flex
;
    border-bottom: 1px #000 dotted;
    margin: 0 1%;
}
.tag-grid ul li a {
    font-weight: bold;
    color: #418dd3;
    text-decoration: none;
    font-size: 18px;
    line-height: 22px;
    display: block;
}


.tag-grid ul li a span {
    font-weight: 400;
    color: #000;
}



  /* Responsive Media Queries */
  @media (max-width: 768px) {
	  
	  .tag-grid ul li {
    width: 48%;
	  }
	  .tag-grid ul li a { 
    font-size: 15px;
    line-height: 20px; 
}
	  .tag-grid {
    padding-top: 0;
    margin-top: -20px;
}
	  
	  div#nav-toggle {
    display: block;
}
	  
	#about {
	  flex-direction: column;
	  text-align: center;
	}

	#about img {
	  margin: 0 auto;
	}

    nav ul {
        flex-direction: column;
        background-color: #418dd3;
        position: fixed;
        top: 86px;
        right: -200px;
        width: 180px;
        height: calc(100% - 60px);
        transition: right 0.3s ease;
        padding: 15px;
    }
.video-grid {
        display: flex
;
    }
    article.video-card {
              width: 100%;
        margin: 1%;
    }
	  .video-main {
    display: block;
}
	  .inner-video, .video-sidebar {
    width: 100%;
}
	  h1.heading {
    font-size: 16px;
		  line-height: 21px;}

	nav ul.show {
	  right: 0;
	}

	nav ul li {
	  margin: 15px 0;
	}

	.nav-toggle {
	  display: block;
	  cursor: pointer;
	  font-size: 1.8rem;
	  user-select: none;
	}
	  
	  .video-grid { 
		  padding: 0 4px;}
	  
	  .video-card img { 
    height: auto; 
}
	  .video-info {
		  padding: 0 5px 5px;}
	  .video-info h3 a {
    font-size: 14px;
    line-height: 16px;
}
ul.video-meta {
    font-size: 11px;
    padding: 0 5px;
}

	  ul.video-meta svg {
    width: 10px;
    margin-right: 5px;
    margin-top: -2px;
    margin-bottom: -2px;
}
	  h2.heading, .page-title {
    font-size: 16px;
}
h2.heading a {
    color: #4091dc;
    font-size: 14px;
}
	 .home h1 {
    display: none;
}
	 .home h2.heading, .home .page-title { 
    margin-bottom: 6px;
}
	  
	  .container.se_1 {
    padding: 5px;
}
	  
	  
.embed-container {
    position: relative;
    padding-bottom: 80%;
    height: 0;
    max-width: 100%;
}

.embed-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}
	  .embed-container {
    margin-bottom: 8px;
}
  }

  @media (max-width: 480px) {

	.skill {
	  flex: 0 1 120px;
	}
  }





.pagination {
  text-align: center;
  margin: 50px 0;
}
.pagination ul {
  list-style: none;
  padding: 0;
  display: inline-flex;
}
.pagination li {
  margin: 0 5px;
}
.pagination a, .pagination span {
    display: block;
    padding: 8px 12px;
    color: #333;
    background: #f3f3f3;
    border-radius: 4px;
    text-decoration: none;
    display: block;
    height: 38px;
    padding: 0 !important;
    width: 40px;
    display: flex
;
    justify-content: center;
    align-items: center;
    font-weight: bold;
    border-radius: 29px;
}
.pagination .current, .pagination a:hover, .pagination span:hover {
  background: #0073aa;
  color: #fff;
  font-weight: bold;
}


iframe {
    width: 100%;
}

p.short-info {
    padding: 0 24px;
    margin-bottom: 20px;
    color: #000;
}

.Japanese_text h2 {
    font-size: 12px;
}
.Japanese_text p {
    font-size: 10px;
}

.Japanese_text h3 {
    font-size: 15px;
}

.Japanese_text {
    margin-top: 26px;
}


 


#video-container {
  position: relative;
  width: 100%; 
}

#play-pause-btn {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  cursor: pointer;
  z-index: 10;
  opacity: 0.9;
}

.play-circle {
  width: 80px;
  height: 80px;
  background-color: #418dd3;
  border-radius: 50%; /* circle shape */
  display: flex;
  align-items: center;
  justify-content: center;
}

#play-icon {
  width: 30px;
  height: 30px;
}




a.download_btn {
    display: inline-block;
    background: #438bd0;
    color: #fff;
    font-weight: bold;
    border-radius: 50px;
    padding: 7px 15px;
    height: 40px;
    text-transform: uppercase;
    font-size: 19px;
    line-height: 20px;
    text-decoration: none;
	    margin-top: 12px;
}
a.download_btn svg {
    font-weight: bold;
    margin-right: 12px;
    position: relative;
    top: 3px;
}

a.download_btn:hover {
    background: #000;
}



.ds {
    background: #000;
    color: #fff;
    padding: 4px 19px;
    display: inline-block;
    border: 1px solid #000;
    border-radius: 20px;
    font-weight: bold;
    text-decoration: none;
}

 .ds:hover {
    background: #fff;
    color: #000; 
}

iframe#myIframe {
    border-radius: 0 0 15px 15px;
    margin-bottom: 10px;
}


 .logo a {
    color: #fff;
    text-decoration: none;
	 text-transform:uppercase
}


.logo span {
    color: #fbbe0a;
}