.background-image {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('images/background-v2.png');
    background-size: cover;
    background-position: center;
    z-index: -1;
  }
.title{
    color: rgb(255, 246, 0);
    font-size: 150%;
    display: flex;
    align-items: center;
    flex-flow: column ;
    font-family: "Doto", sans-serif;
    font-optical-sizing: auto;
    font-weight: weight;
    font-style: normal;
    font-variation-settings:"ROND" 0;
}
.web-developer{
    margin-top: -0.5em;
}
.marge{
    background-color: black;
    color: white;
    display: flex;
    justify-content: space-around;
    font-family: 'Roboto Condensed', sans-serif;
    text-transform: uppercase;
    font-weight: 400;
    font-style: normal;
    position: relative;
    max-width: auto;
    max-height: 5em !important;
}
a{
    color: white;
}
p{  
    text-align: center;
    color: white;
    font-family: "Sono", monospace;
    font-optical-sizing: auto;
    font-weight: weight;
    font-style: normal;
    font-variation-settings:"MONO" 1;
}
/* Card */
main {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 50px;
    font-family: 'Roboto', sans-serif;
  }
  
  .container {
    display: flex;
    flex-wrap: wrap; 
    justify-content: space-evenly;
    padding-bottom: 2%;
    padding-top: 2%;
  }
  
  .card {
    width: 24rem;
    height: 36rem;
    border-radius: 10px;
    overflow: hidden;
    cursor: pointer;
    position: relative;
    color: white;
    box-shadow: 0 10px 30px 5px rgba(0, 0, 0, 0.2);
    margin: 10px;
  }
  .card img {
    position: absolute;
    object-fit: cover;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    opacity: 0.9;
    transition: opacity .2s ease-out;
  }
  
  .card-content {
    position: absolute;
    inset: 0;
    background-color: rgba(0, 0, 0, 0.5);
    padding: 20px;
    color: white;
    border-radius: 10px;
    z-index: 1;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;  
    
  }
  
  h2 {
    position: absolute;
    inset: auto auto 20px 20px;
    margin: 0;
    transition: inset .3s .3s ease-out;
    font-family: 'Roboto Condensed', sans-serif;
    font-weight: normal;
    text-transform: uppercase;
    text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.7);
  }
  
  .card p a
    {
    position: absolute;
    opacity: 0;
    max-width: 80%;
    transition: opacity .3s ease-out;
    text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.7);
  }
  
  .card p {
    inset: auto auto 80px 30px;
    font-size: 1.2rem;
    color: white;
    opacity: 0;
  }
  
  .card a {
    overflow: hidden;
    inset: auto auto 40px 30px;
    color: inherit;
    text-decoration: none;
    font-size: 1rem;
    text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.7);
    opacity: 0;
  }
  
  .card:hover h2 {
    inset: auto auto 485px 30px;
    transition: inset .3s ease-out;
  }
  .card:hover p,
  .card:hover a {
    opacity: 1;
    transition: opacity .5s .1s ease-in;
  }
  
  .card:hover img {
    transition: opacity .3s ease-in;
    opacity: 1;
  }
  @media (max-width: 768px) {
    .card {
      width: 18rem;
      height: 28rem;
      font-size: 0.8rem;
        p{
            font-size: 0.9rem;
        }
    }
    .card:hover h2 {
        inset: auto auto 225px 30px;
      }

}
/* From Uiverse.io by Creatlydev */ 
.btn-github {
    cursor: pointer;
    display: flex;
    gap: 0.5rem;
    border: none;
  
    transition: all 0.5s cubic-bezier(0.165, 0.84, 0.44, 1);
    border-radius: 100px;
    font-weight: 800;
    place-content: center;
  
    padding: 0.75rem 1rem;
    font-size: 0.825rem;
    line-height: 1rem;
  
    background-color: rgba(0, 0, 0, 0.4);
    box-shadow:
      inset 0 1px 0 0 rgba(255, 255, 255, 0.04),
      inset 0 0 0 1px rgba(255, 255, 255, 0.04);
    color: #fff;
  }
  
  .btn-github:hover {
    box-shadow:
      inset 0 1px 0 0 rgba(255, 255, 255, 0.08),
      inset 0 0 0 1px rgba(252, 232, 3, 0.08);
    color: #fce803;
    transform: translate(0, -0.25rem);
    background-color: rgba(0, 0, 0, 0.5);
  }
  
