

@font-face {
    font-family: Tanha;
    src: url('../Fonts/Tanha.woff');

}

html , body {
    height: 100%;
    width: 100%;   
    font-family: Tanha; 
    direction: rtl;
}
  
*{
    box-sizing: border-box;
    padding: 0;
    margin: 0;
}
h2{
    font-family: Tanha, sans-serif;
}
.ssdiv{display: flex;width: 100%;}
.h2d{
    margin: 2rem;
    text-align: center;
    line-height: normal;
}
/* header */
header{
  width: 100%;
  background-color: #777777;
  height: 5%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.navbar{
  display: flex;
  align-items: center;
  justify-content: space-evenly;
  width: 100%;
}

.navbar a {
  float: left;
  font-size: 16px;
  color: white;
  text-align: center;
  padding: 14px 16px;
  text-decoration: none;
}

.subnav {
  float: left;
  overflow: hidden;
}

.subnav .subnavbtn {
  font-size: 16px;  
  border: none;
  outline: none;
  color: white;
  padding: 14px 16px;
  background-color: inherit;
  font-family: inherit;
  margin: 0;
  font-family: Tanha;
}

.navbar a:hover, .subnav:hover .subnavbtn {
  background-color: #93b027;
  border-radius: 10px;
  transition: 1s;
  
}

.subnav-content {
  display: none;
  position: fixed;
  left: 0;
  background-color: rgb(113, 0, 121);
  width: 100%;
  z-index: 1;
}

.subnav-content a {
  float: left;
  color: white;
  text-decoration: none;
}

.subnav-content a:hover {
  background-color: #eee;
  color: black;
}

.subnav:hover .subnav-content {
  display: block;
}
.mobile-container {
  display: none;
  width: 100%;
  margin: auto;
  color: white;
  border-radius: 10px;
}

.topnav {
  overflow: hidden;
  background-color: #16002b;
  position: relative;
}

.topnav #myLinks {
  display: none;
  position: fixed;
  background-color: #16002b;
  width: 100%;
  height: 100%;
  text-align: center;
}

.topnav a {
  color: white;
  padding: 14px 16px;
  text-decoration: none;
  font-size: 17px;
  display: block;
  border: white;
  border: white;
  border-width: 1px;
  border-style: solid;
}

.topnav a.icon {
  background: #16002b;
  display: block;
  position: absolute;
  right: 0;
  top: 0;
  transition: 1s;
  
}

.topnav a:hover {
  background-color: #ddd;
  color: black;
}
.active {
  font-family: Tanha;
  color: white;
}
/* End */ 

/* Footer */

footer{
  width: 100%;
  background-color: rgb(189, 189, 189);
}
footer h5{
  margin-bottom: 1.5rem;
}


.telico{
  background: url(../icons/telegram.png);
}
.youtubeico{
  background: url(../icons/youtube.png);
}
.gmailico{
  background: url(../icons/gmail.png);
}
.instaico{
  background: url(../icons/insta.png);
}
.aparatico{
  background: url(../icons/aparat.png);
}
.icona{
  margin: 1rem;
  width: 55px;
  height: 55px;
  border-radius: 50%;
  background-color: black;
  background-size: cover;
  transition: background-color 0.5s;
}

.icona:hover {
  background-color: rgb(146, 1, 146);  
}
/* End */
.maindiv{
    display: flex;
    flex-direction: column;
    align-items: center;
}
.supdiv{
    display: flex;
    flex-direction: column;
    align-items: center;
}
.supdiv h1{
    direction: ltr;
}
.fiv1{
    display: flex;
    max-width: 85rem;
    margin: 1rem;
}

.ddiv1{
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 30rem;
    padding: 10px;
    margin: 1rem;
    border-color: black;
    border-style: solid;
    border-width: 1px;
    border-radius: 10px;
    text-align: center;
}

.ddiv1 h4{
    margin: 1rem;
}




@media screen and (max-width: 600px) {
    .navbar{
      display: none;
    }
    .icona{
      height: 48px;
    }
    .mobile-container{
      display: block;
      direction: ltr;
    }
    .ddiv1{
        width: 100%;
        margin: 0;
        
    }
    .ssdiv{
        display: block;
        margin-bottom: 2rem;
    }
    .fiv1{
        width: 97%;
    }
    .h2d{
        inline-size: 300px;
    }
}