/*css for top title and photo*/
html{
  scroll-behavior: smooth;
}
.swiper{
  z-index: 1;
  width: 100%;
  margin-bottom:2vh;
}
.swiper-slide{
  background-size: cover;
  background-position: center top;
}

.keyvisualhomepagecontainer{
  position: relative;
  text-align: left;
  color: white;
}
.keyvisualhomepage{
  width: 100%;
  height: 100vh;
  display: block;
  object-fit: cover;
  object-position: top;
}
.keyvisualhomepageslogancontainer{
  position: absolute;
  bottom: 4vw;
  left: 2vw;
  background-color: rgb(0,0,0);
  background-color: rgb(0 0 0 / 17%);
  padding: 1vh 1vw;

}
.keyvisualhomepagetitle{
  font-size: 7vh;
  font-weight: bold;
  margin-bottom: 3vh;
  white-space: nowrap;
}
.keyvisualhomepageslogan{
  font-size: 4vh;
}
/*css for the youtube video -----------------------------------------------------*/
.youtube_gif_background{
    background-image:url("../img/nature.jpg");
    background-size:cover;
    z-index:-1;
}
.youtube_container{
    height: 50vh;
    display: flex;
    align-content: center;
    justify-content: center;
    flex-direction: row;
    padding:8vh 0px;
    background-color: rgba(255, 255, 255, 0.4 );
}
.iframe_youtube{
    height: 100%;
    width: 50vw;
    box-shadow: 4px 4px 4px rgba(0, 0, 0, 0.2);
}
@media screen and (max-width:1024px){
    .iframe_youtube{
    width: 90vw;
}
}

