@media screen and (max-width: 1011px) {
    :root {
        --bg-color: #000000;
        --second-bg-color: #202020;
        --text-color: #fff;
        --big-font: :5rem;
        --second-color: #f3e8e8;
        --h2-font: 3rem;
        --p-font: 1.1rem;
        --main-color: #c71585;
        --bg-projects: #1C2222;
        --text-color-light: #948989;
        --text-color-darker: #262424;
    }

    /* Styles for tablets */
    #menu-icon {
        display: block;

    }

    .navbar {
        position: absolute;
        top: -1000px;
        right: 0;
        left: 0;
        height: 60vh;
        flex-direction: column;
        background: var(--bg-color);
        text-align: left;
        transition: all 0.43s ease;

    }

    .navbar a {
        display: block;
        margin: 0 10px;
        font-size: 25px;
        transition: all 0.43s ease;
        color: var(--text-color);
    }

    .navbar a:hover {
        color: var(--main-color);
    }

    .navbar a.active {
        color: var(--text-color);
    }

    .navbar.open {
        top: 100%;
        margin: 0 10px;
        width: 100%;
    }
    #contact-info p{
        font-size: 15px;
        width: 50vh;
      }
}

@media screen and (max-width: 920px) {
    .home-text h1 {
        font-size: 5vh;
        font-weight: 700;
        margin: 0 0 20px;
    }

    .home {
        padding: 230px 0 10% 5%;
        transition: all .43 ease;
    }

    .about {
        grid-template-columns: 1fr;
        padding: 10px;
    }


    .about-image {
        order: 1;
        /* make the image come before the text on smaller screens */
    }

    .about-image img {
        max-width: 100%;
        height: auto;
        width: 100%;
    }

    .about-text {
        text-align: left;
    }

    .about-text p {
        margin-right: 0;
    }

    .li-homee {
        grid-template-columns: 1fr;
        margin: 0 auto;
        transition: all .43s ease;
    }

    .footer {
        margin-left: 0;
        padding: 50px 20px;
    }

    .footer h5 {
        margin-right: 0;
    }

    #cv a {
        display: block;
        margin: 0 auto;
        margin-top: 30px;
    }

    .footer a {
        margin-right: 1px;
    }
  #contact-info p{
    font-size: 15px;
    width: 50vh;
  }
  #contact-info a{
    font-size: 15px;
  
  }
  #cv a{
    padding: 4px;
    margin: auto;
  }
}




@media (max-width: 480px) {
    header.sticky .logo {
        margin-top: 10px;
    }

    header.sticky #menu-icon {
        margin-top: 10px;
    }


    .skills h2 {
        font-size: var(--h2-font);
        line-height: 1;
        text-align: center;
        padding: 5%;
    }

    .home {
        margin-top: 100px;
        background-size: cover;
        background-position: calc(80% + 10px) bottom calc(50% + 30px);
        padding: 100px 10% 60px;
    }



    .skills .skills-flex-container .box {
        flex: 1 1 100%;
        margin-bottom: 40px;
    }

    .skills .skills-flex-container {
        display: flex;
        flex-wrap: wrap;
        gap: 40px;
        width: 100%;
        justify-content: center;
    }

    .logo {
        font-size: 20px;

    }


    @media (max-width: 480px) {

        .portfolio {
            max-width: 90%;
            margin: 0 auto;
        }
    }


    .one {
        font-size: 15px;

    }

    .two {
        font-size: 15px;
        color: #fff;

    }

    .home-text {
        backdrop-filter: blur(2px);
        background-color: rgba(0, 0, 0, 0.1);
        margin-top: 330px;
        width: 100%;
    }



    .home-text h1 {
        font-weight: 700;
        margin: 0 0 20px;
    }


    .li-home li span {
        color: var(--text-color);

    }

    .about {
        margin-top: 70px;
    }

    .about img {
        height: 60vh;
    }

    .skills {
        padding-top: 20px;
    }

    .skills .skills-flex-container .box {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
    }

    .home {
        background-size: contain;
        background-position: center;
        padding: 90px 0px;
        max-height: 70vh;
    }

    .content {
        padding: 0;
        margin: 10px;
    }
    .portfolio .main-text p{
        text-align:justify;
    }

}
@media only screen and (max-width: 480px) {

    .footer {
      padding: 50px 10px;
      margin-left: 0;
    }
  
    .footer h5 {
      margin-bottom: 30px;
    }
  
    #contact-info p {
      width: 100%;
    }
  
    #cv a {
      display: block;
      margin: 0 auto 20px;
    }
  
    .footer a {
      margin-right: 10px;
      font-size: 16px;
    }
  
    #merci {
      margin-top: 30px;
    }
  
    .back-to-top {
      bottom: 10px;
      right: 10px;
      width: 30px;
      height: 30px;
      font-size: 12px;
      padding: 5px 6px;
    }
  
  }
  
@media (min-width:1440px){
    :root {
        --bg-color: #000000;
        --second-bg-color: #202020;
        --text-color: #fff;
        --big-font: 6rem;
        --second-color: #f3e8e8;
        --h2-font: 4rem;
        --p-font: 1.3rem;
        --main-color: #c71585;
        --text-color-light: #948989;
      }
      .home{
        max-height: auto;
        margin-top: 10px;
        padding: 500px 11% 120px;
        margin-top: 80px;
      }
      .logo{
        font-size:50px;
      }
      .navbar a{
        font-size: 17px ;
      }
      .about-image img {
        max-height: 600px;
      }
      #contact-info p{
        width: 80%;
      }
    }