/* Global Styles
======================================== */

* {
    box-sizing: border-box;
}

html {
    height: 100%;
    margin: 0 auto;
    overflow-x: hidden;
    width: 100%;
    -ms-text-size-adjust: 100%;
    -webkit-text-size-adjust: 100%;
}

body {
    height: 100%;
    margin: 0 auto;
    overflow-x: hidden;
    width: 100%;
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
}

.clearfix::after {
    content: " ";
    clear: both;
    display: table;
}

.float-right {
    float: right;
}

/* Typography Styles
======================================== */

  h1,
  h2,
  h3,
  h4,
  h5,
  h6 {
    color: hsl(192, 4%, 26%);
    font-family: 'Open Sans', Helvetica, sans-serif;
    font-weight: 700;
    transition: font-size 0.25s ease;
  }
  
  h1 {
    font-size: calc(64px / 1.5);
    line-height: 1.25;
  }
  
  h2 {
    font-size: calc(64px / 1.5);
  }
  
  h3 {
    font-size: calc(45px / 1.5);
  }
  
  h4 {
    font-size: calc(23px / 1.5);
  }
  
  @media(min-width: 720px) {
    h1 {
      font-size: calc(64px / 1.25);
    }
  
    h2 {
      font-size: calc(45px / 1.25);
    }
  
    h3 {
      font-size: calc(32px / 1.25);
    }
  
    h4 {
      font-size: calc(23px / 1.25);
    }
  }
  
  @media(min-width: 1024px) {
    h1 {
      font-size: 64px;
    }
  
    h2 {
      font-size: 45px;
    }
  
    h3 {
      font-size: 32px;
    }
  
    h4 {
      font-size: 23px;
    }
  }

  p {
    color: hsl(192, 4%, 26%);
    font-family: 'Open Sans', Georgia, serif;
    font-size: 16px;
    line-height: 23px;
    margin: 0 0 15px;
  }
  
  a {
    color: hsl(207, 90%, 61%);
    font-family: 'Open Sans', Helvetica, sans-serif;
    font-size: 16px;
    line-height: 23px;
  }
  
  li {
    color: hsl(192, 4%, 26%);
    font-family: 'Open Sans', Helvetica, sans-serif;
    font-size: 16px;
    line-height: 23px;
    list-style: none;
  }

  label {
    color: hsl(192, 4%, 26%);
    display: block;
    font-family: 'Open Sans', Helvetica, sans-serif;
    font-size: 12px;
    font-weight: 700;
    line-height: 18px;
    margin-bottom: 5px;
  }

  img {
    width: 100%;
  }

  b, strong {
      font-weight: 700;
  }

  small {
      font-size: 12px;
      line-height: 1.25;
  }
/* Structure Styles
======================================== */

.container {
    margin: 0 auto;
    max-width: 1160px;
    padding: 0 15px;
}

.divider {
    border: none;
    border-bottom: 1px solid hsl(220, 13%, 95%);
    clear: both;
    width: 100%;
}

ul {
  padding: 0px;
}

@media(min-width: 720px) {
  .col-1-2 {
    float: left;
    width: calc(97.5%/2);
  }

  .col-1-2:not(:last-child) {
    margin-right: 2.5%;
  }
  
    .col-1-3 {
      float: left;
      width: calc(95%/3);
    }
  
    .col-1-3:not(:last-child) {
      margin-right: 2.5%;
    }
  
    .col-1-4 {
      float: left;
      width: calc(92.5%/4);
    }
  
    .col-1-4:not(:last-child) {
      margin-right: 2.5%;
    }
  }

/* Module Styles
======================================== */

/* Site Navigation */

.site-header {
    background-color: hsl(31, 84%, 73%);
    padding: 30px 15px 0;
}

.site-header-nav {
    align-items: center;
    display: flex;
}

.site-nav-left, .site-nav-right {
    align-items: center;
    display: flex;
}

.site-nav-right {
    float: right;
    margin-left: auto;
}

