@font-face {
  font-family: "iransans";
  src: url(../fonts/iransans.ttf);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "iransans";
  list-style-type: none;
  text-decoration: none;
  outline: none;
  scroll-behavior: smooth;
}

body {
  direction: rtl;
}

.navbar{
  align-items: center;
  flex-direction: row;
  justify-content: space-between;
  width: 100%;
  padding-top: 10px;
  padding-bottom: 10px;
  position: fixed;
  top: 0;
  right: 0;
  z-index: 10;
  transition: all .5s ease-in-out;
  height: 70px;
  box-shadow: 0 0 5px 2px rgba(0 0 0 / 10%);
 background: rgb(0, 1, 7);
}

.header {
  min-height: 100vh;
  width: 100%;
  background-image: linear-gradient(rgba(0, 2, 7, 0.7), rgba(0, 1, 3, 0.753)),
    url(../images/1111111111.jpg);
  background-position: center;
  background-size: cover;
  position: relative;
}

nav {
  display: flex;
  padding: 2% 6%;
  justify-content: space-between;
  align-items: center;
}

nav img {
  width: 50px;
}

.nav-links {
  flex: 1;
  text-align: right;
}

.nav-links ul li {
  list-style: none;
  display: inline-block;
  padding: 8px 12px;
  position: relative;
}

.nav-links ul li a {
  color: #fff;
  font-size: 16px;
}

.nav-links ul li::after {
  content: "";
  width: 0%;
  height: 2px;
  background: red;
  display: block;
  margin: auto;
  transition: 0.5s;
}

.nav-links ul li:hover::after {
  width: 100%;
}

.text-box {
  width: 90%;
  color: white;
  text-align: center;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.text-box h1 {
  font-size: 40px;
  color: white;
}

.text-box p {
  margin: 10px 0 40px;
  font-size: 14px;
  color: white;
}

.hero-btn {
  display: inline-block;
  padding: 12px 34px;
  font-size: 16px;
  border: 1px solid #fff;
  border-radius: 3px;
  background: transparent;
  position: relative;
}

.hero-btn:hover {
  border: 1px solid red;
  background: red;
  transition: 1s;
}

nav .fas {
  display: none;
}

.nav-logo{
  background: transparent;
}

@media screen and (max-width: 800px) {
  .text-box h1 {
    font-size: 20px;
  }

  .nav-links ul li {
    display: block;
    text-align: right;
    padding: 15px 30px;
  }

  .nav-links {
    position: absolute;
    background: red;
    height: 100vh;
    width: 200px;
    top: 0;
    right: -200px;
    text-align: left;
    z-index: 2;
    transition: 1s;
  }

  nav .fas {
    display: block;
    color: rgb(255, 255, 255);
    margin: 10px;
    font-size: 22px;
    cursor: pointer;
  }

  nav .fa-times {
    color: #fff;
  }
}

.conference {
  width: 80%;
  margin: auto;
  text-align: center;
  padding-top: 100px;
}

h1 {
  font-size: 36px;
  font-weight: 600;
}

p {
  color: rgb(59, 59, 59);
  font-size: 14px;
  font-weight: 300;
  line-height: 22px;
  padding: 10px;
}

span {
  font-size: 18px;
  color: white;
  z-index: 3;
}

.row {
  margin-top: 5%;
  display: flex;
  justify-content: space-between;
}

.conference-col {
  flex-basis: 31%;
  background: #e0e0e0;
  border-radius: 10px;
  margin-bottom: 5%;
  padding: 20px 12px;
}

.col {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: flex-start;
  text-align: justify;
}

.col i {
  font-size: 50px;
  padding: 10px;
}

.col h3 {
  text-align: center;
  margin: 10px 0;
  font-weight: 600;
}

.conference-col:hover {
  box-shadow: 0 0 20px 0 rgba(0, 0, 0, 0.2);
  transition: 1s;
}

@media screen and (max-width: 800px) {
  .row {
    flex-direction: column;
  }

  .space {
    margin: 50px;
  }
}

.speakers {
  width: 100%;
  text-align: center;
  padding: 50px 100px;
  margin: auto;
  background-image: linear-gradient(rgba(4, 9, 30, 0.7), rgba(4, 9, 30, 0.7)),
    url(../images/talar.jpg);
  background-position: center;
  background-attachment: fixed;
  background-size: cover;
}

.speakers p,
.speakers h1 {
  color: white;
}

.speakers-col {
  flex-basis: 30%;
  border-radius: 50%;
  position: relative;
  overflow: hidden;
  margin-bottom: 20px;
}

.speakers-col img {
  width: 100%;
  display: block;
}

.layer {
  background: transparent;
  height: 100%;
  width: 100%;
  position: absolute;
  top: 0;
  left: 0;
  transition: 0.5s;
}

.layer:hover {
  background: rgba(226, 0, 0, 0.7);
}

.layer h3 {
  width: 100%;
  font-weight: 500;
  color: #fff;
  font-size: 26px;
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  transition: 0.5s;
  opacity: 0;
}

.layer:hover h3 {
  opacity: 1;
  bottom: 50%;
}

.supporters {
  width: 80%;
  text-align: center;
  padding-top: 50px;
  margin: auto;
}

.supporters-col {
  flex-basis: 25%;
  border-radius: 10px;
  margin-bottom: 5%;
  text-align: center;
}

.news {
  width: 100%;
  text-align: center;
  padding: 50px 100px;
  margin: auto;
  background-image: linear-gradient(rgba(4, 9, 30, 0.7), rgba(4, 9, 30, 0.7)),
    url(../images/Fajr-1.jpg);
  background-position: center;
  background-attachment: fixed;
  background-size: cover;
}

.news p,
.news h1 {
  color: white;
}

.news-col {
  flex-basis: 50%;
  margin: 5% 3%;
  text-align: right;
}

.news-col img {
  width: 100%;
  border-radius: 10px;
}

.news-col h3 {
  margin-top: 20px;
  color: white;
}
.news-col p {
  padding-right: 0px;
  color: white;
}

.gallery {
  width: 100%;
  text-align: center;
  padding: 50px 100px;
  margin: auto;
}

.gallery img {
  padding: 10px;
  margin: 8px auto;
  width: 100%;
}

.footer {
  width: 100%;
  padding: 50px 100px;
  background: black;
  text-align: center;
}

footer h4 {
  color: #fff;
  font-size: 30px;
  text-align: center;
  margin-bottom: 20px;
}

.footer span {
  display: block;
  line-height: 30px;
  text-align: center;
}

.icons .fab{
color: red;
margin: 0 13px;
cursor: pointer;
padding: 18px 0;
font-size: 40px;
text-align: center;
}


.footer__icon {
  display: flex;
  justify-content: center;
  margin-bottom: 20px;
}

.footer__icon-img {
  width: 100حط;
}


@media screen and (max-width: 800px) {
  .icons .fab{
    font-size: 30px;
    margin: 0 9px;
  }
}