/* * {
  border: 2px solid green;
} */

html, body {
 overflow-x: hidden;
 scroll-padding-top: 5rem;
}
.backlight {
  width: 100%;
  height: 100%;

  position: absolute;
  z-index: -1;

  background: linear-gradient(rgba(29, 29, 29, 0.062), rgba(0, 0, 0, 0.5));
}

/* START of nav block */
nav {
  width: 100dvw;
  display: flex;
  justify-content: space-between;
  padding: 0 1rem 0 1rem;

  position: fixed;
  top: 0;
  z-index: 2;
  
  background-color: var(--secondary);

  overflow-x: hidden;
}
.logo {
  margin: 10px;
  display: inline-block;
  
  height: 10vh;

  /* background-color: var(--light); */
}
a {
  color: var(--main);
  text-decoration: none;
}
.navLinks {
  display: none;
  justify-content: end;
  align-items: center;
  gap: 1rem;

  width: 60%;
  padding-right: 1rem;

}
.navLinks a{
  font-size: 120%;
  padding: 1rem;
}
.mobileNavLinks {
  min-width: 85vw;
  height: 100vh;
  padding: 1rem;

  position: fixed;
  z-index: 2;
  top: 0;
  right: 0;

  display: flex;
  flex-direction: column;
  justify-content: space-evenly;

  background-color: var(--secondary);

  transition: all 0.2s ease-out;
}
#pageInfo {
  width: 100%;
  height: 100%;

  display: flex;
  flex-direction: column;
  justify-content: space-evenly;
}
.mobileNavLinks a {
  text-align: center;
  font-size: 130%;
  padding: 1rem;
}
#navBtn {
  width: 50px;
  height: 50px;
  margin-right: 10px;
  margin-top: 10px;

  background-color: var(--main);

  border-radius: 5px;

  position: fixed;
  z-index: 3;
  right: 0;
  top: 0;
}
#navBtn img {
  padding: 10%;
  translate: 0 -2px;

  object-fit: cover;
  object-position: center;
}
.highlight {
  background-color: var(--main);
  color: var(--secondary);
}
/* END of nav block */

/* START of main block */
main {
  width: 100vw;
  height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  padding-top: 13vh;

  /* background-color: var(--dark); */
  position: relative;

}
.background {
  width: 100%;
  height: 87vh;
  position: absolute;

  
}
#homeBackgroundImage{
  position: absolute;
  width: 100%;
  height: 100%;

  object-fit: cover;
  object-position: center;

  z-index: -1;
}
.mainBox {
  height: 85vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}
h1 {
  text-transform: uppercase;
  text-align: center;
  padding-bottom: 1rem;
  padding-top: 1rem;
  font-size: 250%;

  width: 100%;

  color: var(--light);
}
main p {
  text-align: center;
  line-height: 3rem;
  font-size: 110%;
  font-weight: 600;

  padding-bottom: 2rem;
  padding-top: 1rem;

  color: var(--main);
}
main .links {
  padding-top: 2rem;
  padding-bottom: 3rem;
  width: 100%;
  display: flex;
  justify-content: space-evenly;
}
main .links a{
  padding: 1rem;
  border-radius: 5px;
  background-color: var(--secondary);
  color: var(--main);
}
/* END of main block */

/* START of about block */
.about{
  margin-top: 1rem;
  position: relative;
  padding-bottom: 4rem;
  
}
.about h2{
  text-align: center;
  padding: 1rem;
  font-size: 170%;
}
.about img{
  width: 100%;
  height: 60vh;

  background-color: var(--secondary);

  object-fit: cover;
  object-position: center;
}
.aboutBox {
  translate: 0 -6rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;

}
.aboutBox p {
  background-color: var(--secondary);
  color: var(--main);
  padding: 0.5rem;
  font-size: 110%;
  line-height: 2.5rem;
}
/* END of about block */

