
*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family:tahoma;
    font-weight: bold;
    list-style: none;
}
body
{
    background-color: #ffffff;
}
a{
    font-size: 0;
    text-decoration: none;
    color: black;
}


/*header---------------------------------------------------------------------------------------------*/
header
{
    background: url(homeImages/head/blueHeader.jpg) no-repeat center center/cover;
    height: 40vh;
    min-height: 220px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: #fff;
    gap: 12%;
    overflow: hidden;
}
#textChange-and-myIcon-box
{
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 8vh;
}
#myIcon
{
    margin-right: 10px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: 2px solid rgb(5, 169, 219);
}
header > p
{
    margin-bottom: 30px;
}
/*skills----------------------------------------------------------------------- */
#skills 
{
    text-align: center;
    margin-top: -30px;
    direction: ltr;
    overflow: hidden;
    display: inline-block;  
    white-space: pre;
    
    background: linear-gradient(90deg, #ff4d4d, #4d79ff, #4dff88, #ffb84d);
    background-size: 200% 100%;
    color: transparent;
    -webkit-background-clip: text;
    background-clip: text;
    animation: gradien-text 1s linear infinite;
}

@keyframes gradien-text 
{
    0%   { filter: hue-rotate(0deg); }
    100% { filter: hue-rotate(360deg); }
}

/*gradient-rects-border-----------------------------------------------------------*/
.gradient-rects-border {
  position: relative;
  border-radius: 24px;
  background: white;
  overflow: visible; /* نمایش لایه بیرونی */
}

.gradient-rects-border .border-rect {
  position: absolute;
  top: -5px;
  left: -5px;
  right: -5px;
  bottom: -5px;
  border-radius: 10px;
  z-index: -1;
}

.gradient-rects-border > *:not(.border-rect) {
  position: relative;
  z-index: 2; /* محتوای داخلی بالای border */
}

/*itmes--------------------------------------------------------------------------------------*/
#itmes-box
{
  display: grid;
  grid-template-columns:repeat(auto-fit,minmax(220px,1fr));
  gap: 15px;
  margin: 15px 20px 15px 20px; 
}
/*Item*/
.item
{
  background-color: #f4f4f4;
  border-radius: 10px;
  box-shadow: 0px 0px 5px 0px rgb(32, 32, 32);
  display: flex;
  flex-direction: column;
  max-width: 400px;
  margin: 10px auto 5px auto;
  transition-duration: 0.4s;
}

/*itemHead*/
.itemHead
{
    background-color: rgb(32, 32, 32);
    display: flex;
    justify-content: right;
    align-items:center ;
}
.itemHead h2
{
    color: #fff;
    font-size: 12px;
    margin-right: 5px;
}
.itemHead img
{
    width: 40px;
    height: 40px;
    padding: 5px;
}
/*item Images*/
.itemImages
{
    display: flex;
    justify-content: center;
    align-items:center ;
}
.itemImages img
{
    width: 49.75%;
}
.itemImageRight
{
    margin-left: .5%;
}
/*item Text*/
.itemDescription
{
   font-weight: 600;
   font-size: 14px;
   padding: 10px;
   text-align: center;
   line-height: 2;
   height: 100%;
}
.spanRed
{
    color: orangered;
}
.spanGreen
{
    color: #11ba04;
}
/*Item btn*/
.itembtn
{
    color: white;
    background-color: #007deb;
    transition-duration: .5s;
    text-align:center;
    border-bottom-left-radius: 5px;
    border-bottom-right-radius: 5px;
    font-size: 15px;
    padding: 10px;
    height: 45px;
}

.itembtn:hover
{
    background-color: rgb(2, 172, 2);
}


/*footer---------------------------------------------------------*/
footer
{
    background-color:#151515;
    display: flex;
    flex-direction: column;
    height: 60px;
}
footer a
{
   direction: ltr;
   text-align: center;
   padding-top: 20px;
}

footer a img
{
    height: 15px;
    margin-right: 3px;
    vertical-align: middle;
}
footer a p
{
    color: white;
    display: inline;
    font-size: 15px;
    vertical-align: middle;
    transition-duration: 0.5s;
}
