:root
{
  --primary-color: #222261;
  --secondary-color:#231F20;
  --off-white:#f4f4f4;
  --light-grey: #b9b9b9;
  --mid-grey: #8b8b8b;
  --dark-grey:#333;
}

*
{
  box-sizing: border-box;
  padding: 0;
  margin: 0;
  font-family:'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif
}

body
{
  background: var(--off-white);
  color: var(--secondary-color);
  line-height: 1.6;
}

ul
{
  list-style: none;
}

a
{
  text-decoration: none;
  color: var(--primary-color);
}

h1, h2
{
  font-weight: 300;
  line-height: 1.2;
}

p
{
  margin: 10px 0px;
}

img
{
  width: 100%;
}


/* ---------------- Nav Bar ---------------- */
.navbar
{
  display:flex;
  align-items: center;
  justify-content: space-between;
  background-color: var(--off-white);
  color: var(--secondary-color);
  opacity:0.8;
  width:100%;
  height:70px;
  position:fixed;
  top:0px;
  padding: 0px 30px;
  transition: 0.5s;
}

.navbar.top
{
  background: var(--off-white);
  /* background: #f4f4f480; */
  color: var(--off-white);
}

.navbar.top::before{
  content:'';
  position:absolute;
  top: 0;
  left:0;
  width: 100%;
  height: 100%;
  /* background: rgba(0, 0, 0, 0.3); */
  background: var(--light-grey);
}

.navbar a
{
  color: var(--secondary-color);
  padding: 10px 20px;
  margin: 0px, 5px;
}

.navbar a:hover
{
  background: var(--primary-color);
  opacity: 0.8;
  color:var(--off-white);
  border-radius: 25px;
}

.navbar ul
{
  display:flex;
}

.logo img 
{
  width: fit-content;
}

.logo a:hover
{
  background: transparent;
  opacity: 0.5;
}

/* ---------------- Landing ---------------- */

.hero
{
  background: url('/img/projects/commercial/House Kangarilla/house_kangarilla_ (9).jpg') no-repeat center center/cover;
  height: 100vh;
  position: relative;
  color: var(--off-white);
}

.hero .content
{
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content:flex-end;
  text-align:center;
  color: var(--off-white);
  padding: 30px;
  height: 100%;
  
}

.hero::before
{
  content:'';
  position:absolute;
  top: 0;
  left:0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.3);
}

.hero *
{
  z-index: 10;
}

.hero .content h1
{
  font-size: 2.5rem;
}

.hero.projects
{
  background: url('/img/office/house_kangarilla.jpg') no-repeat center center/cover;
  height: 30vh;
}

/* ---------------- Success ---------------- */

.hero.success
{
  position:relative;
  height: 50vh;
  background: url('/img/office/house_kangarilla.jpg') no-repeat center center/cover;

}

.hero.hero.success::after
{
  content:'';
  position:absolute;
  top: 0;
  left:0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
}


/* ---------------- App Partners ---------------- */
#app-partners h3,
#projects h3
{
  font-size: 1.5rem;
  padding-top:10px;
  margin-bottom:30px;
}

.partner-logo img,
.project-bg img
{
  width: 100%;
  object-fit: fill;
  border-radius: 10px;
}

.partner-logo,
.project-bg
{
  display: flex;
  flex-direction: column;
  width: 100%;
}

.partner-logo a:hover,
.project-bg a:hover
{
  opacity: 0.5;
  transition: 0.5s;
}


/* ---------------- Contact ---------------- */

.contact-content
{
  display: flex;
  justify-content: space-evenly;
  align-items: flex-start;
  width: 100%;
}

.contact-content .contact-details
{
  flex-basis: 50%;
  margin: 0px 30px 0px 0px;
  padding: 0px auto 0px auto;
}

.contact-details p
{
  font-size: 1rem;
  line-height: 2rem;
  padding: 0px 30px 0px 30px;  
}


/* --------------- Callback form --------------- */
.callback-form
{
  flex-basis: 50%;
  padding: 20px 0px;
}

.callback-form label
{
  display: block;
  margin-bottom: 5px;
}

.callback-form .form-control
{
  margin-bottom: 15px;
}

.callback-form input
{
  width: 100%;
  padding: 4px;
  height: 40px;
  border: transparent;
  border-radius: 5px;
}

.callback-form textarea
{
  width: 100%;
  padding: 4px;
  height: 150px;
  border: transparent;
  border-radius: 5px;
}

.callback-form .btn
{
  padding: 12px 0px;
  margin-top: 20px;
}

.callback-form input:focus,
.callback-form textarea:focus
{
  outline-color: var(--primary-color);
}

/* ---------------- Projects ---------------- */

.project-bg img
{
  border-radius: 5px;
}

.project-header.content
{
  flex-direction: row;
  justify-content: space-evenly;
  padding-top: 100px;
}

.project-items
{
  display: flex;
  width: 100%;
  
  flex: 1;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.project-items h3
{
  padding-top: 10px;
}

.project-item
{
  display: flex;
  flex-direction: column;
  flex:1;
  flex-basis: 20%;
  width: 100%;
  padding: 20px 0px 10px 0px;
}

.project-item > a
{
  display: flex;
  margin: auto;
  width: auto;
}
.project-img
{
  display: block;
  width: 100%;
  justify-content: center;
  align-items:center;
}

.project-item a img
{
  display: flex;
  flex:1;
 
  max-height: 160px;
  padding: 0px 5px 0px 0px;
  max-width: auto;
  object-fit: cover;
}

.project-item a:first-child
{
  padding: 0px 0px 0px 2px;
}

.project-item a:hover
{
  opacity: 0.5;
  transition: 0.5s;
}



/* ---------------- Footer ---------------- */
.footer
{
  display: flex;
  align-items: center;
  justify-content:space-evenly;
  text-align: center;
  height: 30vh;
  padding: 50px;
}

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

.footer p{
  font-size: 0.8rem;
}
/* ---------------- Mobile ---------------- */

@media(max-width:850px)
{
  .navbar
  {
    flex-direction: column;
    height:160px;
    padding: 20px;
  }

  .navbar a
  {
    padding: 4px;
    margin: 0px 3px;
    scroll-padding-top: -150px;
    font-size: 0.95rem
  }

  .project-header.content p,
  .project-header.content h2
  { 
    display: none;
  }
  
  .project-header.content 
  {
    width: 100%;
    padding-top: 200px;
  }

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

  

  .flex-column .column,
  .flex-grid .column
  {
    flex:100%;
    max-width: 100%;
  }

  .partner-logo
  {
    display: block;
    align-items: center;
    max-width: 70%;
  }

  .team img
  {
    width: 70%;
  }

  .contact-content
  {
    display: flex;
    width: 100%;
    flex-direction: column;
    align-items: center;
  }

  .callback-form
  {
    width: 100%;
  }

  .project-items
  {
    display: flex;
    flex-direction: column;
  }

  .footer
  {
    flex-direction: column;
    display: 100%;
  }

 
}