:root {
  --textPrimary: white;
  --fillPrimary: #0820087F;
  --fillHighlight1: #0A200F7F;
  
  --fillMenu: #186018;
  --fillMenuHover: #28A028;
  --textMenu: white;
  --textMenuHover: black;

}
/*
 {
  box-sizing: border-box;
  /*color: var(--textPrimary);
  /* for debugging. 
  border: 2px;
  border-color: red;
  border-style: solid;
}
*/

body {
  margin: 0;
  padding: 0;
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.4rem;
  font-size: max(1em, calc(14px * 72/var(--resolution))); 

}

body.about {
  color:  var(--textPrimary);
  background-image: url('bkg1.jpg');
  background-repeat: no-repeat;
  background-attachment: fixed;  
  background-size: cover;
}
body.services {
  color: var(--textPrimary);
  background-image: url('bkg4.jpg');
  background-repeat: no-repeat;
  background-attachment: fixed;  
  background-size: cover;
}
body.contact {
  color: var(--textPrimary);
  background-image: url('bkg3.jpg');
  background-repeat: no-repeat;
  background-attachment: fixed;  
  background-size: cover;
}

header {
    background-color: var(--fillMenu);
    display: block;
    text-align: center;
    /*background-image: radial-gradient(farthest-corner at 100% 100%,  var(--fillPrimary), var(--fillMenu) 40%, var(--fillMenu));*/
    color: var(--textMenu);
    position: sticky;
    top: 0;
    width: 100vw;
    z-index: 99;
    text-shadow: 0 3px 3px #000;
  
}

header h1 {
  margin: 0;
  padding-top: 1rem;
  padding-bottom: 1rem;
  color: var(--textMenu);
}

/* Style the top navigation bar */
.topnav {
  list-style-type: none;
  margin: 0;
  padding: 0;
  display: block;
  overflow: hidden;
  background-color: var(--fillMenu);

}

#logo{
  display: block;
  object-fit: scale-down;
  height: 4rem;
  float: left;
  margin: 1vw;
}


/* Style the topnav links */
.topnav ul {
  display: block;
  position: relative;
  bottom: 1vw;
  
  color: var(--textMenu);
  text-align: center;
  text-decoration: none;
}

.topnav a {
  float: left;
  display: block;
  color: var(--textMenu);
  text-decoration: none;
  text-align: Left;
  padding: 0.7em;
  border-radius: 2vw;
}

/* Change color on hover */
.topnav  a:hover {
  background-color: var(--fillMenuHover);
  text-shadow: none;
  color: var(--textMenuHover);
}
header::after {
  content: "";
  clear: both;
  display: table;
}

@media screen and (max-aspect-ratio: 0.95) {

  .topnav {
    display: inline-flex;
    float: none;
    margin: auto;

    }
  .topnav li {
      display: block;
      float: left;
      margin:auto;
      padding-left: 5vw;
      padding-right: 5vw;
    
    }
  
    #logo {
      display: block;
      height: 8rem;
      float: none;
      margin: auto;
    }

    #logo::after {
      content: "";
      clear: both;
      display: table;
    }

    /* Style the topnav links */
  .topnav a {}
      float: left;
      display: block;
      color: var(--textMenu);
      text-decoration: none;
      text-align: left;
      padding: 0.7em;
    }

  .content-text {
  padding: 1rem 3vw;
  text-align: match-parent;
}
}

/* Style the content */
.content {
  background-color: var(--fillHighlight1);
  padding-bottom: 5vh;
  padding-top: 5vh;
  background: linear-gradient(
    to bottom,
    var(--fillHighlight1) 90%,
    transparent
  );
  text-shadow: 0 3px 3px #000;
  /*max-width: 1000px;*/
}
    
.content>H1{
  text-align: center;
  width: 100%;
}

.content-image {
  
  padding: 0;
}

.content-text {
  padding: 1rem 7vw;
  text-align: justify;
}
/* Style the footer */

footer {
  padding: 1vw;
}
