*{
  margin: 0;
  padding: 0;
  
}

.container {
  max-width: 1200px;
  margin: 0px auto;
  padding: 20px;

}

.home-page{
  background-color: lightblue;
}



.logo{
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  padding-top: 10px;
  height: 80px;
}

/* ---------- For Home Page ---------- */

.cloud{
  position: absolute;
  display: flex;
  height: 60px;
  width: 60px;
  margin-top: 200px;
  margin-left: 100px;
  animation: moveCloud 40s  linear infinite;
  z-index: -1;
}

.cloud:nth-child(2){
  animation-delay: 10s;
  height: 80px;
  width: 80px;
  margin-top: 300px;
  margin-left: -900px;
}

.cloud:nth-child(3){
  animation-delay: 20s;
  height: 80px;
  width: 80px;
  margin-top: 50px;
  margin-left: -900px;

}

.cloud:nth-child(4){
  animation-delay: 30s;
  height: 80px;
  width: 80px;
  margin-top: 220px;
  margin-left: -900px;
}

.cloud:nth-child(5){
  animation-delay: 40s;
  height: 80px;
  width: 80px;
  margin-top: 180px;
  margin-left: -900px;
}

@keyframes moveCloud {
  0% {
    right: 100%;
  }
  100% {
    right: -60px;
  }
}

nav{
  font-size: 10px;
  box-sizing: border-box;
  background-color: pink;
  font-family: Verdana, Geneva, Tahoma, sans-serif;
  z-index: 1000;
}

.navigation{
  box-sizing: border-box;
  position: relative;
  left: 50%;
  transform: translateX(-50%);
  /* not sure if use em or rem */
  width: 90em;
  /* change the space between navigation and logo */
  margin-top: 5vw;
  transition: all .5s ease;

}

.navbar-container{
  box-sizing: border-box;
  list-style: none;
  display: flex;
  justify-content: center;
  perspective: 50rem;
  background-color: lightblue;
  box-shadow: 0 0 19px 11px rgba(0, 0, 0, 0.2);
}

.navbar-container-sub{
  box-sizing: border-box;
  position: absolute;
  width: 100%;
  list-style: none;
  border-radius: 0 0 5px 5px;
  top: 100%;
  left: 0;
  padding: 0;
  transform: rotateY(180deg) scaleY(0);
  transform-origin: top;
  opacity: 0; 
  visibility: hidden;
  transition: all 0.7s ease;
  box-shadow: 0 20px 10px 11px rgba(0,0,0,0.2);

}

.navbar-item{
  box-sizing: border-box;
  flex-grow: 1;
  padding: 1em;
  font-size: 2em;
  background-color: lightcoral;
  background: url(image/cloud.png);
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
  font-weight: bold;
  text-align: center;
  color:lightpink;
  transition: all 0.10s ease;
  transform: rotateY(0);
  position: relative;
  z-index: 1;
  cursor: pointer;
}

.navbar-item:hover{
  background-color: lightblue;
}

.navbar-item:hover{
  transform: rotateY(180deg) scaleY(1);
  opacity: 1;
  visibility: visible;
}

.navbar-item:hover > .navbar-container-sub{
  transform: rotateY(180deg) scaleY(1);
  opacity: 1;
  visibility: visible;
}

.navbar-item:hover > .navbar-item-label{
  transform: scaleY(1) rotateY(180deg);
  opacity: 1;
  visibility: visible;
}

.navbar-item-link{
  text-decoration: none;
  color: lightpink;
}


.navbar-item-sub, .navbar-item-sub a{ 
  box-sizing: border-box;
  padding: 1em;
  font-size: 12px;
  background-color: transparent;
  position: relative;
  overflow: hidden;
  color: whitesmoke;
  text-align: center;
  transition: color 0.3s ease-in;

  
}
.navbar-item-sub a{
  text-decoration: none;
}

.navbar-item-sub a:hover{
  color:lightgreen;
}

.navbar-container-sub:after{
  content: "";
  position: absolute;
  top:0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -2;
  background-color: lightblue;
}



