@import url('https://fonts.googleapis.com/css2?family=Noto+Sans:ital,wght@0,100..900;1,100..900&display=swap');


:root{
    --primary_color: #274c77;
    --secondary_color:#6096ba;
    --aside_color:#F4A460;
    --ascent_color:#8b8c89;
    --background_color: #e7ecef;
}

*, 
*::before, 
*::after {
  box-sizing: border-box;
}


html, body {
  /*62.5% of 16px = 10px*/
  font-size: 62.5%;
  max-width: 100%;
  /* margin: 0 auto; */
  margin: 0;
  padding: 0;
  font-family: 'Noto Sans', sans-serif;
  background-color: var(--background_color);
}
.container{
  width: 100%;
  margin: 0 auto;
}

img{
    object-fit: cover;
}

ul {
  list-style-type: none;
  padding: 0;

}


a{
    text-decoration: none;

}

h2{
    font-size: 4rem;
}

h3{
    font-size: 3rem;
}

h4{
    font-size: 2rem;
}

@media only screen and (max-width: 620px) {
    h2{
    font-size: 3rem;
}

h3{
    font-size: 2rem;
}

h4{
    font-size: 1.5rem;
}
}



/* -----------NAV BAR------------ */
header{
    width: 80%;
      margin: 0 auto;

}
.navbar {
  display: flex;
  width: 100%;
  justify-content: space-between;
  margin: .3rem 0 0 0;
  white-space: nowrap;
  align-items: center;
    /* height: 5rem; */
}
.logo_name{
    display: flex;
    align-items: center;
}

.navBarImg{
    width: 4rem;
    height: 4rem;
    margin: 1rem;
}

.logo{
  font-size: 3rem;
  margin: 0;
}
.logo>a{
    color: var(--aside_color);
}

.nav_links {
  display: flex;
  align-items: center;
}
.nav_links li {
  margin: 0 30px;
}

.nav_links li a {
  font-size: 2rem;
  transition: all .2s ease-in-out;
      color: var(--primary_color);
  border: 1px solid var(--aside_color);
  padding: .3rem 1.5rem;
  border-radius: 15px;
}
.nav_links li a:hover{
  transform: scale(1.1);
    color: var(--primary_color);
    background-color: var(--aside_color);
}

.cta{
    background-color: var(--aside_color);
}

.menu_btn {
  position: absolute;
  top: 15px;
  right: 10px;
  cursor: pointer;
}
.bar {
  display: none;
  width: 25px;
  height: 3px;
  margin: 5px auto;
  -webkit-transition: all 0.3s ease-in-out;
  transition: all 0.3s ease-in-out;
  background-color: var(--aside_color);
}
/*MOBILE DEVICE*/

@media only screen and (max-width: 620px) {
  .navbar {
    padding: 0;
    flex-direction: column;
    align-items: center;
  }
  .logo{
    margin-top: .5rem;
    margin-bottom: 0;
    font-size: 2rem;
  }
  .nav_links {
    flex-direction: column;
    width: 100%;
    padding-inline-start:0;
    justify-content: center;
    align-content: space-between;
    background: var(--background_color);
    margin-top: -700px;
    transition: all 0.5s ease;
    z-index: 1;
  }
  .mobile-menu {
    margin-top: 0px;
    border-bottom-right-radius: 20%;
    border-bottom-left-radius: 20%;
    box-shadow: 0 8px 6px -6px var(--primary_color);
  }
  .nav_links li {
    margin: 1rem auto;
    

  }
  .nav_links li a{
    font-size: 1.5rem;
    

  }
  .bar {
    display: block;
  }
  .menu_btn.active .bar:nth-child(2) {
    opacity: 0;
  }
  .menu_btn.active .bar:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
  }
  .menu_btn.active .bar:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
  }
}


/* ---------------HERO Section--------------- */
.hero{
    display: flex;
    align-items: center;
    text-align: center;
    height: 80vh;
    background-image: linear-gradient(to right, rgba(0, 0, 0, 0.8), rgba(255, 255, 255, 0.1)), url("/images/stairs.jpg");
}

