/* IMPETINVISIVEL LDA, HOME PAGE */
/* --------------- General Purpose --------------- */

@font-face {
    font-family: 'Gothic'; /* Choose a unique name for your font */
    src: url('fonts/DidactGothic-Regular.ttf') format('truetype'); /* Replace 'your-custom-font.ttf' with the actual font file name and path */
  }
  @font-face {
    font-family: 'Fancy'; /* Choose a unique name for your font */
    src: url('fonts/DancingScript-VariableFont_wght.ttf') format('truetype'); /* Replace 'your-custom-font.ttf' with the actual font file name and path */
  }
  body {
    margin: 0;
    padding: 0;
    font-family: "Gothic", sans-serif;
    height: 100vh;
    box-sizing: border-box;
  }
  .container {
    position: relative;
    height: 100%;
    width: 100%;
    background-color: white;
  }
  /*.background-stripe {
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translate(-50%, -10px);
    z-index: 1;
    height: 450px;
    width: 100%;
    background-color: #003366;
  }*/
  
  /* ----------------- Top navbar ---------------- */
  
  .top-nav {
    display: flex;
    justify-content: space-between;
    height: 30px;
    background-color: white;
    border-bottom: 1px solid lightgray;
    padding-top: 10px;
    vertical-align: center;
  }
  .phone {
    margin-left: 62px;
  }
  .phone span {
    color: rgb(153, 153, 153);
    cursor: default;
  }
  .social-media {
    margin-right: 78px;
  }
  
  /* ----------------- navbar ---------------- */
  .navbar {
    display: flex;
    flex-wrap: nowrap;
    padding: 15px;
    background-color: white;
    justify-content: space-between;
    align-items: center;
    border-bottom: 10px solid #003366;
  }
  
  .navbar a {
    color: black;
    text-decoration: none;
    margin-right: 20px;
    padding: 5px;
    font-size: 16px;
    border-radius: 15px;
  }
  
  .navbar a:hover {
    text-decoration: underline;
    text-underline-offset: 5px;
    color: #D4AF37;
  }
  
  .navbar-left-side {
    margin-left: 40px;
  }
  
  .navbar-right-side {
    margin-right: 40px;
  }
  
  .company-name-navbar {
    color: #003366;
    font-weight: bolder;
    font-size: 25px;
    font-family: "Fancy";
    position: absolute;
    top: 0;
    left: 50%;
    transform: translate(-50%, -30px);
    cursor: pointer;
    padding: 43px 10px;
    background-color: white;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
    z-index: 10;
    box-sizing: border-box;
    border-radius: 0px 0px 20px 20px;
  }
  
/* ---------------- Services ---------------- */
.services {
  display: flex;
  flex-direction: column;
  gap: 20px;
  text-align: center;
  align-items: center;

  max-width: 100%;
  margin: auto;
  background-color: white;
  height: 400px;
  color: black;
  border-radius: 10px;
  margin-top: 60px;
  cursor: default;
}
.first-line, .second-line  {
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 20px;
  justify-content: center;
  text-align: center;
}
.first-line div, .second-line div {
  display: flex;
  flex-direction: column;
  height: auto;
  /*background-color: rgb(233, 233, 233);*/
  padding: 30px;
}
.first-line div {
  width: 80px;
  gap: 10px;
}
.second-line div {
  width: 80px;
  gap: 10px;
}
button {
  background-color: rgb(233, 233, 233);
  outline: 0;
  border: 0;
  padding: 0;
  margin: 0;
  border-radius: 20px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
}
button:hover {
  background-color: rgb(204, 204, 204);
}
.services-explanation {
  justify-content: center;
  display: flex;
  text-align: center;
  align-items: center;
  width: 625px;
  background-color: rgb(233, 233, 233);
  height: 150px;
  border-radius: 20px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
  opacity: 0; /* Start with opacity 0 */
  transition: opacity 0.3s ease; /* Add transition for opacity */
}
.services-explanation.show {
  opacity: 1; /* Show the explanation container */
}
.services-explanation div {
  display: none;
}
.explanation {
  width: 90%;
}


/* --------------- CopyRight --------------- */

.footer {
  margin-top: 60px;
  position: relative;
  display: flex;
  flex-direction: column;
  background-color: #003366;
  height: 180px;
  color: white;
}

.footer p {
  cursor: default;
  font-weight: 700;
  font-size: 14px;
  margin-left: 10%;
  padding-top: 30px;
}

.site-links {
  display: flex;
  gap: 10px;
  color: white;
}
.site-links div {
  display: flex;
  text-decoration: none;
  margin-left: 10%;
  flex-direction: column;
}

