body {
  font-family: Verdana, sans-serif;
  margin: 10;
}

.head {
  position:relative;
  margin: auto;
}

.htxt {
  text-align: center;
  color: #fff;
  position: absolute;
  top:50%;
  left:50%;
  transform:translate(-50%,-50%);
  -ms-transform:translate(-50%,-50%);
}

.htxt h1 {
  padding:20px 30px;
  background-color: white;
  color: #000;
  font-size: 24px;
  opacity:0.75;
  border-radius:4px;
  box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
}

.htxt p {
    display:none;
  }

@media only screen and (min-width: 768px) {
.htxt h1 {
  font-size: 40px;
  }
.htxt p {
  display:block;
  }
}

.dropbtn {
  background-color: #474e5d;
  color: white;
  padding: 14px 16px;
  border: none;
  cursor: pointer;
  border-radius:4px;
  box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
}

.dropdown {
position:absolute;
  bottom:32px;
  display: block;
  transform:translate(0%,100%);
  -ms-transform:translate(0%,100%);
}

.dropdown-content {
  overflow: hidden;
  display: none;
  position: absolute;
  background-color: #f9f9f9;
  min-width: 160px;
  border-radius:4px;
  box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
}

.dropdown-content a {
  color: black;
  padding: 8px 16px;
  text-decoration: none;
  display: block;

}

.dropdown-content a:hover {
  background-color: #ddd;
}

.dropdown:hover .dropdown-content {
  display: block;
}

.dropdown:hover .dropbtn {
  background-color: #3e8e41;
}

@media only screen and (min-width: 768px) {
.dropbtn {
  display:none;
  }
.dropdown {
 position: relative;
}
.dropdown-content {
    float:left;
  position:absolute;
  background-color: #474e5d;
  color:white;
  display:block;
  min-width: auto;
  left:50%;
  bottom:-16px;
  transform:translate(-50%,100%);
  -ms-transform:translate(-50%,100%);

  }
.dropdown-content a {
  color: white;
  padding: 8px 16px;
  text-decoration: none;
  text-align: center;
  float: left;
}
.dropdown-content a:hover {color: black}
}

* {
  box-sizing: border-box;
}

.row {
  display: flex;
  flex-direction: column;
  max-width: 2000px;
  margin-left:auto;
  margin-right:auto;
}

.side {
  flex: 30%;
  background-color: #f1f1f1;
  padding: 20px;
  text-align: center;
}

.side a {
  color: black;
  text-decoration: none;
  padding:6px 12px;
  width:auto;
  border-radius:4px;
}

.side a:hover {
  background-color: #474e5d;
  color: white;
}

.siderow {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
}

@media screen and (min-width: 768px) {
.row {
  flex-direction: row; }
.siderow {
  flex-direction: column; }
}

.main {
  flex: 70%;
  background-color: white;
  padding: 20px;
}

.main a {
  text-decoration: none;
}

.main a:hover {
  text-decoration: underline;
}

.footer {
  padding: 20px;
  text-align: center;
  background: #ddd;
  max-width: 2000px;
  margin-left:auto;
  margin-right:auto
}

img {
  max-width: 100%;
  height: auto;
  margin-left: auto;
  margin-right: auto;
}

.gallery {
  display:grid;
  grid-gap: 20px;
  grid-template-columns: auto auto;
  margin-top: 40px;
}

.gallery img {
  max-width: 100%;
}

@media screen and (min-width: 600px) {
.gallery {
  grid-template-columns: auto auto auto; }
}

@media screen and (min-width: 992px) {
.gallery {
  grid-template-columns: auto auto auto auto; }
}

@media screen and (min-width: 1200px) {
.gallery {
  grid-template-columns: auto auto auto auto auto; }
}

.card {
  overflow:hidden;
  border-radius:4px;
  box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
  text-align: center;
}

.card p {
  padding: 8px 10px;
}

.card2 {
  overflow:hidden;
  border-radius:4px;
  box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
  text-align: center;
  grid-column: span 2;
}

.card2 p {
  padding: 8px 10px;
}

.linkbtn {margin-top:40px;}

.linkbtn a {
  background-color: #474e5d;
  color: white;
  padding: 8px 16px;
  text-decoration:none;
  border-radius:4px;
  box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
}

.linkbtn a:hover {
  background-color: #ddd;
  color: black;
  text-decoration:none;
}