
/*Projects*/
body{
/*  font-family: 'Nunito', sans-serif;*/
  font-family: "Oswald", Helvetica, Arial, sans-serif!important;
/*  padding: 50px;*/

}
.card{
  border-radius: 4px;
  background: #fff;
  box-shadow: 0 6px 10px rgba(0,0,0,.08), 0 0 6px rgba(0,0,0,.05);
/*  transition: .3s transform cubic-bezier(.155,1.105,.295,1.12),.3s box-shadow,.3s -webkit-transform cubic-bezier(.155,1.105,.295,1.12);*/
  padding: 14px 16px 12px 16px;
/*  cursor: pointer;*/
  opacity: 0.9; /* Set opacity value */
  justify-content: center;
}

/*.card:hover{
     transform: scale(1.0);
  box-shadow: 0 10px 20px rgba(0,0,0,.12), 0 4px 8px rgba(0,0,0,.06);
}
*/
/*.card h4{
  font-weight: 600;
}*/

.card img{
  position: absolute;
  top: 20px;
  right: 15px;
  max-height: 120px;

}


.card-4{
  background-image: url('../images/components-card.png');
  padding-left: 0; /* Remove default left padding */
  margin-left: 0; /* Remove default left margin */
  padding-left: 2em;
  padding-right: 0.5em;
  background-repeat: no-repeat;
  background-position: right;
  background-size: 80px;
}

.card-5{
  display: flex;
  border-radius: 4px;
  background: #fff;
  box-shadow: 0 6px 10px rgba(0,0,0,.09), 0 0 6px rgba(0,0,0,.09);
  opacity: 0.7; 
  justify-content: center;
  height: 3.1em;
}

.custom-h4 {
  text-align: center;
  margin-top: 0.5em;
}


@media(max-width: 92%){
  .card{
    margin: 20px;
  }
} 

#row-one {
  display: flex;
  justify-content: center;
}

#row-two {
  display: flex;
  justify-content: center;
}

.section-title {
  margin-top: 100px;
}
h4 {
  text-align: center;
}




/* Image with a transparent (see-through) background text*/

/*tets*/
/**,
*:before,
*:after {
  box-sizing: border-box;
}

* {
  -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
  transform-style: preserve-3d;
}
*/
*:focus {
  outline: none !important;
}

/*body,
html {
  height: 100%;
}

body {
  height: 100%;
}*/

.photo-grid {
  position: relative;
  font-style: italic;
}
.photo-grid ul {
  display: grid;
  grid-template-columns: 1fr;
  list-style: none;
}
.photo-grid ul li {
  width: 95%;
  padding: 0.3em 0.1em;
  overflow: hidden;
}
.photo-grid figure,
.photo-grid picture,
.photo-grid img {
  /* display: block; */
  max-width: 100%;
}
.photo-grid figure {
  position: relative;
}
.photo-grid figcaption {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}
.photo-grid fieldset {
  display: flex;
  align-items: flex-end;
  justify-content: flex-end;
  width: 100%;
  height: 100%;
  padding: 3px;
}
.photo-grid .photo-close {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 1;
  width: 100%;
  height: 100%;
}
.photo-grid label,
.photo-grid .photo-link {
  cursor: pointer;
}
.photo-grid .photo-link {
  will-change: opacity;
  display: block;
  position: relative;
  z-index: 1;
  padding: 3px;
}
.photo-grid .icon {
  display: block;
  width: 25px;
  height: 25px;
}
.photo-grid .icon group,
.photo-grid .icon path,
.photo-grid .icon polyline,
.photo-grid .icon polygon,
.photo-grid .icon circle,
.photo-grid .icon ellipse,
.photo-grid .icon rect {
  fill: none;
  fill-rule: evenodd;
  stroke: rgb(42, 186, 243);
  stroke-width: 9px;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.photo-grid input {
  display: none;
}
.photo-grid input ~ label.photo-link {
  display: none;
}
.photo-grid input:checked ~ dl {
  transform: none;
  opacity: 1;
  z-index: 2;
}
.photo-grid input:checked ~ .photo-close {
  z-index: unset;
}
.photo-grid input:checked ~ label.photo-link {
  opacity: 0;
}
.photo-grid dl {
  transform: translateY(25%);
  opacity: 0;
  z-index: 0;
  transition: all 0.3s ease-out;
  will-change: opacity, transform;
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 12px;
  font-size: 14px;
/*  font-size: 24px;*/
  color: white;
  background-color: rgba(17, 23, 26, 0.7);
}
.photo-grid dl label,
.photo-grid dl .photo-link {
  position: absolute;
  right: 0;
  z-index: 1;
  padding: 6px;
}
.photo-grid dl label {
  top: 0;
}
.photo-grid dl .photo-link {
  bottom: 0;
}
.photo-grid dl div {
  position: relative;
  z-index: 0;
}
.photo-grid dl dt,
.photo-grid dl dd {
  display: inline;
}
.photo-grid dl dt {
  opacity: 0.7;
  font-weight: bold;
}
.photo-grid dl dt:after {
  content: ": ";
}

@supports (-webkit-backdrop-filter: blur(10px)) {
  .photo-grid dl {
    background-color: rgba(17, 23, 26, 0.4);
    -webkit-backdrop-filter: blur(5px);
    backdrop-filter: blur(5px);
  }
}
@media only screen and (min-width: 600px) {
  .photo-grid input ~ label.photo-link {
    opacity: 0;
  }
  .photo-grid li:hover input ~ label.photo-link {
    opacity: 1;
  }
  .photo-grid li:hover input:checked ~ label.photo-link {
    opacity: 0;
  }
  .photo-grid input ~ label.photo-link {
    display: block;
  }
}
@media only screen and (min-width: 600px) {
  .photo-grid ul {
    grid-template-columns: 1fr 1fr;
  }
}
@media only screen and (min-width: 2000px) {
  .photo-grid ul {
    grid-template-columns: 1fr 1fr 1fr;
  }
}
@media only screen and (min-width: 3000px) {
  .photo-grid ul {
    grid-template-columns: 1fr 1fr 1fr 1fr;
  }
}


.container-projects {
  justify-content: center;
  margin: 0 20px;     /* Center the row */
  align-items: center;     /* Vertically center the content */
  padding: 0.5%;
}
