@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,400;0,900;1,900&display=swap');
:root {
  --primary: rgb(137, 137, 137);
  --bg: rgb(255, 255, 255);
}
html {
  scroll-behavior: smooth;
}
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  border: none;
  text-decoration: none;
  outline: none;
}

body {
  font-family: "Montserrat";
  background-color: var(--bg);
  color: #fff;
}

/* Navbar */

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.4rem 6%;
  opacity: 1;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  transition: 0.5s;
  transition: all 0.3s ease;
}
.scrolled {
  background-color: #000000;
}


.navbar .logo {
  font-size: 2.4rem;
  font-weight: bolder;
  color: rgb(255, 255, 255);
}
.navbar .logo span {
  color: rgb(137, 137, 137);
  font-style: italic;
}
.navbar .navlinks a {
  display: inline-block;
  font-size: 1.4rem;
  margin: 0 16px;
  opacity: 1;
  color: rgb(255, 255, 255);
}

.navbar .navlinks a:hover {
  color: var(--bg);
  opacity: 1;
  font-weight: bold;
  text-shadow: 1px 1px 3px whitesmoke;
}

.navbar .navlinks a::after {
  content: "";
  display: block;
  padding-bottom: 0.3rem;
  border-bottom: 0.2rem solid white;
  transform: scaleX(0);
  transition: 0.3s linear;
}
.navbar .navlinks a:hover::after {
  transform: scaleX(0.5);
}
.navbar .navbar-extra a {
  color: #ffffff;
  margin: 0 0.5rem;
}
.navbar .navbar-extra a:hover {
  color: var(--primary);
}

/* Hero */

.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  background-image: url(../img/tekno.jpg);
  background-repeat: no-repeat;
  background-size: cover;
  position: relative;
  background-position: center;
  z-index: -1;
}
/* .hero::after {
  display: block;
  position: absolute;
  width: 100%;
  height: 100%;
  background: linear-gradient(0deg, rgba(1,1,3,0)3%,
   rgba(255,255,255,0)25%);

} */
#hm-menu {
  display: none;
}

.hero .content {
  padding: 1.4rem 7%;
  max-width: 60rem;
  
}
.hero .content h1 {
  font-size: 4rem;
  color: #ffffff;
  text-shadow: 1px 1px 3px rgba(1,1,3,.5);
  line-height: 1.2;
  font-weight: bold;
}
.hero .content h1 span {
  color: rgb(137, 137, 137);
}
.hero .content p span {
  color: var(--bg);
  font-weight: bold;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.525);
}
.hero .content p {
  font-size: 1.8rem;
  margin-top: 1rem;
  line-height: 1.4;
  font-weight: 100;
  text-shadow: 1px 1px 3px rgba(1,1,3,.5);
}
.hero .content .cta {
  margin-top: 1rem;
  display: inline-block;
  padding: 1rem 3rem ;
  font-size: 1.4rem;
  color: #ffffff;
  background-color: var(--primary);
  border-radius: 8px;
  box-shadow: 1px 1px 3px rgba(1,1,3,0.5);
}
.hero .content a:hover {
  opacity: 1;
  background-color: #cbcbcb;
  color: #000000;
}

/* About */

.about,.menu,.contact{
  padding: 10rem 7% 1.4rem;
  color: #000000;
}
.about h2,.menu h2,.contact h2{
  text-align: center;
  font-size: 2.6rem;
  margin-bottom: 3rem;
}
.about h2 span, .menu h2 span,.contact h2 span{
  color: var(--primary);
}
.about .row {
  display: flex;

}
.about .row .about-img {
  flex : 1 1 45rem
}
.about .row .about-img img {
  width: 80%;
}
.about .row .content {
  flex: 1 1 35rem;
  padding: 0 1rem;
}

.about .row h3 {
  font-size: 1.8rem;
  margin-bottom: 1rem;
  text-align: center;

}
.about .row .content p {
  margin-bottom: 0.8rem;
  text-indent: 20px;
  font-size: 1.4rem;
  font-weight: 100;
  line-height: 180%;
  border-style: white;
}

/* Menu */

