* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  font-family: "Roboto", "Helvetica Neue", Helvetica, Arial, sans-serif;
}
.allbuttons:hover {
  background-color: #745fe9;
}
nav ul {
  display: flex;
  justify-content: end;
  align-items: center;
  gap: 20px;
  padding: 6px 75px 6px 75px;
  list-style-type: none;
  z-index: 998;
}
a {
  text-decoration: none;
  color: black;
}
nav ul li a {
  font-weight: 600;
}
nav ul li:first-child {
  margin-right: auto;
}
nav ul li:first-child img {
  width: clamp(100px, 10vw, 177px);
}

nav ul li:last-child {
  margin-left: auto;
}
nav ul li:last-child a {
  padding: 13px 21px;
  background-color: #4525f2;
  border-radius: 24px;
  color: white;
  font-size: clamp(11px, 1.5vw, 16px);
}
header {
  color: white;
}
.header-wrapper {
  background-image: url(/assets/båd2.png);
  width: 100%;
  height: 100vh;
  display: flex;
  align-items: center;
  flex-direction: column;
  text-align: center;
  background-size: cover;
  background-position: center;
  gap: 20px;
}
h1 {
  font-size: 53px;
  margin-top: 150px;
}
.header-wrapper p {
  max-width: 30%;
}
.header-wrapper a {
  color: white;
  padding: 13px 33px;
  background-color: #4525f2;
  border-radius: 25px;
  font-weight: 600;
}
hr {
  width: 60px;
  margin-top: -30px;
}
.article-wrapper {
  display: flex;
  gap: 30px;
  justify-content: center;
  flex-wrap: wrap;
}
.omMig {
  display: flex;
}
.ommig-left img {
  width: 450px;
  height: 100%;
}

.ommig-right p {
  font-size: 28px;
  max-width: 50%;
  border: 1px solid white;
  padding: 30px;
  color: white;
  font-style: italic;
}
.ommig-right {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  width: 100%;
  background-color: #002aa1;
}
.gallery {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
}
.galley-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 1fr 1fr;
  grid-template-areas:
    "box1 box2 box2"
    "box3 box3 box4";
  grid-gap: 15px;
  margin-bottom: 40px;
}
.boxes {
  min-width: 300px;
  height: 300px;
  display: flex;
  justify-content: center;
  align-items: center;
}
.boxes a {
  width: 100%;
  height: 100%;
}
.box1 {
  grid-area: box1;
  background-image: url(/assets/gallery1.png);
  background-size: cover;
  background-position: center;
  border-radius: 20px 0px 0px 0px;
}
.box1:hover {
  scale: 1.01;
}
.box2:hover {
  scale: 1.01;
}
.box3:hover {
  scale: 1.01;
}
.box4:hover {
  scale: 1.01;
}
.box2 {
  grid-area: box2;
  background-image: url(/assets/gallery2.png);
  background-size: cover;
  border-radius: 0px 20px 0px 0px;
}

.box3 {
  grid-area: box3;
  background-image: url(/assets/gallery3.png);
  background-size: cover;
  border-radius: 0px 0px 00px 20px;
}
.box4 {
  grid-area: box4;
  background-image: url(/assets/gallery4.png);
  background-size: cover;
  background-position: center;
  border-radius: 0px 0px 20px 0px;
}
.gallery h2 {
  padding: 30px;
}
.gallerybtn {
  padding: 13px 33px;
  background-color: #4525f2;
  color: white;
  border-radius: 25px;
  margin-bottom: 50px;
}

