@font-face {
  font-family: "vazir";
  src: url("fonts/vazir-font-v16.1.0/Vazir-Medium.woff") format("truetype");
}

* {
  box-sizing: border-box;
  padding: 0;
  margin: 0;
  font-family: "Vazir";
  line-height: 1.6rem;

}

:root {
  --main-bg-color: #B9D7EA;
  --main-body-color: #D6E6F2;
  --body-items-color: #769FCD;
  --a-color: #03045e;
  --text-color-w: #fff;

}
html{
  background: #F7FBFC;
}
/* heder  */

.container {
  width: 1080px;
  padding: 0 10px;
  margin: 0 auto;
}
#container{
  display: flex;
  justify-content: center;
  align-items: flex-start;  

}
.navbar {
  height: 100px;
  background: var(--main-bg-color);
  border-radius: 15px;
  position: fixed;
  top: 0;
  z-index: 99;
  overflow: hidden;
}

.flex-center {
  align-items: center;
  flex-wrap: nowrap;
  justify-content: center;
}

.d-flex {
  display: flex;

}

.menu {}

.header {}

.logo-image {
  width: 200px;
  overflow: hidden;

}

a {
  text-decoration: none;
  color: #000;
  text-wrap: nowrap;
}


a:hover{
  color: 0077b6;
}

li {
  padding: 0 13px;
  list-style: none;
}

.menu-li_link {
  display: inline-block;
  height: 40px;
  line-height: 40px;
}



/* body */
.d-inline-block {
  display: inline-block;
}

.text-ac {
  text-align: center;
}

.border-r10 {
  border-radius: 10px;
}

.main {
  
  margin: 25px 0;
  margin-top: 120px;
}
.color-shadow{
  color: #3f3f3f;
}
/* aside */
.aside {
  width: 25%;
  padding-left: 5%;
  margin-left: calc(40px - 15px);
  /* height: 100%; */
  background-color: var(--main-body-color);
  text-align: start;
  padding: 10px;

}

.svg-top{
  width: 27px;
  height: 27px;
  margin-right: 10px;
  padding: 3px;
transition: 0.25s;
}
.svg-top:hover{
  border: var(--body-items-color) 1px solid;
  border-radius: 50%;
}
.sign-link {
  color: var(--a-color);

}
.navbarRight{
margin-top: 25px;

}
.menu-li_right{
display: none;
}
/* article */

.article {
  width: 70%;
  background-color: var(--main-body-color);
  padding: 15px;
  text-align: right;
}
.article-title{
line-height: 2.5rem;
margin: 15px 0;
}
.article-text{

}
.category-item_llink{
  text-wrap: wrap;
  font-size: 0.9rem;
color: var(--a-color);
}

.link-site{
  color: var(--a-color);
  font-size: 1.1em;
  transition: 0.2s;
}
.link-site:hover{
  font-size: 1.15em;
  color: var(--body-items-color);
}
.link-site:hover  .web-icon{
  width: 25px;
  height: 25px;
}

/* footer */

footer {
  display:grid;
  /* grid-template-rows: 1fr 10rem auto; */
  grid-template-areas:"main" "." "footer";
  overflow-x:hidden;
  background: #F7FBFC;
  /* min-height:; */
  max-width: inherit;
  font-family: 'Open Sans', sans-serif;
  .footer {
    margin-top: 100px;
      z-index: 1;
      --footer-background:var(--body-items-color);
      display:grid;
      position: relative;
      grid-area: footer;
      min-height:12rem;
      .bubbles {
          position: absolute;
          top:0;
          left:0;
          right:0;
          height:1rem;
          background:var(--footer-background);
          filter:url("#blob");
          .bubble {
              position: absolute;
              left:var(--position, 50%);
              background:var(--footer-background);
              border-radius:100%;
              animation:bubble-size var(--time, 4s) ease-in infinite var(--delay, 0s),
                  bubble-move var(--time, 4s) ease-in infinite var(--delay, 0s);
              transform:translate(-50%, 100%);
          }
      }
      .footer-content {
        text-align: center;
          z-index: 2;
          padding:2rem;
          background:var(--footer-background);
          a, p {
              color:var(--text-color-w);
              text-decoration:none;
          }
          b {
              color:white;
          }
          p {
              margin:0;
              font-size:1rem;
          }
          >div {
              display:flex;
              flex-direction:column;
              justify-content: center;
              >div {
                  margin:0.25rem 0;
                  >* {
                      margin-right:.5rem;
                  }
              }
              .image {
                  align-self: center;
                  width:4rem;
                  height:4rem;
                  margin:0.25rem 0;
                  background-size: cover;
                  background-position: center;
              }
          }
      }
  }
}

@keyframes bubble-size {
  0%, 75% {
      width:var(--size, 4rem);
      height:var(--size, 4rem);
  }
  100% {
      width:0rem;
      height:0rem;
  }
}
@keyframes bubble-move {
  0% {
      bottom:-4rem;
  }
  100% {
      bottom:var(--distance, 10rem);
  }
}

.top-container{
  height: 50px;
  width: 50px;
  margin: 0 auto;

}

.d-none{
  display: none;
}

/* responsive */


@media only screen and (max-width: 1080px) {
  .container{
    max-width: 768px;
  }
  .navbar .menu{
    display: none;
  }
  .navbar{
    width: 748px;
  }

  .menu-li_right {
    display: block;


  }
  .menu-li_link {
    width: 100%;
    padding: 5px 10px;
    line-height: 40px;
    border: 1px solid var(--body-items-color);
    border-radius: 11px;
    margin: 5px 2px;
    color: var(--text-color-w);
    background: var(--main-bg-color);
  }
  .aside{
    width: 35%;
    top: -1452px;
  }
  .article {
    width: 60%;
  }
  .aside{
    display: block;}
}

@media only screen and (max-width: 788px) {
  .container{
    max-width: 567px;
  }
  .navbar .menu{
    display: none;
  }
  .navbar{
    width: 547px;
  }
#container{
  flex-direction: column;
}
  .menu-li_right {
    display: block;

  }
  .aside{
    display: block;
    width: 100%;
    position: static;
    margin-bottom: 35px;


  }
  .article {
    display: block;
    width: 100%;
  }
  .menu-li_link {
width: max-content;
  }
  .menu-li_right{
    display: inline-block;
    margin: 0;
    padding: 0;
  }
    
}
@media only screen and (max-width: 607px) {
  .container{
    max-width: 480px;
  }
  .navbar{
    width: 460px;
  }
  html{
    font-size: 14px;
  }
}
@media only screen and (max-width: 520px) {
  html{
    font-size: 14px;
  }
  .container{
    max-width: 95vw;
    /* padding: 11px; */
  }
  .navbar{
    width: auto;
    top: 0;
    left: 0;
    right: 0;
  }
  html{
    font-size: 12px;
  }
}

@media only screen and (max-width: 430px) {

}
