@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@100;200;300;400;500;600;700;800;900&display=swap');

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Montserrat', sans-serif;
}

body {
  background-color: #f4fbff;
  margin-top: 70px;
}



/* Navbar */
.nav {
  background-color: #007CBD;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 5%;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
}

.nav-menu {
  display: flex;
  align-items: center;
}

nav ul {
  display: flex;
  align-items: center;
  margin-bottom: 0;
}

nav ul li {
  display: inline-block;
  line-height: 80px;
  margin: 0 5px;
}

nav ul li a {
  text-decoration: none;
  color: #ffffff;
  font-size: 14px;
  font-weight: 600;
  padding: 10px;
  line-height: 17.07px;
}

.checkbtn {
  font-size: 30px;
  color: white;
  float: right;
  line-height: 80px;
  margin-right: 40px;
  cursor: pointer;
  display: none;
}

#check {
  display: none;
}

.regis {
  padding: 0px 10px;
}

.regis a {
  display: inline-block;
  background-color: #ffffff;
  color: #007cbd;
  border-radius: 100px;
  padding: 10px 30px;
  font-weight: 600;
  border: none;
  cursor: pointer;
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  line-height: 17.07px;
}

/* Hero */
.hero {
  background-image: url('image/Background_Hero_Section.png');
  background-position: center;
  height: 1024px;
  width: auto;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
}

.hero-content {
  width: 100%;
  max-width: 974px;
  padding: 0px 20px;
  height: 225px;
  display: flex;
  gap: 30px;
  flex-direction: column;
  align-items: center;
  justify-items: center;
}

.hero p,
.hero h1,
.hero h6 {
  color: #ffffff;
  text-align: center;
  line-height: 36px;
}

.hero p {
  font-size: 24px;
  font-weight: 600;
}

.hero h1 {
  text-transform: uppercase;
  font-size: 48px;
  font-weight: 800;
  line-height: 50px;
}

.hero h6 {
  padding: 10px 0px;
  font-size: 14px;
  font-weight: 600;
  line-height: 17.07px;
  max-width: 846px;
  width: 100%;
  height: 34px;
}

.hero .hero-content button {
  Width: 221px;
  Height: 49px;
  font-size: 14px;
  font-weight: 800;
  line-height: 17.07px;
  border: 0px;
  padding: 16px 20px;
  background-color: #3EB7DD;
  color: #ffffff;
  border-radius: 5px;
}

/* About */
.about {
  height: 420.16px;
  width: auto;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
}

.about-section {
  max-width: 1007px;
  width: 100%;
  padding: 0px 20px;
  height: 220.16px;
  display: flex;
  gap: 35px;
  align-items: center;
}

.right-side {
  display: grid;
  gap: 0px;
}

.right-side h5 {
  color: #007cbd;
  font-weight: 700;
  font-size: 20px;
  line-height: 24.38px;
}

.right-side p {
  font-weight: 500;
  font-size: 14px;
  line-height: 19px;
}

.share-sosmed {
  display: flex;
  gap: 16px;
}

.share-sosmed p {
  color: #007cbd;
  margin-bottom: 0;
  font-weight: 400;
  font-size: 14px;
  line-height: 19px;
}

.share-sosmed img {
  width: 20px;
  height: 20px;
}

/* Mechanism */
.mechanism {
  background-image: url("image/Background_Mekanisme_Section.png");
  background-position: center;
  width: 100%;
  height: 1000px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
}

.mechanism-section {
  width: 100%;
  max-width: 761px;
  height: 707px;
  display: grid;
  gap: 28px;
}

.mechanism-section h1 {
  color: #ffffff;
  font-weight: 700;
  font-size: 48px;
  line-height: 20px;
}

.card-section {
  display: grid;
  gap: 25px;
}

.card-section .card {
  background-color: #ffffff;
  border-radius: 10px;
  padding: 30px;
  display: grid;
  gap: 17px;
  grid-template-columns: auto 1fr;
}

.card-icon img {
  width: 26px;
  height: 26px;
}

