@font-face {
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(/font/poppins/Poppins-Medium.ttf) format('truetype');
}

@font-face {
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(/font/poppins/Poppins-SemiBold.ttf) format('truetype');
}

@font-face {
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(/font/poppins/Poppins-Bold.ttf) format('truetype');
}


:root {
  /*
  *BACKGROUND COLOR
  */
  --bg-color-1: #ffffff;
  --bg-color-2: #f5f6fa;
  --bg-color-3: #dfe4ea;
  --bg-color-4: #ced6e0;

  /*00d3ee
   *COLOR PACK
   */
  --color-1: #caf0f8;
  --color-2: #ade8f4;
  --color-3: #90e0ef;
  --color-4: #48cae4;
  --color-5: #00b4d8;
  --color-6: #0096c7;
  --color-7: #0077b6;
  --color-8: #023e8a;
  --color-9: #03045e;

  --color-easy: #5cb860;
  --color-medium: #00d3ee;
  --color-hard: #f55a4e;

  /* 
  *TEXT COLOR
  */
  --text-dark: #0d213f;
  --text-light: #767268;
  --text-extra-light: #ffffff;

  /*
   *FONT FAMILY
  */
  --ff-poppins: "Poppins", sans-serif;

  --weight-bold: 700;
  --weight-semiBold: 600;
  --weight-medium: 500;

  --fontSize-1: 3.5rem;
  --fontSize-2: 3.2rem;
  --fontSize-3: 2.4rem;
  --fontSize-4: 2.2rem;
  --fontSize-5: 2rem;
  --fontSize-6: 1.6rem;
  --fontSize-7: 1.5rem;
}



/*------------------*\
    RESET   
\*------------------*/
*,
*::after,
*::before {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

li {
  list-style-type: none;
}

a {
  text-decoration: none;
  color: inherit;
}

textarea {
  resize: none;
}

input,
textarea {
  width: 100%;
  outline: none;
}

button {
  cursor: pointer;
}

address {
  font-style: normal;
}

html {
  font-family: var(--ff-poppins);
  scroll-behavior: smooth;
  font-size: 10px;
}

body {
  background-color: var(--bg-color-1);
  color: var(--text-dark);
  font-size: var(--fontSize-6);
  line-height: 1.8;
}

input,
button,
textarea {
  background: none;
  border: none;
  font: inherit;
}

a,
img,
input,
button,
ion-icon {
  display: block;
}



/*------------------*\
    REUSED STYLE 
\*------------------*/
.container {
  position: relative;
  padding-inline: 16px;
  display: grid;
  gap: 40px;
}

.section {
  padding-block: 45px;
  background-color: var(--bg-color-2);
}

.title {
  color: var(--text-gunmetal);
  font-weight: var(--weight-semiBold);
  line-height: 1.45;
}

.h1 {
  font-size: var(--fontSize-1);
}

.h2 {
  font-size: var(--fontSize-2);
}

.h3 {
  font-size: var(--fontSize-3);
}

.h4 {
  font-size: var(--fontSize-4);
}

.h5 {
  font-size: var(--fontSize-5);
}

.h6 {
  font-size: var(--fontSize-6);
}

.code-content {
  display: grid;
  gap: 10px;
}

.code-content .section-text {
  color: var(--color-easy);
  font-weight: var(--weight-semiBold);
  font-size: var(--fontSize-6);
}

.go-back {
  margin-inline: auto;
  animation: goBack 1s infinite alternate;
  width: 50px;
  height: 50px;
  background-image: url(/frontend/assets/images/icon/btn-back.png);
  background-position: center;
  background-size: cover;
  cursor: pointer;
}

@keyframes goBack {

  0% {
    transform: rotate(360deg);
  }

  100% {
    transform: rotate(0);
  }
}

/* @keyframes goBack {

  0%,
  100% {
    transform: scale(1);
  }

  50% {
    transform: scale(1.18);
  }
} */

.btn {
  padding-inline: 30px;
  padding-block: 16px;
  border-radius: 2rem;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  max-width: max-content;
  transition: 150ms ease;
}

.btn-info {
  color:var(--text-dark);
  background-color: #00bcd4;
}

.btn-info:is(:hover, :focus-visible) {
  box-shadow: 12px 12px 6px rgba(0, 0, 0, .3);
  transform:translate(-5px,-5px);
}

.section-subtitle {
  color: var(--color-7);
  font-size: var(--fontSize-6);
  font-weight: var(--weight-medium);
  text-transform: uppercase;
}

:is(.section-subtitle.display-inline,
  .section-title.display-inlne,
  .section-text.display-inline,
  .title) {
  display: inline;
}

.section-title {
  margin-block: 10px;
}

.top-bar {
  padding-block-start: 140px;
}



/*------------------*\
    PRELOADER 
\*------------------*/
.preloader {
  position: fixed;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  display: grid;
  place-content: center;
  transition: 250ms ease;
  background-color: var(--bg-color-2);
  z-index: 20;
}

.preloader-inner {
  position: relative;
}

.preloader-inner::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  border-radius: 100%;
  width: 80%;
  height: 10px;
  background-color: hsla(0, 0%, 0%, 0.2);
  animation: boxShadow 800ms ease-in-out infinite alternate;
}

