/*Desktop */
@media screen and (min-width: 1224px) {
  .content-wrapper {
    margin-top: 100px;
  }
  #header {
    z-index: 99;
    position: fixed;
    top: 0;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;

    -webkit-transition: all 500ms cubic-bezier(0.745, 0, 0.305, 1); /* older webkit */
    -webkit-transition: all 500ms cubic-bezier(0.745, -0.005, 0.305, 1);
    -moz-transition: all 500ms cubic-bezier(0.745, -0.005, 0.305, 1);
    -o-transition: all 500ms cubic-bezier(0.745, -0.005, 0.305, 1);
    transition: all 500ms cubic-bezier(0.745, -0.005, 0.305, 1); /* custom */
  }

  .header-solid {
    height: 100px;
    background-color: #282828;
  }

  .header-transparent {
    height: 140px;
    background-color: transparent;
  }

  #header-logo {
    margin-left: 25px;
  }

  #header-logo img {
    width: 200px;
  }

  .header-right-side {
    display: flex;
    justify-content: space-evenly;
    align-items: center;
  }

  .header-right-side > .navigation ul {
    list-style-type: none;
    margin-right: 20px;
  }

  .header-right-side > .navigation ul li {
    float: left;
  }

  .header-right-side > .navigation ul li a {
    display: block;
    text-align: center;
    text-decoration: none;
    margin: 16px;
    font-weight: 500;
    font-size: 1.15em;

    color: white;
    -webkit-transition: all 300ms cubic-bezier(0.42, 0, 0.58, 1);
    -moz-transition: all 300ms cubic-bezier(0.42, 0, 0.58, 1);
    -o-transition: all 300ms cubic-bezier(0.42, 0, 0.58, 1);
    transition: all 300ms cubic-bezier(0.42, 0, 0.58, 1); /* ease-in-out */
  }

  .header-right-side > .navigation ul li a:hover {
    color: #62c7dd;
  }

  .nav-icon {
    display: none;
  }

  #call-now-header-button {
    background-color: #025e73;
    padding: 10px 30px 10px 30px;
    border-radius: 4px;
    text-decoration: none;
    color: white;
    font-weight: 500;
    font-size: 1.25em;
    margin-right: 25px;

    -webkit-transition: all 300ms cubic-bezier(0.42, 0, 0.58, 1);
    -moz-transition: all 300ms cubic-bezier(0.42, 0, 0.58, 1);
    -o-transition: all 300ms cubic-bezier(0.42, 0, 0.58, 1);
    transition: all 300ms cubic-bezier(0.42, 0, 0.58, 1); /* ease-in-out */
  }

  #call-now-header-button:hover {
    background-color: white;
    color: #025e73;
  }

  #nav-phone-icon {
    display: none;
  }
}

