/*
=========================================
INDRAONE REPOSITORY
Frontend CSS
=========================================
*/
:root {
  --blue1: #98bae3;
  --blue2: #5981b1;
  --blue3: #365475;
  --blue4: #15273c;
}

/* default */
* {
  font-family: "Open Sans", sans-serif;
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  outline: none;
  border: none;
  text-decoration: none;
}

body {
  background-color: #15283e;
}

.ior-wrapper {
  width: 100%;
  font-family: "Poppins", sans-serif;
  background: #ffffff;
}

.ior-container {
  width: 90%;
  max-width: 1200px;
  margin: auto;
}

/*
=========================================
Navbar
=========================================
*/

.ior-navbar {
  position: sticky;
  top: 0;
  width: 100%;
  background: #ffffff;
  border-bottom: 1px solid #ececec;
  z-index: 999;
}

.ior-navbar .ior-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 70px;
}

.ior-logo {
  text-decoration: none;
  color: #111;
  font-size: 28px;
  font-weight: 700;
  letter-spacing: 1px;
}

.ior-logo span {
  color: #2d72fc;
}

.ior-back-button {
  text-decoration: none;
  color: #444;
  font-size: 15px;
  font-weight: 500;
  transition: 0.3s;
}

.ior-back-button:hover {
  color: #2d72fc;
}

/* ////// DESKTOP////// */
/* NAVBAR */
nav {
  /* background-color: var(--blue4); */
  padding: 1rem 2rem;
  position: relative;
  /* soverflow: hidden; */
  z-index: 999;
}

nav .container {
  width: 80%;
  display: flex;
  justify-content: space-between;
  margin: 0 auto;
}

.navbar-logo {
  font-weight: 700;
  color: white;
  font-size: 1.8rem;
}

.navbar-logo span {
  color: var(--blue2);
}

#btn-back img {
  width: 2.5rem;
  margin-top: 0.4rem;
}

/* HERO SECTION */
.hero {
  width: 100%;
  height: 560px;
  position: relative;
  overflow: hidden;
}

.hero .bg-hero {
  position: absolute;
  inset: 0;
  z-index: 1;
}

.hero .bg-hero img {
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  object-fit: cover;
  display: block;
}

.hero .content-hero {
  position: relative;
  width: 100%;
  margin-top: 10rem;
  z-index: 2;
}

.hero .content-hero h1 {
  text-align: center;
  color: white;
  font-size: 3rem;
  font-weight: 700;
  text-shadow: 2px 2px 2px var(--blue4);
}

.hero .content-hero h1 span {
  color: var(--blue1);
}

.hero .content-hero p {
  text-align: center;
  color: white;
  font-size: 1rem;
  text-shadow: 2px 2px 2px var(--blue4);
  margin-top: 2rem;
  padding: 0 22rem;
}

/* =====================================
SEARCH FORM
===================================== */
.container-form {
  position: relative;
  margin-top: 4rem;
  padding: 0 2rem;
}

.ior-wrapper .search-box {
  width: 70%;
  height: 4rem;
  background-color: white;
  margin: 0 auto;
  border: solid 3px var(--blue4);
  border-radius: 30px;
  display: flex;
  padding: 0 2rem;
}

.search-box input {
  font-size: 1rem;
  width: 100%;
  height: auto;
  outline: none;
  border: none;
  font-size: 18px;
  text-align: center;
}

form .btn {
  width: 100%;
  display: flex;
  justify-content: center;
}

form .btn-search {
  background-color: var(--blue3);
  color: white;
  padding: 1rem 3rem;
  font-size: 1rem;
  border-radius: 30px;
  margin-top: 1rem;
  cursor: pointer;
}

.search-container .label {
  background-color: var(--blue2);
  width: 10%;
  display: flex;
  justify-content: center;
  border-radius: 27px 0 0 27px;
}

