.project{
    padding-top: 5px;
    padding-bottom: 90px;
    padding-right: 0;

}

.box { 
    position: relative;
    margin-top: 50px;
    width: 400px;
    height: 300px;
    left: 0;
    margin-left: auto;
    margin-right: auto;

  }
  
.box img {
    position: absolute;
    width: 500px;
    height: 300px;
    border: solid 3px #0c6da2;
    border-radius: 10px;
    padding-bottom: 20px;

  }
  
  .projecttitle {
    position: absolute;
    width: 325px;
    font-weight: 800;
    font-size: 22px;
    text-align: center;
    text-transform: uppercase;
    color:white;
    background-color: #0c6da2;
    border: 1px solid;
    border-color: seashell;
    border-radius: 5px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    transition: top .5s ease;
  }
  
  .box:hover .projecttitle {
    top: 90px;
  }
  
  .projectbtn {
    font-size: 1em;
    position: absolute;
    width: 300px;
    top: 90%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    opacity: 0;
    cursor: pointer;
    transition: opacity .35s ease;
  }
  
  .projectbtn a {
    width: 500px;
    padding: 12px 48px;
    text-align: center;
    font-size: 20px;
    color:#0c6da2;
    border: solid 2px #0c6da2;
    border-radius: 50px;
    background-color: seashell;
    text-decoration: none;
  }

  .projectbtn a:hover{
      color:white;
      background-color: #0c6da2;
      border-color: white;
  }
  
  .box:hover .projectbtn {
    opacity: 1
  }
  
  
  .overlay {
    position: fixed;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.7);
    transition: opacity 500ms;
    visibility: hidden;
    opacity: 1;
    z-index: 90;
   
  }
  .overlay:target {
    visibility: visible;
    opacity: 1;
  }
  
 
  .popup {
    margin: 70px auto;
    padding: 20px;
    background: #fff;
    border-radius: 5px;
    width: 70%;
    height: 70%;
    position: relative;
    transition: all 0.5s ease-in-out;
    z-index: 9;
  }
  
  .popup h2 {
    margin-top: 0;
    color: #333;
    font-family: Tahoma, Arial, sans-serif;
  }
  
  
  .popup .close {
    position: absolute;
    top: 20px;
    right: 30px;
    transition: all 400ms;
    font-size: 30px;
    font-weight: bold;
    text-decoration: none;
    color: #333;
    overflow: hidden;
  }
  .popup .close:hover {
    color: crimson;
  }
  .popup .discription {
    padding-top: 5px;
    max-height: 100%;
    overflow: auto;
    line-height: 1.3em;
  }
  
  @media screen and (max-width: 600px){
    .box{
      width: 100%;
    }
    .popup{
      width: 100%;
    }
}




/*Certificate button*/
.certbtn {
  font-size: 1em;
  position: absolute;
  width: 300px;
  bottom:5%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  opacity: 1;
  cursor: pointer;
  transition: opacity .35s ease;
}

.certbtn a {
  width: 500px;
  padding: 12px 48px;
  text-align: center;
  font-weight: 20px;
  color:black;
  border: solid 2px #0c6da2;
  text-decoration: none;
}

.certbtn a:hover{
    color:white;
    background-color: #0c6da2;
    border-color: white;
}

.box:hover .certbtn {
  opacity: 1
}


/*Zoom on hover*/
.imgzoom {
  padding: 20px;
  transition: transform .1s;
  width: 400px;
  height: 400px;
  margin: 0 auto;
  align-items: center;
}

.imgzoom:hover {
  -ms-transform: scale(2); /* IE 9 */
  -webkit-transform: scale(2); /* Safari 3-8 */
  transform: scale(2); 
}