@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;600;700;800&display=swap");

* {
  box-sizing: border-box;
  padding: 0;
  margin: 0;
  font-family: "poppins";
}

html {
  scroll-behavior: smooth;
}

a {
  color: #fff;
  text-decoration: none;
}

p {
  margin: 10px 0;
}

h2 {
  font-size: 30px;
  color: red;
}

ul {
  list-style-type: none;
}

img {
  width: 100%;
}

body {
  background-color: #000;
  color: #fff;
  line-height: 1.6;
}

section {
  padding: 20px;
}

section h2 {
  text-align: center;
}

section p {
  text-align: center;
}

:root {
  --primary-color: #ff0000;
  --secondary-color: #333;
  --dark-color: #000;
  --light-color: #f4f4f4;
  --header-opacity: 0.8;
}

.main-logo {
  display: block;
  width: 200px;
  height: 55px;
  margin-top: 2px;
}

.navbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.navbar {
  position: fixed;
  background-color: #000;
  height: 70px;
  width: 100%;
  padding: 5px 10px;
  margin-bottom: 50px;
  position: fixed;
  z-index: 10;
  opacity: 0.8;
}

.navbar ul {
  display: flex;
}

.navbar ul a {
  margin-left: 30px;
  padding-bottom: 5px;
  text-decoration: none;
  color: white;
}

.navbar ul a:hover {
  color: red;
}

.header {
  position: relative;
  background: url("/imgs/background-image.jpg") no-repeat center center/cover;
  height: 1000px;
  width: 100%;
  text-align: center;
  padding: 0 100px;
  display: flex;
  justify-content: center;
  align-items: center;
}

/* Download page css*/

.header-downloads {
  position: relative;
  background: no-repeat center center/cover;
  background-color: rgb(0, 0, 0);
  color: white;
  height: 500px;
  width: 100%;
  text-align: center;
  padding: 0 100px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.downloads-about {
  display: flex;
  height: 100vh;
}

.downloads-about img {
  height: 400px;
  width: 300px;
  border-radius: 20px;
  margin-top: 50px;
}

.container-downloads {
  max-width: 1100px;
  margin: auto;
}

.img-box {
  display: flex;
  justify-content: center;
}

/* Download page css END*/

.header-inner {
  position: relative;
  z-index: 2;
  width: 700px;
  margin: 0 auto;
  width: 800px;
}

.header::before {
  content: "";
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, var(--header-opacity));
  position: absolute;
  top: 0;
  left: 0;
}

.header h1 {
  font-size: 65px;
  color: var(--primary-color);
  text-transform: uppercase;
}

.header h5 {
  font-size: 20px;
}

.container {
  max-width: 1100px;
  margin: auto;
}

.btn {
  display: inline-block;
  border-radius: 5px;
  cursor: pointer;
  background-color: rgb(255, 0, 0);
  color: #fff;
  font-size: 15px;
  padding: 5px 25px;
  margin-top: 20px;
  text-align: center;
  font-weight: 700;
  line-height: 2.4rem;
  border: 1px transparent solid;
}

.btn-project {
  display: inline-block;
  border-radius: 5px;
  cursor: pointer;
  background-color: rgb(255, 0, 0);
  color: #fff;
  font-size: 15px;
  padding: 5px 25px;
  text-align: center;
  font-weight: 700;
  line-height: 2.4rem;
  border: 1px transparent solid;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  -ms-transform: translate(-50%, -50%);
}

.btn-primary:hover {
  /* background-color: var(--secondary-color); */
  background-color: transparent !important;
  color: #fff;
  border: 1px solid #fff;
}

.projects h2 {
  color: var(--primary-color);
  margin: 30px 0 20px;
}

.project-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}

.project-grid .project-body {
  height: 175px;
}

.project-body a:hover {
  background-color: rgba(0, 0, 0, 0.527);
}

.project-grid .project-body img {
  border-radius: 5px;
  height: 175px;
}

.project-template {
  background-color: #222;
  border-radius: 5px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
  padding: 20px 30px;
  position: relative;
  border: #333 solid 1px;
}

.projects {
  margin-bottom: 50px;
}

.contact {
  background-color: white;
  height: auto;
  width: 100%;
}

.contact p {
  color: black;
}

.contact-form {
  background: #f9f9f9;
  width: auto;
  padding: 20px 20px;
  border-radius: 10px;
  display: flex;
}

.contact-map {
  width: auto;
  margin-top: 10px;
  height: 300px;
  border-radius: 10px;
}

.contact-form form {
  width: 100%;
}

.contact-form .row {
  width: 100%;
  display: flex;
}

.contact-form .input50 {
  width: 50%;
  margin: 0 10px;
}

.contact-form .input100 {
  width: 100%;
  margin: 0 10px;
}

#submit:hover {
  background-color: rgba(0, 0, 0, 0.39) !important;
  color: #fff;
}

.contact-form .row input,
.contact-form textarea {
  position: relative;
  border: 1px solid rgba(0, 0, 0, 0.2);
  color: #111;
  background: transparent;
  width: 100%;
  padding: 10px;
  outline: none;
  font-size: 16px;
  font-weight: 300;
  margin: 10px 0;
  resize: none;
}

.contact-form .row textarea {
  height: 150px;
}

.contact-form .row input[type="submit"] {
  background-color: rgb(255, 0, 0);
  color: rgb(0, 0, 0);
  margin: 0;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-weight: bold;
  border: 0;
  cursor: pointer;
  width: 200px;
  border-radius: 10px;
}

.error {
  color: red;
}

.social-footer {
  background-color: rgb(0, 0, 0);
}

.social-footer i {
  color: rgb(255, 255, 255);
  font-size: 35px;
}

.social-footer h3 {
  text-transform: uppercase;
}

.social-footer .container {
  display: grid;
  grid-template-columns: 2fr 3fr;
  justify-content: space-between;
  align-items: center;
}

.social-footer div {
  justify-self: end;
}

.social-footer a {
  margin-left: 30px;
}

@media (max-width: 768px) {
  h2 {
    line-height: 1.3;
  }

  .header h1 {
    font-size: 40px;
  }

  .header {
    font-size: 18px;
    height: 800px;
  }

  .header-inner {
    position: relative;
    z-index: 2;
    width: 700px;
    margin: 0 auto;
    width: 800px;
  }

  .project-grid {
    grid-template-columns: 1fr;
    gap: 40px;
    width: 100%;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
  }

  .project-body {
    width: 100%;
  }

  .project-template {
    width: 75%;
  }

  .project-grid .project-body img {
    border-radius: 5px;
    height: 175px;
  }

  .btn-project {
    display: inline-block;
    border-radius: 5px;
    cursor: pointer;
    background-color: rgba(255, 0, 0, 0.774);
    color: #fff;
    font-size: 15px;
    padding: 5px 25px;
    text-align: center;
    font-weight: 700;
    line-height: 2.4rem;
    border: 1px transparent solid;
    z-index: 9;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
  }

  .project-body button:hover {
    pointer-events: none;
  }

  .contact-form {
    position: relative;
    background: #f9f9f9;
    width: auto;
    padding: 20px 20px;
    border-radius: 10px;
    display: block;
  }

  #map {
    margin-top: 20px;
    width: auto;
  }
}