.ior-search-form {
  width: 100%;
  margin-top: 60px;
  display: flex;
  justify-content: center;
}

.ior-search-box {
  width: 70%;
  height: 72px;
  background: #ffffff;
  border-radius: 50px;
  display: flex;
  align-items: center;
  padding: 8px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.ior-search-input {
  flex: 1;
  height: 100%;
  border: none;
  outline: none;
  background: transparent;
  padding: 0 25px;
  font-size: 18px;
  color: #222;
}

.ior-search-input::placeholder {
  color: #9aa2b3;
}

.ior-search-button {
  width: 150px;
  height: 56px;
  border: none;
  border-radius: 40px;
  background: var(--blue2);
  color: #fff;
  font-size: 18px;
  font-weight: 600;
  cursor: pointer;
  transition: 0.3s;
}

.ior-search-button:hover {
  background: var(--blue3);
}

/* MENU SECTION */
.menu {
  margin: -36px;
  background-color: #14273d;
  z-index: 5;
}

/* CARDS */
.menu .container-b {
  position: relative;
  margin-top: 2rem;
  padding: 0;
}

.ior-wrapper .list-container {
  width: 80%;
  /* background-color: white; */
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  /* border: solid 3px var(--blue4); */
  border-radius: 20px;
  margin: -50px auto 0;
  padding: 2rem;
}

.ior-wrapper .list-container .list {
  width: 18rem;
  height: 24rem;
  background-color: white;
  border: solid 1px var(--blue2);
  border-radius: 10px;
  margin: 1rem;
  box-shadow: 1px 1px 3px var(--blue2);
  padding-bottom: 1.2rem;
}

.ior-wrapper .thumbnail {
  width: 100%;
  height: 50%;
  /* background-color: var(--blue2); */
  border-radius: 8px;
}

.ior-wrapper .list .thumbnail img {
  border-radius: 10px;
}

.ior-wrapper .list .title {
  text-align: center;
  padding: 0.5rem 1rem;
}

.ior-wrapper .list .title h3 {
  color: #15273e;
  font-family: poppins;
  font-weight: 700;
  font-size: 18px;
  margin-top: 20px;
}

.ior-wrapper .describe {
  text-align: center;
  font-size: 0.8rem;
  padding: 0 1rem;
  font-family: poppins;
}

.ior-wrapper .list .btn-overview {
  width: 100%;
  display: flex;
  justify-content: center;
  margin-top: 1rem;
}

.ior-wrapper .list .btn-overview a {
  color: white;
  background-color: #15273e;
  font-size: 0.8rem;
  font-weight: 600;
  padding: 0.5rem 3.2rem;
  border-radius: 30px;
  transition: 0.5s;
}

.ior-wrapper .list .btn-overview a:hover {
  background-color: var(--blue2);
}

/*=========================================
Pagination
=========================================*/

.ior-pagination {
  display: flex;
  justify-content: center;
  margin: 50px 0;
}

.ior-pagination .page-numbers {
  display: inline-block;

  margin: 0 5px;

  padding: 12px 18px;

  background: #ffffff;

  color: var(--blue4);

  border-radius: 8px;

  text-decoration: none;

  font-weight: 600;

  transition: 0.3s;
}

.ior-pagination .page-numbers:hover {
  background: var(--blue2);

  color: #ffffff;
}

.ior-pagination .current {
  background: var(--blue3);

  color: #ffffff;
}

/* APP DETAIL */
.box-detail {
  width: 80%;
  background-color: white;
  margin: 0 auto;
  padding: 2rem;
  border-radius: 10px;
}

.box-detail .row1 {
  display: flex;
  justify-content: center;
}

.box-detail .row1 .col1 {
  width: 40%;
}

.box-detail .row1 .col1 img {
  width: 100%;
  border-radius: 10px;
}

.box-detail .row1 .col2 {
  width: 60%;
  padding: 0 0 0 2rem;
}

.box-detail .row1 .col2 h1 {
  color: var(--blue3);
}

.btn-download {
  margin-top: 3rem;
}

.box-detail .row1 .col2 a {
  background-color: var(--blue4);
  color: white;
  font-size: 1.2rem;
  font-weight: 700;
  padding: 0.8rem 3.8rem;
  border-radius: 5px;
  transition: 0.5s;
}

.box-detail .row1 .col2 a:hover {
  background-color: var(--blue3);
}

.box-detail p {
  margin-top: 1rem;
  text-align: justify;
}

.box-detail .row2 h3 {
  color: var(--blue2);
  font-size: 1.5rem;
  margin-top: 1rem;
}

.box-detail .row2 .ss {
  width: 100%;
  display: flex;
  justify-content: space-evenly;
  flex-wrap: wrap;
  margin-top: 1rem;
}

.box-detail .row2 .ss img {
  width: 30%;
  margin: 1rem;
  border-radius: 5px;
}

/* FOOTER */
footer .copyright {
  padding: 2rem 0;
  text-align: center;
  color: white;
}

/* PAGES */
.boxterms {
  width: 80%;
  background-color: white;
  margin: 1rem auto;
  padding: 2rem;
  border-radius: 10px;
}

.boxterms h1 {
  text-align: center;
  color: var(--blue3);
}

.boxterms p {
  text-align: justify;
  margin-top: 2rem;
}

/* ===========================
   DETAIL PAGE
=========================== */

.detail-page {
  background: #15273c;
  padding: 60px 20px;
}

.detail-box {
  width: 80%;
  max-width: 1200px;
  margin: auto;
  background: #ffffff;
  border-radius: 15px;
  padding: 40px;
}

.detail-top {
  display: flex;
  gap: 40px;
  align-items: flex-start;
}

.detail-thumbnail {
  width: 90%;
}

.detail-thumbnail .detail-thumbnail img {
  width: 100%;
  border-radius: 10px;
  display: block;
}

.detail-information {
  width: 65%;
}

.detail-information h1 {
  color: #365475;
  font-size: 28px;
  font-weight: 600;
  margin-bottom: 15px;
  font-family: poppins;
}

.detail-information p {
  margin-bottom: 10px;
  line-height: 1.7;
  font-family: poppins;
}

.detail-table {
  width: 100%;
  border-collapse: collapse;
  margin: 20px 0;
}

.detail-table th {
  width: 170px;
  text-align: left;
  padding: 8px 10px;
  color: #365475;
  font-weight: 700;
}

.detail-table td {
  padding: 8px 10px;
  font-family: poppins;
  font-weight: 600;
}

.btn-download {
  display: inline-block;
  font-weight: 600;
  margin-top: 20px;
  padding: 12px 38px;
  font-size: 18px;
  background: var(--blue3);
  color: #ffffff;
  border-radius: 8px;
  text-decoration: none;
  transition: 0.3s;
}

a.btn-download {
  text-decoration: none !important;
}

.btn-download:hover {
  background: var(--blue2);
  color: #f9f676;
}

.detail-description h2 {
  font-size: 28px;
  color: #5981b1;
  font-family: poppins;
  margin-top: 50px;
}

.detail-description p {
  font-size: 16px;
  font-family: poppins;
  text-align: justify;
}

/* ===========================
   SCREENSHOTS
=========================== */

.detail-screenshots {
  margin-top: 50px;
}

.detail-screenshots h2 {
  font-size: 28px;
  color: #5981b1;
  font-family: poppins;
  margin-top: 50px;
}

.screenshot-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.screenshot-item {
  overflow: hidden;
  border-radius: 10px;
  background: #f5f5f5;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.12);
}

.ior-wrapper .screenshot-item img {
  display: block;
  width: 100%;
  border-radius: 8px;
  transition: 0.35s;
}

.ior-wrapper .screenshot-item img:hover {
  transform: scale(1.03);
}

/* ////// TABLET ////// */
@media (max-width: 1024px) {
  /* HERO SECTION */
  .hero {
    height: 480px;
  }

  .hero .content-hero h1 {
    font-size: 2.5rem;
  }

  .ior-logo {
    font-size: 24px;
  }

  .ior-hero-container {
    flex-direction: column-reverse;
    text-align: center;
  }

  .ior-hero-image {
    text-align: center;
  }

  .ior-hero-image img {
    margin: auto;
  }

  .hero .content-hero p {
    padding: 0 10rem;
  }

  /* MENU SECTION */

  .menu {
    width: 100%;
    margin: 0;
  }

  .menu .container-a {
    padding: 0;
  }

  .search-container .label {
    width: 15%;
  }

  .search-container .form {
    width: 75%;
  }

  .search-container .icon {
    width: 10%;
  }

  .menu .container-b {
    padding: 0;
  }

  .list-container {
    padding: 1.5rem;
  }

  .list-container .list {
    width: 14rem;
    height: 20rem;
  }

  .title {
    text-align: center;
    color: var(--blue3);
    padding: 0.5rem 1rem;
    font-size: 0.8rem;
  }

  .describe {
    text-align: center;
    font-size: 0.7rem;
    padding: 0 1rem;
  }

  .list .button a {
    padding: 0.5rem 4.2rem;
  }

  /* APP DETAIL */
  .detail-box {
    width: 90%;
    margin-bottom: 0;
    background: #ffffff;
    border-radius: 12px;
    padding: 20px;
  }

  .detail-top {
    gap: 10px;
    align-items: flex-start;
  }

  .detail-thumbnail {
    width: 40%;
  }

  .detail-thumbnail .detail-thumbnail {
    width: 100%;
  }

  .detail-thumbnail .detail-thumbnail img {
    width: 100%;
    border-radius: 8px;
  }

  .detail-information {
    width: 60%;
  }

  .detail-information h1 {
    font-size: 22px;
    margin-bottom: 0;
  }

  .detail-information p {
    margin-bottom: 10px;
    line-height: 1.7;
    font-family: poppins;
  }

  .detail-table {
    margin: 8px 0 0 0;
  }

  .detail-table th {
    width: 120px;
    padding: 4px 5px;
  }

  .detail-table td {
    padding: 4px 5px;
  }

  .detail-description h2 {
    font-size: 22px;
    margin-top: 30px;
  }

  .detail-description p {
    font-size: 14px;
  }

  /* SCREENSHOOTS */
  .detail-screenshots {
    margin-top: 30px;
  }

  .detail-screenshots h2 {
    font-size: 22px;
    margin-top: 30px;
  }

  .screenshot-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
  }

  .screenshot-item {
    border-radius: 8px;
  }
}