.card-icon {
  width: 56px;
  height: 56px;
  background: linear-gradient(#3EB7DD, #007CBD);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.card-atribut .card-title {
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: #007cbd;
  margin: 0px 0px -4px 6px;
}

.card-atribut .card-title h5 {
  font-weight: 700;
  font-size: 18px;
  line-height: 19px;
}

.card-atribut .card-title p {
  font-weight: 500;
  font-size: 14px;
  line-height: 19px;
}

.card-atribut .card-desc ol {
  padding-left: 20px;
}

.card-atribut .card-desc {
  margin-bottom: -20px;
}

.card-atribut .card-desc ol li {
  font-weight: 500;
  font-size: 12px;
  line-height: 20px;
}

/* running */
.running {
  height: 500px;
  display: flex;
  justify-content: center;
  flex-direction: column;
}

.running-section {
  width: 100%;
  height: 337px;
  gap: 50px;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
}

.running-section .title {
  padding: 0px 28% 0px 28%;
  text-align: center;
  color: #007cbd;
  font-weight: 600;
}

.running-slider {
  height: 144px;
  position: relative;
  width: 100%;
  display: grid;
  place-items: center;
  overflow: hidden;
}

.running-section a {
  Width: 221px;
  Height: 49px;
  font-size: 14px;
  font-weight: 800;
  line-height: 17.07px;
  border: 0px;
  padding: 16px 20px;
  background-color: #3EB7DD;
  color: #ffffff;
  border-radius: 5px;
  text-decoration: none;
}

.slider {
  display: flex;
  width: calc(250px * 18);
  animation: scroll 12s linear infinite;
}

.slide {
  height: auto;
  width: 25%;
  align-items: center;
  padding: 5px 15px;
  background-color: #ffffff;
  margin: 0px 10px;
  border-radius: 10px;
}


.slide img {
  width: 100%;
}

@keyframes scroll {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(calc(-250px * 9));
  }
}

/* aggregator */
.aggregator {
  width: 100%;
  height: 746px;
  display: flex;
  align-items: center;
  flex-direction: column;
  justify-content: center;
}