@keyframes boxShadow {
  0% {
    width: 40%;
  }

  100% {
    width: 80%;
  }
}

.preloader-inner .img {
  animation: bounce 800ms ease-in-out infinite alternate;
}

@keyframes bounce {
  0% {
    transform: translateY(-10px);
  }

  100% {
    transform: translateY(0);
  }
}

.preloader.remove {
  visibility: hidden;
  opacity: 0;
}



/*------------------*\
    HEADER
\*------------------*/
.header {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  padding-block: 20px;
  z-index: 1;
}

/* .header.active {
  position: fixed;
  padding-block: 5px;
  background-color: var(--bg-color-1);
  box-shadow: 0 2px 10px var(--color-6);
  animation: slideIn 600ms ease forwards;
} */

/* @keyframes slideIn {
  0% {
    transform: translateY(-100%);
  }

  100% {
    transform: translateY(0);
  }
} */

.header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.header {
  z-index: 10;
}

.scroll-up {
  position: fixed;
  right: 10px;
  bottom: 0;
  transition: 500ms ease-in-out;
  visibility: hidden;
  opacity: 0;
}

.nav-toggle-btn {
  font-size: 3.2rem;
}

.navbar {
  position: fixed;
  top: 0;
  right: -350px;
  height: 100%;
  width: 100%;
  max-width: 350px;
  display: flex;
  flex-direction: column;
  padding: 30px 16px;
  background-color: var(--bg-color-1);
  visibility: hidden;
  transition: 400ms ease;
  z-index: 10;
}

.navbar.active {
  visibility: visible;
  transform: translateX(-350px);
  transition-duration: 500ms;
  z-index: 10;
}

.navbar-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-list {
  padding-block-start: 50px;
}

.nav-link {
  position: relative;
  padding-block: 8px;
  font-size: var(--fontSize-7);
  font-weight: var(--weight-medium);
  color: var(--text-dark);
  transition: 250ms ease;
}

.nav-link::before {
  content: '';
  position: absolute;
  width: 3px;
  height: 10px;
  background-color: #0077b6;
  left: -10px;
  top: 50%;
  transform: translateY(-50%);
  border-radius: 5px;
  opacity: 0;
  transition: 250ms ease;
}

.nav-link:is(:hover, :focus-visible, .active) {
  transform: translateX(10px);
}

.nav-link:is(:hover, :focus-visible, .active)::before {
  opacity: 1;
}

.header-action {
  position: relative;
  margin-block-start: auto;
}

