
 html, body{
 font-family: 'Raleway', sans-serif;
    font-size: 100%;
    background-color: #000040;
      background2-color2: #000000  ;
      h4: font-size:3em;
        h3: font-size:3em;
      }
h1, h2, h3, h4, h5, h6 {
  font-family: 'Raleway', sans-serif;
    color: white;
}

p, a {
   font-family: 'Raleway', sans-serif;
}

/* Generic styles */
html {
  scroll-behavior: smooth;
}

a {
  background-color: #00000;
  text-decoration: none;
  color: white;
  border-radius: .25rem;
  text-align: center;
  display: inline-block;
  transition: all .3s;
}

a:hover {
  opacity: .6;
}

/* Styles for the Categry image */
.Categry {

background: url(/webimage/lochmaben/mill_loch_aug__3.jpg) center;

  background-size: cover;
  padding: 4rem 2rem;
  /* grid styles */
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(5000px, 1fr));
  align-items: center;
}


.Categry > * {
  color: white;
}

.Categry > h1 {
  font-size: 4rem;
  padding-bottom: 1rem;
}

.Categry > article > p {
  font-size: 3 rem;
  font-weight: 200;
}

.Categry > article > a {
  padding: 1rem;
  margin-top: .75rem;
}

/* areas styles */
.areas {
  padding: 2rem;
}

.areas > ul {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  grid-gap: 1rem;
}

.areas > ul > li {
  border: 1px solid #fff;
  border-radius: .5rem;
}

.areas > ul > li > figure {
  max-height: 220px;
  overflow: hidden;
  border-top-left-radius: .5rem;
  border-top-right-radius: .5rem;
  position: relative;
}

.areas > ul > li > figure > img {
  width: 100%;
}

.areas > ul > li > figure > figcaption {
  position: absolute;
  bottom: 0;
  background-color: #000;
  width: 100%;
}

.areas > ul > li > figure > figcaption > h3 {
  color: 000;
  padding: .75rem;
  font-size: 3rem;
}

.areas > ul > li > p {
  font-size:4 rem;
  line-height: 1.5;
  padding: 1rem .75rem;
  color: #fff;
}

.areas > ul > li > a {
  padding: .5rem 1rem;
  margin: .5rem;
}
.center {

  margin: auto;
  width: 30%;
   background-color: #0000;
  border: 3px solid white;
  padding: 10px;
}
/* footer */
footer {
  background-color: #00000;
  padding: .75rem;
  color: white;
  text-align: center;
  font-size: .75rem;
}


 footer2 {
  background-color: #777;
  padding: 10px;
  text-align: center;
  color: white;
}

/* Responsive layout - makes the two columns/boxes stack on top of each other instead of next to each other, on small screens */
@media (max-width: 400px) {
  .areas {
    width: 90%;
    height: auto;
  }
}
.myDiv {
  border: 5px outset red;
  background-color: white;
  text-align: center;
}


