/* ============= Media Responsive ============= */ /* ==================== VARIABLE CSS ==================== */
/* .5rem = 8px, 1 rem 16px, 1.5rem = 24px */
/* ======= Font Weight ======= */
/* ======= Icons ======= */
/* 31px = 1.9375em */
/* =============== Colors ==================== */
/* =============== Border ================== */
@import url("https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,400;0,700;1,400&display=swap");
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  /* ========== Font and Typography ============ */
  font-family: "Montserrat", sans-serif;
}

/* =============== nav ================== */
nav {
  height: 70px;
  display: flex;
  justify-content: flex-end;
  color: black;
  position: relative;
}
nav .main__menu {
  display: flex;
  list-style: none;
}
nav .main__menu li a {
  display: inline-block;
  padding: 15px;
  text-decoration: none;
  text-transform: uppercase;
  color: black;
  font-size: 1.2rem;
}
nav .main__menu li a:hover {
  background: #ea7600;
}

nav .open__menu {
  background-color: #ea7600;
  width: 42.5px;
  height: 42.5px;
  border: 4px black solid;
  font-size: 2rem;
  margin: 20px 30px;
  cursor: pointer;
  display: none;
}

nav .open__menu__shadow {
  background-color: white;
  width: 42.5px;
  height: 42.5px;
  border: 4px black solid;
  margin: 20px 30px;
  position: absolute;
  z-index: -1;
  transform: translate(5px, 5px);
  display: none;
}

nav .main__menu .close__menu,
.icons i {
  font-size: 1.8rem;
  cursor: pointer;
  display: none;
}

.fab:hover {
  color: black;
}

@media (max-width: 800px) {
  nav .main__menu {
    height: 100vh;
    position: fixed;
    top: 0;
    right: 0;
    left: 0;
    z-index: 10;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background: orange;
    transition: top 1s ease;
    display: none;
  }
  nav .main__menu .close__menu {
    display: block;
    position: absolute;
    top: 20px;
    right: 20px;
  }
  nav .open__menu {
    display: flex;
    justify-content: center;
    align-items: center;
  }
  nav .main__menu li a:hover {
    background: none;
    color: black;
    font-size: 1.6rem;
  }
  .icons i {
    display: inline-block;
    padding: 12px;
  }
  nav .open__menu__shadow {
    display: block;
  }
}
/* =============== header ================== */
header {
  height: 100px;
  /* padding settings */
  display: flex;
}

.header___text {
  margin: auto 50px;
}
.header___text h4 {
  font-weight: lighter;
}

/* ==================== GOOGLE FONTS ==================== */
/* ==================== GOOGLE FONTS END ==================== */
body {
  background-color: #f2e2d0;
  font-family: "Montserrat", sans-serif;
  color: #000;
}

/* =============== top__square (white square on the page top) ================== */
.top__square {
  background-color: white;
  height: 35px;
  width: 100%;
  border-bottom: 4px solid black;
}

/* =============== HOME main__container ================== */
.main__container {
  padding-top: 25px;
  padding-right: 50px;
  padding-left: 50px;
}

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

.tool {
  margin: auto;
  text-align: center;
  text-justify: center;
  height: 130px;
  width: 185px;
}

.tool__img {
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: white;
  height: 75%;
  width: 100%;
  border-radius: 3px;
  border-top: 5px solid #ea7600;
  border-bottom: 5px solid #ea7600;
  border-left: 3px solid #ea7600;
  border-right: 3px solid #ea7600;
}
.tool__img i {
  color: black;
  font-size: 60px;
}

.tool__text {
  margin-top: 5px;
  font-weight: bold;
  font-size: 0.9em;
  text-decoration: none;
  color: black;
}

.tool a {
  text-decoration: none;
}

/* ==================== Media Responsive ==================== */
@media screen and (min-width: 540px) {
  .tools_container {
    gap: 40px;
    grid-template-columns: 1fr 1fr 1fr 1fr;
  }
  .tool {
    margin: auto;
    text-align: center;
    text-justify: center;
    height: 140px;
  }
  .tool__img {
    height: 75%;
  }
}
@media only screen and (min-width: 1200px) {
  .tools_container {
    grid-template-columns: 1fr 1fr 1fr 1fr;
  }
  .tool {
    margin: auto;
    text-align: center;
    text-justify: center;
    width: 300px;
    height: 200px;
  }
  .tool__img {
    font-size: 3em;
    height: 75%;
  }
  .tool__img i {
    font-size: 1.8em;
  }
  .tool__text {
    margin-top: 15px;
    font-size: 1.2em;
  }
  .header___text {
    font-size: 1.6em;
    margin: auto 70px;
  }
}