.panda-gif {
  width: 80px;
  height: 70px;
  top:50%;
  left:50%;
  transform: translate(-50%,-50%);
  position: absolute;
  visibility: hidden;
  padding-inline-start:10px;
  border-radius: 2rem;
  background-color: rgba(92, 184, 96, .6);
}

.panda-gif.visible {
  visibility: visible;
}

.btn-signUp.hidden {
  visibility: hidden;
}

.btn-signUp {
  max-width: max-content;
  padding: 8px 16px;
  text-shadow: 0 0 20px rgba(76, 175, 80, 0.28);
  border-radius: 1.5rem;
  transition: 250ms ease-in-out;
}

.btn-signUp.success {
  border: 2px solid var(--color-easy);
  color: var(--color-easy);
}

.btn-signUp.success:is(:hover, :focus-visible) {
  background-color: var(--color-easy);
  color: var(--text-extra-light);
  box-shadow: 0 0 20px rgba(76, 175, 80, 0.28);
}

.btn-signUp.info {
  border: 2px solid var(--color-medium);
  color: var(--color-medium);
}

.btn-signUp.info:is(:hover, :focus-visible) {
  background-color: var(--color-medium);
  color: var(--text-extra-light);
  box-shadow: 0 0 20px rgba(76, 175, 80, 0.28);
}

.overlay {
  position: fixed;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  background-color: var(--text-dark);
  opacity: 0;
  visibility: hidden;
  transition: 250ms ease;
}

.overlay.active {
  visibility: visible;
  opacity: 0.7;
}

.logo {
  color: var(--color-medium);
  text-shadow: 0 0 20px var(--color-medium);
}

/*LOGIN-POPUP*/
.login-popup-menu-section {
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  visibility: hidden;
  z-index: 33;
}

.login-popup-menu-container {
  position: relative;
  background: linear-gradient(100deg, var(--text-dark), black);
  box-shadow: 0 0 20px rgba(0, 0, 0, .5);
  border-radius: 2rem;
  transform: scale(1.2);
  visibility: hidden;
  opacity: 0;
  transition: 250ms ease;
}

.login-popup-menu-container.active {
  transform: scale(1);
  visibility: visible;
  opacity: .9;
}


.login-popup-menu {
  color: #fff;
  position: relative;
  display: grid;
  gap: 20px;
  border-radius: 1rem;
  height: auto;
  padding: 20px 60px;
  text-align: center;
  min-width: 300px;
}

.login-popup-menu .btn-signUp {
  margin-block-start: 20px;
  margin-inline: auto;
}

.popup-input {
  color: #fff;
  padding: 10px 20px;
  border: 2px solid transparent;
  border-bottom-color: var(--color-medium);
  border-radius: 1rem;
  transition: 300ms;
}

.popup-input:is(:focus, :focus-visible) {
  border: 2px solid var(--color-medium);
  box-shadow: 0 0 10px var(--color-medium);
}

.login-popup-menu ion-icon {
  position: absolute;
  padding: 5px;
  cursor: pointer;
  color: red;
  font-size: 2.2rem;
  top: 2px;
  right: 2px;
}


/*------------------*\
    INTRODUCTION
\*------------------*/

.introduction .container {
  position: relative;
}

.cod-pre-container {
  position: absolute;
  left: 0;
  width: 100%;
  height: 100%;
}

.cod-pre-container .code-pre {
  width: 98%;
  height: 100%;
  margin-inline: auto;
}

.introduction .introduction-content {
  width: 100%;
  z-index: 2;
  color: var(--bg-color-2);
  padding: 15px;
}

.span-tag.purple {
  color: rgb(225, 121, 193);
}

.span-tag.green {
  color: rgb(75, 241, 123);
}

.span-tag.yellow {
  color: rgb(228, 250, 118);
}

.introduction-subtitle {
  display: flex;
  gap: 10px;
  max-width: max-content;
  padding: 8px 20px;
  border-radius: 2.5rem;
  color: var(--bg-color-2);
  background-color: var(--color-easy);
  margin-block-end: 30px
}