/* .navbar-container-sub:before{
  content: "";
  position: absolute;
  top:0;
  left: 0;
  width: 120%;
  height: 100%;
  z-index: -1;
  background-color: purple;
  transform: skewX(-30deg);
  transform-origin: right;
  transition: all .3s ease-in;
} */

.navbar-container-sub:hover:before{
  left: -10%;
}

.navbar-item-label{
  box-sizing: border-box;
  position: absolute;
  top:0;
  left: 0;
  width: 100%;
  height: 100%;
  padding: inherit;
  font-size: inherit;
  font-weight: bold;
  text-align: center;
  transform: scaleY(0) rotateY(180deg);
  transform-origin: top;
  opacity: 0;
  visibility: hidden;
  transition: all .1s ease;
  background-color: #fffdf0;
  /* background: url(image/rain.png);
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center; */
  color:lightpink;
}

.navbar-item-sub-link{
  text-decoration: None;
  color: whitesmoke;
  transition: color 0.3s ease-in;
}

.navbar-item-sub-link:hover{

  color: lightgreen
}

/* ========= About Us ========== */
/* For ocean */
/* .about-page{
  background-color: #133E87;
  overflow: hidden;
}

.about-page .navbar-container{

  background-color: #608BC1;

} */

.about-page{
  background-color: #97bee6;
  /* overflow: hidden; */
}

.about-page .navbar-container{

  background-color: #97bee6;

}

.about-page .navbar-item{

  background: url(image/other_snow_03.png);
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
  color:#3966a2;

}

.about-page .navbar-item-link{
  color: #3966a2;
}
.about-page .navbar-container-sub:after{
  background-color:#97bee6 ;
}
.about-page .navbar-item-label{
  color:#3966a2;
}

/* 5 column sides by sides */
.about-page .column{
  float:left;
  width: 18%;
  margin-top: 16px;
  padding: 0 10px;
}

/* Display the columns below each other instead of side by side on small screens */
@media (max-width:1100px){
  .about-page .column{
    width: 100%;
    display: block;
  }
}

/* Add some shadow to create a card effect */
.about-page .card{
  box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2);
}

/* Adjust the image size */
.about-page img{
  width: 100%;
}

.about-page .team-info{
  text-align: center;
}

.about-page .container::after, .about-page .row::after {
  content: "";
  clear: both;
  display: table;
}

.about-page .mission, .about-page .story{
  text-align: center;
}

/* ========= News ========== */
.new-page{
  background-color: #f9dbdc;
  /* overflow: hidden; */
}

.new-page .navbar-container{

  
  background-color: #f9dbdc;

}

.new-page .navbar-item{

  background: url(image/plant_cherry-blossoms_01.png);
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
  color:whitesmoke;

}

.new-page .navbar-item-link{
  
  color: whitesmoke;
}
.new-page .navbar-container-sub:after{
  background-color:#fda5c0;
}
.new-page .navbar-item-label{
  background-color: #fda5c0;
  color:whitesmoke;
}

/* ========= Blog ========== */
.blog-page{
  background-color: #c9e6bd;
  /* overflow: hidden; */
  
}

.blog-page .navbar-container{
  background-color: #c9e6bd;
  

}

.blog-page .navbar-item{

  background: url(image/chocolate-ice-cream.png);
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
  color:#fefae0;

}

.blog-page .navbar-item-link{
  
  color: #fefae0;
}
.blog-page .navbar-container-sub:after{
  background-color:#d4a373;
}
.blog-page .navbar-item-label{
  background-color: #d4a373;
  color: #fefae0;
}

/* ========= Previews ========== */
.pre-page{
  background-color: #e5a355;
  /* overflow: hidden; */
}

.pre-page .navbar-container{

  background-color: #e5a355;

}

.pre-page .navbar-item{

  background: url(image/yellow-tree.png);
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
  color:#fffdf0;

}

.pre-page .navbar-item-link{
  
  color: #fffdf0;
}
.pre-page .navbar-container-sub:after{
  background-color:#f8c838;
}
.pre-page .navbar-item-label{
  background-color: #f8c838;
  color:#fffdf0;
}