@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@200;400&display=swap');
@import url("https://unpkg.com/boxicons@2.1.4/css/boxicons.min.css");
@import url("fonts.css");
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
}

body {
  direction: ltr;
  font-family: 'Poppins', sans-serif;
  height: 100vh;
  margin: 0;
  display: flex;
  flex-direction: column;
}

.head-text {
  text-transform: uppercase;
  width: 200px;
  height: auto;
  padding: 20px;
}

.head-text, .main-wrapper {
  width: 80%;
  margin: auto;
}

.main-wrapper {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  justify-content: space-between;
  align-items: center;
  display: flex;
}
picture {
    text-align: center;
}

.notfound-img img {
  width: auto;
  height: auto;
}

.error-text {
  color: #1b1b1b;
  font-family: IRANSans;
  direction: rtl;
  width: 70%;
}

.error-text h2 {
  width: 80%;
  font-size: 54px;
  letter-spacing: -1px;
  font-weight: 900;
  margin-bottom: 15px;
}

.error-text p {
  width: 50%;
  padding: 5px;
  font-size: 19px;
  color: #4C4C4C;
}

button {
  font-family: IRANSans;
  cursor: pointer;
  width: auto;
  padding: 12px 27px 15px 27px;
  border: 2px solid #426C62;
  border-radius: 10px;
  color: white;
  background-color: #426C62;
  text-transform: uppercase;
  margin-top: 15px;
  font-size: 16px;
  font-weight: bold;
  transition: all 0.3s ;
}
.btn2 {
  font-family: IRANSans;
  cursor: pointer;
  width: auto;
  padding: 12px 27px 15px 27px;
  border: 2px solid #426C62;
  border-radius: 10px;
  color: #426C62;
  background-color: transparent;
  text-transform: uppercase;
  margin-top: 15px;
  font-size: 16px;
  font-weight: bold;
  transition: all 0.3s ;
}
button:hover {
  background-color: transparent;
  border: 2px solid #426C62;
  color: #426C62;
  
}
.btn2:hover {
  background-color: #426C62;
  border: 2px solid transparent;
  color: #FFF;
  
}
button i {
    padding-left: 1px;
    vertical-align: middle;
}
footer {
  direction: rtl;
  margin: auto;
  display: flex;
  padding-top: 10px;
  text-align: center;min-height: 50px;
  margin-top: auto;
  position: fixed;
  bottom: 1%;
  left: 50%;
  transform: translate(-50%, 0%);
  width: 80%;
  font-family: IRANSans;
  font-size: 12px;

}
#logo {
  position: absolute;
  right: 0;
   direction: rtl;
   width: 150px;
   z-index: 1;
   padding: 10px;
   margin-right: 120px;
}

@media (max-width: 991.9px) { 
  footer {
 display: none;

}
    .head-text, .main-wrapper {
     width: 100%;
    margin: auto;
}
  .main-wrapper {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
  }

  .error-text h2 {
    width: 100%;
    font-size: 34px;
    line-height: auto;
    padding-top: 15px;
    text-align: center;
  }

  .error-text p {
    width: 100%;
    font-size: 0.8rem;
    line-height: 150%;
    padding-top: 15px;
    text-align: center;
  }
  button {
    width: 100%;

  }
  .btn2 {
    width: 100%;

  }
.notfound-img img {
  width: 90%;
  height: auto;

  }

#logo {
    width: 120px;
    direction: rtl;
    float: right;
    margin-right: 0px;
}
}

@media (min-width: 992px) { 
  .error-text h2 {
    width: 100%;
    line-height: 100%;
    padding-top: 15px;
  }

  .error-text p {
    width: 100%;
    line-height: 150%;
    padding-top: 15px;
  }
  #logo {
    width: 150px;
    direction: rtl;
    float: right;

}
}