:root {
  --color-green: #00ab6c;
  --color-body: #dbdbdb;
  --color-background1: #162630;
  --color-background2: #34424b;
}

@font-face {
  font-family: koodak;
  font-style: normal;
  font-weight: 100;
  src: url("../fonts/B Koodak Bold_0.ttf");
}
*,
*::after,
*::before {
  box-sizing: border-box;
}
* {
  box-sizing: border-box;
}

html {
  font-size: 62.5%;
}

body {
  font-family: koodak, Inter, Area, helvetica, sans-serif;
  color: var(--color-body);
  background-color: var(--color-background1);
  font-size: 1.7rem;
  line-height: 1.5;
  direction: rtl;
}

h1,
h2,
h3 {
  margin: 1rem 0rem;
  color: var(--color-green);
}

/*slide*/

/* Slideshow container */
.slideshow-container {
  max-width: 1400px;
  position: relative;
  margin: auto;
  user-select: none;
}

/* Hide the images by default */
.mySlides {
  display: none;
}

/* Fading animation */
.fade {
  animation-name: fade;
  animation-duration: 1.5s;
}

@keyframes fade {
  from {
    opacity: 0.4;
  }
  to {
    opacity: 1;
  }
}
.slidebox {
  margin: 0;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background-color: rgba(20.3, 25.9, 29.5, 0.6);
  width: 80%;
  height: 80%;
  z-index: 2;
  border-radius: 10px;
  text-align: center;
}
.titel1 {
  margin-top: 0.5rem;
  font-size: 3rem;
  color: white;
}
.titel2 {
  font-size: 2rem;
  color: white;
}
.slidebox > p {
  color: var(--color-body);
  margin: 0;
  padding: 0.5rem;
}

.slidebox > a {
  padding: 0.7rem 5rem;
  border-radius: 10px;
  border: 2px solid var(--color-green);
  background-color: var(--color-green);
  transition: all 0.3s;
  text-decoration: none;
  color: wheat;
}
.slidebox > a:hover {
  color: white;
  border: 2px solid var(--color-green);
  background-color: rgba(0, 0, 0, 0);
}

.handicon {
  color: #c0cad5;
}
.handicon > img {
  width: 20px;
  transform: translateY(7px);
  /* height: 32px; */
}
.green {
  color: var(--color-green);
}
@media screen and (max-width: 320px) {
  .slidebox {
    width: 90%;
    height: 90%;
  }
  .titel1 {
    margin-top: 0rem;
    font-size: 2.5rem;
  }
  .titel2 {
    font-size: 2rem;
  }
  .slidebox > a {
    margin-top: 1rem;
  }
  .handicon {
    margin-top: 0.5rem;
  }

  body {
    font-size: 1.5rem;
  }
}
img,
video {
  border-radius: 10px;
}
@media screen and (min-width: 576px) {
  .slidebox {
    width: 80%;
    height: 80%;
  }
  .titel1 {
    margin-top: 2rem;
    font-size: 4rem;
  }
  .titel2 {
    font-size: 2rem;
  }
  .slidebox > a {
    margin-top: 1rem;
  }
  .handicon {
    margin-top: 0.5rem;
  }
  body {
    font-size: 2.1rem;
  }
}
@media screen and (min-width: 768px) {
  .slideimg1 {
    content: url("../images/s1.jpg");
  }
  .slideimg2 {
    content: url("../images/s2.jpg");
  }
  .slideimg3 {
    content: url("../images/s3.jpg");
  }
  .slidebox {
    width: 60%;
    height: 70%;
  }
  .titel1 {
    margin-top: 1rem;
    font-size: 3rem;
  }
  .titel2 {
    font-size: 2rem;
  }
  .slidebox > a {
    margin-top: 1rem;
  }
  .handicon {
    margin-top: 0.5rem;
  }
  body {
    font-size: 1.9rem;
  }
}
@media screen and (min-width: 992px) {
  .slidebox {
    width: 50%;
    height: 70%;
  }
  .titel1 {
    margin-top: 1.5rem;
    font-size: 4rem;
  }
  .titel2 {
    font-size: 3rem;
  }
  .slidebox > a {
    margin-top: 1rem;
  }
  .handicon {
    margin-top: 0.5rem;
  }
  body {
    font-size: 2.1rem;
  }
}
@media screen and (min-width: 1200px) {
  .slidebox {
    width: 60%;
    height: 50%;
  }
  .titel1 {
    margin-top: 1rem;
    font-size: 4rem;
  }
  .titel2 {
    font-size: 3rem;
  }
  .slidebox > a {
    margin-top: 1rem;
  }
  .handicon {
    margin-top: 0.5rem;
  }
  body {
    font-size: 2.3rem;
  }
}

/*about*/
.about > h2 {
  text-align: center;
}
.about > p {
  text-align: center;
  background-color: var(--color-background2);
  padding: 2rem 2rem;
  max-width: 1400px;
  margin: 0rem auto;
  margin-bottom: 7rem;
}
/*video*/
.video {
  text-align: center;
}
video {
  max-width: 100%;
  margin-bottom: 3rem;
}
/*gallery*/

.gallery--img {
  display: block;
  max-width: 1400px;
  width: 100%;
  margin-left: auto;
  margin-right: auto;
  padding: 0.5rem;
}
.aspect-rate {
  aspect-ratio: 16/9;
}
.gallery--img {
  cursor: pointer;
}
.gallery--img:hover {
  border: 3px solid gray;
}
#popup {
  position: fixed;
  z-index: 3;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(20.3, 25.9, 29.5, 0.7);
  display: none;
}
#popup.open {
  display: block;
}
#popup--content {
  position: absolute;
  border-radius: 10px;
}
#popup--content img {
  max-width: 100%;
  height: auto;
}
#close {
  position: absolute;
  top: 5px;
  right: 5px;
  cursor: pointer;
}

@media screen and (min-width: 768px) {
  .gallery {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    max-width: 1400px;
    margin: 0 auto;
  }
  #popup--content {
    top: 50%;
    left: 50%;
    transform: translateY(-50%) translateX(-50%);
  }
}
@media screen and (min-width: 1024px) {
  .gallery {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
  }
}
/*khaadamat*/

.khadamattext {
  text-align: center;
  margin-top: 5rem;
  margin-bottom: 14rem;
}
.khadamat--card {
  position: relative;
  background-color: var(--color-background2);
  text-align: center;
  width: 400px;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 14rem;
  padding-top: 2rem;
  border-radius: 10px;
}
.khadamat img {
  position: absolute;
  top: -100px;
  left: 100px;
  width: 200px;
  border-radius: 50%;
  border: 5px solid var(--color-green);
  user-select: none;
}
.khadamat pre {
  margin-top: 10rem;
  font-family: koodak, Inter, Area, helvetica, sans-serif;
}
@media screen and (min-width: 768px) {
  .khadamat {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    justify-items: center;
    margin-bottom: 10rem;
  }
  .khadamat--card {
    margin: 0;
  }
}
/*footer*/
footer {
  background-color: var(--color-background2);
  /* display: block; */
  display: flex;
  flex-direction: column;
}
footer pre {
  text-align: center;
  margin-bottom: 0;
  font-family: koodak, Inter, Area, helvetica, sans-serif;
}

@media screen and (min-width: 768px) {
  footer {
    display: flex;
    justify-content: space-around;
    flex-direction: row;
  }
}
