@font-face {
  font-family: 'yekan';
  src: url('/css/fonts/YekanBakh-Regular.ttf') format('truetype');
}

* {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
}

body,
html {
  width: 100%;
  height: 100%;
}

p,
h1,
h2,
h3,
h4,
h5,
h6,
ul,
li,
div,
span,
button,
input {
  font-family: 'yekan';
}

a,
a:visited,
a:hover,
a:focus,
a:hover,
a:active {
  text-decoration: none;
  color: inherit;
}

.app {
  width: 100%;
  height: 100%;
}

.container {
  display: flex;
  width: 80%;
  margin: auto;
  height: 100%;
}

.d-none {
  display: none !important;
}

.d-flex {
  display: flex;
}

.flex-wrap {
  flex-wrap: wrap;
}

.justify-content-center {
  justify-content: center;
}

.justify-content-space-aroud {
  justify-content: space-around;
}

.align-items-center {
  align-items: center;
}

.flex-dir-col {
  flex-direction: column;
}

.flex-dir-row {
  flex-direction: row;
}

.gap-1 {
  gap: 5px;
}

.gap-2 {
  gap: 10px;
}

.gap-3 {
  gap: 15px;
}

.p-t-1 {
  padding-top: 5px;
}

.p-t-2 {
  padding-top: 10px;
}

.p-t-3 {
  padding-top: 15px;
}

.p-b-1 {
  padding-bottom: 5px;
}

.p-b-2 {
  padding-bottom: 10px;
}

.p-b-3 {
  padding-bottom: 15px;
}

.content {
  width: 100%;
  height: 100%;
}

.content p {
  text-align: center;
}

.hero {
  position: relative;
  width: 100%;
  height: 350px;
  display: flex;
  justify-content: start;
  align-items: center;
  flex-direction: column;
  background: url('/images/comfort-d-px.jpg') repeat top;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 350px;
  background: url('/images/comfort-d.jpg') center;
  background-size: contain;
  background-repeat: no-repeat;
}

.slogan {
  margin-top: 15px;
  z-index: 999;
}
.slogan p {
  font-size: 25px;
  font-weight: bold;
  color: #ffff;
}

.slogan p span {
  color: #e61f00;
}

.btn-default-outline {
  border: 2px solid #333232;
  border-radius: 6px;
  padding: 6px 16px;
  text-align: center;
  background-color: transparent;
  font-weight: bold;
}

.banner img {
  width: 100%;
  height: auto;
  background-size: contain;
  background-repeat: no-repeat;
}

.advertise {
  padding: 15px;
}
.advertise p {
  color: #1f3087;
  font-size: 20px;
}
.advertise a {
  font-weight: bold;
  color: #1f3087;
}

.advertise p span {
  font-weight: bold;
  color: #1f3087;
}
#market-container a {
  padding: 5px 15px;
  border: 1.5px solid #1f3087;
  border-radius: 10px;
  display: flex;
  justify-content: center;
  align-items: center;
}

#market-container img {
  width: 100px;
  height: auto;
}

.footer img {
  width: 30px;
  height: auto;
}

.footer a {
  font-weight: bold;
  color: #1f3087;
}

/*** ------------------------Media Query------------------------ ***/

@media (max-width: 375px) {
  .hero {
    background: url('/images/comfort-m-px.jpg') repeat top;
    height: 500px;
  }

  .slogan p {
    font-size: 22px;
  }

  .hero::before {
    background: url('/images/comfort-m.jpg') no-repeat center center;
    height: 500px;
  }
  .banner img {
    width: 200px;
  }
  .advertise p {
    font-size: 15px;
  }

  #market-container a {
    padding: 3px 25px;
  }

  #market-container img {
    width: 55px;
  }

  .footer img {
    width: 25px;
  }
}

@media (min-width: 376px) and (max-width: 576px) {
  .hero {
    background: url('/images/comfort-m-px.jpg') repeat top;
    height: 500px;
  }

  .slogan p {
    font-size: 22px;
  }

  .hero::before {
    background: url('/images/comfort-m.jpg') no-repeat center center;
    height: 500px;
  }

  .advertise p {
    font-size: 18px;
  }

  #market-container a {
    padding: 3px 20px;
  }

  #market-container img {
    width: 70px;
  }

  .footer img {
    width: 25px;
  }
}

@media (min-width: 578px) and (max-width: 800px) {
  .hero {
    background: url('/images/comfort-m-px.jpg') repeat top;
    height: 500px;
  }

  .slogan p {
    font-size: 22px;
  }

  .hero::before {
    background: url('/images/comfort-m.jpg') no-repeat center center;
    height: 500px;
  }
  .advertise p {
    font-size: 18px;
  }

  #market-container a {
    padding: 5px 15px;
  }

  #market-container img {
    width: 70px;
  }

  .footer img {
    width: 25px;
  }
}

/*** ------------------------LOADER------------------------ ***/
.loader {
  width: 48px;
  height: 48px;
  border: 3px dotted #1f3087;
  border-style: solid solid dotted dotted;
  border-radius: 50%;
  display: inline-block;
  position: relative;
  box-sizing: border-box;
  animation: rotation 2s linear infinite;
}
.loader::after {
  content: '';
  box-sizing: border-box;
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
  margin: auto;
  border: 3px dotted #e61f00;
  border-style: solid solid dotted;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  animation: rotationBack 1s linear infinite;
  transform-origin: center center;
}

@keyframes rotation {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}
@keyframes rotationBack {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(-360deg);
  }
}