.hero_text{
    display: flex;
    flex-direction: column;
    margin: 3rem;
    text-align: center;
    justify-content: center;
    align-items: center;
}

.hero_text>p{
    font-size: 4rem;
    text-transform: uppercase;
    font-weight: 800;
    color: var(--aside_color);
}

.hireUs{
    border: 2px solid var(--aside_color);
    background-color: var(--background_color);
    padding: .2rem 3rem;
    font-size: 3rem;
    border-radius: 15px;
    width: fit-content;
}

@media only screen and (max-width: 620px) {
.hero{

    margin-top: 6rem;
}
.hero_text{
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.hero_text>p{
    font-size: 4rem;
    font-weight: 300;
}

.hireUs{
    font-size: 2rem;
}
}

/* --------------------BODY CONTENT */
.body_content{
    width: 80%;
    margin: 0 auto;
}

/* -----------------Our Services------------------- */

.services>h2{
    color: var(--primary_color);
    text-align: center;
}

.ourServices_list{
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;

}

.ourServices_item{
    width: 15rem;
    height: 15rem;
    margin: 3rem;
    padding: 2rem;
    font-size: 1.5rem;
    color: var(--aside_color);
    text-align: center;
    display: flex;
    align-items: center;
    box-shadow:0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
}

.ourServices_item:hover{
    transition: ease-in .2s;
    transform: scale(1.1);
}

@media only screen and (max-width: 620px) {
    .ourServices_item{
        width: 10rem;
        height: 10rem;
        font-size: 1rem;
        padding: 1rem;
        margin: 0.5rem;
    }
}

/* ----------------POP UP-------------------------- */
.popup{
    background-color: var(--aside_color);
    border-bottom: 7px solid var(--primary_color);
    border-left: 7px solid var(--primary_color);
    border-right: 7px solid var(--primary_color);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 3rem;
    color: var(--primary_color);
    margin-top: 3rem;
}

.popup p{
    font-size: 1.5rem;
}

/* -------------Choose Us----------------------------- */
.chooseUs{
    display: flex;
    flex-direction: column;
    align-items: space-evenly;
}

.chooseUs h2{
    color: var(--primary_color);
    text-align: center;
}

.chooseUs_container{
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
}

.chooseUs article{
    display: flex;
    align-items: center;
    justify-content: space-evenly;
    box-shadow:0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
    margin: 3rem;


}

.chooseUs_text{
    display: flex;
    flex-direction: column;
    justify-content: center;
    width: 50%;
    padding: 0 3rem;
}

.chooseUs_text h4{
    font-size: 3rem;
    color: var(--aside_color);
}

.chooseUs_text p{
    font-size: 1.3rem;
    color: var(--primary_color);
}

.chooseUs_img{
width: 50%;
}

@media only screen and (max-width: 620px) {
    .chooseUs article{
        flex-direction: column;
        width: 100%;
        margin: 3rem;
        padding: 2rem;
        text-align: center;

    }

    .chooseUs_text{
        width: 100%;
        padding: 0;
        margin: 0;
    }

    .chooseUs_text h4{
    font-size: 2rem;
    color: var(--primary_color);
    margin: 0;
}

    .chooseUs_img{
width: 100%;
}
}


/* ----------------------------------------------------FOOTER------------------------------ */


footer{
  margin-top: 5rem;
}
footer hr{
  width: 90%;
  border-top: 2px solid var(--primary_color) ;
}
footer section{
  width: 80%;
  margin: 0 auto;
  margin-bottom: 0;
  padding-bottom: 0;
  font-size: 1.5rem;
  padding: 0 2rem 0 2rem;
  display: flex;
  justify-content: center;
  align-self: center;
  color: var(--primary_color);
}

footer div{
  display: flex;
  align-items: center;
  font-size: 3rem;
  padding-left: 2rem;

}
footer div a{
  color: var(--primary_color);
  padding: 0 .5rem 0 .5rem;
}

