body {
  margin: 0;

  background-image: url("../pictures/developer2.png");
  background-color: #cccccc;

  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  opacity: 0.93;
  background-attachment: fixed;
}

.content-container{
  margin:8rem 5% 2% 5%;
}

.extended-container{
  display: flex;
  flex-direction: column;
  align-items: center;
}

.main-content{
  display:flex;
  flex-direction: column;
  align-items: center;
  
  margin-bottom: 6%;
}

.animate_pop_in {
  animation: pop_in 1s cubic-bezier(0, 0.9, 0.3, 1.2) forwards;
  opacity: 0;
}

@keyframes pop_in {
  0% {
    opacity: 0;
    transform: translateY(-4rem) scale(2);
  }
  100% {
    opacity: 1;
    transform: none;
  }
}

.page-title {
  color:white;
  font-size: 3rem;
}

.infos-content {
  display:flex;
  justify-content: center;
  margin-bottom: 2rem;
  flex-wrap: wrap;
}

.card-box{
  display:flex;
  flex-direction: column;
  align-items: center;
  margin:2%;
  width:23%;

  position: relative;
}

.card-image{
  width:99%;
  height:80%
}

.card-text{
  background-color: orange;
  width: 100%;
  height: 20%;
  display:flex;
  align-items: center;
  justify-content: center;
  border: 1px solid black;
  font-size: .9rem;
  color:black;
  padding-top: 10px;
}

.card-text:hover{
  background-color: #dc143c;
  text-decoration: none;
  color: white;
}

.buttons-content {
  display: flex;
  justify-content: center;
  font-size: 1.2rem;
}

.main-button {
  text-decoration: none;
  text-align: center;
  color: black;

  background-color: #fff;
  border-radius: 20px;
  margin: 0 1rem;
  padding: 0.6rem 1rem;
  opacity: 0.8;
}

.main-button:hover {
  text-decoration: none;
  background-color: #dc143c;
  color: white;
  opacity: 1;
  box-shadow: 3px 3px black;
}

.contact-icons {
  display: inline;
  position: absolute;
  top: 93%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.logo {
  width: 50px;
  margin: 0 10px 0 10px;
}

.overlay {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  height: 80%;
  width: 99.5%;
  opacity: 0;
  transition: .5s ease;
  background-color: #008CBA;
}

.card-box:hover .overlay {
  opacity: 1;
}

.overlay-text {
  height:100%;
  color: white;
  font-size: 15px;
  padding:1rem;

  width:100%;
  display: flex;

  flex-direction: column;
  align-items: flex-start;
  align-content: center;

  flex-wrap: wrap;
}

@media only screen 
    and (max-device-width : 420px) 
    and (-webkit-device-pixel-ratio : 3) 
    and (orientation: portrait){ 
    .buttons-content {
        flex-direction: column;
        font-size: 3rem;
    }

    .main-button {
        margin-bottom: 15%;
    }
}