/*
=========================================
Mobile
=========================================
*/

@media (max-width: 768px) {
  .ior-navbar .ior-container {
    height: 60px;
  }

  .ior-logo {
    font-size: 22px;
  }

  .ior-back-button {
    font-size: 13px;
  }

  .ior-hero-content h1 {
    font-size: 34px;
  }

  .ior-hero-content p {
    font-size: 17px;
  }

  .ior-hero-image img {
    width: 85%;
  }

  /* NAVBAR */
  nav {
    padding: 1.2rem 0.2rem;
  }

  .navbar-logo {
    font-size: 1.2rem;
  }

  #btn-back img {
    width: 2rem;
    margin-top: 0;
  }

  /* HERO SECTION */
  .hero {
    height: 360px;
  }

  .hero .content-hero {
    position: relative;
    width: 100%;
    margin-top: 1rem;
  }

  .hero .content-hero h1 {
    font-size: 1.2rem;
    margin-top: 6rem;
  }

  .hero .content-hero p {
    font-size: 0.6rem;
    margin-top: 1rem;
    padding: 0 3rem;
  }

  /* MENU SECTION */
  .ior-wrapper .menu .container-form {
    padding: 0 1rem;
  }

  .ior-wrapper .search-box {
    width: 95%;
    height: 3rem;
    padding: 0 1rem;
    margin-top: -2rem;
  }

  .ior-wrapper .search-box input {
    font-size: 0.8rem;
  }

  .ior-wrapper .btn-search {
    border-radius: 30px;
    padding: 0.6 rem 1.8rem;
  }

  .menu {
    margin-top: 3.2rem;
  }

  .menu .container-b {
    margin-top: 1rem;
    padding: 0;
  }

  .ior-wrapper .list-container {
    width: 90%;
    padding: 0.5rem;
    border-radius: 10px;
  }

  .list-container .list {
    width: 9rem;
    height: 14rem;
    border-radius: 5px;
    margin: 0.2rem;
  }

  .thumbnail {
    border-radius: 4px;
  }

  .thumbnail img {
    border-radius: 4px;
  }

  .title {
    margin-top: -0.6rem;
    padding: 0 0.5rem;
    font-size: 0.6rem;
  }

  .describe {
    font-size: 0.5rem;
    padding: 0.2rem 0.5rem;
  }

  .list .button a {
    font-size: 0.8rem;
    padding: 0.3rem 2.2rem;
    border-radius: 5px;
  }

  /* APP DETAIL */
  .box-detail {
    width: 90%;
    padding: 1rem;
    border-radius: 8px;
  }

  .box-detail .row1 {
    display: block;
  }

  .box-detail .row1 .col1 {
    width: 100%;
  }

  .box-detail .row1 .col2 {
    width: 100%;
    padding: 0;
  }

  .box-detail .row1 .col2 h1 {
    text-align: center;
    font-size: 1.3rem;
    font-weight: 700;
    margin-top: 0.5rem;
  }

  .btn-download {
    margin-top: 2rem;
    display: flex;
    justify-content: center;
  }

  .box-detail .row1 .col2 a {
    font-weight: 700;
    padding: 0.8rem 3.8rem;
    border-radius: 5px;
  }

  .box-detail p {
    margin-top: 0.5rem;
    font-size: 0.8rem;
  }

  .box-detail .row2 h3 {
    font-size: 1.2rem;
    margin-top: 2rem;
  }

  .box-detail .row2 .ss {
    width: 100%;
    display: block;
  }

  .box-detail .row2 .ss img {
    width: 100%;
    margin: 0.5rem 0;
    border-radius: 5px;
  }

  /* FOOTER */
  footer .copyright {
    font-size: 0.8rem;
  }

  /* PAGES */
  .boxterms {
    width: 90%;
    margin: 0.5rem auto;
    padding: 1rem;
    border-radius: 5px;
  }

  .boxterms h1 {
    font-size: 1.5rem;
  }

  .boxterms p {
    font-size: 0.8rem;
    margin-top: 1.5rem;
  }

  /* APP DETAIL */
  .detail-box {
    width: 100%;
    border-radius: 8px;
    padding: 10px;
  }

  .detail-top {
    gap: 10px;
    align-items: flex-start;
    flex-direction: column;
  }

  .detail-thumbnail {
    width: 100%;
  }

  .detail-information {
    width: 100%;
  }

  .detail-information h1 {
    font-size: 18px;
    text-align: center;
    margin-top: 10px;
  }

  .detail-table th {
    width: 98px;
    padding: 4px 5px;
    font-size: 12px;
  }

  .detail-table td {
    padding: 4px 5px;
    font-size: 12px;
  }

  .detail-description h2 {
    font-size: 20px;
    text-align: center;
  }

  .detail-description p {
    font-size: 12px;
    margin-top: -10px;
  }

  /* SCREENSHOOTS */

  .detail-screenshots h2 {
    font-size: 20px;
  }

  .screenshot-grid {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
  }

  .screenshot-item {
    border-radius: 8px;
  }
}