.introduction-content .btn-info {
  text-align: center;
  margin-inline: 10px;
}

.introduction-content .section-subtitle {
  color: var(--color-4);
}

.span-tag-box {
  font-size: var(--fontSize-7);
  font-weight: var(--weight-semiBold);
}

.span-tag-box-text {
  margin-block: 30px;
  font-size: var(--fontSize-7);
  font-weight: var(--weight-semiBold);
}

.span-tag-box-subtitle {
  font-size: var(--fontSize-6);
  font-weight: var(--weight-semiBold);
}

.span-tag-box-title {
  margin-block: 30px;
  font-size: var(--fontSize-2);
  font-weight: var(--weight-bold);
}

.span-tag-box-button {
  display: flex;
  gap: 10px;
  flex-direction: column;
  margin-block-start: 50px;
  font-size: var(--fontSize-5);
  font-weight: var(--weight-bold);
}

.span-tag-box-button .btn-info:is(:hover, :focus-visible) {
  box-shadow: 0 0 20px var(--color-medium);
}



/*------------------*\
    SERVICE
\*------------------*/

.service-cards {
  display: grid;
  gap: 30px;
}

.service-card {
  display: grid;
  gap: 10px;
  padding: 25px 20px;
  border-radius: 2rem;
}

.service-card:nth-child(2) {
  background-color: var(--color-1);
}

.service-card:nth-child(3) {
  background-color: var(--color-2);
}

.service-card:nth-child(4) {
  background-color: var(--color-3);
}



/*------------------*\
    DETAIL
\*------------------*/

.logo-content img {
  width: 30px;
}

.detail-logo-list {
  margin-inline: auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}

.logo-list {
  display: grid;
  gap: 20px;
}

.logo-list.left {
  grid-column: span 2;
}

.logo-list.right {
  grid-column: span 1;
  transform: translate(-10%, 23%);
}


.logo-content {
  display: flex;
  position: relative;
  align-items: center;
  gap: 10px;
  padding: 8px 10px;
  border-bottom: 3px solid var(--color-2);
  border-radius: 2rem;
}

.span-light {
  position: absolute;
  width: 10%;
  height: 3px;
  bottom: -3px;
  left: 50%;
  pointer-events: none;
  border-radius: 3rem;
  background-color: var(--color-6);
  box-shadow: 0 0 15px var(--color-6);
  animation: light 800ms ease infinite alternate;
}

@keyframes light {
  0% {
    left: 80%;
  }

  100% {
    left: 10%;
  }
}

.detail a {
  margin-block-start: 30px;
}

/*SOFTWARE WORLD PAGE STYLE*/
.softwareWorld-subContent-box {
  display: grid;
  gap: 100px;
}

.softwareWorld-logo-list {
  display: grid;
  gap: 10px;
  margin-block-end: 100px;
}

.softwareWorld-list-content {
  max-width: max-content;
  display: flex;
  position: relative;
  align-items: center;
  gap: 10px;
  padding: 8px 10px;
  border-bottom: 3px solid var(--color-2);
  border-radius: 2rem;
}

.softwareWorld-list {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
}

.softwareWorld-subContent .section-title {
  color: var(--color-9);
}

.softwareWorld-subContent .section-subtitle {
  margin-block-start: 20px;
  color: var(--color-easy)
}



/*------------------*\
    ALGORITHM
\*------------------*/

.algorithm-card-list {
  display: grid;
}

.algorithm-card-list.large {
  gap: 70px
}

.algorithm-card-list.small {
  gap: 20px;
  grid-template-columns: repeat(1, 1fr);
}

.algorithm-card-list.question {
  gap: 25px;
}

.algorithm-card {
  position: relative;
  text-align: center;
}

.algorithm-card div{
  display: grid;
    gap: 10px;
  align-items: center;
}

.algorithm-card div img{
    margin-inline:auto;
}

.algorithm-card.small {
  padding: 30px;
}