/*About me */
.about{
    display: flex;
    flex-direction: column;
    img{
        border-radius: 10%;
    }
}
.me{
    display: flex;
    padding-left: 5%;
    padding-right: 5%;
    padding-top: 1%;
    img{
        width: 30%;
        height: 50%;
    }
}
.text-me{
    display: flex;
    text-align: center;
    flex-direction: column;
    justify-content: center;
}
.graduation{
    display: flex;
    padding-left: 5%;
    padding-right: 5%;
    padding-top: 3%;
    flex-direction: row-reverse;
    img{
        width: 30%;
        height: 50%;
    }
}
.text-graduation{
    display: flex;
    text-align: center;
    flex-direction: column;
    justify-content: center;
}
.languages{
    display: flex;
    padding-left: 5%;
    padding-right: 5%;
    padding-top: 6%;
    img{
        width: 25%;
        
    }
}
.text-languages{
    display: flex;
    text-align: center;
    flex-direction: column;
    justify-content: center;
}
.passion{
    display: flex;
    padding-left: 5%;
    padding-right: 5%;
    padding-top: 3%;
    flex-direction: row-reverse;
    img{
        width: 30%;
        height: 50%;
    }
}
.text-passion{
    display: flex;
    text-align: center;
    flex-direction: column;
    justify-content: center;
}
/*Contacts*/
.contacts{
    padding-top: 2%;
    display: flex;
    justify-content: center;
    flex-direction: column;
}
.img{
    padding-left: 14%;
    display: flex;
    flex-direction: row;
    justify-content: center;
}

/*media quaries*/
@media screen and (max-width: 321px)  {
    .marge{
        h1{
            font-size: 110%;
        }
    }
    .card{
        width: 15rem;
        height: 25rem;
        margin-left: 7em;
    h2{
        font-size: 0.6rem;
    }
    p{
        font-size: 0.6rem;
    }
    a{
        font-size: 0.6rem;
    }  
    }
    .card:hover h2 {
        inset: auto auto 170px 30px;
      }
}
@media  screen and (max-width:376px) and (min-width: 321px) {
    .marge{
        h1{
        font-size:110%;
        }
    }
    a {
        font-size: 0.8rem;
    }
    .card h2{
        font-size: 0.5rem;
    }
    .card{
        width: 15rem;
        height: 25rem;
        margin-left: 3em;
    p{
        font-size: 0.5rem;
    }
    a{
        font-size: 0.6rem;
    }  
    }
    .card:hover h2 {
        inset: auto auto 170px 30px;
      } 
    h1{
        font-size: 110%;
    }
    
    .title{
        font-size: 125%;
    }
    .texts p{
        font-size: 75%;
    }
}
@media screen and (max-width:426px) {
    .texts{
        font-size:70%
    }
    h1{
        font-size: 140%;
    }
    
    .card{
        width: 15rem;
        height: 25rem;
    h2{
        font-size: 0.7rem;
    }
    p{
        font-size: 0.5rem;
    }
    a{
        font-size: 0.7rem;
    }  
    }
    .card:hover h2 {
        inset: auto auto 170px 20px;
      }
    .about{
        .me{
            display: flex;
            flex-wrap: wrap;
        }
        .graduation{
            padding-top: 7%;
            display: flex;
            flex-wrap: wrap-reverse;
        }
        .languages{
            display: flex;
            flex-wrap: wrap;
        }
        .passion{
            padding-top: 7%;
            display: flex;
            flex-wrap: wrap-reverse;
        }
        img{
            width: 80%;
        }
    }
    .card{
        width: 8rem;
        height: 14rem;
        margin-right: 10px;
    }
    .container{
        display: flex;
        justify-content: space-between;
    }
    .card-content{
            font-size: 30%;  
}
}

@media screen and (max-width:1025px) {
    .card{
        display: flex;
        flex-wrap: wrap;
    }
    
}
@media screen and (max-width:579px ) and (min-width: 427px) {
    a {
        font-size: 0.8rem;
    }
    .card h2{
        font-size: 1.2rem;
    }
    .card{
        width: 15rem;
        height: 25rem;
        margin-left: 3em;
        
    }
    h1{
        font-size: 110%;
    }
    .title{
        font-size: 125%;
    }
    .texts p{
        font-size: 75%;
    }
}
@media screen and (max-width:667px) {
    .marge{
        font-size: 70%;
    }
}
