@font-face {
  font-family: Arimo;
  src: url(./Arimo/Arimo-VariableFont_wght.ttf);
}
body {
  /* font-family Arimo; */
  font-family: Arial, Helvetica, sans-serif;
  font-size: 1.4rem;
  line-height: 1.5;
  color: rgb(255, 255, 255);
  text-align: right;
  direction: rtl;
  background-image: url(../img/bg.jpg);
  background-repeat: no-repeat;
  background-attachment: fixed;
  background-position: center;
  background-size: cover;
  z-index: 1;
  font-size: 1.25rem;
  /* overflow: hidden; */
}
body::before {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  background-color: rgba(0, 0, 0, 0.7);
  background-repeat: no-repeat;
  background-attachment: fixed;
  background-position: center;
  background-size: cover;
}
h1 {
  text-align: center;
  margin: 10px 20px;
  color: rgb(240, 201, 142);
  font-size: 2.5rem;
  font-weight: 500;
}
h2,
h4 {
  text-align: center;
  margin: 10px 20px;
  color: rgb(240, 201, 142);
  font-size: 2rem;
  font-weight: 500;
}

h5 {
  font-weight: 500;
  font-size: 1.25rem;
}
h3 {
  text-align: center;
  color: rgb(240, 201, 142);
  font-size: 2rem;
}

.headercontainer {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}
.headercontainer a {
  cursor: pointer;
  text-decoration: none;
  color: white;
  margin: 5px;
}
.headercontainer a:hover {
  color: burlywood;
}

a {
  cursor: pointer;
  text-decoration: none;
  color: blanchedalmond;
  margin: 5px 2px;
}

.navcontainer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}
.main-container {
  width: 90%;
  margin: 30px auto;
  min-height: 60vh;
  letter-spacing: 1px;
  line-height: 2rem;
  color: rgb(249, 244, 238);
  font-weight: 550;
}

.main-container h3 {
  font-size: 1.25rem;
  font-weight: 500;
  color: rgb(235, 180, 98);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.search-con {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1.5rem;
  align-items: center;
}
.search-con img {
  width: 2rem;
  object-fit: cover;
}
.hover-con {
  position: relative;
  cursor: pointer;
  transform: translateY(3px);
}
.hover-con .info {
  position: absolute;
  visibility: hidden;
  left: 15px;
  top: -2rem;
  width: 11.5rem;
  background-color: blue;
  border-radius: 10px;
  padding: 5px 0;
  text-align: center;
}
.hover-con:hover .info {
  visibility: visible;
}
input[type="text"] {
  padding: 0.2rem 0.6rem;
  border-radius: 8px;
  min-width: 220px;
  font-size: 1.5rem;
}
#searchForm {
  display: flex;
  justify-content: center;
  gap: 1rem;
}
button {
  padding: 0.2rem 0.6rem;
  border-radius: 8px;
  font-size: 1.2rem;
  background-color: blanchedalmond;
  cursor: pointer;
}
.centering {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.3rem;
}

.cntrlnk {
  text-align: center;
}

.attribution {
  bottom: 1px;
  font-size: 0.9rem;
  text-align: center;
  padding: 1rem;

  color: rgb(209, 154, 82);
}
.close:hover,
.open:hover {
  cursor: pointer;
}
/* Links */
.attribution a {
  margin: 0 0.25rem;
  text-decoration: none;
  font-weight: 600;
  color: rgb(210, 93, 50);
  transition:
    color 0.2s ease,
    opacity 0.2s ease;
}

.attribution a:hover {
  opacity: 0.5;
}

/* Separator dot */
.separator {
  margin: 0 0.5rem;
  opacity: 0.6;
}
@media screen and (max-width: 768px) {
  .main-container {
    width: 100%;
    margin: 10px;
  }
}
@media screen and (max-width: 468px) {
  #searchForm {
    flex-direction: column;
  }
  .search-con {
    flex-direction: column;
  }
  .hover-con .info {
    left: -50px;
    top: -2rem;
  }
  .main-container {
    margin: 0;
  }
}