/* START of service block */
.services {
  width: 100%;
  padding-bottom: 2rem;
}
.services h2 {
  text-align: center;
  padding-bottom: 1rem;
  
}
.services p {
  width: 80%;
  text-align: center;
  margin-left: auto;
  margin-right: auto;
  padding-bottom: 1rem;
}
.serviceDisplayBox {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.serviceDisplay {
  width: 100%;
  height: 80vh;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}
.serviceDisplay h3{
  font-size: 250%;
  color: var(--main);
  text-align: center;
}
.serviceDisplay img{
  position: absolute;
  z-index: -2;
  background-color: var(--secondary);
  width: 100%;
  height: 100%;

  object-fit: cover;
  object-position: center;
}
/* END of service block */

/* START of contact block */
.contact {
  width: 100%;
  position: relative;
  padding-top: 1rem;
  padding-bottom: 3rem;
}
.contact h2 {
  text-align: center;
  padding-bottom: 1rem;
}
.contactBox {
  height: 80vh;
  background-color: var(--secondary);
  display: flex;
  flex-direction: column;
  justify-content: space-evenly;
  align-items: center;
}
.contactInfo {
  width: 100%;
  height: 50%;

  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 1rem;

  border-top: 3px solid;
  border-bottom: 3px solid;
  border-color: var(--main);
}
.contactInfo h3 {
  font-size: 160%;
  color: var(--main);
}
.contactInfo a {
  width: 60%;
  height: 3rem;
  background-color: var(--main);
  color: var(--secondary);

  border-radius: 5px;
  padding: .5rem;

  display: flex;
  align-items: center;
  gap: 20px;
  
}
.contactInfo .icon {
  width: 2rem;
  height: 100%;
  background-color: var(--secondary);
}
/* END of contact block */

/* START of footer block */
footer {
  width: 100%;

  padding: 2rem 0 2rem 0;  

  background-color: var(--secondary);
}
.iconBox {
  width: 100%;
  display: flex;
  gap: 10px;

  padding: 0.5rem;

  border-bottom: 3px solid var(--main);
}
.iconBox .icon {
  width: 3rem;
  height: 3rem;
  border-radius: 5px;
  background-color: var(--main);
}
.usefulLinks {
  width: 100%;
  padding: 0.5rem;

  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 10px;

  border-bottom: 3px solid var(--main);
}
.usefulLinks .links {
  width: 100%;

  display: flex;
  justify-content: space-evenly;
}
.usefulLinks h4 {
  font-size: 120%;
  color: var(--main);
}
.copyright {
  padding: 1rem 0 0rem 0;

  display: flex;
  justify-content: center;
  align-items: center;

  color: var(--main);
}
/* END of footer block */


/* small mobile */
/* @media (min-width: 320px) {
 
} */

/* m mobile */
/* @media (min-width: 375px) {
 
} */

/* xs */
/* @media (min-width: 475px) {

} */

/* sm */
/* @media (min-width: 640px) {

} */

/* m */
@media (min-width: 768px) {
  /* START of nav block */
  .mobileNavLinks {
    display: none;
  }
  #navBtn {
    display: none;
  }
  .navLinks {
    display: flex;
  }
  /* END of nav block */

  /* START of main block */
  main p{
    width: 60%;
    margin-left: auto;
    margin-right: auto;
  }
  main .links {
    width: 60%;
    margin-left: auto;
    margin-right: auto;
  }
  /* END of main block */

  /* START of about block */
  .about img {
    width: 40vw;
    margin-left: 5rem;

    position: absolute;
    top: 4rem;
  }
  .aboutBox p{
    width: 60vw;
    margin-left: 30%;
  }
  .aboutBox {
    height: 60vh;
    translate: 0 0;

    justify-content: center;
  }
  /* END of about block */

  /* START of services block */
  .serviceDisplayBox {
    flex-direction: row;
    justify-content: center;
  }
  .serviceDisplay {
    width: 30%;
    height: 70vh;
  }
  /* END of services block */

  /* START of contact block */
  .contactBox {
    height: 60vh;
    flex-direction: row;
  }
  .contactInfo {
    height: 90%;
    width: 50%;
    border: 0 ;
    border-left: 3px solid ;
    border-right: 3px solid ;
    border-color: var(--main);
  }
  /* END of contact block */
}

/* lg */
/* @media (min-width: 1024px) {
 
}
 */