/*
Theme Name: Fingertips
Author: The Design Bank
Author URI: https://thedesignbank.co.uk
Description: The Design Bank custom theme for WordPress
Version: 1.0
License: GNU General Public License v3 or later
License URI: http://www.gnu.org/licenses/gpl-3.0.html
*/

@import url("https://fonts.googleapis.com/css2?family=Manrope:wght@200..800&display=swap");

:root {
  --white: #ffffff;
  --black: #000000;
  --red: #ff0044;
  --bodyFont: "Manrope", sans-serif;
  --gradient: linear-gradient(
    270deg,
    rgba(255, 0, 26, 1) 0%,
    rgba(216, 0, 86, 1) 100%
  );
  --offset: 50%;
  --borderRadius: 10px;
  --quoteRadius: 40px;
}

body {
  font-family: var(--bodyFont);
}

h1 {
  font-size: 72px;
  font-weight: bold;
}

h3 {
  font-size: 48px;
  font-weight: normal;
  background: var(--gradient);
  background-clip: text;
  color: transparent;
}

.borderBottom {
  border-bottom: 1px solid var(--white);
}

.buttonGradient {
  background: var(--gradient);
  padding: 1rem 2rem;
  border-radius: var(--borderRadius);
  color: var(--white);
  text-decoration: none;
  &:hover {
    opacity: 0.5;
  }
}
.buttonImage img {
  transition: transform 0.3s ease;
}
.buttonGradient:hover .buttonImage img {
  transform: rotate(45deg);
}

.buttonGradient {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.buttonGradient .buttonImage {
  display: flex;
  align-items: center;
  margin-left: auto;
}

.buttonGradient .buttonImage img {
  display: block;
}

.header {
  height: 100vh;
  max-height: 950px;
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
  .logo {
    a {
      background-color: var(--white);
      padding: 1.5rem;
      border-radius: var(--borderRadius);
    }
  }
}

footer {
  padding: 0 0 1rem;
  background: #ff001a;
  background: var(--gradient);
  color: var(--white);
  font-size: 14px;
  h4 {
    font-weight: bold;
    font-size: 20px;
    margin: 1rem 0;
  }
  a {
    color: var(--white);
    text-decoration: none;
  }
  ul {
    list-style-type: none;
    padding-left: unset;
  }
  .middleSection {
    margin: 3rem auto;
    .logo {
      img {
        filter: brightness(0) invert(1);
      }
    }
  }
  .policyLinks {
    ul {
      display: flex;
      justify-content: flex-end;
      align-items: center;
      gap: 1rem;
      list-style: none;
      margin: 0;
      padding: 0;

      li {
        display: inline-block;
        margin-right: 1rem;
        &:last-child {
          margin-right: 0;
        }
        a {
          text-decoration: none;
          display: inline-block;
        }
      }
    }
  }
  .socialIcon {
    a {
      margin-right: 1rem;
      &:last-child {
        margin-right: 0;
      }
      &:hover {
        filter: grayscale(100%) brightness(0%);
      }
    }
  }
  .newsletterForm {
    max-width: 750px;
    margin: 0 auto;
    .wpcf7-form-control-wrap {
      display: block;
    }
    p {
      margin: 0;
    }
  }
  .newsletterInput {
    position: relative;
    input[type="email"] {
      width: 100%;
      height: 45px;
      padding: 0 110px 0 15px;
      border: unset;
      border-radius: 10px;
      background: #fff;
      font-size: 14px;
      color: #555;
      outline: none;
      box-sizing: border-box;
      &:placeholder {
        color: #9c9c9c;
      }
    }
  }
  .newsletterButton {
    position: absolute;
    top: 4px;
    right: 4px;
    width: 37px;
    height: 37px;
    border: none;
    border-radius: 5px;
    background: #f32735;
    color: #fff;
    font-size: 28px;
    cursor: pointer;
    display: flex;
    align-items: end;
    justify-content: center;
    transition: 0.3s ease;
    line-height: 52px;
    &:hover {
      background: #d91d2c;
    }
  }
  .footer-cta {
    width: 100%;
    .bg-left {
      background: #ffffff;
      min-height: 300px;
      h3 {
        font-size: 48px;
      }
      p {
        color: var(--black);
        font-size: 15px;
      }
    }
    .bg-right {
      background: unset;
      min-height: 300px;
      a {
        color: #fff;
        text-decoration: none;
        &:hover {
          text-decoration: underline;
        }
      }
    }
    .btn-danger {
      background: var(--gradient);
      border: none;
    }
  }
}

.wwdGrid :nth-child(2n + 2) {
  margin-top: var(--offset);
  margin-bottom: calc(var(--offset) * -1);
}

.wwdGrid > div {
  border: 2px dashed red;
  min-height: 5em;
  display: flex;
  justify-content: center;
  align-items: center;
}
.buttonGroup {
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: flex-start;
  margin-top: 2rem;
}

.tongue {
  margin-bottom: 10rem;
  h3 {
    line-height: 64px;
  }
  @media (max-width: 768px) {
    img {
      display: block;
      margin: 0 auto;
      max-height: 320px;
    }
  }
}

.wwdContent {
  margin: 5rem auto 15rem;
  p {
    font-size: 15px;
    line-height: 26px;
  }
  .buttonGradient {
    min-width: 320px;
  }
}

.wwdGrid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
  align-items: start;
  .wwdItem {
    background: var(--gradient);
    color: #fff;
    padding: 30px 30px;
    text-align: center;
    min-height: 340px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    h4 {
      color: #fff;
      margin-bottom: 15px;
      margin-top: 1rem;
    }
  }
  .wwdImage {
    img {
      width: 80px;
      height: 80px;
      object-fit: contain;
    }
  }
  .wwdText {
    font-size: 0.95rem;
    opacity: 0.9;
  }
}