.algorithm-card.large {
  padding: 50px;
}

.card-small-img {
  width: 40px;
  height: 40px;
}

.card-small-title {
  font-size: 2rem;
}

.algorithm-card,
img {
  display: inline;
}


.algorithm-card .card-title {
  transition: 300ms ease;
}

.algorithm-card:is(:hover, :focus-visible, .active) .card-title {
  color: var(--color-7);
  text-shadow: 0 0 20px rgba(0, 188, 212, 0.28);
}

.span-box-light {
  position: absolute;
  background-color: var(--color-2);
  transition: 300ms ease;
}

.span-box-light:first-child {
  width: 70px;
  height: 3px;
  bottom: 0;
  left: 0;
}

.span-box-light:nth-child(2) {
  width: 3px;
  height: 70px;
  bottom: 0;
  left: 0;
}

.span-box-light:nth-child(3) {
  width: 70px;
  height: 3px;
  top: 0;
  right: 0;
}

.span-box-light:nth-child(4) {
  width: 3px;
  height: 70px;
  top: 0;
  right: 0;
}

.algorithm-card:is(:hover, :focus-visible, .active) .span-box-light:nth-child(2n-1) {
  width: 100%;
  background-color: var(--color-7);
  box-shadow: 0 0 20px var(--color-7);
}

.algorithm-card:is(:hover, :focus-visible, .active) .span-box-light:nth-child(2n) {
  height: 100%;
  background-color: var(--color-7);
  box-shadow: 0 0 20px var(--color-7);
}


.card-easy {
  background-color: var(--color-easy);
  box-shadow: 0 0 10px var(--color-easy);
}

.card-medium {
  background-color: var(--color-medium);
  box-shadow: 0 0 10px var(--color-medium);
}

.card-hard {
  background-color: var(--color-hard);
  box-shadow: 0 0 10px var(--color-hard);
}

.level-content {
  margin-block: 20px;
  display: grid;
  gap: 15px;
}

.level {
  display: flex;
  gap: 15px;
}

.level a {
  position: relative;
  padding-inline: 10px;
  transition: 200ms ease-in-out;
}

.level a:is(:hover, :focus-visible) {
  text-shadow: 0 0 10px black;
}

.level a::after {
  content: '';
  position: absolute;
  width: 100%;
  height: 4px;
  border-radius: 3rem;
  bottom: -5px;
  left: 0;
}

.level a:nth-child(1)::after {
  background-color: var(--color-easy);
  box-shadow: 0 0 10px var(--color-easy);
}

.level a:nth-child(2)::after {
  background-color: var(--color-medium);
  box-shadow: 0 0 10px var(--color-medium);
}

.level a:nth-child(3)::after {
  background-color: var(--color-hard);
  box-shadow: 0 0 10px var(--color-hard);
}

.level a:nth-child(4)::after {
  background: linear-gradient(to right, var(--color-easy), var(--color-medium), var(--color-hard));
  box-shadow: 0 0 10px var(--color-medium);
}

.person-img {
  width: 35px;
  height: 35px;
}

.person-name {
  font-weight: var(--weight-medium);
  font-size: var(--fontSize-7);
}

.card-person {
  display: flex;
  align-items: center;
  padding: 10px;
  gap: 8px
}

.question-card {
  position: relative;
  height: 220px;
  overflow: hidden;
  border-radius: 3rem;
  cursor: pointer;
  animation: cardAnimation 1s;
}

@keyframes cardAnimation {
  0% {
    transform: translateY(80px);
  }

  100% {
    transform: translateY(0);
  }
}

.question-card-content {
  position: absolute;
  width: 100%;
  height: 100%;
  background-color: rgba(29, 38, 45);
  padding: 10px;
  top: 75%;
  transition: 400ms;
}

.question-card::before {
  content: '';
  position: absolute;
  width: 100%;
  height: 100%;
  top: 50%;
  left: 50%;
  background: black;
  transform-origin: top left;
  z-index: 2;
}

