* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  /* font-family: tahoma; */
  font-family: "B Koodak", Tahoma, "Segoe UI", Geneva, Verdana, sans-serif;
  background-image: url("../images/bg3.jpg");
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
  /* position: relative; */

  min-height: 100svh;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow-x: hidden;
  overflow-y: auto;
  padding: 20px;
}

.container {
  width: 90%;
  max-width: 700px;
  text-align: center;
  /* background: rgba(255, 255, 255, 0.5); */
  background: rgba(255, 255, 255, 0.4);
  backdrop-filter: blur(5px);
  padding: 25px;
  border-radius: 25px;
  z-index: 10;
}

.logo {
  /* width: 330px; */
  width: 60%;
  max-width: 330px;
  min-width: 120px;
  height: auto;

  margin-bottom: 9px;
  /* border: 1px solid red; */
}

h2 {
  color: rgb(56, 1, 3);
  /* font-size: 2.2rem; */
  margin-bottom: 20px;
}

p {
  color: #777;
  line-height: 2;
  font-size: 1.1rem;
}

.loader {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-top: 20px;
}

.loader span {
  width: 14px;
  height: 14px;

  border-radius: 50%;
  /* background: rgb(155, 17, 22); */
  background: rgb(148, 3, 8);
  animation: bounce 1s infinite;
}

.loader span:nth-child(2) {
  animation-delay: 0.2s;
}

.loader span:nth-child(3) {
  animation-delay: 0.4s;
}

@keyframes bounce {
  0%,
  80%,
  100% {
    transform: scale(0);
  }

  40% {
    transform: scale(1);
  }
}

@keyframes move {
  from {
    transform: translate(-200px, -150px);
  }

  to {
    transform: translate(250px, 150px);
  }
}

@media (max-width: 768px) {
  .container {
    padding: 40px 25px;
  }

  h2 {
    font-size: 1.7rem;
  }

  p {
    font-size: 1rem;
  }
}

@media (max-height: 500px) {
  .container {
    padding: 20px;
  }

  .logo {
    width: 35%;
    margin-bottom: 15px;
  }

  h2 {
    font-size: 1.2rem;
    margin-bottom: 10px;
  }

  .loader {
    margin-top: 20px;
  }
}

@media (max-width: 535px) {
  h2 {
    font-size: 1.2rem;
  }
}

@media (orientation: landscape) and (max-height: 500px) {
  body {
    align-items: flex-start;
  }

  .container {
    margin-block: 20px;
  }
}

/* ********************** */
.contact-info {
  margin-top: 30px;
  padding-top: 30px;
  border-top: 1px solid rgba(56, 1, 3, 0.2);
}

.info-item {
  display: flex;

  align-items: flex-start;
  /* justify-content: center; */
  gap: 15px;
  margin-bottom: 20px;
  text-align: right;
  /* border: 1px solid #fff; */
}

.info-item div {
  display: grid;
  grid-template-columns: 140px 1fr;
  align-items: start;
  column-gap: 20px;
  width: 100%;
}

.icon {
  font-size: 1.4rem;
  flex-shrink: 0;
}

.info-item h3,
.info-item h4 {
  grid-column: 1;

  margin: 0;

  color: rgb(56, 1, 3);

  font-size: 1.25rem;
}

.info-item p {
  grid-column: 2;

  margin: 0;

  color: #242323;

  line-height: 1.8;
}

@media (max-width: 768px) {
  .info-item {
    justify-content: center;
    text-align: center;
  }

  .info-item div {
    grid-template-columns: 1fr;
    row-gap: 8px;
    justify-items: center; /* افقی وسط */
    text-align: center;
  }

  .info-item h3,
  .info-item h4,
  .info-item p {
    grid-column: auto;
    text-align: center;
  }
}
