 *{
     margin: 0;
     padding: 0;
     font-family: "Open Sans",sans-serif;
     box-sizing: border-box;
 }

 .despre{
     min-height: 100vh;
     display: flex;
     align-items: center;
     justify-content: center;
     background: linear-gradient(to right ,#4ecdc4,#556270);
 }

 .about-section{
     background: url(img/102878311_596924380931219_1582356596989193397_n.jpg) no-repeat left;
     width: 100%;
     height: 100%;
     overflow: hidden;
     padding: 100px 0;
     margin-top: 100px;
     background-size: 65%;
 }

 .inner-container{
    width: 55%;
    float: right;
    background: linear-gradient(to bottom ,#00c3ff ,#ffff1c);
    padding: 150px;
 }

 .inner-container h1{
    margin-bottom: 30px;
    font-size: 30px;
    font-weight: 900;
    transform: scale(1);
 }

.inner-container h1:hover{
  transform: scale(1.2);
  transition: 0.3s ease;
}


 .text:hover {
   transform: scale(1.1);
   transition: 0.3s ease;
 }

 .text{
     font-size: 18px;
     color: #545454;
     line-height:20px;
     text-align:justify;
     margin-bottom: 20px;
     font-weight:500;
     color: black;
     transform: scale(1);
 }

.skills{
    display: flex;
    justify-content: space-between;
    font-weight: 700;
    font-size: 13px;
}

@media screen and (max-width:1200px){
    .inner-container{
        padding: 80px;
    }
}

@media screen and (max-width:1000px){
    .inner-container{
        background-size:  100%;
        padding: 80px;
    }
    .inner-container{
        width: 100%;
    }
}

@media screen and (max-width:600px){
    .inner-container{
        padding: 0;
    }
    .inner-container{
        padding: 60;
    }
}

/*navbar*/
body{
    background: rgb(255, 255, 255);
}

body{
    margin: 0;
    font-weight: 500;
}

nav{
    position: fixed;
    z-index: 10;
    left: 0;
    right: 0;
    top: 0;
    font-family: sans-serif;
    padding: 0 5%;
    height: 100px;
    background-color: rgb(255, 255, 255);
  }
  
  nav .logo{
    float: left;
    width: 40%;
    height: 100%;
    display: flex;
    align-items: center;
    font-size: 24px;
    color:rgb(255, 13, 13);
  }
  
  nav .links{
    float: right;
    padding: 0;
    margin: 0;
    width: 40%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
  }
  
  nav .links li{
    list-style: none;
    padding: 0 15px;
  }
  
  nav .links a{
    display: block;
  
    font-size: 16px;
    font-weight: bold;
    color: red;
    text-decoration: none;
  }
  
  #nav-toggle{
    position:absolute;
    top: -100px;
  }
  
  nav .icon-burger{
    display: none;
    position: absolute;
    right: 5%;
    top: 50%;
    transform: translateY(-50%);
  }
  
  nav .icon-burger .line{
    width: 30px;
    height: 5px;
    background-color: red;
    margin: 5px;
    border-radius: 3px;
    transition: all .3s ease-in-out;
  }
  
  @media screen and (max-width: 768px){
    nav .logo{
      float:none;
      width: auto;
      justify-content: center;
    }
    nav .links{
      float: none;
      position: fixed;
      z-index: 9;
      left: 0;
      right: 0;
      top: 100px;
      bottom: 100%;
      height: auto;
      width: auto;
      flex-direction: column;
      justify-content: space-evenly;
      background-color: rgba(0,0,0,.8);
      overflow:hidden;
      transition: all .5s ease-in-out;
    }
  
    nav .links a{
      font-size: 20px;
    }
  
    nav .icon-burger{
      display: block;
    }
  
    nav :checked ~ .links{
      bottom: 0;
    }
  
    nav :checked ~ .icon-burger .line:nth-child(1){
      transform: translateY(10px) rotate(225deg);
    }
  
    nav :checked ~ .icon-burger .line:nth-child(3){
      transform: translateY(-10px) rotate(-225deg);
    }
  
    nav :checked ~ .icon-burger .line:nth-child(3){
      opacity: 0;
    }  
  }
