@import url('https://fonts.googleapis.com/css2?family=Lato&display=swap');
@font-face {
  font-family: 'klavika-web', sans-serif;
  src: url(./Klavika-Regular.otf) format('otf');
}
@font-face {
  font-family: 'klavika-medium', sans-serif;
  src: url(./Klavika-Medium.otf) format('otf');
}
@font-face {
  font-family: 'klavika-bold', sans-serif;
  src: url(./Klavika-Bold.otf) format('otf');
}
input#FirstName {
  border-right: none;
}
input#FirstName, input#LastName, input#Email {
  border-bottom: none;
  padding-bottom: 0!important;
}

input[type="submit"] {
  background-color: #C10230!important;
  border-color: #C10230!important;
  color: #fff!important;
  font-weight: 900!important;
  font-size: 22px!important;
  text-align: left!important;
  padding-left: 12px!important;
}
svg#chevron-right {
  position: absolute;
  right: 20px;
  bottom: 19px;
}
body {
  padding-top: 0!important;
  padding-right: 0!important;

  background-image: url("./images/TRhugs.jpg");
  background-position: right center;
  background-attachment: fixed;
  background-repeat: no-repeat;
  background-size: 130vh;
  scroll-behavior: smooth;
} 
body, html {
  overflow-x: hidden;
}

main, .btn {
    -webkit-font-smoothing: antialiased;
}

main {
  margin-top: 80px;
  height: 100shv;
}


/* fonts */ 

h1 {
  font-family: klavika-web,sans-serif;
  font-size: 26px !important;
  font-weight: 600 !important;
  color: #bc0a0f;
  margin: 0px !important;
  line-height: 30px;;
}

h2 {
  font-family: klavika-web,sans-serif;
  font-size: 14px !important;
  color: #6c757d;
  font-weight: 600 !important;
}

p {
  font-family: 'proxima-nova', sans-serif;
  font-size: 18px;
  font-weight: 600;
  color:#6c757d;
  line-height: 21px;
}

.smallText {
  font-family: 'proxima-nova', sans-serif;
  font-size: 12px;
  font-weight: 300;
  color: #4a4a4a;
  padding-top: 4px;
}

#divider {
  font-family: 'proxima-nova', sans-serif;
  font-size: 14px;
  font-weight: 300;
  color: #4a4a4a;
  padding-left: 15px;
  padding-right: 15px;
}


/* main page layout sections */

.pageFundraiser {
  background-color: #bc0a0f;
  padding: 40px;
  height: 100%;
}

.backgroundOverlayContainer {
  position: fixed;
  padding-right: 0;
  left: 0;
  height: 100%;  
  display: flex;
  pointer-events: none;
}

.backgroundOverlayTransparent {
  background-color: #bc0a0f;
  opacity: .5;
  padding-right: 0;
  height: 100%;
  width: 10vw;
  text-align: right;
}

.backgroundOverlay {
  background-color: #bc0a0f;
  padding-right: 0;
  height: 100%;
  min-width: 700px;
  width: 41vw;
  text-align: right;
}

.bodyForm {
  background-color: white;
  height: auto;
  position: relative;
  min-width: 750px;
  width: 48vw;
  padding: 40px;
}


/* fundraiser info */

.formHeader {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
}

.formHeader-btns {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 20px;
}

#fb-icon {
  width: 90px;
  height: 30px;
}

#hugsImage {
  display: none;
}


/* donation amount form */ 

.stripe-container {
  display: flex;
  flex-direction: column;
}

#donation-amount {
  width: 40vw;
}

.amountButton {
  height: 80%;
  width: 50%;
}

.amountButtonImg {
  height: 100%;
  width: 100%;
}

.selectedButton {
  border: 10px solid #98080c; /* Blue border to indicate selection */
  background-color: #e0f7fa; /* Light blue background to indicate selection */
}

.amountButtonRow {
  display: flex;
  flex-direction: row;
  gap: 15px;
  margin-bottom: 15px;
  justify-content: center;
  align-items: center;
}

.otherOpen {
  width: 50%;
  display: none;
}

.otherAmount {
  display: block;
  height: 20%;
  width: 100%;
  border: none;
  background: transparent;
  font-family: 'proxima-nova', sans-serif;
  font-weight: medium;
  font: 16px;
  color: white;
}

.inputBox {
  height: 80%;
  border-style: solid;
  border-color: #6c757d;
  border-width: 3px;
  display: flex;
  flex-direction: row;
  gap: 0;
  color: black;
}