.aggregator-section {
  width: 100%;
  max-width: 1094px;
  padding: 0px 20px;
  height: 634px;
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.aggregator-section h1 {
  text-transform: uppercase;
  color: #007cbd;
  font-weight: 700;
  font-size: 32px;
  line-height: 20px;
}

.aggregator-section .card-container {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 35px;
}

.aggregator-section .card {
  border: 0;
  background-color: transparent;
  display: flex;
  flex-direction: column;
  gap: 10px;
  cursor: pointer;
}

.inner-image {
  overflow: hidden;
  border-radius: 8px;
}

.inner-image img {
  width: 100%;
  height: 196px;
  object-fit: cover;
  transition: all 0.2s ease;
}

.aggregator-section .card-body {
  padding: 0;
  margin-bottom: -20px;
}

.aggregator-section .card-text {
  color: #1B1E28;
  font-weight: 700;
  font-size: 14px;
  line-height: 17.07px;
}

.aggregator-section .card-time {
  font-weight: 500;
  font-size: 12px;
  line-height: 14.63px;
  color: #7A7B7E;
  margin-top: -5px;
}

.card:hover .inner-image img {
  transform: scale(1.1);
}

.aggregator-section .card-container .card:hover .inner-image {
  border-radius: 8px;
}

.aggregator-section .card-container .card:hover .card-text {
  color: #007cbd;
}

/* Footer */
footer {
  background-color: #007cbd;
  height: 244px;
  display: flex;
  align-items: center;
  flex-direction: column;
  justify-content: center;
}

.footer-section {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 0 30px;
  height: 184px;
}

.footer-desc {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
}

.footer-desc p {
  color: #ffffff;
  font-weight: 600;
  font-size: 14px;
  padding: 15px 30% 0 0;
  line-height: 17.07px;
  margin-bottom: 0px;
  flex: 1;
}

.sosmed {
  display: flex;
  align-items: center;
}

.sosmed img {
  width: 21px;
  height: 21px;
  margin-left: 14px;
}

hr {
  border-top: 2px solid #ffffff;
  margin: 20px 0;
}

footer p {
  color: #ffffff;
  font-size: 10px;
  font-weight: 400;
  line-height: 14px;
  margin-bottom: -10px;
}

/* Registrasi */
.registrasi h1 {
  background-image: url('image/Background_Registration.png');
  text-align: center;
  height: 450px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  color: #ffffff;
}

.registrasi form {
  width: 640px;
  background-color: #ffffff;
  padding: 30px 20px;
  border-radius: 16px;
  display: flex;
  flex-direction: column;
  margin: -120px auto 60px auto;
}

.registrasi form .form-control {
  border: 0px;
  background-color: #f8f8f8;
  color: #071424;
  font-size: 12px;
  line-height: 12.36px;
}

.form-label {
  font-size: 12px;
  font-weight: 400;
  line-height: 14.63px;
  color: #828282;
}

input {
  height: 44px;
}

.input-group label {
  width: 160px;
  border-radius: 8px;
  height: 44px;
  font-weight: 700;
  font-size: 12px;
  line-height: 14.63px;
  align-items: center;
  display: flex;
  justify-content: center;
  text-align: center;
}

.upload-logo {
  display: flex;
  align-items: center;
}

textarea {
  height: 140px;
}

.upload {
  position: relative;
  width: 200px;
  margin-right: 5px;
}

.custom-file-upload {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  border-radius: 10px;
  padding: 20px;
  background-color: #f8f8f8;
  text-align: center;
  height: 200px;
  width: 199.67px;
}

.upload-icon {
  font-size: 36px;
  margin-bottom: 10px;
  width: 35px;
  height: 35px;
  line-height: 35px;
  border-radius: 50%;
  background-color: #007cbd;
  color: #ffffff;
}

.upload-text {
  font-size: 10px;
  line-height: 11.72px;
  color: #000000;
  position: absolute;
  bottom: 10px;
  left: 50%;
  transform: translateX(-50%);
  font-weight: 400;
}

.upload-logo ol li {
  font-size: 12px;
  font-weight: 400;
  line-height: 14.4px;
}

.input-group {
  margin-top: 20px;
}

.custom-btn-primary,
.custom-btn-primary:hover {
  background-color: #007cbd;
  color: #ffffff;
  border-color: #007cbd;
  font-size: 13px;
}

.form-check label {
  font-size: 12px;
  margin-bottom: 20px;
  font-weight: 400;
  line-height: 14.63px;
}

.form-check-input {
  background-color: #c4c4c4;
}

.submit-button {
  text-align: center;
}

button.submit {
  background-color: #007cbd;
  color: #ffffff;
  border: none;
  padding: 16px 20px;
  border-radius: 5px;
  font-size: 14px;
  font-weight: 700;
  line-height: 17.07px;
  cursor: pointer;
  width: 250px;
}

@media screen and (max-width: 768px) {
  /* Hero */
  .hero-content {
    gap: 10px;
    height: auto;
    padding: 0px 10px;
  }

  .hero h1 {
    font-size: 28px;
    line-height: 30px;
    margin-bottom: 0px;
  }

  .hero p {
    font-size: 16px;
    margin-bottom: 0px;
  }

  .hero h6 {
    font-size: 13px;
    margin-bottom: 20px;
  }

  .hero .hero-content button {
    font-size: 12px;
    line-height: 17px;
    Width: 200px;
    Height: 39px;
    justify-content: center;
    align-items: center;
    text-align: center;
    display: flex;
  }

  /* About */
  .about {
    height: 700px;
    padding: 5% 4%;
  }

  .about-section {
    flex-direction: column;
    height: 500px;
  }

  .about-section .left-side img {
    max-width: 768px;
    width: 100%;
    height: 300px;
  }

  /* Mechanism */
  .mechanism-section {
    max-width: 500px;
  }

  .card-section .card {
    padding: 16px;
  }

  .card-atribut .card-desc ol li {
    font-size: 11px;
  }

  /* Running */
  .running-section .title {
    font-size: 16px;
    padding: 0 10px;
  }

  /* aggregator */
  .aggregator {
    height: auto;
  }

  .aggregator-section {
    height: auto;
    padding-bottom: 30px;
  }

  .aggregator-section .card-container {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }

  /* Footer */
  .footer-desc p {
    font-size: 12px;
    padding: 15px 5% 0 0;
  }

  /* Registrasi */
  .registrasi form {
    width: 90%;
  }
}

@media screen and (max-width: 500px) and (min-width: 415px) {
  .mechanism-section {
    max-width: 400px;
  }
}

@media screen and (max-width: 414px) {
  /* Hero */
  .hero {
    background-image: url('image/Background_Hero_Section.png');
    background-image: url('image/Background_Hero_Section_Mobile.png');
    background-repeat: no-repeat;
    height: 736px;
  }

  .hero-content {
    width: 100%;
    max-width: 308px;
    display: flex;
    flex-direction: column;
    align-items: start;
    gap: 30px;
    height: 346px;
  }

  .hero p,
  .hero h1,
  .hero h6 {
    text-align: start;
  }

  .hero p {
    font-size: 18px;
    line-height: 22px;
  }

  .hero h1 {
    font-size: 36px;
    line-height: 36px;
  }

  .headline {
    display: flex;
    flex-direction: column;
    gap: 20px;
  }

  .hero h6 {
    font-size: 12px;
    line-height: 14.63px;
  }

  .hero .hero-content button {
    margin-top: 30px;
  }

  /* About */
  .about {
    height: 711px;
    padding: 100px 0px;
    gap: 10px;
  }

  .about-section {
    flex-direction: column;
    height: 511px;
    max-width: 375px;
    width: 100%;
  }

  .about-section .left-side img {
    max-width: 375px;
    width: 100%;
    height: 220px;
  }

  /* Mechanism */
  .mechanism {
    background-image: url("image/Background_Mekanisme_Section_Mobile.png");
    background-position: center;
    height: 1381px;
  }

  .mechanism-section {
    max-width: 369px;
    height: 1246px;
    display: grid;
    gap: 15px;
    justify-content: center;
    align-items: center;
  }

  .mechanism-section h1 {
    margin-bottom: -80px;
    font-size: 36px;
    line-height: 20px;
  }

  .card-section .card {
    padding: 30px;
  }

  .card-section .card,
  .card-atribut .card-title {
    display: flex;
    flex-direction: column;
    align-items: start;
  }

  .card-atribut .card-desc ol li {
    font-size: 11px;
  }

  /* Running */
  .running-section .title {
    font-size: 14px;
    line-height: 17px;
    padding: 0 40px;
  }

  /* aggregator */
  .aggregator-section .card-container {
    grid-template-columns: 1fr;
    gap: 35px;
  }

  .aggregator {
    height: auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
  }

  .aggregator-section {
    height: auto;
    padding: 60px 20px;
    gap: 30px;
  }

  .aggregator-section h1 {
    text-align: center;
  }

  /* Footer */
  .footer {
    height: 344px;
  }

  .footer-section {
    padding: 30 0px;
    height: 290px;
  }

  .footer-desc {
    display: flex;
    flex-direction: column;
  }

  .footer-desc p {
    font-size: 12px;
  }

  .sosmed {
    display: flex;
  }

  .sosmed img {
    width: 21px;
    height: 21px;
    margin: 10px 14px 0px 0px;
  }

  /* Registrasi */
  .registrasi form {
    width: 90%;
    margin: -90px auto 60px auto;
  }

  .input-group label {
    width: 100%;
    font-size: 10px;
  }

  button.submit {
    padding: 12px 14px;
    font-size: 10px;
    width: 50%;
  }

  .form-label,
  .form-check label {
    font-size: 10px;
  }

  .custom-file-upload {
    height: 200px;
    width: 160px;
  }
}

@media(max-width:952px) {
  nav ul li a {
    font-size: 16px;
  }
}

@media screen and (max-width: 800px) {
  /* Navbar */
  nav {
    display: flex;
    flex-direction: row-reverse;
  }

  .checkbtn {
    display: block;
  }

  ul {
    position: fixed;
    width: 100%;
    height: auto;
    background: grey;
    flex-direction: column;
    top: 100px;
    left: -100%;
    text-align: center;
    transition: all .5s;
    padding: 10px 0px;
  }

  nav ul li {
    display: flex;
    gap: 10px;
  }

  nav ul li a {
    font-size: 16px;
  }

  a:hover,
  a.active {
    background: none;
  }

  #check:checked~ul {
    left: 0;
  }

  .regis a {
    padding: 9px 20px;
  }


}