/*Tablet */
@media screen and (min-width: 600px) and (max-width: 1224px) {
  .header-right-side > .navigation ul li a {
    display: none;
  }

  .content-wrapper {
    margin-top: 100px;
  }

  .nav-icon {
    display: block;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    margin-right: 20px;
    border: 2px white solid;
    border-radius: 10px;

    -webkit-transition: all 300ms cubic-bezier(0.25, 0.1, 0.25, 1);
    -moz-transition: all 300ms cubic-bezier(0.25, 0.1, 0.25, 1);
    -o-transition: all 300ms cubic-bezier(0.25, 0.1, 0.25, 1);
    transition: all 300ms cubic-bezier(0.25, 0.1, 0.25, 1); /* ease (default) */
  }

  .nav-icon:hover {
    color: #62c7dd;
    border: 2px #62c7dd solid;
  }

  #header {
    z-index: 99;
    position: fixed;
    top: 0;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;

    height: 100px;
    background-color: #282828;

    -webkit-transition: all 500ms cubic-bezier(0.745, 0, 0.305, 1); /* older webkit */
    -webkit-transition: all 500ms cubic-bezier(0.745, -0.005, 0.305, 1);
    -moz-transition: all 500ms cubic-bezier(0.745, -0.005, 0.305, 1);
    -o-transition: all 500ms cubic-bezier(0.745, -0.005, 0.305, 1);
    transition: all 500ms cubic-bezier(0.745, -0.005, 0.305, 1); /* custom */
  }

  #header-logo {
    margin-left: 25px;
  }

  #header-logo img {
    width: 200px;
  }

  .header-right-side {
    display: flex;
    justify-content: space-evenly;
    align-items: center;
  }

  .header-right-side a {
    color: white;
    text-decoration: none;
    font-size: 2em;
  }

  .header-right-side > .navigation ul {
    list-style-type: none;
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;

    position: absolute;
    width: 175px;
    right: 245px;
    z-index: 9;
  }

  .header-right-side > .navigation ul li {
    float: left;
    position: relative;
    font-size: 1em;
  }

  .responsive > .header-right-side > .navigation ul li a {
    border-top: 2px solid #282828;
    color: white;
    font-size: 1em;
    display: flex;
    line-height: 1.33em;
    padding: 10px;
    text-decoration: none;
    background-color: #333333;

    -webkit-transition: all 200ms cubic-bezier(0.42, 0, 0.58, 1);
    -moz-transition: all 200ms cubic-bezier(0.42, 0, 0.58, 1);
    -o-transition: all 200ms cubic-bezier(0.42, 0, 0.58, 1);
    transition: all 200ms cubic-bezier(0.42, 0, 0.58, 1); /* ease-in-out */
  }

  .header-right-side > .navigation ul li a:hover {
    color: #62c7dd;
  }

  #call-now-header-button {
    background-color: #025e73;
    padding: 10px 30px 10px 30px;
    border-radius: 4px;
    text-decoration: none;
    color: white;
    font-weight: 500;
    font-size: 1.25em;
    margin-right: 25px;

    -webkit-transition: all 300ms cubic-bezier(0.42, 0, 0.58, 1);
    -moz-transition: all 300ms cubic-bezier(0.42, 0, 0.58, 1);
    -o-transition: all 300ms cubic-bezier(0.42, 0, 0.58, 1);
    transition: all 300ms cubic-bezier(0.42, 0, 0.58, 1); /* ease-in-out */
  }

  #call-now-header-button:hover {
    background-color: white;
    color: #025e73;
  }

  #nav-phone-icon {
    display: none;
  }
}

/* Smartphones */
@media screen and (max-width: 600px) {
  .content-wrapper {
    margin-top: 75px;
  }

  .header-right-side > .navigation ul li a {
    display: none;
  }

  .nav-icon {
    display: block;
    width: 40px;
    text-align: center;
    margin-right: 20px;
    border: 2px white solid;
    border-radius: 10px;
  }

  #header {
    z-index: 99;
    position: fixed;
    top: 0;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;

    height: 75px;
    background-color: #282828;

    -webkit-transition: all 500ms cubic-bezier(0.745, 0, 0.305, 1); /* older webkit */
    -webkit-transition: all 500ms cubic-bezier(0.745, -0.005, 0.305, 1);
    -moz-transition: all 500ms cubic-bezier(0.745, -0.005, 0.305, 1);
    -o-transition: all 500ms cubic-bezier(0.745, -0.005, 0.305, 1);
    transition: all 500ms cubic-bezier(0.745, -0.005, 0.305, 1); /* custom */
  }

  #header-logo {
    margin-left: 25px;
  }

  #header-logo img {
    width: 125px;
  }

  .header-right-side {
    display: flex;
    justify-content: space-evenly;
    align-items: center;
  }

  .header-right-side a {
    color: white;
    text-decoration: none;
    font-size: 2em;
  }

  .header-right-side > .navigation ul {
    list-style-type: none;
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;

    position: absolute;
    width: 175px;
    right: 130px;
    z-index: 9;
  }

  .header-right-side > .navigation ul li {
    float: left;
    position: relative;
    font-size: 1em;
  }

  .responsive > .header-right-side > .navigation ul li a {
    border-top: 2px solid #282828;
    color: white;
    font-size: 1em;
    display: flex;
    line-height: 1.33em;
    padding: 10px;
    text-decoration: none;
    background-color: #333333;

    transition: ease-in-out 0.2s;
  }

  .header-right-side > .navigation ul li a:hover {
    color: #62c7dd;
  }

  #call-now-span {
    display: none;
  }

  #call-now-header-button {
    width: 45px;
    height: 45px;
    margin-right: 20px;
    background-color: #025e73;
    border-radius: 15px;
    font-size: 1.75em;

    display: flex;
    align-items: center;
    justify-content: center;
  }
}
