/**
By kurama250
github.com/Kurama250
 */

.vertical-align {
  display: flex;
  align-items: center;
}

#css-Navbar {
overflow: hidden;
background-color: #9cb1ff;
z-index: 99;
}

.css-Navbar-Logo {
margin-top:20px;
margin-left:20px;
}

.css-Navbar-Logo img {
height: 50px;
margin-right: 20px;
}

.css-Navbar-Logo h2 {
color: #FFF;
font-weight: 1000;
}

#css-Navbar a {
color: #FFF;
padding: 30px 16px;
float: right;
text-decoration: none;
text-align: center;
font-size: 17px;
font-family: Sarabun,sans-serif;
}

#css-Navbar a:hover {
background-color: #90a8ff;
color: white;
}

#css-Navbar a.active {
background-color: #7b8cc9;
color: white;
}

.css-Content {
padding: 0px;
}

.css-Navbar-Sticky {
position: fixed;
top: 0;
width: 100%;
}

.css-Navbar-Sticky + .css-Content {
padding-top: 86px;
}

.css-BannerHead {
  position: relative;
  height: 600px;
  background: url('../img/back.jpg') no-repeat center center fixed #1c202d;
  background-size: cover;
  overflow: hidden;
}

.css-BannerHead::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: inherit;
  filter: blur(8px) brightness(0.70);
  z-index: 0;
}

.css-BannerHead * {
  position: relative;
  z-index: 1;
}

.css-TitleHead {
color:#FFF;
font-weight: 1000;
padding: 200px 0px 100px;
text-shadow: #000000 1px 0 10px;
font-size: 60px;
font-family: Sarabun,sans-serif;

animation: 0.5s ease-out 0s 1 css-slideLeft;
}

@keyframes css-slideLeft {
0% {
  transform: translateX(-100%);
}
100% {
  transform: translateX(0);
}
}

.css-Button {
  background-color: #9cb1ff;
  color: white;
  border: none;
  border-radius: 30px;
  padding: 15px 30px;
  text-align: center;
  text-decoration: none;
  font-size: 20px;
  font-family: Sarabun, sans-serif;
  cursor: pointer;

  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.css-Button:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(156, 177, 255, 0.4);
}

.css-Title {
font-size: 50px;
margin: 50px;
font-weight: 600;
font-family: Sarabun,sans-serif;
}

.cssHoverCard {
padding: 20px;
min-height: 230px; 
background-color: #30364d;
border-radius: 15px;

transform: translateY(0);
transition-duration: 0.2s;
transition-delay: 0s
}

.cssHoverCard:hover {

transform: translateY(-5px);
transition-duration: 0.2s;
transition-delay: 0s;

box-shadow: 0 0 15px #aabcff;
}

.cssPriceCard {
padding: 20px;
min-height: 300px;
background-color: #30364d;
border-radius: 15px;
border: 1px solid #6d779d;

transform: translateY(0);
transition-duration: 0.2s;
transition-delay: 0s
}

.cssPriceCard:hover {
transform: translateY(-5px);
transition-duration: 0.2s;
transition-delay: 0s;
box-shadow: 0 0 15px #aabcff;
}

.css-Button {
background-color: #9cb1ff;
color: white;
border: none;
border-radius: 30px;
padding: 10px 20px;

text-align: center;
text-decoration: none;
font-size: 20px;
font-family: Sarabun,sans-serif;
cursor: pointer;
}

.css-Icon-Card {
font-size: 40px;
color: #9cb1ff;
margin-bottom: 10px;
}

.css-Part-1 {
min-height: 700px;
padding: 80px 0px 80px 0px;
}

.css-Part-2 {
min-height: 700px;
padding: 80px 0px 80px 0px;
}

.css-Banner {
min-height: 700px;
width: 100%;
background-color: #292e42;
}

.css-Footer {
min-height: 100px;
width: 100%;
padding: 40px;
background-color: #1c202d;
}

.css-ImageHead {
  border-radius: 10px;
  width: 150px;
  height: 150px;
  object-fit: cover;
  margin-bottom: 20px;
}

@media (max-width: 768px) {
  #css-Navbar {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
  }

  #css-Navbar a {
    float: none;
    width: 100%;
    padding: 15px;
    text-align: left;
  }

  .css-Navbar-Logo {
    margin-top: 10px;
    margin-left: 10px;
  }

  .css-Navbar-Sticky + .css-Content {
    padding-top: 150px;
  }

  .css-Button {
    display: none;
  }
}
