* {
  box-sizing: border-box;
}

html {
  padding: 0;
  margin: 0;
}

body {
  font-family: 'Open Sans', sans-serif;
  width: 100%;
  margin: 0 auto;
  padding: 110px 0 0 0;
  color: #000;
}

:root {
  --primary: #19468D;
  --primary-hover: #00205E;
  --secondary: #A21F36;
  --xxxxlarge: 3rem;
  --xxxlarge: 2.5rem;
  --xx2large: 2rem;
  --xxlarge: 1.5rem;
  --xlarge: 1.3rem;
  --xslarge: 1.1rem; 
  --large-text: 20px;
  --large: 15px;
  --medium: 12px;
}

.btn-primary {
  color: #fff;
  background-color: var(--primary);
  border-color: var(--primary);
  padding: 18px 22px;
  border-radius: 50px;
}

.btn-primary:hover{
  background-color: var(--primary-hover);
  border-color: var(--primary-hover);
}

.red {
  color: var(--secondary)
}

.navbar {
  z-index: 999;
  position: fixed;
  height: 110px;
  left: 0px;
  top: 0px;
  padding:0;
  margin:0;
  background: #F5F5F5;
  mix-blend-mode: normal;
  width: 100%;
}

.navbar-container {
  margin: auto;
  width: calc(100% - 6rem);
  display: flex;
  justify-content: space-between;
}

.navbar a {
  color: #aaa;
  display: inline-block;
  padding: 10px;
  text-decoration: none;
}

.navbar a:hover {
  color: #ffffff;
}

.logo {
   width: 260px;
}

.wrapper {
  max-width: 1807px;
  width: calc(100% - 6rem);
  margin: 5rem auto 0 auto;
}

.display-5 {
  font-size: var(--xxxxlarge);
}

.main-background-image {
  background-image: url('img/Clutch_Trio-2000x1000.png'); 
  background-repeat: no-repeat; 
  background-position: center right;
  background-size: clamp(300px,60%,1100px);
}

.main-image, .double-phone-image, .corner-phone-image {
  width: 100%;
}

.word-block-left {
   margin-left: -20px;
}

.list {
  font-size: 2rem;
  font-weight: 300;
  font-style: italic;
  font-size: var(--xxxlarge);
  display: block;
  padding-left: 60px;
}

.list li::marker {
  font-size: var(--xxlarge);
}

.sign-up-btn, .download-btn, .btn-primary {
   font-size: var(--xlarge);
   width: 190px;
}

.full-width-btn {
  width: 100% !important;
}

/*******************************/

.highlights-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-gap: 40px
}

.highlights-container {
  margin-left: 1rem;
  padding: 20px 20px 20px 0;
  position: relative;
}

.highlights-background-image {
  margin-right: -30px;
  background-image: url('img/Arrow-Component.svg');
  background-size: 65%;
  background-repeat: no-repeat;
  background-position: top 100px center;
}

.highlights-container.dotted {
  background-image: url('img/Dots-Component.svg');
  background-repeat: no-repeat;
  background-position: top right;
}

.highlights-container.rotated {
  background-image: url('img/DotsComponent-Rotated.svg');
  background-repeat: no-repeat;
  background-position: bottom right;
}

.highlights-circle {
  position: absolute;
  background-color: #fff;
  padding: 23px 40px;
  top: -40px;
  left: -40px;
  border-radius: 50%;
  border: 5px solid var(--primary);
  color: var(--primary);
}

.highlights-circle h1 {
  font-size: var(--xxxlarge) !important;
}

.highlights-container h1 {
  font-size: var(--xxlarge);
}

.highlights-message-container {
  background-color: #fff;
  height: 14rem;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 30px;
  border-radius: 20px;
  border: 5px solid var(--primary);
  color: var(--primary);
  width: 100%;
}

.highlights-box1 {
  margin-top:2rem
}

.highlights-box2 {
  margin-top:16rem
}

.highlights-box3 {
  margin-top:-6rem
}

.highlights-box4 {
  margin-top: 8rem
}

/**********************************/

.flowcode-message {
   font-size: var(--large-text);
}

.flowcode {
  margin: auto;
   max-width: 280px;
}

.single-phone-background-image {
  background-image: url('img/Clutch_Duo-1000x1000.png'); 
  background-repeat: no-repeat; 
  background-position: right bottom;
  background-size: clamp(300px, 70%, 700px);
}

.disclaimer {
   font-size: var(--xslarge);
   text-align: center;
}

.disclaimer a {
   text-decoration: none;
}

.disclaimer a:hover {
   border-bottom: 1px solid var(--secondary);
}

.social-media {
  color: var(--primary)
}

.social-media a:link, .social-media a:visited{
   color: var(--primary);
}

.social-media a:hover, .social-media a:active   {
  color: var(--primary-hover);
}

.corner-phone-background-image {
  background-image: url('img/Clutch_Single-1000x1000.png');
  background-repeat: no-repeat; 
  background-size: clamp(300px, 50%, 500px);
  background-position: right bottom;
  padding-bottom: 200px;
}

/********** Testimonies ***********/

input::placeholder {
  font-style: italic;
  color: rgba(0,0,0,0.5);
}

#download, #signup {
  scroll-margin-top: 120px;
}

.slider {
  margin: auto;
  width: calc(100% - 2rem);
}

.slick-arrow::before {
  color: #D1D3D4 !important;
}

.testimonials-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-gap: 20px
}

.testimony-container {
  margin-left: 1rem;
  padding: 20px 20px 20px 0;
  position: relative;
}

.testimony-background-image {
  margin-right: -30px;
}

.testimony-circle {
  position: absolute;
  background-color: #fff;
  height: 100px;
  width: 100px;
  top: 0px;
  left: -10px;
  border-radius: 50%;
  border: 5px solid var(--primary);
  color: var(--primary);
  background-repeat: no-repeat;
  background-position: center center;
  background-size: 100px;
}

