@import "../font/font.css";

body, html {
  height: 100%;
  margin: 0;
  font-family: 'Open Sans';
  color: #000;
  font-size: 14px;
  /* background-color: rgb(242, 245, 250); */
  background-color: white;
}

.blog_text {
  min-height: 100%;

}

.h-80{
  height:80%;
}




.headline{
  z-index: 20;
  position: absolute;
  bottom: 150px;
  color: white;
  /* width: 100vw; */
}

.headline h1{
  font-size: 16px;
  font-weight: bold;
  text-align: center;
}

.headline h2{
  font-size: 10px;
  font-weight: bold;
  text-align: center;

}

h5{
  font-size:16px;
  color: rgba(37, 108, 124, 1);
  font-weight: normal;
}

.card{
  margin-top: 10px;
}

.card-body{
  padding-top: 10px;
  padding-bottom: 10px;
  padding-left: 0;
  padding-right: 0;
}



.social_wrapper_blog {
  display: grid;
  grid-template-columns: repeat(4, 50px);
  grid-template-rows: 50px;
  place-content: center;
  grid-gap: 10px;
}

.socialbutton_blog {
  border-radius: 50%;
  background-color: rgba(37, 108, 124, 0.4);
  height: 100%;
  width: 100%;
  display: flex;
  place-content: center;
  align-items: center;
  border: solid 2px;

  border-color: rgba(255, 255, 255, 0);
}

.socialbutton_blog a {
  color: white;
  font-size: 100%;
}

.fa-home{
  font-size: 130%;
}

.socialbutton_blog:hover {
background-color: rgba(0, 0, 0, 0.7);

border-color:rgba(37, 108, 124, 0.9);
}


@media screen and (min-width: 560px) {
  .headline h1{
    font-size: 2.5vw;
    font-weight: bold;
  }

  .headline h2{
    font-size: 1.5vw;

  }
}

.headlinedate {
  z-index: 10;
  position: absolute;
  bottom: 0;
  height: 80px;
  background-image: -webkit-linear-gradient(bottom, rgba(0, 0, 0, 0.55), rgba(0, 0, 0, 0));
  background-image: -o-linear-gradient(bottom, rgba(0, 0, 0, 0.55), rgba(0, 0, 0, 0));
  background-image: linear-gradient(to top, rgba(0, 0, 0, 0.55), rgba(0, 0, 0, 0));
}

.headlinedate h3 {
  z-index: 20;
  color: black;
  background-color: rgba(37, 108, 124, 0.9);
  padding: 20px;
  margin-bottom: 0;
  position: absolute;
  bottom: 0;
}

.headlineplaybutton {

  z-index: 30;
  text-align: center;
  position: absolute;
  bottom: 50%;
  /* width: 100vw; */
}

.headlineplaybutton i{
  font-size: 5em;
  color: white;
  opacity: 0.75;
}

.dark i{
  color:#216473 !important;
  opacity: 0.75;

}
.dark i:hover{
  color:#216473 !important;
  opacity: 1;

}



.headlineplaybutton i:hover{
  opacity: 1;
}

.headerbutton{
  color: white;
  z-index: 30;
  position: absolute;
  bottom: 80px;
  /* width: 100vw; */
  text-align: center;
  padding:0;
}



.blog_headline {
  margin-top: 80px;
}

.blog_headline h3, h4 {
  /* margin-top: 50px; */
  color: rgb(37, 108, 124);
}

.blog_text {
  width: 60%
}

.japan {
  width: auto;
  height: 50px;
  opacity: 0.8;
}

.img_grid, .img_grid_hover, .youtube_grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-gap: 10px;
  border-radius: 0;
  padding: 0;
  margin-bottom: 10px;
  margin-top:10px;
}

.youtube_grid{
  height:25vw;
}

.youtube_grid_1 {
  grid-column: 1/2;
  grid-row: 1;
}

.youtube_grid_2 {
  grid-column: 2/3;
  grid-row: 1;
}

.justify-self-center{
  justify-self: center;
}

.img_grid_vertival{
  text-align: center;
}

.text_playbutton{
  place-self:center;
}

.text_playbutton i{
    color: white;
    font-size: 5em;
    opacity: 0.6;
}

.text_playbutton i:hover{

    opacity: 0.9;
}



.img_grid_hover{
  filter: url("data:image/svg+xml;utf8,<svg xmlns=\'http://www.w3.org/2000/svg\'><filter id=\'grayscale\'><feColorMatrix type=\'matrix\' values=\'0.3333 0.3333 0.3333 0 0 0.3333 0.3333 0.3333 0 0 0.3333 0.3333 0.3333 0 0 0 0 0 1 0\'/></filter></svg>#grayscale");
  /* Firefox 10+, Firefox on Android */
  -webkit-filter: grayscale(100%);
  -moz-filter: grayscale(100%);
  -ms-filter: grayscale(100%);
  filter: grayscale(100%);
  filter: gray;
  color: rgba(255,255,255,1);
}

