* {
  font-family: 'Roboto', sans-serif;
  color: #1a1d1e;
}

.hamburger {
  display: block;
}

.button {
  padding: 0.5rem 1rem;
  background-color: grey;
  text-decoration: none;
  cursor: pointer;
  width: 8rem;
  border-radius: 5px;
}

.cover {
  position: relative;
}

img#cover {
  width: 100%;
  opacity: 0.6;
}

.name {
  position: absolute;
  top: 2%;
  left: 15%;
  font-size: 3rem;
}

.name2 {
  position: absolute;
  font-size: 2.5rem;
  top: 90%;
  left: 6%;
}

img#logo {
  width: 35%;
  position: absolute;
  left: 0;
  top: 80%;
  border-radius: 50%;
  border: solid 1px black;
}

.slogan {
  padding: 0 0.5rem 0 23%;
  text-align: center;
}

/*
.menu {
  display: flex;
  gap: 10px;
  padding: 10px;
  justify-content:space-around;
}

.menu a {
  color: black;
  text-decoration: none;
  padding: 1rem;
  border: black;
  width: 6rem;
  cursor: pointer;
  text-align: center;
}
*/

.active {
  background-color: lightgrey;
}

.body {
  padding: 1rem;
  text-align: justify;
}

.alarm-img, .access-img, .cctv-img, .fence-img, .beams-img {
  width: 80%;
  display: block;
  margin: auto;
}

.cta {
  width: 90%;
  margin: auto;
  border: solid red;
  border-radius: 5px;
  text-align: center;
  padding: 10px;
  background-color: lightgrey;
}

a.cta-a {
  color: red !important;
}

img.hand {
  width: 15%;
  display: inline-block;
}

footer {
  border: solid 1px;
  background-color: lightgrey;
}

.policy {
  display: flex;
  gap: 1rem;
  padding: 1rem;
  justify-content:space-around;
}

.policy a {
  font-size: 12px;
}

.copyright, .ernyst {
  font-size: 12px;
  opacity: 0.8;
}

.contact-form {
  background-color: lightgrey;
  padding: 1rem;
}

.contact-form input, .contact-form textarea {
  display: block;
  width: 80%;
  margin: auto;
}

.contact-form label {
  padding-left: 2rem;
}

input[type="submit"] {
  display: block;
  width: 6rem;
  text-align: center;
  margin: auto;
  font-weight: bolder;
}

img.hand {
    -webkit-animation: mover 1s infinite  alternate;
    animation: mover 1s infinite  alternate;
}
img.hand {
    -webkit-animation: mover 1s infinite  alternate;
    animation: mover 1s infinite  alternate;
}
@-webkit-keyframes mover {
    0% { transform: translateY(0); }
    100% { transform: translateY(-10px); }
}
@keyframes mover {
    0% { transform: translateY(0); }
    100% { transform: translateY(-10px); }
}


/**MENU*************************************************/
@media screen and (max-width: 575px) {

.topnav {
  width: 50%;
  margin: auto;
}
.topnav a:not(:first-child) {display: none;}
    .topnav a.icon {
      float: right;
      display: block;
}

.topnav.responsive {position: relative;}
  .topnav.responsive a.icon {
    position: absolute;
    right: 0;
    top: 0;
}

.topnav.responsive a {
  float: none;
  display: block;
  text-align: left;
}

.topnav {
  background-color: lightgrey;
  overflow: hidden;
}

/* Style the links inside the navigation bar */
.topnav a {
  float: left;
  display: block;
  color: #f2f2f2;
  text-align: center;
  padding: 14px 16px;
  text-decoration: none;
  font-size: 17px;
}

/* Change the color of links on hover */
.topnav a:hover {
  background-color: #ddd;
  color: black;
}

/* Add an active class to highlight the current page */
.topnav a.active {
  background-color: grey;
  color: white;
}

/* Hide the link that should open and close the topnav on small screens
#hamburger {
  display: none;
}
*/
}
/*******************************************************/
@media only screen and (min-width: 1200px) {

  p, li {
    font-size: 1.2rem;
  }

  #hamburger {
    display: none;
  }

  img#cover {
    width: 100%;
    opacity: 0.6;
  }

  img#logo {
    width: 15%;
  }

  .name {
    position: absolute;
    top: 2%;
    left: 35%;
    font-size: 5rem;
  }

  .name2 {
    position: absolute;
    font-size: 4.5rem;
    top: 90%;
    left: 6%;
  }

  .slogan {
    width: 80%;
    padding: 0 0 0 2%;
    text-align: center;
  }

  .topnav {
    display: flex;
    gap: 10px;
    padding: 10px;
    justify-content:space-around;
    width: 50%;
    margin: auto;
  }

  .topnav a {
    float: left;
    display: block;
    color: #f2f2f2;
    text-align: center;
    padding: 14px 16px;
    text-decoration: none;
    font-size: 1.5rem;
  }

  .body {
    padding: 0 3rem;
  }

  .services {
    padding-left: 12rem;
  }

  .alarm-img, .access-img, .cctv-img, .fence-img, .beams-img {
    width: 40%;
    display: block;
    margin: auto;
  }

  .contact-form {
    width: 60%;
    margin: auto;
  }

  .contact-form label {
    margin-left: 5%;
  }

  img.hand {
    width: 6%;
  }

  footer {
    width: 100%;
    margin: auto;
  }

  .policy {
    width: 40%;
    margin: auto;
  }
}
