
/* 
---------------------------------------------
Banner Style
--------------------------------------------- 
*/

.main-banner {
  background-repeat: no-repeat;
  background-size: cover;
  background-image: url('../images/TopPageBkg1.png');
  padding: 220px 0px 120px 0px;
  position: relative;
  overflow: hidden;
  margin-bottom: 0px;
  /* height: 100vh; */
}

.main-banner .left-content {
  margin-right: 0px;
  text-align: left;
  margin-bottom: 45px;
}

.main-banner .left-content h6 {
  text-transform: uppercase;
  font-size: 18px;
  color: #fe3f40;
  margin-bottom: 15px;
}

.main-banner .left-content h2 {
  font-size: 37px;
  font-weight: 700;
  color: #2a2a2a;
  line-height: 60px;
}

.main-banner .left-content h2 em {
  color: #03a4ed;
  font-style: normal;
}

.main-banner .left-content h2 span {
  color: #0a66ce;
}

.main-banner .left-content p {
  font-size: 20px;
  margin: 30px 0px;
}

#owl-images .item img{
  display: block;
  width: 100%;
  height: auto;
  border-radius: 20px;
}

/* 
---------------------------------------------
Top Page Experiments
--------------------------------------------- 
*/

.experiment-box {
  margin-top: 50px;
  padding-top: 20px;
  padding-bottom: 90px;
}

.overlay {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  height: 100%;
  width: 100%;
  opacity: 0;
  transition: .5s ease;
  background-color: #181818c5;
}

.hover-container{
  border: 2px solid #ffffff;
  position: relative;
}

.hover-container:hover .overlay {
  opacity: 1;
}

.hover-container .text {
  color: white;
  font-size: 20px;
  position: absolute;
  top: 50%;
  left: 50%;
  -webkit-transform: translate(-50%, -50%);
  -ms-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%);
  text-align: center;
  margin-right: -20%;
}

.logo-container {
  width: auto;
  height: 100px;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.logo-text-container {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
  margin-top: auto;
  margin-bottom: auto;
}

.logo-text-container p {
  padding: 10px;
  font-size: 20px;
}

.logo-text-container em1{
  color: #c0316d;
  font-style: normal;
  font-weight: 600;
  padding: 10px;
  font-size: 20px;
}

.logo-text-container em2{
  color: #3174c0;
  font-style: normal;
  font-weight: 600;
  padding: 10px;
  font-size: 20px;
}

/* 
---------------------------------------------
Main Page Topics Style
--------------------------------------------- 
*/
.topics-background{
  background-color: rgb(209, 209, 209);
  overflow: hidden;
}

.topics-container {
  background-color: rgb(255, 255, 255);
  border: 3px solid #2b2b2b;
  width: 90%; 
  margin-left: auto; 
  margin-right: auto;
  border-radius: 10px;
  color: rgb(0, 0, 0);
}

.topics-header {
  background-color: rgba(16, 50, 87, 0.876);
  text-align: center;
  font-size: 32px;
  color:  rgb(109, 243, 255); 
  line-height: 70px;
  font-weight: 500;
}

.topics-header span {
  color:  rgb(255, 255, 255); 
}

.topics-header-eng {
  font-family: 'Dancing Script', cursive;
}

.topics-header-jp {
  font-family: 'Zen Maru Gothic', sans-serif;
}

.topics-content {
  height:350px;
  overflow:auto;
  overflow-x: hidden;
  margin-bottom: 10px;
}

.topics-box1 {
  padding-left: 10%; 
  font-weight: 700;
}

.topics-box2 {
  padding-right: 10%;
}

/* Scrollbar styles 

::-webkit-scrollbar {
  width: 12px;
  height: 12px;
  }
  
  ::-webkit-scrollbar-track {
  border: 0.5px solid rgb(153, 153, 153);
  border-radius: 10px;
  }
  
  ::-webkit-scrollbar-thumb {
    background: var(--scrollbar-foreground);
    border: 1.5px solid rgb(53, 53, 53);
    background-color: #11bbda;
    border-radius: 10px;
    box-shadow: 0 4px 28px rgba(123,151,158,.25);
  }
  
  ::-webkit-scrollbar-thumb:hover {
    background: rgb(139, 189, 24);
  }
*/
.logo-container-2 {
  margin-top: 20px;
  margin-bottom: 20px;
  width: auto;
  height: 70px;
  display: block;
  margin-left: auto;
  margin-right: auto;
  border-radius: 8px;
  box-shadow: 0px 6px 6px 2px rgba(136, 136, 136, 0.767);
}

.logo-container-3 {
  margin-top: 20px;
  margin-bottom: 20px;
  width: auto;
  height: 230px;
  display: block;
  margin-left: auto;
  margin-right: auto;
  border-radius: 8px;
  box-shadow: 0px 6px 6px 2px rgba(136, 136, 136, 0.767);
}

.topic-ruler {
  width: 90%; 
  margin: auto; 
  border: 2px solid rgb(163, 163, 163); 
  opacity: 1; 
  border-radius: 2px;
}

.content-ruler{
  width: 90%; 
  margin-left: auto; 
  margin-right: auto;
  border: 0.5px solid rgb(155, 155, 155); 
  opacity: 0.5; 
}

.section-heading {
  margin:auto;
  padding-top: 10px;
  padding-bottom: 10px;
  text-align: center;
}

.section-heading h4 {
	margin-bottom: 20px;
	font-size: 25px;
	text-transform: uppercase;
	font-weight: 700;
	color: rgb(49, 49, 49);
	letter-spacing: 1px;
}

/* 
---------------------------------------------
Responsive
--------------------------------------------- 
*/
@media (max-width: 1200px) {
  .logo-container-2 {
    height: 55px;
  }
  
  .logo-container-3 {
    height: 180px;
  }

  .main-banner {
    margin-top: -30px;
    padding-bottom: 100px;
  }

  .topics-content {
    height:250px;
  }

  .topics-box1 {
    margin-bottom: 10px;
    font-size: 14px;
  }

  .topics-box2 {
  padding-left: 10%;
  font-size: 14px;
  }

  .main-banner .left-content h2 {
    font-size: 28px;
    line-height: 150%;
  }

  .main-banner .left-content p {
    font-size: 18px;
    margin-top: 10px;
    margin-bottom: 10px;
  }

}

@media (max-width: 600px) {
  .main-banner {
    margin-top: -50px;
  }

  .main-banner .left-content {
    text-align: center;
  }

  #owl-images {
    margin-bottom: -80px;
  }

  .hover-container {
    margin-top: 30px;
  }

  .logo-container-2, .logo-container-3 {
    width: 70%;
    height: auto;
  }
}  

@media (max-width: 420px) {
  .main-banner {
    margin-top: -60px;
  }

  .hover-container .text {
    font-size: 15px;
  }
  
  .topics-container {
    margin-bottom: 50px;
  }

  .topics-header {
    font-size: 25px;
  }

}

@media (max-width: 375px) {

  .hover-container .text {
    font-size: 13px;
  }
}

@media (max-width: 320px) {

  .hover-container .text {
    font-size: 10px;
  }

  .topics-box1 {
    font-size: 12px;
  }

  .topics-box2 {
  font-size: 12px;
  }
}