@font-face {
  font-family: 'Estedad';
  src: url(EstedadMDM4.ttf) format('truetype'),url(EstedadMDM4.woff2) format('woff2');
}

/*
 * Globals
 */
h3, h2 {
  font-weight: 600;
}

/* Links */
a,
a:focus,
a:hover {
  color: #fff;
}

/* Custom default button */
.btn-secondary,
.btn-secondary:hover,
.btn-secondary:focus {
  color: #333;
  text-shadow: none; /* Prevent inheritance from `body` */
  background-color: #fff;
  border: .05rem solid #fff;
}


/*
 * Base structure
 */

html,
body {
  text-align: right;
  height: 100%;
  /*background-color: #333;*/
  background-image: url("/images/bg-dark-2-low.jpg");
  background-size: cover;
  font-family: 'Estedad','Vazir', sans-serif;
}

body {
  display: -ms-flexbox;
  display: flex;
  color: #fff;
  /* text-shadow: 0 .05rem .1rem rgba(0, 0, 0, .5); */
  box-shadow: inset 0 0 5rem rgba(0, 0, 0, .5);
}

.cover-container {
  max-width: 42em;
}


/*
 * Header
 */
.masthead {
  margin-bottom: 2rem;
}

.masthead-brand {
  margin-bottom: 0;
}

.nav-masthead .nav-link {
  padding: .25rem 0;
  font-weight: 700;
  color: rgba(200, 200, 200, 1);
  background-color: transparent;
  border-bottom: .25rem solid transparent;
}

.nav-masthead .nav-link:hover,
.nav-masthead .nav-link:focus {
  border-bottom-color: rgba(255, 255, 255, .25);
}

.nav-masthead .nav-link + .nav-link {
  margin-right: 1rem;
}

.nav-masthead .active {
  color: #fff;
  border-bottom-color: #fff;
}

@media (min-width: 48em) {
  .masthead-brand {
    float: right;
  }
  .nav-masthead {
    float: left;
  }
}


/*
 * Cover
 */
.cover {
  padding: 0 1.5rem;
}
.cover .btn-lg {
  padding: .75rem 1.25rem;
  font-weight: 700;
}


/*
 * Footer
 */
.mastfoot {
  color: rgba(255, 255, 255, .5);
}

input, button {
    margin: 5px;
}

.dropdown-item
{
  text-align: right;
}
.telegram-float {
  position: fixed;
  bottom: 20px;
  left: 40px;
  display: flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  padding: 8px 12px;
  border-radius: 999px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.2);
  transition: all 0.3s ease;
  z-index: 9999;
  width: 100px;
  overflow: hidden;
}

.telegram-float:hover {
  width: 250px; 
  background: #007ab8;
}

.telegram-icon {
  width: 60px;
  height: 60px;
  flex-shrink: 0;
}

.telegram-text {
  white-space: nowrap;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.telegram-float:hover .telegram-text {
  opacity: 1;
}