.img_grid_hover:hover{

  filter: url("data:image/svg+xml;utf8,<svg xmlns=\'http://www.w3.org/2000/svg\'><filter id=\'grayscale\'><feColorMatrix type=\'matrix\' values=\'0.3333 0.3333 0.3333 0 0 0.3333 0.3333 0.3333 0 0 0.3333 0.3333 0.3333 0 0 0 0 0 1 0\'/></filter></svg>#grayscale");
  /* Firefox 10+, Firefox on Android */
  -webkit-filter: grayscale(60%);
  -moz-filter: grayscale(60%);
  -ms-filter: grayscale(60%);
  filter: grayscale(60%);
  filter: gray;
  color: rgba(255,255,255,0.6);
}

.video_fat{
  font-weight: bold;
}


.img_grid_1 {
  grid-column: 1/2;
  grid-row: 1;
}

.img_grid_2 {
  grid-column: 2/3;
  grid-row: 1;
}

.img_grid_full{
  grid-column: 1/3;
  grid-row: 1;
}

.youtube_grid_full {
  display: grid;
  grid-template-columns: 1fr; /* Single column layout for this grid */
  position: relative; /* Ensure child elements position correctly */
  height: 100%; /* Ensures the grid fills its container */
}

.img_grid_1 img, .img_grid_2 img, .img_grid_full img, .youtube_grid_1 img, .youtube_grid_2 img, .youtube_grid_full img{
  width: 100%;
  height: auto;
  object-fit: cover;
  border-radius: 0;
  overflow: hidden;
}

.img_center{
  justify-content: center;
}

.img_grid_full img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 0;
  overflow: hidden;
}

.post-facts{
  margin-top:10px;
  color:white;
  background-color: #777;
  padding-top: 10px;
  padding-bottom: 10px;
  padding-left:30px;
  padding-right: 20px;
  margin-bottom: 10px;
}


.blogtable{
    vertical-align: center;
}
.blogtable td, .blogtable th{
  padding-left: 2px;
  padding-top: 5px;
}


.note{
  border-top: 1px solid;
  padding-left: 25px;
  border-color: gray;
  padding-bottom: 10px;
  padding-top: 5px;
  font-size: 11px;
  color: gray;

}


.blog_footer{
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-template-rows: repeat(1, 230px);
  grid-gap: 5px;
  border-radius: 0;
  padding: 0;
  margin-top: 40px;
}

.blog_footer_link1{
  grid-column: 1 / 2;
  grid-row: 1 / 2;
  }

.blog_footer_link2{
  grid-column: 2 / 3;
  grid-row: 1 / 2;

}

.blog_footer_link3{
  grid-column: 3 / 4;
  grid-row: 1 / 2;
}

.blog_footer_link4{
  grid-column: 4 / 5;
   grid-row: 1 / 2;
   object-fit: cover;
}



.blog_footer_link1, .blog_footer_link2, .blog_footer_link3, .blog_footer_link4{
 overflow: hidden;
 background-color: rgba(37, 108, 124,1);
 position: relative;


}

.blog_footer_link1:hover .blogimg, .blog_footer_link2:hover .blogimg, .blog_footer_link3:hover .blogimg, .blog_footer_link4:hover .blogimg{
     -webkit-transform: scale(1.2);
      transform: scale(1.2);
      opacity: 0.25;
}

.blog_footer_link1:hover .overfooter, .blog_footer_link2:hover .overfooter,  .blog_footer_link3:hover .overfooter, .blog_footer_link4:hover .overfooter{
     display:none;
}


.citeBlog{
  display: grid;
  grid-template-columns: 30px auto;
  width: 75%;
  margin-left: 15%;
  color: gray;
}

.citeBlog i{
  font-size: 24px;
}


@media only screen and (max-width: 990px) {
  .blog_footer{
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(2, 200px);

  }

  .blog_footer_link1{
    grid-column: 1 / 2;
    grid-row: 1 / 2;
    }

  .blog_footer_link2{
    grid-column: 2 / 3;
    grid-row: 1 / 2;

  }

  .blog_footer_link3{
    grid-column: 1 / 2;
    grid-row: 2 / 3;
  }

  .blog_footer_link4{
    grid-column: 2 / 3;
     grid-row: 2 / 3;
  }

  .headlineplaybutton i{
    font-size: 4em;
  }

  .text_playbutton i{
      font-size: 3.1em;
}

}

@media (hover: none) and (pointer: coarse) {

  .blog_footer_link1 .blogimg, .blog_footer_link2 .blogimg, .blog_footer_link3 .blogimg, .blog_footer_link4 .blogimg{
    transition: none;
    -webkit-transition: none;
    -moz-transition: none;
    -o-transition: none;
    opacity: 0.25;
  }

  .blog_footer_link1 .overfooter, .blog_footer_link2 .overfooter,  .blog_footer_link3 .overfooter, .blog_footer_link4 .overfooter{
       display:block;
  }


  .overlaytext{
       display:block;
  }

}

@media only screen and (max-width: 600px) {

  .youtube_grid{
    display: grid; /* Ensure the grid layout is maintained */
    grid-template-columns: 1fr; /* Switch to 1 column */
    grid-template-rows: auto;
    gap:4px;
  }

  .youtube_grid_1 {
    grid-column: 1;
    grid-row: 1/2
  }
  
  .youtube_grid_2 {
    grid-column: 1;
    grid-row: 2/3;
  }
  
}