.question-card::after {
  content: '';
  position: absolute;
  width: 100%;
  height: 100%;
  bottom: 50%;
  right: 50%;
  background-color: black;
  transform-origin: bottom right;
  z-index: 2;
}

.question-card:is(:hover, :focus-visible) .question-card-content {
  top: 0;
}

.question-description {
  padding: 8px;
  color: var(--bg-color-3);
  word-wrap: break-word;
}

.question-card:is(:hover, :focus-visible)::after {
  animation: rotate 2.5s infinite linear;
}

.question-card:is(:hover, :focus-visible)::before {
  animation: rotate 2.5s infinite linear;
}

.card-effect {
  background-color: var(--bg-color-2);
  position: absolute;
  inset: 3px;
  z-index: 3;
  border-radius: 3rem;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  gap: 5px;
  text-align: center;
}

@keyframes rotate {
  0% {
    transform: rotate(0);
  }

  100% {
    transform: rotate(360deg);
  }
}



/*------------------*\
    CONTACT
\*------------------*/

.contact .form-group {
  display: grid;
  gap: 10px;
}

.form-content {
  display: grid;
  gap: 15px;
}

.input-field {
  height: 45px;
  padding-inline: 25px 40px;
  border: 2px solid var(--color-3);
  color: var(--text-gunmetal);
  border-radius: 1em;
}

.input-field:is(:focus, :focus-visible) {
  border-color: var(--color-medium);
  box-shadow: 0 0 20px rgba(0, 188, 212, 0.28);
}

label {
  color: var(--text-dark);
  font-weight: var(--weight-medium);
  transform: translate(5px, 8px);
}


/*------------------*\
    FOOTER
\*------------------*/
.footer {
  background-color: #1d262d;
  padding-block-start: 60px;
  padding-block-end: 30px;
}

.footer-text {
  color: #869fb2;
  font-size: .8em;
  font-weight: var(--weight-medium);
}

.footer-title {
  color: #fff;
}

.footer-cols {
  display: grid;
  gap: 50px;
}

.social-media-icon {
  display: flex;
  gap: 40px;
}

.footer-col {
  display: grid;
  gap: 20px;
}

.footer-copyright {
  display: grid;
  gap: 10px;
  text-align: center;
}

.footer-text.mail {
  text-decoration: underline;
  color: #00d3ee;
}

/*------------------*\
    LOGIN FORM
\*------------------*/
.login-form-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  bottom: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: url(/frontend/assets/images/login-form/login-form-image.jpg) no-repeat fixed;
  background-position: center;
  background-size: cover;
}

.form-title {
  text-align: center;
}

.form-content h1 {
  margin: 0;
}

.login-form {
  width: 350px;
  height: 400px;
  border-radius: 1rem;
  border: 2px solid rgba(255, 255, 255, .5);
  display: flex;
  flex-direction: column;
  justify-content: space-evenly;
  backdrop-filter: blur(5px);
  color: black;
}

.login-input-list {
  display: flex;
  flex-direction: column;
  gap: 35px;
  justify-content: center;
  align-items: center;
}

.login-input-box {
  width: 80%;
  position: relative;
  padding-inline: 35px 10px;
  border: 2px solid lightskyblue;
  height: 35px;
  border-radius: 1rem;
}

.login-input {
  height: 100%;
  background-color: transparent;
}


.login-input-box ion-icon {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  left: 10px;
}

.login-submit-box .btn-submit {
  color: #fff;
  width: 80%;
  margin-inline: auto;
  padding-block: 8px;
  border-radius: 2rem;
  cursor: pointer;
  background-color: rgb(21, 123, 183);
  transition: 250ms ease;
}

.btn-submit:is(:hover, :focus-visible) {
  box-shadow: 0 0 10px rgb(21, 123, 183);
}


/*------------------*\
      404 PAGE
\*------------------*/
.section-404 {
  background: linear-gradient(45deg, var(--text-dark), var(--color-medium));
  height: 100vh;
  top: 0;
  left: 0;
  width: 100%;
  position: fixed;
  z-index: 19;
}

