/* 
================ MY PROJECTS SECTION ========================
*/

.my-projects-header{

    margin: 220px auto;
    margin-bottom: 0px;
    text-align: center;

}
.my-projects-header h1{
    display: block;
    margin: auto;
     color: var(--header);
     font-size: 52px;

}
.my-projects{
    width: 100%;
    display: grid;
    grid-template-columns: auto auto auto;
}
.project{
    width: 96%;
    border-radius: 25px;
    min-height: 300px;
    z-index: 1000;
    margin: 20px 10px;
    background-color: var(--bg2);
}

.project-img {
    max-height: 200px;
    transition: max-height 0.8s ease-out;
    overflow: hidden;
}
.project-img img {
    z-index: 100;
    
    width: 100%;
    border-radius: 25px 25px 0 0 ;
}
.project-data h1 {
    font-size: 36px;
}
.project-data h4 {
    color: var(--header);
    margin-bottom: 15px;
}
.project-data p {
    width: 70%;
}
.project-data {
    display: flex;
    padding: 50px;
}
.project-data .left-side {
    width: 65%;
}
.project-data .right-side {
    width: 35%;
}

.tools {
    text-align: left;
    padding: 12px;
    margin-top: 10px;
    border: 1px solid var(--header);
    border-radius: 15px;
    margin-bottom: 10px;
    width: 90%;
    min-height: 100px;
}
.tools span {
    border-radius: 30px;
    background-color: var(--text);
    padding: 6px 15px 7px;
    line-height: 1;
    font-size: 12px;
    display: inline-block;
    color: var(--bg);
    margin-right: 5px;
    margin-top: 5px;
    transition: all 1s ease;
    cursor: pointer;
}
.tools span:hover {
    color: var(--text);
    background-color: var(--bg);
}
.project .right-side {
    margin-top: 25px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}
.right-side h3 {
    font-size: 18px; 
    color: var(--header);
    text-align: left;
}
.right-side a {
    text-decoration: none;
    transition: all 0.5s ease;
    color: var(--text);
    text-align: right;
}
.right-side a i {
    margin-right: 5px;
}
.right-side a:hover {
    color: var(--header);
}
.right-side .sources {
    display: block;
    text-align: center;

}
.right-side .sources-header {
    margin-top: 35px;
}
h1 a {
    text-decoration: none;
    color: var(--text);
}
.year-creation {
    position: absolute;
    bottom: 5px;
    width: 100%;
    margin-top: 15px;
    margin-bottom: 15px;
    text-align: right;
}
.year-creation h3 {
    width: 100%;
    text-align: center;
}
.year-creation span {
    color: var(--text);
}
    /* 
  mobile-tablet version
  */
   @media (max-width: 1800px) {
    .my-projects{
        grid-template-columns: auto auto;
    }
  }
   @media (max-width: 1210px) {
    .my-projects{
        grid-template-columns: auto;
    }
  }
  @media (max-width: 1320px) {
    .my-projects-header{

        margin: 620px auto;
        margin-bottom: 0px;
        text-align: center;
    
    }
  }
    @media (max-width: 600px) {
        .my-projects-header{
    
            margin-top: 660px;
        
        }
        .project-data {
            flex-direction: column;
        }
        .project-data > div {
            width: 100% !important;
        }
        .project-data .left-side > p {
            width: 100% !important;
        }
}
#tooltip{
      position:fixed;          /* follow the viewport, not the page */
      background:var(--bg);
      color:var(--text);
      padding:6px 10px;
      border-radius:5px;
      font-size:14px;
      white-space:nowrap;
      pointer-events:none;      /* ignore mouse */
      opacity:0;
      transition:opacity .15s;
      z-index:9999;
}