.marquee {
  margin-top: 5rem;
  h3 {
    font-size: 14px;
    line-height: 28px;
    text-transform: uppercase;
    color: var(--black);
  }
}

.marqueeLoop {
  overflow: hidden;
  white-space: nowrap;
  margin: 1rem auto 5rem;
  span {
    display: inline-block;
    padding-left: 100%;
    animation: scroll 30s linear infinite;
    font-size: 128px;
    font-weight: 600;
    text-transform: capitalize;
  }
}

@keyframes scroll {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-100%);
  }
}

@media (prefers-reduced-motion: reduce) {
  .marquee span {
    animation: none;
    padding-left: 0;
  }
}

.iconTextTagline {
  margin-top: 5rem;
  .text {
    font-size: 24px;
    line-height: 44px;
  }
  .tagline {
    font-size: 14px;
    line-height: 26px;
  }
}

.hero-content {
  color: var(--white);
  p {
    font-size: 15px;
    line-height: 26px;
  }
}

.quotes {
  margin: 5rem;
  .gradientBox {
    background: var(--gradient);
    padding: 2rem 5rem;
    border-radius: var(--quoteRadius);
    font-size: 36px;
    color: var(--white);
  }
  .boxLeft {
    max-width: 750px;
  }
  .boxRight {
    max-width: 700px;
  }

  @media (max-width: 768px) {
    .boxLeft,
    .boxRight {
      max-width: 100%;
    }
  }
}

.gradientBox {
  background: linear-gradient(90deg, #d5006d 0%, #ff001f 100%);
  color: #fff;
  border-radius: 40px;
  padding: 40px 55px;
  font-size: 3rem;
  font-weight: 300;
  line-height: 1.25;

  /* Animation */
  opacity: 0;
  transform: translateY(80px);
  transition: all 2s ease;
}

.gradientBox.show {
  opacity: 1;
  transform: translateY(0);
}
