@font-face {
  font-family: 'NotoSans';
  src: url(fonts/NotoSans_Condensed-Regular.ttf) format('truetype');
  font-weight: normal
}

/* Generic Stuff*/

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

h2 {
  font-size: 60px;
}

h5 {
  font-size: 30px
}

br {
  color: gray;
}

/*Queries*/

.container {
  max-width: 1536px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 0.5rem;
  padding-right: 0.5rem;
}

.home {
  max-width: 1536px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 200px;
  padding-right: 200px;
}


/* Nav*/

header {
  height: 160px;
  width: 100%;
  background-color: rgba(59, 58, 58, 0.9);
  font-family: 'NotoSans', 'Verdana';
  position: fixed;
}

nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 40px 10%;
}

.logo {
  color: white;
  font-size: 28px;
}

nav ul li {
  list-style-type: none;
  display: inline-block;
  padding: 0 5px;
}

nav ul li a:hover {
  color: white;
  transition: color ease-out 0.3s;
}

nav ul li a {
  color: #d4d4d4;
  text-decoration: none;
}

.navbar button {
  border: none;
  background-color: black;
  color: #d4d4d4;
  padding: 12px 30px;
  border-radius: 30px;
  font-weight: bold;
  font-size: 15px;
  cursor: pointer;
}

.navbar button:hover {
  color: white;
  transition: color ease-out 0.3s;
}

/*Hero*/

.hero p {
    font-size: 30px;
}

.hero_background {
  background-image: url(images/hero_image.png);
  background-repeat: no-repeat;
}

.hero {
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: center;
  color: white;
  font-family: 'NotoSans', 'Verdana';
  padding-bottom: 800px;
}

.hero__text {
  padding-top: 400px;
  padding-bottom: 100px
}

/*hero buttons*/

.hero__button {
  display: flex;
  flex-direction: row;
  justify-content: space-around;
}

.hero_button1 {
  color: white;
  border: 2px solid white;
  border-radius: 3px;
  background-color: rgba(0, 0, 0, 0.25);
  padding: 20px 10px;
  cursor: pointer;
}

.hero_button2 {
  color: rgba(0, 0, 0, 1);
  border: 2px solid white;
  border-radius: 3px;
  background-color: white;
  padding: 20px 30px;
  cursor: pointer;
}

.hero_button1:hover {
  color: black;
  background-color: white;
  transition: background-color ease-out 0.3s, color ease-out 0.3s;
}

.hero_button2:hover {
  color: white;
  background-color: rgba(0, 0, 0, 0.25);
  transition: background-color ease-out 0.3s, color ease-out 0.3s;
}

/*Services*/

.services{
  color: white;
  background-color: black;
  font-family: 'NotoSans', 'Verdana';
  text-align: center;
  width: 100%;
}

.services_containers {
  display: grid;
  grid-template-rows: 1fr;
  grid-template-columns: repeat(4, 1fr);
  grid-gap: 10px;
  padding-top: 200px;
  padding-bottom: 200px;
}

.service_box {
  color: white;
  border: 2px solid white;
  border-radius: 5px;
  padding: 10px 10px;
  box-shadow: 0px 0px 15px rgba(255, 255, 255, 0.5);
}


.service_box p {
  font-size: 20px;
}

/*Contact*/

.contact {
  color: white;
  font-family: 'NotoSans', 'Verdana';
  text-align: center;
  align-items: center;
}

.contact_containers {
  display: flex;
  flex-direction: row;
  justify-content: space-evenly;
  padding-top: 100px;
  padding-bottom: 100px;
}

/*Footer*/

.footer_social {
  display: flex;
  justify-content: center;
}

.footer_social a {
  text-decoration: none;
  background-color: white;
  border-radius: 50%;
  padding: 9px;
  margin: 9px;
}

.footer_nav {
  color: white;
}

.footer_bottom {
  color: #b8b8b8;
  font-family: 'NotoSans', 'Verdana';
  text-align: center;
  padding: 50px 0px
}

/* 2xl */
@media (max-width: 1536px) {
  .container {
    max-width: 1280px;
  }

  .home {
    max-width: 1280px;
  }
}

/* xl */
@media (max-width: 1280px) {
  .container {
    max-width: 1024px;
  }

  .home{
    max-width: 1024px;
  }

  .services_containers {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* lg */
@media (max-width: 1024px) {
  .container {
    max-width: 768px;
  }

  .home {
    max-width: 768px;
  }

  .hero_background {
    background-size: 1200px;
  }

  .service_box p {
    font-size: 16px;
  }

  h5 {
    font-size: 22px;
  }

  .contact_containers {
    flex-direction: column;
    align-items: center;
  }

  .contact_sec {
    margin: 10px 
  }
}

/* md */
@media (max-width: 768px) {
  .container {
    max-width: 640px;
  }

  .home {
    max-width: 640px;
    padding: 100px 100px;
  }

  h2 {
    font-size: 40px;
  }

  .hero p {
    font-size: 20px;
  }

  .hero__button {
    padding: 0px
  }

  .services {
    padding: 100px 100px;
  }
}

/* sm */
@media (max-width: 640px) {
  .container {
    max-width: 475px;
  }

  .home {
    max-width: 475px;
    padding: 50px 50px;
  }
}

/* xs */
@media (max-width: 475px) {
  .container {
    max-width: 320px;
  }

  .home {
    max-width: 320px;
    padding: 35px 40px;
  }

  h2 {
    font-size: 28px;
  }

  .services_containers {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .service_box {
    padding: 20px 10px;
  }

  .hero__button {
    flex-direction: column;
    align-items: center;
  }

  .hero_button1 {
    width: 130px;
  }

  .hero_button2 {
    width: 130px;
  }

}

/* Small Phone */
@media (max-width: 320px) {
  .container {
    width: 100%
  }

  .home {
    width: 100%
  }
}