* {
  box-sizing: border-box;
}

@font-face {
  font-family: 'Oleo';
  src: url('./fonts/OleoScript-Regular.ttf') format('truetype');
  font-weight: 400;
}

html,
body {
  margin: 0;
  scroll-behavior: smooth;
}

body {
  font-family: Arial, Helvetica, sans-serif
}

h2{
  font-family: Oleo;
  font-size:8rem;
}
a {
  color: inherit;
  text-decoration: none
}
.downloadBtn {
    padding: .85rem 1.3rem;
    border-radius: 1rem;
    background: #ff2d7a;
    color: #fff;
    white-space: nowrap;
    transition: transform .2s ease, box-shadow .2s ease, background-color .2s ease;

    &:hover,
    &:focus-visible {
      transform: translateY(-1px);
      background: #e91e6f;
      box-shadow: 0 10px 24px rgba(255, 45, 122, .25);
    }
  }
   .appLinks{
    width: 900px;
    margin: 0 auto;
    display: flex;
    flex-wrap: nowrap;
    justify-content: space-around;
    gap: 1rem;
    border-radius: 5px;
    a{
      display: block;
      height: 66px;
      font-size: 2rem;
      img{
        width:100%;
        height: 100%;
      }
    }
  }
header {
  width: min(1200px, calc(100% - 2rem));
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 0;
  background: transparent;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  backdrop-filter: blur(5px);
  border-radius: 5px;
  .brand {
    display: flex;
    align-items: center;
    gap: .7rem;
    font-weight: 800;
    letter-spacing: .01em;
    white-space: nowrap;
    color: #ff2d7a;

    img {
      width: 70px;
      height: 50px;
      object-fit: cover;
      display: block;
    }
  }

  .siteNav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: clamp(.85rem, 2vw, 2rem);
    flex: 1;

    >a,
    >details>summary,
    .join-btn {
      font: 700 .95rem/1.1 Arial, Helvetica, sans-serif;
      letter-spacing: .02em;
      text-transform: uppercase;
    }

    >a,
    >details>summary {
      position: relative;
      padding: .45rem 0;
      color: #fff;

      &::after {
        content: "";
        position: absolute;
        left: 0;
        bottom: -.15rem;
        width: 100%;
        height: 2px;
        background: #ff2d7a;
        transform: scaleX(0);
        transform-origin: left;
        transition: transform .2s ease;
      }

      &:hover,
      &:focus-visible {
        color: #ff2d7a;
      }

      &:hover::after,
      &:focus-visible::after,
      &.is-active::after {
        transform: scaleX(1);
      }
    }

    >details {
      position: relative;

      >summary {
        list-style: none;
        cursor: pointer;

        &::-webkit-details-marker {
          display: none;
        }
      }

      .navAppsMenu {
        position: absolute;
        top: calc(100% + .75rem);
        left: 50%;
        transform: translateX(-50%);
        min-width: 12rem;
        padding: .75rem;
        display: grid;
        gap: .15rem;
        background: #fff;
        border: 1px solid rgba(17, 24, 39, .08);
        border-radius: 1rem;
        box-shadow: 0 18px 40px rgba(0, 0, 0, .12);
        z-index: 20;
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
        transition: opacity .2s ease, visibility .2s ease, transform .2s ease;

        a {
          padding: .6rem .7rem;
          border-radius: .7rem;
          font-weight: 700;
          transition: background-color .2s ease, color .2s ease;

          &:hover,
          &:focus-visible {
            background: #fff1f7;
            color: #ff2d7a;
          }
        }
      }

      &[open]>summary {
        color: #ff2d7a;

        &::after {
          transform: scaleX(1);
        }
      }

      &:hover .navAppsMenu,
      &:focus-within .navAppsMenu,
      &[open] .navAppsMenu {
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
      }
    }
  }

  
}

@media (max-width:900px) {
  header {
    flex-wrap: wrap;
    justify-content: center;

    .siteNav {
      order: 3;
      width: 100%;
      flex-wrap: wrap;
      gap: 1rem 1.25rem;
      padding-top: .25rem;

      >details .navAppsMenu {
        min-width: min(16rem, calc(100vw - 2rem));
        top: calc(100% + .5rem);
        left: 0;
        transform: none;
      }

      >details:hover .navAppsMenu,
      >details:focus-within .navAppsMenu,
      >details[open] .navAppsMenu {
        transform: none;
      }
    }
  }
}

main {
  margin: 0 auto;
  background: #2b0354;
}