.driver1 {
  background-image:url('img/driver1.png');
}

.driver2 {
  background-image:url('img/driver2.png');
}

.driver3 {
  background-image:url('img/driver7.png');
}


.testimony-message-container {
  background-color: var(--primary);
  min-height: 16rem;
  padding: 10px 20px 0 30px;
  border-radius: 20px;
  color: #fff;
  width: 100%;
  min-width: 290px;
  word-wrap: break-word;
}

.testimony-message-container .driver-name {
   margin-left: 70px;
   text-align: left;
   font-size: var(--xxlarge);
}

.testimony-message-container .rating {
  text-align: left;
  margin-left: 70px;
  font-size: var(--xxlarge);
  color: #cbb700;
}

.testimony-message-container span {
  font-style: italic;
}

.testimony-divider-1 {
  margin-top: 8rem;
}

.testimony-divider-2 {
 margin-top: -6rem;
}

footer {
  width: 100%;
  height: 110px;
  left: 0px;
  top: 0px;
  margin: 0;
  background: #F5F5F5;
  mix-blend-mode: normal;
  width: 100%;
  font-size: var(--xlarge);
}

footer section {
  height: 100%;
}

footer .footer-container {
    margin: auto;
    width: calc(100% - 6rem);
    display: flex;
    justify-content: space-between;
    color: var(--primary);
    height: 100%;
}

footer a {
  color: var(--primary);
}

footer a:hover  {
  color: var(--primary-hover);
} 

footer .extras a {
  text-decoration: none;
}

/************* Media Queries *********************/

@media only screen and (max-width: 1400px) {

  .display-5 {
    font-size: var(--xxxlarge);
  }

  .main-background-image {
    background-size: 60%;
  }

  .list {
    font-size: var(--xxlarge);
    padding-left: 30px;
  }
  
  .list li::marker {
    font-size: var(--xxlarge);
  }


  .highlights-background-image {
    background-image: url('img/Arrow-Component.svg');
    background-size: 60%;
  }

  .testimonials-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-gap: 10px
  }

}


@media only screen and (max-width: 1200px) {

  .navbar-container {
    width: calc(100% - 2rem);
    margin: auto;
    display: flex;
    justify-content: center;
  }

  .navbar-buttons {
    display: none;
  }

  .logo-container {
    display: block;
    margin: auto;
  }

  .logo-container a {
    padding: 0;
    margin: 0;
     text-decoration: none;
  }

  .logo-container .logo {
    width: 150px;
  }

  .wrapper {
    width: calc(100% - 2rem);
    margin: 2rem auto 0 auto;
  }

  .display-5 {
    font-size: var(--xxxlarge);
  }

  .list {
    font-size: var(--xlarge);
    padding-left: 30px;
  }
  
  .list li::marker {
    font-size: var(--xlarge);
  }

  .main-background-image {
    background-size: clamp(300px,60%,700px);
  }

  .highlights-background-image {
    background-position: top center;
    background-size: 50%;
  }

  .highlights-section {
    grid-gap: 10px;
  }

  .highlights-container {
    width: 90%;
    margin: auto;
  }

  .highlights-container h1 {
    font-size: var(--large);
  }

  .highlights-circle {
    position: absolute;
    background-color: #fff;
    padding: 8px 24px;
    top: -25px;
    left: -25px;
  }

  .highlights-message-container {
    padding: 30px 20px;
    height: 160px;
    width: 100%;
  }

  .highlights-divider {
    margin-top: 1rem;
  }

  .highlights-box1 {
    margin-top:2rem
  }
  
  .highlights-box2 {
    margin-top:10rem
  }
  
  .highlights-box3 {
    margin-top:-6rem
  }
  
  .highlights-box4 {
    margin-top: 3rem;
  }

  .testimonials-section {
    grid-template-columns: 1fr;
    grid-gap: 0px
  }

  .testimony-container {
    padding: 20px 10px 10px 0;
  }
  
  .testimony-message-container {
    min-height: 9rem;
    padding: 10px 20px 0 20px;
    width: 100%;
  }
  
  .testimony-message-container .driver-name {
     margin-left: 80px;
     text-align: left;
     font-size: var(--xlarge);
  }
  
  .testimony-message-container .rating {
    margin-left: 80px;
    text-align: left;
    font-size: var(--xlarge);
  }

  .testimony-divider-1 {
    margin-top: 0;
 }

 .testimony-divider-2 {
   margin-top: 0;
 }
}

@media only screen and (max-width: 992px) and (min-width: 577px) {
   /***************/

   .highlights-background-image {
    background-size: 90%;
  }

   .corner-phone-background-image {
      padding-top: 100px;
      width: 75%;
      margin: auto;
   }
}

@media only screen and (max-width: 768px) {
  /***************/
}

@media only screen and (max-width: 576px) {

  .navbar-container {
    width: calc(100% - 2rem);
  }

  .navbar-buttons {
    display: none;
  }

  .logo-container {
    display: block;
    margin: auto;
  }

  .logo-container .logo {
    width: 150px;
  }

  .wrapper {
    width: calc(100% - 2rem);
    margin: 2rem auto 0 auto;
  }

  .list {
    font-size: var(--xlarge);
  }

  .highlights-background-image {
    width: calc(100% - 2rem);
    margin: auto;
    background-image: url('img/Arrow-Component-2.svg');
    background-size: 150%;
  }

  .disclaimer {
    font-size: var(--medium);
    color: rgba(0,0,0,0.3);
  }

  footer .footer-container {
    width: calc(100% - 3rem);
    padding: 10px 0;
    font-size: var(--large);
  }
}