/* * {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
} */

html { 
  scroll-behavior: smooth !important;
  overflow-x: hidden; 
}

/* Fonts */
@font-face {
  font-family: moramab;
  src: url(../font/MorabbaBold[editby].ttf);
}
@font-face {
  font-family: morabam;
  src: url(../font/MorabbaMedium[editby].ttf);
}
@font-face {
  font-family: morabal;
  src: url(../font/MorabbaLight[editby].ttf);
}
@font-face {
  font-family: vazirl;
  src: url(../font/Vazir-Light.ttf);
}
@font-face {
  font-family: vazirm;
  src: url(../font/Vazir-Medium.ttf);
}
@font-face {
  font-family: "vazirmedium";
  src: url(../font/Vazir-Medium.ttf);
}

@font-face {
  font-family: "morabbamedium";
  src: url(../font/MorabbaMedium[editby].ttf);
}

@font-face {
  font-family: "morabbalight";
  src: url(../font/MorabbaLight[editby].ttf);
}

/* Variable */

:root {
  --color-yellow: #ffc711;
  --color-white: rgb(255, 245, 224);
  --color-gray: #ffffff00;
  --color-blue: #263f55;
  --font--morabbalight: "morabbalight";
  --font--morabbamedium: "morabbamedium";
  --font--vazirmedium: "vazirmedium";
}

/* Main Menu */
.main-menu{
  display: none;
}

.responsove-menu{
  display: block;
  position: absolute;
  top: 5;
}

/* Header */
.header {
  width: 100%;
  height: 70vh;
  background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.65)),
    url(../Images/namayesh1.jpg) center/cover no-repeat fixed;
  display: flex;
  justify-content: center;
  align-items: center;
}

.header_title {
  font-family: var(--font--morabbalight);
  color: var(--color-yellow);
  font-size: 3.3rem;
  font-weight: bold;
  text-align: center;
  position: relative;
  bottom: 40px;
}

.search-picture {
  direction: rtl;
  font-family: var(--font--morabbalight);
  color: var(--color-yellow);
  font-size: 18px;
  background-color: rgba(161, 159, 159, 0.596);
  color: rgba(255, 251, 251, 0.822);
  border: solid 2px var(--color-white);
  width: 86vw;
  border-radius: 15px;
  padding: 5px;
}

/* Main Picture*/
.pictures {
  margin: 20px 10px;
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.pic {
  width: 498px;
  height: 500px;
  margin-bottom: 10px;
  margin-right: 1px;
}

.pic img {
  width: 100%;
  height: 100%;
}
.pic_title {
  background-color: rgb(0, 0, 0, 0.6);
  position: relative;
  bottom: 50px;
  text-align: center;
  height: 50px;
  color: rgba(255, 251, 251, 0.822);
  font-family: morabam;
  display: flex;
  justify-content: center;
  align-items: center;
}

/* Main LightBox -> big images */
.lightbox {
  z-index: 2;
  position: fixed;
  width: 100%;
  height: 100%;
  background-color: #5354555d;
  display: none;
}

.slider-image {
  display: flex;
  justify-content: space-between;
  position: relative;
  top: 50%;
}

.bi-arrow-left-square-fill {
  z-index: 1;
}

.bi-arrow-right-square-fill {
  z-index: 1;
}

.bi-arrow-left-square-fill:hover {
  color: var(--color-yellow);
}

.bi-arrow-right-square-fill:hover {
  color: var(--color-yellow);
}

.lightbox .wrapper {
  position: absolute;
  background-color: white;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  /*width: 85%;*/
  border-radius: 15px;
}

.wrapper .lightbox-images {
  /* max-height: 97vh; */
  /*max-width: 100vw;*/
  width: 85vw;
  height: 100%;
}

.lightbox-images {
  display: flex;
  justify-content: center;
  align-content: center;
}

.lightbox-images img {
  max-height: 90%;
  max-width: 90%;
}

.lightbox-image-title {
  direction: rtl;
  text-align: right;
  font-size: 18px;
  font-family: var(--font--morabbalight);
  color: var(--color-blue);
  margin-right: 10px;
  margin-top: 10px;
  position: relative;
  bottom: 10px;
}

.lightbox-exit-button {
  font-size: 18px;
  margin-left: 10px;
  margin-top: 10px;
  font-family: var(--font--morabbalight);
  color: var(--color-blue);
  display: flex;
  justify-content: space-between;
}

.bi-x-square-fill:hover {
  color: red;
}

/* Footer */
.footer{
  width: 100%;
  height: 90%;
}

#myfooter{
  height: auto;
}

/* Responsive */
@media screen and (min-width: 1200px){
  /* Header */
  .header {
    background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.65)),
      url(../Images/namayesh1.jpg) right center/cover no-repeat fixed;
  }
  .search-picture {
    width: 55vw;
    font-size: 20px;
  }

  /* Main Pictures */ 
  .pic {
    width: 498px;
    height: 500px;
  }
  .footer{
    width: 100%;
    height: 34.5%;
  }
  .bi-arrow-left-square-fill {
    position: relative;
    left: 2%;
  }
  
  .bi-arrow-right-square-fill {
    position: relative;
    right: 2%;
  }
  
  .wrapper .lightbox-images {
    max-height: 100vh;
    max-width: 90vw;
  }
  .lightbox-images img {
    max-height: 90%;
    max-width: 70%;
  }
  .main-menu{
    display: block;
  }
  .responsove-menu{
    display: none;
  }
  
.lightbox .wrapper {
    top: 52%;
    left: 50%;
  }
}

/* Responsive Mobile Size SearchBox General */
@media screen and (max-width:575px){
  .search-picture {
    margin-left: 7%;
  }
}