.drone-article img {
  width: 470px;
}
.rc img {
  width: 100%;
  border-radius: 20px 20px 0px 0px;
}
.drone-article {
  display: flex;
  align-items: center;
  flex-direction: column;
  border-radius: 12px;
  background-color: white;
  box-shadow: rgba(0, 0, 0, 0.24) 0px 3px 8px;
}
.rc {
  width: 36%;
  display: flex;
  flex-direction: column;
  border-radius: 12px;
  background-color: white;
  box-shadow: rgba(0, 0, 0, 0.24) 0px 3px 8px;
}
.drone-article p {
  padding: 15px;
}
.rc p {
  padding: 30px;
}
.drone-articles {
  display: flex;
  gap: 70px;
  justify-content: center;
}
.drone {
  display: flex;
  align-items: center;
  flex-direction: column;
  padding: 20px;
  margin-bottom: 80px;
}
.drone h2 {
  margin-bottom: 35px;
}
.rc {
  display: flex;
  flex-direction: column;
}
.rc:hover {
  scale: 1.01;
}
.drone-article:hover {
  scale: 1.01;
}
.rc h3 {
  text-align: center;
}
.error-message {
  display: none;
  border: 2px solid red;
  padding: 10px;
  font-weight: 600;
  margin-bottom: 20px;
  color: red;
}
.error-message.show {
  display: block;
  max-width: 100%;
}
footer {
  background-color: #002aa1;
  color: white;
  padding: 25px;
}
input {
  background-color: #2f2f2f43;
  outline: none;
  border: none;
  color: white;
  height: 41px;
  border-radius: 11px;
  width: 100%;
  font-family: Noto Sans;
  padding-left: 15px;
}
::placeholder {
  color: white;
  font-family: Noto Sans;
}
textarea {
  outline: none;
  border: none;
  background-color: #2f2f2f43;
  font-family: Noto Sans;
  margin-bottom: 20px;
  padding: 15px;
  border-radius: 12px;
  resize: none;
  color: white;
}
button {
  border: none;
  outline: none;
  background-color: white;
  height: 35px;
  border-radius: 25px;
  cursor: pointer;
  font-weight: 600;
  font-family: "Roboto", "Helvetica Neue", Helvetica, Arial, sans-serif;
  text-transform: uppercase;
}
.form-div {
  max-width: 100%;
  margin-top: 35px;
}
.form-wrapper {
  display: flex;
  flex-direction: column;
}
.footer-left {
  min-width: 60%;
  display: flex;
  flex-direction: column;
  align-items: center;
}
footer {
  display: flex;
  flex-direction: row;
}
.footer-right {
  min-width: 20%;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.footer-right h2 {
  margin-bottom: 25px;
}
.footer-right ul {
  display: flex;
  gap: 35px;
  list-style-type: none;
  align-items: center;
}
.footer-right ul li a i:hover {
  color: orange;
}
.fa-facebook-f,
.fa-instagram,
.fa-linkedin-in,
.fa-envelope {
  color: white;
  font-size: 30px;
}

.fa-bars,
.fa-bars-staggered {
  position: fixed;
  font-size: 38px;
  left: 15px;
  top: 15px;
  cursor: pointer;
  display: none;
  z-index: 999;
}
address {
  text-align: center;
  padding: 20px;
}

::-webkit-scrollbar {
  overflow: scroll;
  width: 11px;
}

::-webkit-scrollbar-track {
  background-color: #eee5e5;
}
::-webkit-scrollbar-thumb {
  border-radius: 25px;
  background-color: #4525f2;
}

@media screen and (max-width: 1326px) {
  .ommig-right p {
    margin-bottom: 50px;
    max-width: 75%;
  }
}
@media screen and (max-width: 1080px) {
  .ommig-right p {
    max-width: 93%;
  }
}
@media screen and (max-width: 950px) {
  .ommig-left {
    display: none;
  }
  .galley-container {
    grid-template-columns: 1fr;
    grid-template-rows: 1fr 1fr 1fr;
    grid-template-areas:
      "box2 box2"
      "box1 box4"
      "box3 box3";
  }
  .drone-articles {
    flex-direction: column;
    align-items: center;
  }
  .box2 {
    border-radius: 20px 20px 0px 0px;
  }
  .box3 {
    border-radius: 0px 0px 20px 0px;
  }
  .box1 {
    border-radius: 0px 0px 0px 0px;
  }
  .box4 {
    border-radius: 0px 0px 0px 0px;
  }
  .drone-articles {
    flex-direction: column;
  }
  .rc {
    width: 75%;
  }
}
@media screen and (max-width: 875px) {
  nav ul {
    padding: 30px 89px 31px 70px;
  }
}

@media screen and (max-width: 768px) {
  nav ul li:last-child a {
    font-size: 16px;
  }
  h1 {
    margin-top: 50px;
  }
  nav ul {
    padding: 30px 29px 31px 52px;
  }

  .fa-bars {
    display: inline;
  }
  nav.active .fa-bars {
    display: none;
  }
  nav.active .fa-bars-staggered {
    display: inline;
  }
  .fa-bars-staggered {
    display: none;
  }
  nav ul {
    flex-direction: column;
    position: fixed;
    width: 45%;
    height: 100%;
    align-items: flex-start;
    justify-content: flex-start;
    background-color: white;
    gap: 50px;
    transition: all 0.2s ease-in-out;
    left: -100%;
  }
  nav.active ul {
    left: 0%;
    transition: all 0.2s ease-in-out;
  }
  nav ul li a {
    font-size: 20px;
  }
  nav ul li:first-child {
    width: 100%;
  }
  nav ul li:first-child img {
    width: 100%;
  }
  nav ul li:first-child {
    margin-right: 55px;
  }
  nav ul li:last-child {
    margin-left: 0;
    margin-top: auto;
  }
  .header-wrapper p {
    max-width: 70%;
  }
  .header-wrapper {
    height: 57vh;
  }
  .ommig-left {
    display: none;
  }
  .ommig-right p {
    max-width: 85%;
    margin-bottom: 30px;
  }

  .form-div {
    margin-bottom: 50px;
  }
  footer {
    flex-direction: column;
  }
}

@media screen and (max-width: 600px) {
  nav ul {
    width: 100%;
    align-items: center;
  }
  nav ul li:first-child img {
    width: 100%;
  }
  nav ul li:first-child {
    margin-left: auto;
    width: 65%;
  }
  h1 {
    font-size: 48px;
    margin-top: 53px;
  }
  .header-wrapper {
    background-position: left;
  }
  .galley-container {
    grid-template-columns: 1fr;
    grid-template-rows: 1fr 1fr 1fr 1fr;
    grid-template-areas:
      "box1"
      "box2"
      "box3"
      "box4";
  }
  .boxes {
    border-radius: 20px;
    background-position: center;
  }
  .drone-article {
    width: 91%;
  }
  .drone-article img {
    width: 100%;
  }
  .rc {
    width: 91%;
  }
  .drone-articles {
    flex-direction: column;
    align-items: center;
  }
}