.site-links div a {
  color: rgb(221, 221, 221);
  text-decoration: none;
  font-size: 12px;
  line-height: 20px;
}

.site-links div a:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.footer-copyright{
  color: white;
  margin-left: 10%;
  font-size: 12px;
  margin-top: 20px;
  cursor: default;
}

.vertical-line-footer {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  content: "";
  display: inline-block; /* or inline-block */
  height: 70%;
  width: 2px;
  opacity: 0.7;
  background-color: #ffffff; /* Use background-color instead of color */
}

/* ---------------- PHONE TURN OFF -------------- */

.navbar-mobile {
    display: none;
  }
  .mobile-nav {
    display: none;
  }
  .mobile-menu-icon {
    display: none;
  }
  /* ---------------- Symbols and Icons ---------------- */

.fa-solid {
    color: black;
  }
  .fa-solid:hover {
    color: #efb110;
  }
  .fa-phone {
    color: rgb(153, 153, 153);
  }
  .fa-phone:hover {
    color: rgb(153, 153, 153);
  }
  .fa-linkedin {
    font-size: 20px;
    color: rgb(153, 153, 153);
  }
  .fa-linkedin:hover {
    color: #efb110;
  }  
  .fa-user {
    cursor: pointer;
  }
  .footer-user {
    color: rgb(221, 221, 221);
  }
  .fa-bolt {
    Color: #3498db;
  }
  .fa-tools {
    color: #f39c12;
  }
  .fa-fire {
    color: #e74c3c;
  }
  .fa-sliders-h {
    color: #27ae60;
  }
  .fa-chart-line {
    color: #9b59b6;
  }
  .fa-mobile-alt {
    color: #bdc3c7;
  }
  .fa-microchip {
    color: #2980b9;
  }
  @media screen and (max-width: 855px) {
    body {
        border: none;
    }
    .navbar {
        display: none;
    }
    .top-nav {
        display: none;
    }
    .navbar-mobile {
        position: relative;
        display: flex;
        width: 100%;
        height: 80px;
        box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
        align-items: center;
    }
    .top-nav-mobile {
        display: flex;
        flex-direction: column;
        text-align: center;
        justify-content: center;
        align-items: flex-start;
        gap: 35px;
    }
    .top-nav-mobile div {
        display: flex;
        flex-direction: column;
        text-align: center;
        justify-content: center;
        align-items: center;
    }
    .phone, .social-media {
        text-align: center;
        align-items: center;
        justify-content: center;
        width: 100%;
        margin: 0;
        gap: 5px;
    }
    .phone span {
        font-size: 10px;
        width: 110px;
    }
    .mobile-nav {
        display: none;
        flex-direction: column;
        gap: 35px;
        text-align: center;
        justify-content: center;
        position: absolute;
        top: 0;
        right: 0;
        z-index: 99;
        background-color: white;
        box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
        width: 50%;
        height: 100vh;
    }
    .mobile-nav a {
        color: black;
        font-weight: 600;
        text-decoration: none;
    }
    .mobile-menu-icon {
        z-index: 100;
        display: flex;
        position: absolute;
        top: 50%;
        right: 0;
        transform: translate(-50%, -50%);
    }
    .mobile-menu-icon button {
        border: 0;
        padding: 10px;
        background-color: white;
        box-shadow: none;
    }
    .vertical-line-footer {
      display: none;
    }
    .services {
      width: 100%;
    }
  }
  @media screen and (max-width: 388px) {
    .company-name-navbar {
        font-size: 20px;
    }
  }
  @media screen and (max-height: 705px) {
    .footer {
      height: 180px;
      background-color: #003366;
      overflow: hidden;
    }
  }
  @media screen and (max-width: 705px) {
    .services-explanation {
      width: 70%;
    }
    .explanation span {
      font-size: 12px;
    }
    .first-line div, .second-line div {
      padding: 20px 10px;
    }
    .first-line div span, .second-line div span {
      font-size: 12px;
      text-align: center;
    }
  }
  @media screen and (max-width: 540px) {
    .services {
      height: 700px;
      flex: 1.26;
    }
    .first-line div, .second-line div {
      padding: 0;
      width: 65%;
      padding: 20px 20px;
      text-align: center;
      justify-content: center;
      align-items: center;
    }
    .first-line, .second-line {
      display: grid;
      grid-template-columns: 110px 110px;
      grid-template-rows: 100px 100px;
      text-align: center;
      align-items: center;
      justify-content: center;
    }
    .second-line {
      padding-top: 20px;
      padding-bottom: 20px;
    }
  }
  @media screen and (max-width: 500px) {
    .site-links {
      gap: 0;
    }
    .site-links div a{
      font-size: 10px;
    }
    .footer-copyright span{
      font-size: 10px;
    }
  }