body {
    font-family: Arial, sans-serif;
    
    margin: 0;
    overflow: hidden;
    overflow-y: scroll;
    /* no blue highlighting on mobile */
    /* -webkit-tap-highlight-color: transparent;
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none; */
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    background-color: #1A1A2E;
}
h1,h2,h3,h4,h5,p,strong,span{
    margin:0
}
h1{
   
    font-size: clamp(24px, 3vw, 48px); 
}
h2{
    /* font-size: 24px; */
    font-size: clamp(22px, 5vw, 24px); 
}
h3{
    /* font-size: 22px; */
    font-size: clamp(20px, 5vw, 22px);
}
h4{
    font-size: 18px;
}
p{
    font-size: 14px;
}
.small{
    font-size: 12px;
}
.white{
    color:white;
}
.black{
    color: black;
}
.grey{
    color: #B4B4B4;
}
.dark-blue{
    color: #1A1A2E;
}

.background-white{
    background-color: white;
}
.background-med-blue{
    background-color: #0F3460;
}
.text-centered{
    text-align: center;
}
.inline-padding{
    padding-inline: 5rem;
}
/* .wrapper{

} */
.vert-padding{
    padding: 3rem 0;
}
.logo-img{
    width: 208px;
}
header{
    /* height: 600px; */
    width: 100%;
    background: radial-gradient(#0F3460, #1A1A2E);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}
main{
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}
article{
    width: 100%;
}
#content-carousel{
    background-color: #1A1A2E;
}
#content-toolkit{
    background-color: #16213E;
    padding: 2rem 0;
}
nav{
    padding-top: 84px;
    padding-bottom: 84px;
}
.section-content{
 display: flex;
 justify-content: center;
 width: 100%;
}

.header-content-wrapper{
    display: flex;
    justify-content: space-between;
    width: 80%;
    max-width: 1340px;
    padding-left: 6rem;
    /* width:35%; */
}
.mobile{
    display: none;
}
/* .header-half{
    width: 50%;
} */
.left-half{
    /* padding: 8rem 0 6rem 0; */
    /* padding-top: clamp(4rem,128px ,8rem);
    padding-bottom: clamp(3rem, 96px,6rem); */
    /* width:35%; */
    max-width: 590px;
    /* span{
        white-space: nowrap;
    } */
}
.header-sign-up{
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 2rem;
    align-items: center;
}
/* #sign-up-box{

} */
#successful-sign-up{
  display: none;
  justify-content: center;
  gap: 1rem;
  h2{
    padding: 0 1rem;
  }
  p{padding: 0 1.5rem;
    font-size: 18px;
  }
}
#successful-sign-up-mobile{
  display: none;
  justify-content: center;
  gap: 1rem;
  h2{
    padding: 0 1rem;
  }
  p{padding: 0 1.5rem;
    font-size: 18px;
  }
}
.sign-up-box{
    background-color: #39B54A;
    /* width: 418px; */
    height: 275px;
    width: clamp(345px,30vw,418px);
    aspect-ratio: 306/200;
    /* width: clamp(249px,40vw,px); */
    border-radius: 10px;
    display: flex;
    flex-direction: column;
    justify-content: space-evenly;
}

.golfer-with-img{
    position: relative;
    line-height: 0%;
    /* width: 100%; */
    max-width: 660px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: flex-start;
   
}
.phone-img{
    /* position: absolute;
    bottom: 0;
    left: 0; */
    width: clamp(360px,40vw,660px);
    height: auto;
}
/* .golfer-img{
    position: absolute;
    z-index: 2;
} */
.button-wrapper{
    /* width: 100%; */
    padding-inline: 2rem;
    /* padding-left: 1rem;
    padding-right: 1rem; */
    display: flex;
    flex-direction: column;
    gap: .5rem;
    button{
        width: 100%;
        font-size: 16px;
        padding: 12px;
        border-radius: 30px;
       border: none;
       font-weight: 700;
       transition: .2s;
    
    }
}
.phone-preference-button-wrapper{
  display:flex;
  gap:.75rem
}
.phone-preference-button{
  background-color: transparent;
  color:white;
  border: 2px solid white !important;
  display: flex;
  justify-content: center;
  align-items: center;
  span{
    /* font-size: larger;
    line-height: 16px; */
    opacity: 0;
    font-size: 28px;
    font-weight: 400;
    line-height: 16px;
  }
}
.checked{
  background-color: #0071bc;
  /* padding: 13px; */
  border: 2px solid transparent !important;
  span{
    opacity: 1;
  }
}
.no-show{
  opacity: 0 !important;
}
button:hover{
    cursor: pointer;
}

