body {font-family:sans-serif;font-size:14px;background:white;margin:0;padding:0}
a:hover {text-decoration:underline}
a {color: #333;text-decoration:none}

h1 {
  font-size: 2em;
  margin: 0.67em 0;
}
h1, h2 {
  background-color: black;
  color: white;
  padding: 5px 20px 5px 10px;
  width: fit-content;
  margin-top: 2em;
}
ul {
  list-style-type: square;
  padding-left: 80px;
}
li {
  padding-left: 10px;
}
.container {
  display: flex;
  justify-content: center;
  align-items: center;
}
.black {
  background:black !important;
  color: white;
  min-height: 100vh;
}
.black a {color: white}
header {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  margin: 0 auto;
  width: 100%;
  max-width: 1200px;
  z-index: 100;
  padding-top: 20px;
  display: flex;
  align-items: flex-start;
}
header a:nth-child(1) {
  background-image:url("../img/logo_sm.png");
  width:428px;
  height:73px;
  margin-right: auto;
}
header a {vertical-align:top;font-size:1.1em;margin-right:2vw;display:inline-block;}
header a:nth-child(n+2) {padding-top:7px !important;}

#banner {
  width: 100%;
  max-width: 1200px;
  height: 50vh;
  position: relative;
}
#banner > div {
  font-size: 4em;
  font-weight: bold;
  display: flex;
  justify-content: flex-start;
  align-items: flex-end;
  overflow: hidden;
}

#banner > div a {
  background: black;
  padding: 10px 15px 10px 0;
  margin-bottom: 1em;
}

#a1 {
  z-index:4;
    width: 76%;
  height: 100%;
  background-image: url("../img/v1.jpg");
  background-position: center center;
  background-size: cover;
  position: absolute;
  animation-name: a1;
  animation-duration: 3s;
  animation-timing-function: linear;
  animation-delay: 3s;
  animation-iteration-count: 1;
  animation-direction: normal;
  animation-fill-mode: forwards;
}

#a2 {
  z-index:3;
    width: 76%;
  height: 100%;
  background-image: url("../img/v2.jpg");
  background-position: center center;
  background-size: cover;
  position: absolute;
  animation-name: a2;
  animation-duration: 3s;
  animation-timing-function: linear;
  animation-delay: 9s;
  animation-iteration-count: 1;
  animation-direction: normal;
  animation-fill-mode: forwards;
}

#a3 {
  z-index:2;
    width: 76%;
  height: 100%;
  background-image: url("../img/v3.jpg");
  background-position: center center;
  background-size: cover;
  position: absolute;
  animation-name: a3;
  animation-duration: 3s;
  animation-timing-function: linear;
  animation-delay: 15s;
  animation-iteration-count: 1;
  animation-direction: normal;
  animation-fill-mode: forwards; 
}

#a4 {
  z-index:1;
    width: 76%;
  height: 100%;
  background-image: url("../img/a_static.jpg");
  background-position: center center;
  background-size: cover;
  position: absolute;
}

@keyframes a1 {
  0%   {left:0%; top:0%;}
  100% {left:78%; top:0%;width:21%;height:20%;font-size:15px;}
}
@keyframes a2 {
  0%   {left:0%; top:0%;}
  100% {left:78%; top:40%;width:21%;height:20%;font-size:15px;}
}
@keyframes a3 {
  0%   {left:0%; top:0%;}
  100% {left:78%; top:80%;width:21%;height:20%;font-size:15px;}
}

footer {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
}
footer a {
  margin: 0 15px;
  display: inline-block;
}

.contact-details-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-top: 20px;
  margin-bottom: 30px;
}
.contact-details-grid h3 {
  margin-top: 0;
  margin-bottom: 10px;
}

#contact-form {
  margin-top: 20px;
  margin-bottom: 40px;
  width: 100%;
  max-width: 800px;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px;
  margin-bottom: 15px;
}

#contact-form input,
#contact-form textarea {
  width: 100%;
  padding: 10px;
  box-sizing: border-box;
  font-size: 1em;
  font-family: inherit;
  border: 1px solid #ccc;
  border-radius: 4px;
}

#contact-form textarea {
  resize: vertical;
  margin-bottom: 15px;
}

#contact-form button {
  background-color: black;
  color: white;
  padding: 10px 25px;
  border: none;
  border-radius: 4px;
  font-size: 1.1em;
  cursor: pointer;
}

#contact-form button:hover {
  background-color: #333;
}

@media only screen and (max-width: 768px) {

  #banner {
    height: 35vh;
    margin-top: 10vh;
    margin-bottom: 54vh;
    align-self: flex-start;
  }

  header a:nth-child(1) {
    width: 165px;
    height: 34px;
    background-size: contain;
    background-repeat: no-repeat;
  }

  #banner > div {
    font-size: 2em;
  }

  #a1,
  #a2,
  #a3,
  #a4 {
    width: 100%;
  }

  #a1 {
    animation-name: a1_mob;
  }

  #a2 {
    animation-name: a2_mob;
  }

  #a3 {
    animation-name: a3_mob;
  }

  @keyframes a1_mob {
    0% {
      left: 0%;
      top: 0%;
    }

    100% {
      left: 0%;
      top: 42vh;
      width: 100%;
      height: 11vh;
      font-size: 14px;
    }
  }

  @keyframes a2_mob {
    0% {
      left: 0%;
      top: 0%;
    }

    100% {
      left: 0%;
      top: 60vh;
      width: 100%;
      height: 11vh;
      font-size: 14px;
    }
  }

  @keyframes a3_mob {
    0% {
      left: 0%;
      top: 0%;
    }

    100% {
      left: 0%;
      top: 78vh;
      width: 100%;
      height: 11vh;
      font-size: 14px;
    }
  }

  header,
  article,
  footer {
    /*padding:8px;*/
  }

  .form-grid,
  .contact-details-grid {
    grid-template-columns: 1fr;
  }

}
@media only screen and (min-width: 769px) {
#hamburger {display:none}
#header_menu {display:inline-block}

footer {
  column-count: 4;
  column-gap: 20px;
}

}
@media only screen and (min-width: 1200px) {
 header, article, footer {width:1200px}
}