/* variables for colors */

:root {
  --highlight-color1: #007264;
  --highlight-color2: #005234;
  --white-color: #fff;
  --text-color: #7f7f7f;
  --dark-bg-color: #2e2e2e;
  --light-bg-color: #fff;
  --gray-bg-color: #666;
}

* {
  margin: 0;
  padding: 0;
  border-radius: 5px;
  box-sizing: border-box;
}
.Cover {
 background-image: url("graphics/vesuvius.jpg");
 background-repeat: no-repeat;
 background-size: cover;
 background-color: #000;
}

.White {
    color: white;
}
.Center {
    text-align: center;
    align-items: center;
    justify-content: center;
}

.Large {
    font-size: 3.5vw;
}
.Medium {
    font-size: 2.5vw;
}
.Small {
    font-size: 1.1vw;
}
.Smaller {
    font-size: .95vw;
}

table {
    margin: 0 auto 0 auto; /* or margin: 0 auto 0 auto */
  table-layout: auto;
  width: 100%;
  }
  
td {
    padding: 0 6px;
  }

/* Buttons */
.myButton1 {
	box-shadow:inset 0px 10px 14px -7px #276873;
	background:linear-gradient(to bottom, #599bb3 5%, #408c99 100%);
	background-color:#599bb3;
	border-radius:4px;
	border:1px solid #29668f;
	display:inline-block;
	cursor:pointer;
	color:#ffffff;
	font-family:Arial;
	font-size:11px;
	font-weight:bold;
	padding:4px 12px;
	margin: 3px;
	text-decoration:none;
	text-shadow:0px 2px 0px #3d768a;
}
.myButton1:hover {
	background:linear-gradient(to bottom, #408c99 5%, #599bb3 100%);
	background-color:#408c99;
}
.myButton1:active {
	position:relative;
	top:1px;
}

/* services section */

.services-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(225px, 1fr));
/*  grid-template-rows: repeat(5, 150px); */
grid-template-rows: minmax(50px, max-content)
                       repeat(auto-fill, 100px);
  grid-gap: 5px;
  margin: 5px;
}

.cell {
  background: var(--highlight-color1);
  text-align: center;
  color: var(--white-color);
  padding: 10px;
}

.cell h3 {
  font-size: 20px;
}

.cell p {
  line-height: 1.4em;
}

.cell-1 {
  grid-column: 1/3;
  grid-row: 1/3;
  padding: 10px;
  font-size: .9em;
}

.cell-1 p,
.cell-4 p {
  font-size: 20px;
  line-height: 1.4em;
}

.cell-1 h3,
.cell-4 h3 {
  font-size: 30px;
}

.cell-1:hover p,
.cell-1:hover h3 {
  opacity: 0;
  transition: 1000ms;
}

.cell-2 h3,
.cell-2 p {
  opacity: 0;
}

.cell-2:hover {
  background: var(--highlight-color1);
}

.cell-2:hover h3,
.cell-2:hover p {
  opacity: 1;
  transition: 1000ms;
}

.cell-3 h3,
.cell-3 p {
  opacity: 0;
}

.cell-3:hover {
  background: var(--highlight-color1);
}

.cell-3:hover h3,
.cell-3:hover p {
  opacity: 1;
  transition: 1000ms
}

.cell-4 {
  grid-column: 3/5;
  grid-row: 2/4;
  padding: 10px;
  background: var(--highlight-color2);
}


.cell-4:hover p,
.cell-4:hover h3 {
  opacity: 0;
  transition: 1000ms;
}

.cell-5 {
  grid-column: 1/3;
  grid-row: 3/3;
  padding: 10px;
}

.scroll {
    overflow-y:scroll;
}

.cell-5 h3,
.cell-5 p {
  opacity: 0;
}

.cell-5:hover {
  background: var(--highlight-color1);
}

.cell-5:hover h3,
.cell-5:hover p {
  opacity: 1;
  transition: 1000ms;
}

.cell-6 {
  grid-column: 1/5;
  grid-row: 4/5;
  padding: 10px;
}

.cell-6 p,
.cell-6 h3 {
  opacity: 0;
}

.cell-6:hover {
  background: var(--highlight-color1);
}

.cell-6:hover p,
.cell-6:hover h3 {
  opacity: 1;
  transition: 1000ms;
}

#services-section {
  text-align: center;
  margin-top: 30px;
  max-width: 900px;
  margin: 30px auto;
}

.services-title {
  font-size: 2em;
  text-shadow: 1px 1px var(--text-color);
  color: var(--highlight-color1);
}

@media screen and (max-width: 768px) {
  .services-container {
    grid-template-columns: 1fr;
     grid-template-rows: repeat(4, 250px);
  }
  .services-container > div{
     grid-column: auto;
     grid-row: auto;
  }
  .Small {
    font-size: 3.0vw;
}
}