.email-input-container{
  display: flex;
  flex-direction: column;
  gap: .1rem;
}
#email-error-message{
  font-size: 14px;
  /* display: none; */
  font-weight: 700;
  /* opacity: 0; */
  display: none;
  color:#DC3545;
}
#email-error-message-mobile{
  font-size: 12px;
  /* display: none; */
  font-weight: 700;
  /* opacity: 0; */
  display: none;
  color:#DC3545;
}
#email-input {
  font-size: 16px;
  padding: 12px;
  border-radius: 30px;
  outline: none;
  border: none;
  /* font-weight: 700; */
  color:#767680;
  text-align: center;
  
}
#email-input:focus{
  outline:none;
  border: none;
}
#email-input-mobile {
  font-size: 16px;
  padding: 12px;
  border-radius: 30px;
  outline: none;
  border: none;
  /* font-weight: 700; */
  color:#767680;
  text-align: center;
  
}
#email-input-mobile:focus{
  outline:none;
  border: none;
}
#submit-button{
  transition: .2s;
}
#submit-button:active{
  /* background: radial-gradient(#0F3460, #1A1A2E); */
  background-color: #1A1A2E;
}
.carousel-padding{
    padding: 3rem 0;
}
.carousel {
    position: relative;
    overflow: hidden;
    width: 70%; 
    max-width: 1280px; 
    margin: 0 auto; 
 
  }
  /* (for mobile only */
  .narrow-screen{
    display: none;
  }
  .carousel-slides {
    display: flex;
    transition: transform 0.5s ease; 
    padding: 2rem 0;
  }
  
  .slide {
    width: 100%; 
    flex-shrink: 0; 
    box-sizing: border-box; 
    display: flex; 
    /* flex-direction: column; */
    align-items: center;
    justify-content: space-evenly;
    padding: 20px; 
  }
  
  .slide img {
    max-width: 100%;
    height: auto;
  }
  
  .slide .text {
  width: 40%;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  h1{
    inline-size: 468px;
  }
  p{
    inline-size: 418px;
}
  }
  
  .carousel-button {
    position: absolute;
    top: 50%; 
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.0); 
    color: white;
    border: none;
    font-size: 2em;
    cursor: pointer;
    padding: 10px; 
  }
  
  .carousel-button.left {
    left: 10px; 
  }
  
  .carousel-button.right {
    right: 10px; 
  }


  
  .carousel-dots {
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    justify-content: center;
  }
  
  .dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: #FFFFFF66; 
    margin: 0 5px;
    cursor: pointer;
    border: none;
    padding: 0;
  }
  
  .dot.active {
    background-color: #ffffff; 
    width: 30px;
    border-radius: 10px;
  }