/*css for about us----------------------------------------------------------------*/
.aboutus_container{
  display: grid;
  grid-template-columns: 30% 70%
}
.aboutus_img_container{
  width: 100%;
}
.aboutus_img_container img{
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.aboutus_background_img_container{
  background-image: url("../img/blueback2.jpg");
  padding: 3vh 3vw;
}
.aboutus_text_container{
  line-height: 6vh;
  font-size: 3vh;
  color: white;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 3vh 5vw;
  background-color: rgba(255,255,255,0.1);
  text-align: left;
}
.aboutus_text_link_container{
  text-align: center;
  margin-top:2vh;
}
.aboutus_text_wrapper h2{
  font-size: 7vh;
  padding: 5vh 5vw 0px;
  color: white;
  background-color: rgba(255,255,255,0.1);
}
.aboutus_text_link{
  text-decoration: none;
  background-color: rgba(255, 255,255, 0.3);
  padding: 1vh 1vw;
  transition: 1s;
  -webkit-tap-highlight-color: transparent;
    color: white;
}
.aboutus_text_link:hover{
  background-color: #8ea172;
  transition: 2s;
}

.slide_item_photo_container{
  object-fit: cover;
}

.slide_item_photo{
  width: 100%;
}
.product_information_container{
  margin: 1vh 3vw;
  border: solid 2px #354f73;
  padding: 0vh 1vw 0vh;
  height: 45vh;
}
.product_name{
  font-size: 3vh;
  padding: 1vh 0px;
}
.product_price{
  display: flex;
  font-size: 3vh;
  justify-content: flex-end;
}
.product_img_container{
  height: 60%;
  margin-bottom: 4vh;
}
.product_img_container img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.product_container{
  margin-top: 2vh;
}
.link_to_product{
  text-decoration: none;
  color: black;
  -webkit-tap-highlight-color: transparent;
  transition: 0.2s
}
.link_to_product:hover{
  opacity: 0.8;
  transition: 0.2s
}
.news_container{
  margin: 8vh 0px;
}
.news_title{
  padding: 0px 11vw;
  font-size: 3vw;
}
.news_data_container{
  display: grid;
  grid-template-columns:repeat(3, minmax(0, 1fr));
  margin: 6vh 10vw 8vh 10vw;
  grid-gap: 0px 1vw;
}
.news_data{
  display: grid;
  grid-template-columns: 1fr;
  padding: 1vh 1vw;
  text-decoration: none;
  color: black;
  -webkit-tap-highlight-color: transparent;
  transition: 0.3s;
}
.news_data:hover{
  color:rgb(24 96 255 / 50%);
  transition: 0.3s;
}
.news_data:hover h4{
  color:#8ea172;
  transition: 0.3s;
}
.news_img_container:hover .news_img{
  opacity: 0.7;
  transition: 0.3s;
}
.news_img_container img{
  width: 100%;
  transition: 0.3s;
}
.news_data h3{
  font-size: 2vw;
  padding: 2vh 0px;
}
.news_data h4{
  font-size: 1vw;
  text-align: right;
  color: #68adff;
  transition: 0.3s;
}
.news_list_button{
  text-align: center;
  margin: 5vh;
}
.news_list_button a{
  text-decoration: none;
  color: white;
  background: #68adff;
  font-size: 1.5vw;
  padding: 3vh 2vw;
}
.fadeup{
animation-name:fadeUpAnime;
animation-duration:1s;
animation-fill-mode:forwards;
opacity:0;
}

@keyframes fadeUpAnime{
  from {
    opacity: 0;
	transform: translateY(100px);
  }

  to {
    opacity: 1;
	transform: translateY(0);
  }
}


@media screen and (max-width:1024px){
  /*css for top title and photo*/
  .news_container{
    margin: 3vh 0px;
  }
  .news_title{
    padding: 0px 11vw;
    font-size: 6vw;
  }
  .news_data_container{
    display: grid;
    grid-template-columns:repeat(2, minmax(0, 1fr));
    margin: 3vh 4vw 0px;
    grid-gap: 0px 1vw;
  }
  .news_data{
    display: grid;
    grid-template-columns: 1fr;
    padding: 1vh 1vw;
    text-decoration: none;
    color: black;
    -webkit-tap-highlight-color: transparent;
    transition: 0.3s;
  }
  .news_data:hover{
    color:rgb(24 96 255 / 50%);
    transition: 0.3s;
  }
  .news_data:hover h4{
    color:#8ea172;
    transition: 0.3s;
  }
  .news_img_container:hover .news_img{
    opacity: 0.7;
    transition: 0.3s;
  }
  .news_img_container img{
    width: 100%;
    transition: 0.3s;
  }
  .news_data h3{
    font-size: 3vw;
    padding: 2vh 0px;
  }
  .news_data h4{
    font-size: 2vw;
    text-align: right;
    color: #68adff;
    transition: 0.3s;
  }
  .news_list_button a{
     font-size: 4.5vw;
    }

  .swiper{
    height: 29vh;
    z-index: 1;
    width: 100%;
  }
  .swiper-slide{
    background-size: cover;
    background-position: center top;
  }

  .keyvisualhomepagecontainer{
    position: relative;
    text-align: left;
    color: white;
    margin-top: 10vh;

  }
  .keyvisualhomepage{
    width: 100%;
    height: 63vh;
    display: block;
    object-fit: cover;
    object-position: 100%;
  }
  .keyvisualhomepageslogancontainer{
    position: absolute;
    bottom: 4vw;
    left: 2vw;
    background-color: rgb(0,0,0);
    background-color: rgb(0 0 0 / 17%);
    padding: 1vh 1vw;

  }
  .keyvisualhomepagetitle{
    font-size: 3vh;
    font-weight: bold;
    margin-bottom: 3vh;
    white-space: nowrap;
  }
  .keyvisualhomepageslogan{
    font-size: 2vh;
  }

  /*css for about us----------------------------------------------------------------*/
  .aboutus_container{
    display: block;
  }
  .aboutus_img_container{
    width: 0px;
    display: none;
  }
  .aboutus_img_container img{
    display: none;
  }
  .aboutus_background_img_container{
    background-image: url("../img/usma.jpg");
    background-size: 150%;
    background-position: center;
    background-repeat: no-repeat;
    padding: 0px;
  }
  .aboutus_text_container{
    line-height: 4vh;
    font-size: 2.3vh;
    color: white;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 2vh 4vw;
    background-color: rgba(255,255,255,0.2);
    text-align: center;
  }
  .aboutus_text_wrapper h2{
    font-size: 5vh;
    text-align: center;
    padding: 3vh 0px 0px 0px;
    color: white;
    background-color: rgba(255,255,255,0.2);
  }
  .aboutus_text_link{
    text-decoration: none;
    background-color: rgba(255, 255,255, 0.3);
    padding: 1vh 1vw;
    transition: 1s;
  }
  .aboutus_text_link:hover{
    background-color: #8ea172;
    transition: 2s;
  }

  .slide_item_photo_container{
    object-fit: cover;
  }

  .slide_item_photo{
    width: 100%;
  }
  .product_information_container{
    margin: 1vh 2vw;
    border: solid 1px lightslategray;
    padding: 1vh 2vw 1vh;
    height: 25vh;
  }
  .product_name{
    font-size: 1.5vh;
    padding-top: 1vh;
  }
  .product_price{
    display: flex;
    font-size: 1vh;
    justify-content: flex-end;
  }
  .product_img_container img{
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
  }
  .product_container{
    margin: 3vh 0px;
  }

  .fadeup{
  animation-name:fadeUpAnime;
  animation-duration:1s;
  animation-fill-mode:forwards;
  opacity:0;
  }
}