#otherInput {
  width: 90% !important;
  border: 0px solid;
  font-family: 'proxima-nova', sans-serif !important;
  font-weight: bold;
  color: black !important;
  justify-content: center !important;
  font-size: 16px !important;
  line-height: 16px !important;
  border-radius: 0 !important;
  height: 40px;
  width: 50%;
  padding-left: 10px;
}

#otherInput:focus {
  outline: none;
}

::placeholder {
  color: #6f7c7d;
}

#currency {
  font-family: 'proxima-nova', sans-serif;
  font-weight: medium;
  font-size: 12px !important;
  color: black;
  display: flex;
  justify-content: center;
  align-items: center;
  padding-right: 10px;
}

#nextButton {
  display: block;
  background-image: linear-gradient(to right, rgb(176, 0, 32), rgb(211, 0, 38));
  background-color: white;
  border: none;
  font-family: 'proxima-nova', sans-serif;
  font-weight: medium;
  font: 16px;
  line-height: 16px !important;
  color: white;
  text-align: center !important;
  font-size: 16px;
  height: 40px;
  width: 100%;
  border-radius: 0 !important;
}

#nextButton:hover {
  background-image: none;
  background-color: white;
  color: #98080c;
  box-shadow: 0 0 20px #98080c;
}



/* change amount button */
#changeAmountButton {
  display: flex;
  font-family: 'proxima-nova', sans-serif;
  font-weight: medium;
  font-size: 12px !important;
  color:rgb(211, 0, 38);
  font-style: italic;
  text-decoration: underline;
  cursor: pointer;
}


/* footer */

#footer {
  padding-top: 60px;
}

#footerLinksGroup {

  flex-direction: row;
  display: flex;
  justify-content: center;
  margin-bottom: 20px;
}

.footerLink {
  font-family: 'proxima-nova', sans-serif;
  text-decoration: underline !important;
  font-size: 14px;
  font-weight: 300;
  color:#6c757d !important;
  line-height: 21px;
}

#footerText {
  text-align: center;
  font-weight: 300 !important;
  font-size: 12px;
  line-height: 14px;
}


/* styles for mobile devices */

@media only screen and (max-width: 991px) {
  .pageFundraiser {
    padding: 0px;
    background-color: #ffffff;
    height: 100svh;
  }
  main {
    padding-left: 0px;
    padding-right: 0px;
  }
  #hugsImage {
    display: block;
    height: 300px !important;
    width: 100%;
    object-fit: cover;
  }
  .bodyForm {
    top: 10px;
    width: 100%;
    min-width:100%;
    margin: 0px;
  }
  .backgroundOverlayContainer {
    width: 100%;
  }
  .backgroundOverlay {
    width: 100%;
    min-width:100%;
  }
  #donation-amount {
    width: 80vw;
  }
  .amountButtonRow {
    flex-direction: column;
  }
  .amountButton {
    height: 90%;
    width: 100%;
  }
}

@media only screen and (max-width: 600px) {
  #hugsImage {
    display: block;
    height: 160px !important;
    width: 100%;
    object-fit: cover;
  }

  .formHeader {
    flex-direction: column;
    align-items: center;
    gap: 20px;
  }
}

@media only screen and (min-width: 991px) {
  .bodyForm {
    margin-top: 40px;
  }
}

@media only screen and (min-width: 1000px) {
  .backgroundOverlayTransparent {
    width: 12vw;
  }
}

/* header styles Below */
header.banner {
  margin: 0 auto;
  padding: 10px 0;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 99998;
  background: #fff;
  box-shadow: 5px 0 5px 3px rgba(0,0,0,.15);
}
header.banner .container-fluid {
  position: relative;
  padding-left: 40px;
}
header.banner .nav-buttons {
  float: right;
  margin-top: 5px;
  display: block;
}
header.banner .btn {
  padding-left: 10px;
  padding-right: 10px;
}