/* MOBILE CAROUSEL */
  .mobile-carousel {
    position: relative;
    overflow: hidden;
    width: 100%; 
    max-width: 1280px; 
    margin: 0 auto; 
 
  }

  .mobile-carousel-slides {
    display: flex;
    transition: transform 0.5s ease; 
    padding: 2rem 0;
  }

  .mobile-slide {
    width: 100%; 
    flex-shrink: 0; 
    box-sizing: border-box; 
    display: flex; 
    flex-direction: column;
    text-align: center;
    align-items: center;
    justify-content: space-evenly;
    gap:1rem;
    padding: 20px; 
    p{
        inline-size: 318px;
    }
  }
  
  .mobile-slide img {
    max-width: 100%; 
    height: auto;
  }
  
  .mobile-slide .text {
  width: 40%;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  h1{
    inline-size: 468px;
  }
  p{
    inline-size: 318px;
}
  }


  .mobile-carousel-button {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.0); 
    color: white;
    border: none;
    font-size: 2em;
    cursor: pointer;
    padding: 10px; 
  }
  
  .mobile-carousel-button.left {
    left: 10px; 
  }
  
  .mobile-carousel-button.right {
    right: 10px; 
  }


  .mobile-carousel-dots {
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    justify-content: center;
  }
  .mobile-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: #FFFFFF66; 
    margin: 0 5px;
    cursor: pointer;
    border: none;
    padding: 0;
  }
  
  .mobile-dot.active {
    background-color: #ffffff; 
    width: 30px;
    border-radius: 10px;
  }
  .toolkit-section{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    gap:2rem;
    max-width: 1280px;
  }
  .toolkit-grid{
    width: 90%;
    display: grid;

    grid-gap: 2rem;
    grid-template-columns: repeat(auto-fill, minmax(18rem, 1fr));
  
    grid-auto-rows: auto;
  }
  .toolkit-card{
    /* background: radial-gradient(#0F3460, #16213E); */
    background-image: radial-gradient(
        farthest-corner at 40px 40px,
        #0F3460 0%,
        #16213E 100%

    );
    width: 250px;
    text-align: left;
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    gap:1rem;
    border-radius: 10px;
    justify-self: center;
    p{
        inline-size: 90%;
    }
  }

  footer{
    width: 100%;
    background-color: #1A1A2E;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 1rem;
  }
  .footer-links{
    display: flex;
    justify-content: space-between;
    max-width: 1200px;
    width: 60%;
    padding: 4rem 0 2rem 0;
  }

  .app-download-buttons{
    display: flex;
    align-items: center;
    gap:2rem;
    img{
        width: 210px;
        border: 1px solid #b4b4b494;
        border-radius: 12px;
    }

  }
  .social-buttons{
    display: flex;
    align-items: center;
    gap:4rem;
    
  }
  .small-button{
    transition: .2s;
  }
  .small-button:active{
    opacity: .7;
  }
  .footer-divider{
    width: 90%;
    max-width: 1588px;
    border: 1px solid #76768029;
  }
  .footer-copyright{
    padding-bottom: 2rem;
  }



/* MEDIA QUERIES */
@media (max-width: 1500px) {
    .widescreen{
        display: none;
    }
    .narrow-screen{
        display: block;
    }
    .carousel-padding{
        padding: 1rem 0;
    }
    .footer-links{
        flex-direction: column-reverse;
        justify-content: center;
        align-items: center;
        gap: 2rem;
    }
}
@media (max-width: 1200px) {
.inline-padding{
    padding-inline: 2rem;
}
nav{
    padding-top: 42px;
    padding-bottom: 42px;
}
    /* .logo-img{
        width: 90%;
    } */
} 

@media (max-width: 950px){
    .not-mobile{
        display: none;
    }
    .mobile{display: flex;}
    .header-content-wrapper{
        flex-direction: column;
        padding: 2rem .5rem;
        width: 100%;
        align-items: center;
    }
    .golfer-with-img{
        margin-left: 2rem;
    }
    .sign-up-box{
        text-align: center;
    }
    .toolkit-grid{
        /* width: 90%; */
        display: grid;
    
        grid-gap: 2rem;
        grid-template-columns: repeat(auto-fill, minmax(8rem, 1fr));
      
        grid-auto-rows: auto;
      }
    .toolkit-card{
        width: 116px;
        /* height: 138px; */
        padding: 1rem;
        gap:.5rem;
    }
}

/* @media (max-width: 720px){
 
} */

@media (max-width: 520px){
  .header-content-wrapper{
    overflow-x: hidden;
  }
    .phone-img{
        width: 100%;
    }
    .sign-up-box{
        width: 90%;
    }

    .button-wrapper{
      /* button{
        padding:12px 2px;
      } */
      button{
        padding: 10px 2px;
        font-size: 14px;
      }
    }
    .app-download-buttons{
        gap: .5rem;
        img{
            width:151px;
        }
       
    }
    .social-buttons{
        gap: 2rem;
    }
    .logo-img{
        width:125px;
    }
    nav{
        padding: 2rem 0 0 0;
    }
}

@media (max-width: 350px){
  .toolkit-grid{
    display: flex;
    flex-direction: column;
    justify-content: center;

  }
  .toolkit-card{
    width:90%;
  }
  .footer-links{
    width:100%;

  }
  .app-download-buttons{
    gap: .5rem;
    width:100%;
    display: flex;
    justify-content: space-evenly;
    gap: 0;
    img{
        width:45%;
    }
   }
   .social-buttons{
    gap:1rem;
    img{width:40px}
   }
}