.menu {
  background-image: url(/ITSC/img/bk2.jpg);
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
}
.menu h2 ,.contact h2{
  margin-bottom: 2rem;
}
.menu .gambar-menu img {
  width: 80%;
  margin: 3rem 0;
}
.menu h4,.menu h5 {
  font-size: 2rem;
  text-align: center;
  margin: 3rem 0;
  
}
.menu p ,.contact p {
  text-align: center;
  max-width: 30rem;
  font-size: 1.4rem;
  font-weight: 100;
  line-height: 1.6;
  margin: auto;
}
.menu .row {
  display: flex;
  flex-wrap: wrap;
  margin-top: 5rem;
  justify-content: center;

}
.menu .menu-card {
  text-align: center;
  padding-bottom: 2rem;
  padding-left: 1.5rem;
  
}
.menu .row .menu-card img {
  border-radius: 10%;
  width: 20rem;
}
.menu .row .menu-card .menu-info {
  display: block;
}
.menu .row .menu-card .menu-card-title {
  margin-top: 1.5rem auto 0.5rem;
}

/* Contact */

.contact .row {
  display: flex;
  margin-top: 2rem;
  background-color: rgb(255, 255, 255);
  border: 1px solid black;


}

.contact .row .map {
  flex: 1 1 45rem;
  width: 100%;
  object-fit: cover;
}
.contact .row form {
  flex: 1 1 45rem ;
  padding: 5rem 2rem;
  text-align: center;
}
.contact .row form .input-group{
  display: flex;
  align-items: center;
  margin-top: 2rem;
  border: 1px solid rgb(53, 53, 53);
  background-color: rgb(255, 255, 255);
  padding-left: 2rem;
  box-shadow: 1px 1px 2px rgba(1, 1, 3, 0.6);
}
.contact .row form .input-group input {
  width: 100%;
  padding: 2rem;
  font-size: 1.2rem;
  background: none;
}
.contact .row form .btn {
  margin-top: 3rem;
  display: inline-block;
  padding: 1rem 3rem;
  font-size: 1.2rem;
  color: #ffffff;
  background-color: #000000;
  cursor: pointer;
}
/* Loading */
.loader {
  border: 4px solid #f3f3f3;
  border-top: 4px solid #3498db;
  border-radius: 50%;
  width: 20px;
  height: 20px;
  animation: spin 1s linear infinite;
  display: none;
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

.contact .row form .btn:hover {
  background-color: rgb(137, 137, 137);
  color: #ffffff;
}

/* Footer */

footer {
  background-color: black;
  opacity: .9;
  text-align: center;
  padding: 1rem 0 3rem;
  margin-top: 3rem;
}
footer .sosial {
  padding: 1rem 0;
}

footer .sosial a {
  color: #ffffff;
  margin: 1rem;
  padding-left: 1rem;
}
footer .sosial a:hover {
  color: rgb(137, 137, 137);

}
footer .links a {
  padding: 1rem 0.5rem;
  color: #ffffff;
}
footer .links a:hover {
  color: rgb(137, 137, 137);
}
footer .credit {
  font-size: 1rem;
  line-height: 1.8;
}
footer .credit a {
  color: #000000;
  font-weight: 800;
}
footer .credit a:hover {
  color: #ffffff;
  font-weight: bold;
}


/* Media Query */

/* Hp */
@media (max-width: 450px) {
  html {
    font-size: 55%;
  }
}

/* Laptop */
@media (max-width: 1366px) {
  html {
    font-size: 70%;
  }
}
/* Tablet */
@media (max-width: 758px) {
  html {
    font-size: 62.5%;
  }
  #hm-menu {
    display: inline-block;
  }
  .navbar .navlinks {
    position: absolute;
    top: 100%;
    right: -100%;
   background-color: black;
    width: 30rem;
    height: 100vh;
    transition: 0.3s;
  }
  .navbar .navlinks.active {
    right: 0;
  }
  .navbar .navlinks a {
    display: block;
    margin: 1.5rem;
    color: white;
    padding: 0.5rem;
    font-size: 2rem;
  }
  .navbar .navlinks a::after {
    transform-origin: 0 0;
  }
  .navbar .navlinks a:hover::after {
    transform: scale(0.2);
  }
  .about .row {
    flex-wrap: wrap;
  }
  .about .row .about-img img {
    object-fit: cover;
    object-position: center;
    
  }
  .about .row .content {
    padding: 0;
  }
  .about .row .content h3 {
    margin-top: 1rem;
    font-size: 2rem;
  }
  .about .row .content p {
    font-size: 1.6rem;
  }
  .menu p {
    font-size: 1.4rem;
  }
  .menu .gambar-menu {
    width: 70%;
    margin: 2rem 0;
  }
  .menu .menu-card img{
    width: 100%;
  }
  .contact .row {
    flex-wrap: wrap;
  }
  .contact .row .map {
    height: 30rem;
  }
  .contact .row form {
    padding-top: 0;
  }
}