.card {
  width: 400px;
  height: 180px;
  background-color: 439592;
  text-align: center;
  border-radius: 20px;
  transition: 0.5s;
}

.card:hover {
  height: 254px;
}

.icon {
  width: 120px;
  height: 120px;
  color: red;
  font-size: 30px;
  background-color: #eee;
  margin: 20px auto;
  padding: 5px;
  border-radius: 50%;
  background-size: cover;
}

#langCplusplus .icon {
  background-image: url(../img/comptetences/c++.jpg);
  background-position: -20px;
}

#langC .icon {
  background-image: url(../img/comptetences/langage-c-popularite.jpg);
  background-position: 17px;
}

#linux .icon {
  background-image: url(../img/comptetences/linux.png);
  background-position: -30px;
}

#bash .icon {
  background-image: url(../img/comptetences/bash.jpg);
  background-position: -67px;
}

#programmation {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
}

#symfony .icon {
  background-image: url(../img/comptetences/Symfony-PHP-framework-4.jpg);
  background-size: 300%;
  background-position: -129px;
  background-position-y: -39px;
}

.content {
  color: black;
  background-color: #eee;
  padding: 10px;
  margin: 5px 20px;
  border-radius: 8px;
  transform: translateY(-80px) scale(0);
  transition: all 0.5s;
}

.card:hover .content {
  transform: translateY(0) scale(1)
}

.content h3 {
  text-shadow: 2px 2px 0px #fff;
}

h1{
  color: white;
}

@media screen and (min-width: 1000px) {
  
  #programmation {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    height: 800px;
  }

  #os {
    display: flex;
    justify-content: center;
    height: 400px;
  }

} 

@media screen and (max-width: 1000px) {

  #programmation {
    display: flex;
    justify-content: center;
    gap: 130px;
    flex-wrap: wrap;
    
  }

  #os {
    display: flex;
    justify-content: center;
    height: 400px;
  }

}