/* Global Styles */
*,
*::before,
*::after{
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  text-decoration: none;
}

/* Typography */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@100;200;300;400;500;600;700;800;900&display=swap');

html {
  scroll-behavior: smooth;
}

body {
  background-color: coral;
  height: 100%;
  width: 100vw;
  overflow-x: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
  font-family: "Inter", sans-serif;
}

.container {
    width: 90vw;
    margin:0 auto;
}

/* Navigation */
.navbar {
    background-color: #333;
    overflow: hidden;
    padding:1px;
    position: fixed;
    top: 0;
    width: 90vw;

}

.navbar a {
    float: right;
    display: block;
    color: #f2f2f2;
    text-align: center;
    padding: 1vw 1vw;
    text-decoration: none;
    font-size: 1.4vw;
}

.navbar a:hover {
    background: #ddd;
    color: black;
}

/* End Navigation */
/* Content Boxes */
.main {
    background-color: white;
    padding-left: 0.5vw;
    padding-top: 2vw;
 
}

.about {
    background-color: #cfcabe;
    padding: 2vw;

}
.services {
    background-color: #b5bdbc;
    padding: 2vw;

}

.clients {
    background-color: #ffff;
    padding: 2vw;

}

.contact {
    background-color:#EDEEE9;
    padding: 2vw;
}

.footer {
    background-color: black;
    color: white;
    padding: 1em;
    line-height: 1.4;
}

.footer a {
    color: #F0E53E;
    text-decoration:none;
}
/* End Content Boxes */
/* In Container Content */
H1 {
    font-size: 2vw;
    font-family: "Inter", sans-serif;
}

.content {
    width: 70vw;
    margin: auto;
    font-size: 1.3vw;
    padding: 1vw;
    display: block;
    margin-top: 2vw;
    margin-bottom: 3vw;
    line-height: 1.8;
}
.content img {
    width: 24vw;
    object-fit: contain;
    margin: 5vw;
    border-radius: 15%;
}

.content p {
    margin-bottom: 2vh;
}

/*  Grid for About and Services */
.content_grid {
    display: flex;
    flex-wrap: wrap;
}

.contentcolumn {
    flex: 0 0 50%; /* Take up 50% of the grid (2 columns) */
    
}

/* Grid for Clients Images */
.clientgrid {
    display: flex;
    flex-wrap: wrap;
    margin: auto;
    width: 58vw;
}
.clientcolumn {
    flex: 0 0 33.3%; /* Take up 33% of the grid (3 columns) */
}

.clientcolumn img{
max-height: 17vh;
}

/* Grid for Footer */
.left_align_text {
    text-align: left;
}

.right_align_text {
    text-align: right;
    display:block;
}

/* Lots of CCS for Contact Form */
.contact_container {
    margin: auto;
    margin-top: 7vh;
    background-color: #D8DBCE;
    width: 60vw;
    padding: 4vw;
    font-size: 1.3vw;
    line-height: 1.8;
}

form {
    width: 100%;
    padding: 3vw;
  }

  /* Fancy form code from https://codepen.io/ */

.form-input {
    height: 2.5vw;
    padding: 0 1vw;
    border: 1px solid ; /* Basic border styling */
    border-radius: 1px 1px 2px 2px;
    margin: 0 auto 0 auto;
    transition: all 500ms; /* This is used to animate the border later */
  }
  
  /* By default, an outline appears around form fields when they're in focus.
  This disables outlines when form fields are in focus. */
 .form-input:focus {
    outline: none;
  }
  
  .multi_line {
    width:20vw;
    height: 2.5vw;

  }

  .form-label {
    font-size: 1vw;
    color: rgb(117, 117, 117);
    display: block;
    /* Moves the label on TOP of the placeholder */
    /* You'll need to change this as needed */
    transform: translate(0.3vw,-2.1vw);
    transform-origin: 0 0; /* Used later for transitions */
    transition: all 500ms;
    
    /* Prevents users from highlighting the label. */
    -webkit-user-select: none; /* Safari */
    -ms-user-select: none; /* IE 10 and IE 11 */
    user-select: none; /* Standard syntax */
    
    /* THIS PART IS IMPORTANT! */
    /* This line prevents the label from being selected.*/
    /* This is crucial because if we want to select the form field,
       we want to click THROUGH the label. */
    pointer-events: none; 
  }
  
  /* THIS PART IS ALSO IMPORTANT!! */
  /* The block below hides the placeholder entirely. */
  /* For all intents and purposes, the placeholder no longer exists. */
  /* What shows on the input field is only the label*. */
  /* HOWEVER, the input fields still recognizes that the placeholder exists!*/
  /* The placeholder is just invisible. We need the placeholder to exist for some weird CSS stuff. If we skip this step, we can't make this CSS-only. */
  .form-input::placeholder {
    display: none;
    color: transparent;
    
  /* Prevents users from highlighting the placeholder. */
    -webkit-user-select: none; /* Safari */
    -ms-user-select: none; /* IE 10 and IE 11 */
    user-select: none; /* Standard syntax */
  }
  
  /* How to read this: */
  /* When the input field (.form-input) is in focus, 
     STYLE the .form-label accordingly */
  /* ALSO, if the placeholder is NOT shown,
     STYLE the .form-label accordingly */
  
  /* Basically, if there's text inside the input field,
     by default, the placeholder should disappear.
     When this happens, the label translates ABOVE the input field and scales down. */
  
  .form-input:focus + .form-label,
  .form-input:not(:placeholder-shown) + .form-label {
    transform: translateY(-4vw) scale(0.8);
  }
  
  /* When the placeholder is NOT shown,
     STYLE the top border accordingly. */
  /* This makes the top border fade-out to grey when the placeholder disappears. */
  .form-input:not(:placeholder-shown) {
    border-top-color: rgba(0, 0, 0, 0.5);
  }

  /* Fancy submit button */
  button {
    width: 5vw;
    height: 2.1vw;
    border: none;
    outline: none;
    background: #84894A;
    color: #fff;
    font-size: 1vw;
    border-radius: 0.6vw;
    text-align: center;
    box-shadow: 0 6px 20px -5px rgba(0,0,0,0.4);
    position: relative;
    overflow: hidden;
    cursor: pointer;
}  