nav {
  display: block;
}
header.banner.open .nav-primary {
  bottom: 0;
}
header.banner .nav-primary {
  font-family: klavika-web,sans-serif;
  position: fixed;
  left: 0;
  bottom: 100%;
  right: 0;
  top: 72px;
  z-index: 999999999;
  background: #fff;
  transition: bottom .5s;
  overflow: hidden;
  overflow: visible;
}
header.banner .nav-primary .menu-primary-navigation-container {
  height: 100%;
  overflow-y: auto;
}
header.banner .nav-primary .menu-primary-navigation-container>ul {
  margin: 0 15px 15px;
}
header.banner ul {
  margin: 0;
  padding: 0;
}
header.banner .nav-primary .menu-primary-navigation-container>ul>li {
padding: 7px 0 7px 20px;
margin-bottom: 2px;
border-bottom: 1px solid #d8d8d8;
}
header.banner .nav-primary .menu-item-has-children {
position: relative;
}
header.banner ul li {
display: block;
}
header.banner .nav-primary a {
color: #4a4a4a;
font-weight: 600;
}
header.banner .nav-primary a:hover {
color: #bc0a0f;
}
a {
touch-action: manipulation;
text-decoration: none;
}
header.banner .nav-primary .menu-primary-navigation-container>ul>li>.sub-menu {
padding-left: 5px;
}
header.banner .nav-primary .sub-menu {
max-height: 0;
overflow: hidden;
transition: max-height 1s cubic-bezier(0,1,0,1);
}
header.banner .nav-primary .menu-primary-navigation-container>ul li li {
padding: 7px 0 7px 5px;
margin: 0;
}
header.banner .nav-primary .sub-menu a {
font-family: 'klavika-web', sans-serif;
padding: 7px 0;
}
header.banner .nav-primary .sub-menu .sub-menu a {
font-weight: 400;
}
header.banner .btn-menu:hover {
color: #6f7c7d;
}header.banner .btn-menu {
padding-right: 0;
position: relative;
box-shadow: none;
}
header.banner .btn-menu:after {
content: "›";
font-size: 22px;
position: absolute;
bottom: -5px;
left: 50%;
transition: all .5s;
transform: rotate(90deg) translateY(2px);
}
header.banner .nav-primary .menu-item-has-children.open .sub-menu {
max-height: 1000px;
transition: max-height 1s cubic-bezier(0,1,0,1);
}
header.banner .brand {
  display: inline-block;
  width: 130px;
  margin-top: 10px;
}
header.banner .brand img {
  max-width: 100%;
}

@media only screen and (min-width: 992px) {
  header.banner .nav-primary .menu-primary-navigation-container>ul>li>.sub-menu>li:first-child {
    display: none;
  }

  header.banner .brand {
    width: auto;
    margin-top: 0;
  }

  header.banner .nav-primary {
    background: transparent !important;
    right: 280px !important;
  }

  header.banner .nav-primary {
    position: absolute;
    left: 220px;
    bottom: auto;
    right: 180px;
    top: -10px;
  }

  header.banner .nav-primary .menu-primary-navigation-container {
    overflow: visible;
  }

  header.banner .nav-primary .menu-primary-navigation-container>ul {
    margin: 0;
  }

  header.banner .nav-primary .menu-primary-navigation-container>ul>li {
    display: inline-block;
    border: 0;
    position: relative;
    padding: 0 20px 0 0;
  }

  header.banner .nav-primary .menu-primary-navigation-container>ul>li>a {
    padding: 26px 0 18px;
    display: block;
  }

  header.banner .nav-primary .menu-primary-navigation-container>ul>li .sub-menu {
    height: auto;
    max-height: none;
  }

  header.banner .nav-primary .menu-primary-navigation-container>ul>li>.sub-menu {
    position: fixed;
    background: #fff;
    z-index: 999999999;
    display: none;
    padding-right: 15px;
    max-height: none;
    box-shadow: 0 3px 5px rgba(0, 0, 0, .15), -5px 3px 8px rgba(0, 0, 0, .15), 5px 3px 8px rgba(0, 0, 0, .15);
  }

  header.banner .nav-primary .menu-primary-navigation-container>ul>li:hover .sub-menu {
    display: block;
  }

  header.banner .nav-primary .menu-primary-navigation-container>ul>li>.sub-menu>li {
    display: block;
    vertical-align: top;
    border: 0;
  }

  header.banner .nav-primary .menu-primary-navigation-container>ul>li>.sub-menu>li ul {
    margin-left: 1rem;
  }

  header.banner .nav-primary .menu-primary-navigation-container>ul>li>.sub-menu>li ul li {
    margin-left: 0;
    padding: 2px 0;
  }
}


@media only screen and (max-width: 991px) {
  header.banner .nav-primary .menu-item-has-children:after {
    content: "›";
    font-size: 22px;
    position: absolute;
    top: 2px;
    left: 10px;
    transition: all .5s;
    transform: rotate(90deg) translateY(2px);
  }
  header.banner .nav-primary .menu-item-has-children.open:after {
    transform: rotate(270deg) translateY(-4px);
  }
}
