
*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body,h1,h2,h3,h4,h5,h6 {font-family: "Raleway", sans-serif}

body{
    background-color: #050806;   
}

.nav-bar{
    z-index:3;
    width:300px;
    background-image: url('../image/binary-code.png');
    background-repeat: no-repeat;  
    background-size: contain; 
    background-color: #050806;
}

.project-card{  
  padding-bottom: 10px;
  width: 32%;
}

.project-card .hidden-project {
  display: none; 
}

.project-card:hover .hidden-project {
  display: block; 
  background-color: white;
  padding-bottom: 10px;
}


.project-card .hidden-project {
  opacity: 0;
  transition: opacity 0.3s ease-in-out;
}

.project-card:hover .hidden-project {
  opacity: 1;
}

#project-container, #skill-container{
    display: flex;
    flex-wrap: wrap;
    justify-content:flex-start;
    column-gap: 5px;    
}

.counter-container{
  display: flex;
  align-items: center;
  justify-content: center;
}

.counter-elements-container{
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: center;
  color: white;
  margin: 10px 50px;
}

.skills .skills-button .text-skills{
    text-shadow:1px 1px 0 #000; 
    font-weight: larger;
}

.card {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 24px;
  line-height: 1.6;
  transition: all 0.48s cubic-bezier(0.23, 1, 0.32, 1);
}

.content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
  padding: 16px;
  border-radius: 22px;
  color: #ffffff;
  overflow: hidden;
  background: #f20789;
  transition: all 0.48s cubic-bezier(0.23, 1, 0.32, 1);
}

.content::before {
  position: absolute;
  content: "";
  top: -4%;
  left: 50%;
  width: 90%;
  height: 90%;
  transform: translate(-50%);
  background: #f44ea9;
  z-index: -1;
  transform-origin: bottom;

  border-radius: inherit;
  transition: all 0.48s cubic-bezier(0.23, 1, 0.32, 1);
}

.content::after {
  position: absolute;
  content: "";
  top: -8%;
  left: 50%;
  width: 80%;
  height: 80%;
  transform: translate(-50%);
  background: #ef80bd;
  z-index: -2;
  transform-origin: bottom;
  border-radius: inherit;
  transition: all 0.48s cubic-bezier(0.23, 1, 0.32, 1);
}

.content svg {
  width: 48px;
  height: 48px;
}

.content .para {
  z-index: 1;
  opacity: 1;
  transition: all 0.48s cubic-bezier(0.23, 1, 0.32, 1);
}

.content .link {
  z-index: 1;
  color: #fea000;
  text-decoration: none;
  font-family: inherit;
  font-size: 16px;
  transition: all 0.48s cubic-bezier(0.23, 1, 0.32, 1);
}

.content .link:hover {
  text-decoration: underline;
}

.card:hover {
  transform: translate(0px, -16px);
}

.card:hover .content::before {
  rotate: -8deg;
  top: 0;
  width: 100%;
  height: 100%;
}

.card:hover .content::after {
  rotate: 8deg;
  top: 0;
  width: 100%;
  height: 100%;
}



@media only screen and (max-width: 600px) {
  .counter-elements-container {
    margin: 5px 30px;
    font-size: 12px;
  }
}

@media only screen and (min-width: 600px) and (max-width:768px) {
  .counter-elements-container {
    margin: 10px 40px; 
    font-size: 15px;
  }
}