.welcomeHome {
  width: 100%;
  margin: 0 auto;
  text-align: center;
  background-image: url(./img/BannerVectors.png);
  background-repeat: no-repeat;
  background-size: cover;

  img {
    width: clamp(360px, 98%, 1600px);
    object-fit: contain;
  }

  h2 {
    margin: 0 auto;
    padding: 7rem 0 0 0;

    img {
      width: clamp(360px, 98%, 1000px);
    }
  }

  h3 {
    font-size: 3rem;
    margin: 0 auto;
    color: #2b0354;
    background: white;
    width: clamp(360px, 100%, 900px);
    padding: 1rem;
    border-radius: 1rem;
  }

  .jobTabs {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
    text-align: center;
    padding: 1rem 0;
    position: relative;
    top: -50px;

    div {
      width: clamp(100px, 100%, 300px);
      padding: 1rem;
      border-radius: 1rem;

      &:nth-of-type(1) {
        background: #deedfd;
      }

      &:nth-of-type(2) {
        background: #f4eafe;
      }

      &:nth-of-type(3) {
        background: #ffe7f0;
      }

      &:nth-of-type(4) {
        background: #e7f7fa;
      }

      h3 {
        margin: 0;
        padding: 0;
        font-size: 2rem;
        width: 100%;
        background: transparent;
      }

      p {
        font-size: 1.5rem;
      }
    }
  }
}

.whatStopThem {
  width: 100%;
  text-align: center;
  background-image: url(./img/BannerVectors3.png);
  background-repeat: no-repeat;
  background-size: cover;
  h2 {
    margin: 0 auto;

    img {
      width: clamp(360px, 98%, 1000px);
    }

    &:nth-of-type(2) {
      color: white;
    }
  }

  h3 {
    font-size: 3rem;
    margin: 0 auto;
    color: #2b0354;
    background: white;
    padding: 1rem;
    border-radius: 1rem;
  }

  img {
    width: clamp(360px, 98%, 1000px);
  }
}

.whatWeDo{
  width: 100%;
  text-align: center;
  background-image: url(./img/BannerVectors2.png);
  background-repeat: no-repeat;
  background-size: cover;
  h2{
    margin: 0 auto;
    span{
      &:nth-of-type(1){
        color: #ff2d7a;
      }
      &:nth-of-type(2){
        color: #f4eafe;
      }
      &:nth-of-type(3){
        color: #F6B403;
      }
    }
  }
  h3{
    font-size: 2.5rem;
    margin: 4rem auto;
    color: white;
  }
  .AppTabs {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
    text-align: center;
    padding: 1rem 0;
    position: relative;
    top: -50px;

    div {
      width: clamp(100px, 100%, 300px);
      padding: 1rem;
      border-radius: 1rem;
      overflow-x: hidden;
      h3{
        font-size: 2rem;
        color: #fff;
      }
      p{
        font-size: 1.5rem;
        color: #fff;
        font-family: 'oleo', sans-serif;
        font-style: uppercase;
      }
      &:nth-of-type(1) {
        background: #ff2d7a;
      }

      &:nth-of-type(2) {
        background: #32d120;
      }

      &:nth-of-type(3) {
        background: #F6B403;
      }
    }
  }
}

.mcat{
  width: 100%;
  text-align: center;
  h2{
    margin: 0 auto;
    span{
      color: #ff2d7a;
       &:nth-of-type(1) {
        color: #ff2d7a;
      }

      &:nth-of-type(2) {
        color: #ffffff;
      }

      &:nth-of-type(3) {
        color: #F6B403;
      }
    }
  }
  h3{
    font-size: 3rem;
    margin: 4rem auto;
    color: white;
  }
  img{
    width: clamp(360px, 98%, 800px);
  }
  a{
    border-radius: 5px;
    font-size: 2rem;
  }
  p{
    font-size: 1.5rem;
    width:900px;
    margin: 2rem auto;
    color: white;
  }
 
}



.appCard{
  width: clamp(360px, 98%, 1200px);
  margin: auto;
  border-radius: 1rem;
  background: #2b0354;
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  padding: 1rem;
  img{
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
  .appCardContent{
    text-align: left;
    padding:1rem;
    h2{
      font-size: 4rem;
      color: #fff;
    }
    p{
      font-size: 1.5rem;
      color: #fff;
    }
    
  }
}
footer{
  padding: 8rem;
  a{
    width: 300px;
    display:flex;
    flex-direction: column;
    margin: 2rem;
    text-align: left;
    color: #fff;
    font-size: 1.6rem;
  }
  p{
    position: relative;
    bottom:0;
    z-index: 10;
  }
}

  @media (max-width: 600px) {
    footer{
      background:url(./img/footerBannerMobile.png);
      background-size: cover;
      background-repeat: no-repeat;
      height: 200vh;
    }
    
  }
  @media (min-width: 600px) {
    footer{
      background:url(./img/footerBanner.png);
      background-size: cover;
      background-repeat: no-repeat;
      height: 100vh;
    }
  }

  .copyRight{
    padding:1rem;
    background-color: #2b0354;
    color:#e91e6f;
    margin:0;
  }