/* 
  FONTS
*/
@import url("https://fonts.googleapis.com/css2?family=Bebas+Neue&family=Poppins:wght@400;500;600;700&display=swap");

/* 
font-family: 'Bebas Neue', cursive;
font-family: 'Poppins', sans-serif; 
*/
* {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
  font-family: "Poppins", sans-serif;
  /* border: 1px solid #000; */
}

::selection {
  background-color: #da251c;
  color: #fff;
}

/* 
Container
*/
html {
  overflow-x: hidden;
}

.cntr {
  padding: 3% 7%;
}

.variasi {
  width: 100%;
  background-image: url(../img/bg.png);
  background-size: cover;
  background-position: center;
}
.variasi img {
  width: 100%;
}
.variasi2 {
  width: 100%;
  background-image: url(../img/bg.png);
  background-size: cover;
  background-position: center;
}
.variasi2 img {
  width: 100%;
  transform: translateY(10px);
}

/* 
Heading
*/
.heading {
  font-size: 40px;
  margin: 15px 0px;
}

.bebas {
  font-family: "Bebas Neue", cursive;
}

h1 {
  font-size: 60px;
  letter-spacing: 2px;
  /* color: #FF6161; */
  color: #fff;
  /* text-shadow: 3px 3px #000; */
}

h3.t-banner {
  font-size: 16px;
  font-weight: 600;
  text-align: center;
  width: 800px;
  color: #fff;
  margin-top: 20px;
  text-shadow: 1px 1px #000;
}

/* 
  Header
*/
header {
  width: 100%;
  height: 100vh;
  display: flex;
  flex-direction: column;
  position: relative;
}
header.style2 {
  height: 90vh;
  background-color: #da251c;
}

/* 
  Buton
*/
.btn-primary {
  background-color: #da251c;
  color: #fff;
  padding: 10px 20px;
  border-radius: 0px 20px;
  box-shadow: 3px 6px 4px rgba(0, 0, 0, 0.25),
    inset 8px 4px 4px rgba(0, 0, 0, 0.25);
  margin: 10px 0px;
  text-decoration: none;
}

.btn-primary:hover {
  box-shadow: 3px 6px 4px rgba(0, 0, 0, 0.25),
    inset -8px -4px 4px rgba(0, 0, 0, 0.25),
    inset 8px 4px 4px rgba(0, 0, 0, 0.25);
  cursor: pointer;
}
.btn-gr {
  background-color: #da251c;
  border-radius: 10px;
  color: #fff;
  font-weight: bold;
  text-decoration: none;
  padding: 10px 20px;
  box-shadow: inset 8px 8px 18px rgb(255 255 255 / 25%),
    inset -10px -10px 20px rgb(0 0 0 / 25%);
  filter: drop-shadow(0px 4px 4px rgba(0, 0, 0, 0.25));
}
.btn-gr:hover {
  background-color: #da251c;
  border-radius: 10px;
  color: #fff;
  font-weight: bold;
  text-decoration: none;
  padding: 10px 20px;
  box-shadow: inset 2px 2px 18px #000, inset 10px 10px 20px rgb(0 0 0 / 25%);
}
/* 
  Navbar Info
*/
.nav-info {
  width: 100%;
  padding: 10px 4%;
  color: #fff;
  background-color: #da251c;
}

.nav-info p {
  font-size: 10px;
  display: flex;
  justify-content: flex-end;
}

/* 
  Navbar
*/
nav {
  width: 100%;
  display: flex;
  justify-content: space-between;
  background-color: #fff;
  padding: 20px 7%;
  box-shadow: 9px 10px 4px rgba(0, 0, 0, 0.25);
  transition: 1s;
}

nav .logo {
  width: 20%;
  display: flex;
  justify-content: start;
  align-items: center;
  margin-left: -20px;
}

nav .logo img {
  width: 40%;
}

