.grid { 
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  grid-gap: 20px;
  align-items: stretch;
  }
.grid > article {
  border: 2px solid #ccc;
  box-shadow: 2px 2px 6px 0px  rgba(0,0,0,0.3);
    padding: 8px 8px;
     background: white;
   background-image: url('../images/cardbg.jpg');
   border-radius: 12px; 
}
.grid > article img {
  max-width: 100%;
}
.textn {
  padding: 0 2px 20px;
  font-style: normal;
  font-weight: normal;
  font-size: 14px;
  text-align: center;
  background-color:#cecece;
}
.textn > button {
  background: gray;
  border: 0;
  color: white;
  padding: 10px;
  width: 100%;
  }
  .text {
  padding: 0 2px 20px;
  font-style: normal;
  font-weight: normal;
  font-size: 14px;
  text-align: center;
  
}
.text > button {
  background: gray;
  border: 0;
  color: white;
  padding: 10px;
  width: 100%;
  }

body {
  font-family: Verdana, sans-serif;
  margin: 15px;
   background-image: url('../images/webhelp.jpg');
   background-attachment: fixed;
   background-size: cover;
}

.row > .column {
  padding: 8px 8px;
}

.row:after {
  content: "";
  display: table;
  clear: both;
}

.column {
  float: left;
  width: 33%;
}

.column4 {
  float: left;
  width: 25%;
  text-align: center;
}
.row4 > .column4 {
  padding: 8px 8px;
  text-align: center;
}

.row4:after {
  content: "";
  display: table;
  clear: both;
}

.column5 {
  float: left;
  width: 20%;
  text-align: center;
}
.row5 > .column5 {
  padding: 8px 8px;
  text-align: center;
}

.row5:after {
  content: "";
  display: table;
  clear: both;
}

.column3 {
  float: left;
  width: 20%;
  text-align: center;
}
.row3 > .column5 {
  padding: 8px 8px;
  text-align: center;

}

.row3:after {
  content: "";
  display: table;
  clear: both;
}


.cursor {
  cursor: pointer;
}

.hover-shadow:hover {
  box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
}
footer {
  text-align: center;
  padding: 3px;
 /* background-color: #dfdfdf;*/
  color: white;
}

.card {
  /* Add shadows to create the "card" effect */
  box-shadow: -4px 4px 6px 1px  rgba(0,0,0,0.8);
  transition: 0.3s;
  text-align: center;
  border-radius: 12px; 
  background-image: url('../images/cardbg.jpg');
}
.center {
  display: block;
  margin-left: auto;
  margin-right: auto;
  width: 50%;
}

.button4 {
  background-color: #38b035; /* Green */
  border: none;
  color: white;
  padding: 6px 4px;
  text-align: center;
  text-decoration: none;
  display: inline-block;
  font-size: 16px;
  margin: 3px 5px;
  cursor: pointer;
  border-radius: 12px;
  box-shadow: -4px 4px 6px 1px  rgba(0,0,0,0.8);
  /*white-space: nowrap;*/
}
.button4:hover {
  background-color: #4675ff; /* Green */
  color: white;
}
.mymodal{
z-index:3;
display:none;
padding-top:20px;
position:fixed;
left:0;
top:0;
width:100%;
height:100%;
overflow:auto;
background-color:rgb(0,0,0);
background-color:rgba(0,0,0,0.4);
}
/* The Modal (background) */
.modal {
  display: none; /* Hidden by default */
  position: fixed; /* Stay in place */
  z-index: 1; /* Sit on top */
  padding-top: 100px; /* Location of the box */
  left: 0;
  top: 0;
  width: 100%; /* Full width */
  height: 100%; /* Full height */
  overflow: auto; /* Enable scroll if needed */
  background-color: rgb(0,0,0); /* Fallback color */
  background-color: rgba(0,0,0,0.9); /* Black w/ opacity */
}

/* Modal Content (image) */
.modal-content {
  margin: auto;
  display: block;
  width: 80%;
  max-width: 700px;
}
/* The Close Button */
.close {
  position: absolute;
  top: 15px;
  right: 35px;
  color: #f1f1f1;
  font-size: 40px;
  font-weight: bold;
  transition: 0.3s;
}

.close:hover,
.close:focus {
  color: #bbb;
  text-decoration: none;
  cursor: pointer;
}


/* 100% Image Width on Smaller Screens */
@media only screen and (max-width: 700px){
  .modal-content {
    width: 100%;
  }
}
 .popPhoto {
border: 0px solid black;
box-shadow: 0 4px 8px 10px rgba(0, 0, 0, 0.6), 0 6px 20px 15px rgba(0, 0, 0, 0.6);  /* horizontal, verticle, blur, spread, color*/
width:100%;
height:auto;
border-radius: 15px;
}
.headspace {
height: 20px;}

.w3d-modal{z-index:2;display:none;padding-top:100px;position:fixed;left:0;top:0;width:100%;height:100%;overflow:auto;background-color:rgb(0,0,0);background-color:rgba(0,0,0,0.4)}
 .pop3d {
border: 0px solid black;
box-shadow: 0 4px 8px 10px rgba(0, 0, 0, 0.6), 0 6px 20px 15px rgba(0, 0, 0, 0.6);  /* horizontal, verticle, blur, spread, color*/
width:100%;
height:auto;
border-radius: 15px;
}

.modal-3dcontent {
  margin: auto;
  display: block;
  width: 80%;
  max-width: 700px;
}

.headspace {
height: 20px;}

/* Container holding the image and the text */
.container {
  position: relative;
  text-align: center;
  color: #000000; /*white*/
}
.fade-out {
	-webkit-animation: fade-out 0.4s ease-out both;
	        animation: fade-out 0.4s ease-out both;
}
 @-webkit-keyframes fade-out {
    0% {
      opacity: 1;
    }
    100% {
      opacity: 0;
    }
  }
  @keyframes fade-out {
    0% {
      opacity: 1;
    }
    100% {
      opacity: 0;
    }
  }