.container-404 {
  position: absolute;
  top: 10%;
  left: 10%;
  bottom: 10%;
  right: 10%;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: url(/frontend/assets/images/errors/p404.png), #151729;
  box-shadow: 0 15px 30px rgba(0, 0, 0, .5);
}

.container-404 .content-404 {
  text-align: center;
  user-select: none;
}

.content-404 h2 {
  font-size: 18vw;
  color: #fff;
  line-height: 1em;
}

.content-404 h4 {
  position: relative;
  font-size: 1.5em;
  color: #111;
  background-color: #fff;
  border-radius: 10px;
  font-weight: 300;
  padding: 10px 20px;
  display: inline-block;
}

.content-404 p {
  color: #fff;
  margin-block: 20px;
}

.content-404 a {
  margin-inline: auto;
}


/*-------------------------*\
    #MEDIA QUERIES
\*-------------------------*/

@media (min-width:575px) {

  /*
  *REUSED STYLE
  */
  .container {
    max-width: 540px;
    width: 100%;
    margin-inline: auto;
  }


  /*
  *INTRODUCTION
  */
  .span-tag-box-button {
    flex-direction: row;
    align-items: center;
  }


  /*
  *DETAIL
  */
  .logo-content img {
    width: 50px;
    height: 50px;
  }

  /*
  *ALGORITHM
  */
  .algorithm-card-list.question {
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
  }

  .question-card-content {
    top: 82%;
  }

  .question-card {
    height: 300px;
  }

  .level {
    gap: 50px;
  }
}


