@import url(https://fonts.googleapis.com/css?family=Raleway:700, 400, 300);

@font-face {
  font-family: "carlitobold";
  src: url("../fonts/carlito-bold-webfont.woff2") format("woff2"),
    url("../fonts/carlito-bold-webfont.woff") format("woff");
  font-weight: normal;
  font-style: normal;
}

html,
h1,
h2,
h3,
h4,
h5,
h6,
p {
  font-family: "Raleway", sans-serif;
}
p {
  line-height: 24px;
  font-size: 15px;
}

h1,
h2,
h4 {
  font-weight: bold;
}

h4 {
  text-transform: uppercase;
}

h1,
h2,
h3,
h4,
h5,
h6,
p,
img,
.btn {
  -moz-transition: all 0.2s ease-in-out;
  -webkit-transition: all 0.2s ease-in-out;
  -o-transition: all 0.2s ease-in-out;
  -ms-transition: all 0.2s ease-in-out;
  transition: all 0.2s ease-in-out;
}

.container {
  overflow: hidden;
}

.head {
  background-image: url("../images/bg-img-1.jpg");
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
  border-width: 0;
  min-height: 100vh;
  width: auto;
}

.head h1 {
  font-family: "carlitobold";
  font-size: 2rem;
  font-weight: bold;
  color: #053c5d;
  line-height: 1rem;
}

.head p {
  color: #333;
}

.logo {
  margin-top: 50px;
}

.social img {
  margin-top: 65px;
  float: right;
  padding-left: 14px;
}

.main-content {
  margin-top: 84px;
  color: #fff;
  display: flex;
  align-content: flex-start;
  flex-direction: column;
  text-align: left;
}

.main-content h1 {
  font-size: 6rem;
  line-height: 40px;
  font-family: "carlitobold";
  margin-bottom: 30px;
  text-align: left;
}
.main-content h2 {
  font-family: "carlitobold";
  color: #053c5d;
  font-size: 3.5rem;
}

.main-content h3 {
  color: #053c5d;
  font-family: "carlitobold";
  font-size: 2rem;
  margin-bottom: 20px;
  text-align: left;
}

.main-content p {
  font-weight: 400;
  font-size: 20px;
  text-align: left;
}

.main-content figure {
  text-align: left;
}

figure img {
  width: 200px;
  margin: 0 auto;
}

.phone-mockup img {
  float: left;
  vertical-align: bottom;
  height: 700px;
  width: auto;
}

.home-btn {
  display: inline-block;
  margin-top: 22px;
  font-size: 14px;
  width: 223px;
  border-radius: 5px;
  color: #fff;
  background-color: #053c5d;
  margin-right: 20px;
  border: none;
  padding: 15px 20px;
  text-align: left;
}
.home-btn img {
  width: 20px;
  max-height: 24px;
  margin-right: 10px;
  fill: #fff;
  color: #fff;
}

.home-btn:hover {
  background-color: #333333;
  color: #fff;
}

.footer-info {
  padding-top: 30px;
  padding-bottom: 24px;
  background-color: #e7e7e7;
  color: #053c5d;
}

.footer-info img {
  width: 100px;
  height: auto;
}

.footer-nav ul {
  text-decoration: none;
  text-align: center;
  list-style-type: none;
  margin-top: 10px;
}

.footer-nav li {
  display: inline;
  padding: 6px;
}

.footer-nav li a {
  color: #c0c0c0;
}

.footer-info p {
  color: #053c5d;
  margin-top: 10px;
  text-align: right;
}

@media only screen and (max-width: 719px) {
  .logo {
    width: 100% !important;
    text-align: center;
    display: flex;
    align-content: center;
    align-items: center;
  }

  .logo img {
    margin: 0 auto;
    width: 150px;
  }
  .main-content {
    text-align: center;
  }

  .main-content h1 {
    font-size: 4rem;
    line-height: 40px;
    font-family: "carlitobold";
    margin-bottom: 30px;
    text-align: center;
  }
  .main-content h2 {
    font-size: 2.5rem;
  }

  .main-content h3 {
    color: #053c5d;
    font-family: "carlitobold";
    font-size: 2.5rem;
    margin-bottom: 20px;
    text-align: center;
  }

  .main-content p {
    font-weight: 400;
    font-size: 16px;
    text-align: center;
  }

  .main-content figure {
    text-align: center;
  }

  .main-content figure img {
    width: 250px;
    margin: 0 auto;
    margin-bottom: 30px;
  }
  .home-btn {
    display: inline-block;
    margin: 22px auto 0 auto;
    font-size: 14px;
    width: 223px;
    border-radius: 5px;
    color: #fff;
    background-color: #053c5d;
    border: none;
    padding: 15px 20px;
  }
  .home-btn img {
    width: 20px;
    margin-right: 10px;
    fill: #fff;
    color: #fff;
  }

  .phone-mockup {
    text-align: center;
    display: flex;
    align-content: center;
    margin-top: 40px;
  }

  .phone-mockup img {
    vertical-align: bottom;
    height: 620px;
    width: auto;
    margin: 0 auto;
    float: unset;
  }

  .footer-info {
    padding-top: 30px;
    padding-bottom: 24px;
    background-color: #e7e7e7;
    color: #053c5d;
  }

  .footer-info img {
    width: 100px;
    height: 60px;
  }

  .footer-nav ul {
    text-decoration: none;
    text-align: center;
    list-style-type: none;
    margin-top: 10px;
  }

  .footer-nav li {
    display: inline;
    padding: 6px;
  }

  .footer-nav li a {
    color: #c0c0c0;
  }

  .footer-info p {
    color: #053c5d;
    margin-top: 10px;
    text-align: center;
  }
  .logo-footer,
  .copyright {
    display: flex;
    align-content: center;
  }
  .logo-footer img {
    margin: 0 auto;
  }
  .copyright p {
    text-align: center;
  }
}