.site-nav-left li:not(:first-child), .site-nav-right li {
    font-weight: 700;
    display: none;
    line-height: 0;
}

.site-nav-mobile li {
    display: inline-block;
}

@media(min-width: 768px) {
    .site-nav-left li:not(:first-child), .site-nav-right li {
        display: inline-block;
    }

    .site-nav-mobile, .site-nav-mobile li {
        display: none;
    }
}

.site-nav-left li:not(:last-child), .site-nav-right li:not(:last-child), .site-nav-mobile li:not(:last-child) {
    margin-right: 30px;
}

.site-nav-left .logo {
    width: 120px;
}

.site-nav-link {
    color: hsl(0, 0%, 100%);
    text-decoration: none;
}

.site-nav-link-active {
    color: hsl(4, 77%, 14%);
    text-decoration: none;
}

/* Site Footer */

.footer {
    padding: 30px 30px 60px;
}
  
.footer-section {
    margin-bottom: 15px;
}
  
@media(min-width: 720px) {
    .footer-section {
      margin-bottom: 0;
    }

    .footer .logo {
      width: 40px;
  }
}
  
.footer .logo {
    margin-bottom: 5px;
    width: 40px;
}
  
.footer a  {
    color: hsl(0, 0%, 58%);
    font-size: 12px;
    text-decoration: none;
}
  
.footer p  {
    color: hsl(4, 77%, 14%);
    margin-bottom: 5px;
}
  
.footer-email-input {
    margin-right: 2.5%;
    width: 68% !important;
}
  
.footer-email-button {
    font-size: 12px !important;
    padding: 10px !important;
    width: 27.5% !important;
}
  
@media(min-width: 768px) {
.footer-email-input {
      width: 57% !important;
}
  
.footer-email-button {
      width: 37.5% !important;
    }
}

/* Component Styles
======================================== */

.button {
    border-radius: 3px;
    color: hsl(0, 0%, 100%);
    display: inline-block;
    font-family: 'Open Sans', Helvetica, sans-serif;
    font-size: 16px;
    font-weight: 700;
    line-height: normal;
    padding: 15px 30px;
    text-align: center;
    text-decoration: none;
    transition: opacity 0.5s ease;
}

.button:hover {
    opacity: 0.75;
}

.button-primary {
    background-color: hsl(149, 100%, 41%);
}

.button-secondary {
    background-color: hsl(4, 77%, 14%);
}

.button-full {
    width: 100%;
}

.button-small {
    font-size: 13px;
    padding: 10px 30px;
}

.card {
    background-color: hsl(0, 0%, 100%);
    border-radius: 10px;
    box-shadow: 0 0 40px 2px hsla(0, 0%, 0%, 0.1);
    padding: 30px 30px 15px;
}



input, select, textarea {
    background-color: hsl(0, 0%, 100%);
    border: 1px solid hsl(220, 13%, 95%);
    border-radius: 3px;
    box-shadow: inset 1px 1px 3px 0 rgba(189,191,192,0.10);
    height: 40px;
    margin-bottom: 15px;
    padding: 10px;
    transition: border-color 0.5s ease;
    width: 100%;
}
  
input[type="submit"] {
    cursor: pointer;
    height: auto;
    width: auto;
}
  
input:active, input:focus, textarea:active, textarea:focus {
    border: 1px solid hsl(207, 90%, 61%);
    outline: none;
}
  
textarea {
    height: 100px;
}

/* Page Styles
======================================== */

.site-main {
    padding: 15px 15px 60px;
    position: relative;
}

.site-main-background {
    background-color: hsl(31, 84%, 73%);
    height: 600px;
    display: block;
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: -1;
}

.site-main-header {
    margin-bottom: 60px;
}

.site-main-header h1, .site-main-header p {
    color: hsl(4, 77%, 14%);
}

.section-header {
    font-size: 23px;
    line-height: 33px;
    margin-bottom: 15px;
}

.location-details li {
    display: block;
    margin-top: 15px;
}