@media(min-width:750px) {
  :root {
    /*Font size*/
    --fontSize-1: 4.8rem;
    --fontSize-2: 4rem;
    --fontSize-3: 2.8rem;
    --fontSize-4: 2.6rem;
    --fontSize-5: 2.2rem;
    --fontSize-6: 1.8rem;
    --fontSize-7: 1.6rem;
  }


  /*
  *REUSED STYLE
  */
  .container {
    max-width: 720px;
  }

  .section {
    padding-block: 80px;
  }

  .top-bar {
    padding-block-start: 155px;
  }

  .btn {
    height: 60px;
    padding-inline: 40px
  }


  /*
  *PRELOADER
  */
  .preloader-inner img {
    width: 80px;
    height: 80px;
  }

  /*
  *INTRODUCTION
  */
  .introduction .introduction-content {
    padding: 45px;
  }


  /*
  *SERVICE
  */
  .service .container {
    gap: 50px;
  }

  /*
  *DETAIL
  */
  .logo-content img {
    width: 70px;
    height: 70px;
  }

  .logo-list {
    gap: 40px;
  }

  .detail .btn {
    margin-block-start: 50px;
  }

  /*
  * ALGORITHM
  */
  .algorithm-card-list.large {
    margin-inline: auto;
    grid-template-columns: repeat(2, 1fr);
  }

  .algorithm-card-list.small {
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
  }


  .algorithm-card-list.question {
    grid-template-columns: repeat(2, 1fr);
  }


  /*
  *CONTACT
  */
  .form-group:nth-child(1) input {
    width: 350px;
  }

  .form-group:nth-child(2) input {
    width: 650px;
  }


  /*
  * FOOTER
  */
  .footer-cols {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-col:first-child {
    grid-column: 1 / span 2;
  }

  .footer-col:nth-child(2) {
    grid-column: 1;
  }

  .footer-col:nth-child(3) {
    grid-column: 2;
    height: 50%;
  }




  @media (min-width:1000px) {

    /*
    *REUSED STYLE
    */
    .container {
      max-width: 980px;
    }

    .top-bar {
      padding-block-start: 170px
    }

    /*
    *HEADER
    */
    .nav-toggle-btn,
    .navbar-top,
    .overlay {
      display: none;
    }

    .navbar,
    .navbar.active {
      all: unset;
      display: flex;
      justify-content: space-around;
      align-items: center;
      flex-grow: 1;
    }

    .nav-list {
      display: flex;
      margin-inline: auto;
      gap: 35px;
      padding-block-start: 0;
    }

    .nav-link:is(:hover, :focus-visible, .active) {
      transform: unset;
    }

    .nav-link::before {
      all: unset;
    }

    .nav-link::before {
      content: '';
      position: absolute;
      border-radius: 2rem;
      width: 0;
      height: 2px;
      right: 0;
      bottom: 5px;
      background-color: var(--color-medium);
      transition: 300ms ease-in-out;
      box-shadow: 0 0 20px rgba(0, 188, 212, 0.28);
    }

    .nav-link:is(:hover, :focus-visible, .active)::before {
      left: 0;
      width: 100%;
    }

    .nav-link:is(:hover, :focus-visible, .active) {
      color: var(--color-medium);
      text-shadow: 0 0 20px rgba(0, 188, 212, 0.28);
    }


    /*
    *INTRODUCTION
    */


    /*
     * ALGORITHM
    */
    .algorithm-card-list.small {
      grid-template-columns: repeat(4, 1fr);
    }

    .algorithm-card-list.question {
      grid-template-columns: repeat(3, 1fr);
    }


    /*
    *SERVICE
    */
    .service .container {
      grid-template-columns: repeat(2, 1fr);
    }


    /*
    *DETAIL
    */
    .detail .container {
      grid-template-columns: repeat(2, 1fr);
    }
  }



  @media(min-width:1200px) {

    :root {
      --fontSize-1: 6.4rem;
      --fontSize-2: 4.8rem;
      --fontSize-3: 3.5rem;
    }

    /*
    *CUSTOM PROPERTY
    */
    .container {
      max-width: 1150px;
    }

    .go-back {
      position: fixed;
      top: 45%;
      left: 15px;
    }

    /*
    *HEADER
    */
    .header .logo img {
      width: 150px;
      height: 60px;
    }

    .nav-list {
      gap: 70px;
    }

    /*
    * ALGORITHM
    */
    .algorithm .container {
      gap: 110px;
    }

    .algorithm-card-list.large {
      grid-template-columns: repeat(4, 1fr);
    }

    .algorithm-card-list.small {
      grid-template-columns: repeat(5, 1fr);
    }


    .algorithm-card-list.question {
      grid-template-columns: repeat(4, 1fr);
    }

    @keyframes cardAnimation {
      0% {
        transform: translateX(135px) rotate(6deg);
      }

      100% {
        transform: translateX(0) rotate(0);
      }
    }

  }



  @media(min-width:1400px) {
    :root {
      --fontSize-1: 7.2rem;
    }

    /*
    *RESUD STYLE
    */
    .container {
      max-width: 1350px;
    }


    /*
    *INTRODUCTION
    */


    /*
    *ALGORITHM
    */
    .algorithm-card.position-1 {
      transform: translateY(40px);
    }

    .algorithm-card.position-2 {
      transform: translateY(80px);
    }

    .algorithm-card.position-3 {
      transform: translateY(120px);
    }

    .algorithm-card img {
      transform: scale(1.4);
    }

    .algorithm-card.large .title {
      margin-block-start: 25px;
    }

    .algorithm-card.small h2 {
      margin-block-start: 10px;
    }

    .algorithm-card-list.question {
      grid-template-columns: repeat(5, 1fr);
    }


    /*
    *FOOTER
    */
    .footer-cols {
      grid-template-columns: repeat(3, 1fr);
      gap: 120px;
    }

    .footer {
      padding-inline: 10px;
    }

    .footer-col:nth-child(1) {
      grid-column: 1 span;
    }

    .footer-col:nth-child(2) {
      grid-column: 1 span;
    }

    .footer-col:nth-child(3) {
      grid-column: 1 span;
    }

  }

}