nav ul {
  width: 45%;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

nav ul li {
  list-style: none;
}

nav ul li a {
  text-decoration: none;
  color: #000;
  cursor: pointer;
}

nav.sticky {
  /* position: sticky; */
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  animation: slow 0.5s forwards;
  z-index: 1000;
}
nav.sticky .logo img {
  width: 30%;
}

@keyframes slow {
  0% {
    height: 90px;
  }

  100% {
    height: 80px;
  }
}

nav ul li.menu {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

nav ul li.menu a {
  display: flex;
  justify-content: center;
  align-items: center;
}

i.icon {
  display: block;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  width: 13px;
  height: 13px;
  margin-left: 10px;
}
.d-none {
  display: none;
}
.icon.up {
  transform: rotate(180deg);
}

nav .submenu {
  position: absolute;
  top: 40px;
  left: -30px;
  transition: 1s;
  animation: up 1s forwards;
  background-color: #fff;
  border-radius: 10px;
  z-index: 100;
}

@keyframes up {
  0% {
    transform: translateY(20px);
  }

  100% {
    transform: translateY(0px);
  }
}

nav .submenu ul {
  display: flex;
  flex-direction: column;
  padding: 20px 30px;
  width: max-content;
  border-radius: 10px;
  border: 4px double black;
}

nav .submenu ul li {
  margin-bottom: 5px;
  width: 150px;
  display: flex;
  text-align: left;
}
nav .submenu ul li:hover {
  opacity: 0.8;
}

nav .submenu ul li a {
  font-size: 14px;
}

.submenu.hide {
  display: none;
}
.mobile {
  display: none;
}

/* 
Footer
*/
footer {
  display: flex;
  /* background-color: rgb(240, 240, 240); */
  background-color: #1b2139;
  color: #fff;
  justify-content: space-between;
  width: 100%;
}

footer .about-side .logo img {
  width: 150px;
  margin-bottom: 20px;
}

footer .nav-side {
  margin-top: 50px;
  display: flex;
}

footer .nav-side ul {
  /* height: 150px; */
  /* border: 1px solid black; */
  margin-right: 60px;
}

footer .nav-side ul li {
  width: max-content;
  list-style-type: ">";
  margin-top: 8px;
}

footer .nav-side ul li a {
  text-decoration: none;
  color: #fff;
  font-size: 14px;
}

/* End footer */
.cp {
  text-align: center;
  padding: 20px;
  font-size: 14px;
  font-weight: bold;
  /* background-color: rgb(240, 240, 240); */
  background-color: #1b2139;
  color: #fff;
}

/* Hamburger menu */
.menu-toggle {
  display: none;
  flex-direction: column;
  height: 20px;
  justify-content: space-between;
  position: relative;
  z-index: 999;
}

.menu-toggle input {
  position: absolute;
  width: 40px;
  height: 28px;
  left: -5px;
  top: -3px;
  opacity: 0;
  cursor: pointer;
  z-index: 2;
}

.menu-toggle span {
  display: block;
  width: 28px;
  height: 4px;
  background-color: #000;
  border-radius: 3px;
  transition: all 0.5s;
}

/* hamburger menu animation */
.menu-toggle span:nth-child(2) {
  transform-origin: 0 0;
}

.menu-toggle span:nth-child(4) {
  transform-origin: 0 100%;
}

.menu-toggle input:checked ~ span:nth-child(2) {
  transform: rotate(45deg) translate(-1px, -1px);
}

.menu-toggle input:checked ~ span:nth-child(3) {
  transform: scale(0);
  opacity: 0;
}

.menu-toggle input:checked ~ span:nth-child(4) {
  transform: rotate(-45deg) translate(-1px, 0);
}

#btn-bottom {
  position: fixed;
  width: 100px;
  background-color: #da251c;
  color: #fff;
  border: 1px solid #fff;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 10px;
  text-decoration: none;
  text-align: center;
  padding: 10px;
  border-radius: 10px;
  bottom: 20px;
  right: 20px;
  z-index: 999;
  animation: shake 0.7s infinite alternate;
}
@keyframes shake {
  from {
    transform: rotate(-5deg);
  }
  to {
    transform: rotate(5deg);
  }
}
