* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-size: 10px;
}

/* @font-face {
  font-family: '-Poppins';
  src: url('assets/fonts/-poppins/-Poppins-Light.ttf') format('truetype');
  font-weight: 300;
  font-style: normal;
}

@font-face {
  font-family: '-Poppins';
  src: url('assets/fonts/-poppins/-Poppins-Regular.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
}

@font-face {
  font-family: '-Poppins';
  src: url('assets/fonts/-poppins/-Poppins-Bold.ttf') format('truetype');
  font-weight: 700;
  font-style: normal;
} */

h1 {
  font-family: 'Libre Bodoni';
  font-style: normal;
  font-weight: 700;
  font-size: 7rem;
  line-height: 8.5rem;
  color: #F8EAD2;
}

h2 {
  font-family: 'Libre Bodoni';
  font-style: normal;
  font-weight: 400;
  font-size: 3.6rem;
  line-height: 3.5rem;
  color: #141414;
}

h4 {
  font-family: "Onest", sans-serif;
  font-style: normal;
  font-weight: 400;
  font-size: 2.2rem;
  color: #6A1211;
}

p {
  font-family: "Onest", sans-serif;
  font-style: normal;
  font-weight: 300;
  font-size: 2.8rem;
  line-height: 4.4rem;
}

.wrapper {
  max-width: 1240px;
  width: 100%;
}

header {
  height: 100vh;
  background: url('assets/header-background-img.png');
  background-repeat: no-repeat;
  background-size: cover;
  background-position: bottom right;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 0 15rem;
}

.btn-primary {
  padding: 2rem 7rem;
  background: #DDB037;
  border-radius: 14px;
  font-family: 'Libre Bodoni';
  font-style: normal;
  font-weight: 300;
  font-size: 2.4rem;
  line-height: 3rem;
  color: rgba(0, 0, 0, 0.7);
  text-decoration: none;
}

#header-content {
  display: flex;
  flex-direction: column;
  align-items: start;
  max-width: 640px;
  width: 100%;
  gap: 2.5rem;
}

#header-content p {
  color: #ffffff;
}

#header-content a {
  margin-top: 3.5rem;
}

#goal-need {
  background: #F7E2D1;
  padding: 10rem 10rem 5rem 10rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.gn-wrapper {
  display: flex;
  gap: 3rem;
  flex-direction: row;
}

#need {
  width: 317px;
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

#need h1 {
  color: #6A1211;
}

#need p {
  font-weight: 400;
}

#donation-breakdown {
  width: 100%;
  object-fit: contain;
}

#goal {
  display: flex;
  flex-direction: column;
  padding-left: 30px;
  border-left: 1px solid #00000022;
  flex: 1 !important;
  min-width: 0;
  overflow-wrap: break-word;
  gap: 2rem;
}

#goal p {
  overflow-wrap: break-word;
}

#gabbaim {
  background: #F7E2D1;
  padding: 5rem 10rem 10rem 10rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.gabbaim-wrapper {
  display: flex;
  gap: 2rem;
  flex-direction: column;
}

#gabbaim-videos {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  margin-top: 2rem;
}

.gabbai {
  max-width: 273px;
  /* text-align: center; */
}

.video-wrapper {
  margin-bottom: 1.2rem;
  border: solid 1px #A23923;
  border-radius: 14px;
  overflow: hidden;
  height: 500.5px;
  width: 273px;
}

.gabbai video {
  /* height: 500.5px; */
  height: 100%;
  /* width: 273px; */
}

.gabbai p {
  font-family: "Onest", sans-serif;
  font-style: normal;
  font-weight: 200;
  font-size: 1.4rem;
  line-height: 1.8rem;
  color: #666666;
  margin-top: .5rem;
}

.g-1, .g-3 {
  margin-top: 1rem;
}

.g-1 .video-wrapper, .g-3 .video-wrapper  {
  margin-top: 2rem;
}

.g-2 .video-wrapper, .g-4 .video-wrapper  {
  margin-bottom: 2rem;
}

#contribute-endorsements {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: #93301E;
  padding: 10rem 12rem;
}

.contribute-wrapper {
  display: flex;
  flex-direction: row;
  gap: 80px;
}

#contribute {
  flex: 1 !important;
  display: flex;
  flex-direction: column;
  gap: 1.8rem;
}

#contribute h2, #endorsements h2 {
  color: #F7E2D1;
}

#contribute p {
  color: #ffffff;
}

#contribution-options {
  display: flex;
  gap: 4rem;
  margin-top: 2rem;
}

.co-col {
  width: 48%;
  display: flex;
  flex-direction: column;
  gap: 30px
}

.co {
  padding: 30px;
  gap: 30px;
  background: #F7E2D1;
  border-radius: 10px;
  color: #000000;
}

.co h4 {
  font-family: 'Libre Bodoni';
  font-style: normal;
  font-weight: 400;
  font-size: 2.8rem;
  color: #141414;
  margin-bottom: 1rem;
}

.co p, .co b {
  font-family: "Onest", sans-serif;
  font-style: normal;
  font-weight: 300;
  font-size: 20px;
  line-height: 34px;
  color: #000000 !important;
}

.co b {
  font-weight: bold;
}


.ww-donate {
  padding: 14px 65px;
  background: #DDB037;
  border-radius: 14px;
  font-family: 'Libre Bodoni';
  font-style: normal;
  font-weight: 500;
  font-size: 2.2rem;
  color: rgba(0, 0, 0, 0.7);
  display: block;
  text-align: center;
  text-decoration: none;
  margin-top: 1.5rem;
}

#endorsements {
  max-width: 330px;
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.endorsement-list {
  display: flex;
  flex-direction: column;
  gap: 30px;
  border-left: solid 1px #F7E2D1;
  margin-top: 3rem;
}

.endorsement {
  padding: 22px;
}

.endorsement-profile {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 1rem;
  width: auto;
  justify-content: flex-end;
  padding-top: 1.5rem;
}

.endorsement-headshot {
  width: 50px;
  height: 50px;
}

.endorsement p {
  font-family: "Onest", sans-serif;
  font-style: normal;
  font-weight: 300;
  font-size: 2rem;
  line-height: 3rem;
  color: #F7E2D1;
}

h5 {
  font-family: 'Lora';
  font-style: normal;
  font-weight: 800;
  font-size: 2em;
  line-height: 2.3rem;
  color: #000000;
  margin-top: 1rem;
  text-align: right;
}

footer {
    text-align: center;
    padding: 0px 100px 30px;
    gap: 80px;
    background: #93301E;
}

footer a {
    font-family: "Onest", sans-serif;
    font-style: normal;
    font-weight: 400;
    font-size: 20px;
    line-height: 30px;
    color: #000000;
    text-decoration: none;
}

.social-links {
  display: flex;
  flex-direction: row;
  gap: 4rem;
}

menu {
  position: absolute;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: none;
  padding-top: 2rem;
  padding-left: 2rem;
}

#main-menu {
  display: flex;
  flex-direction: row;
  gap: 3rem;
  list-style-type: none;
}

#main-menu li a {
  font-family: "Onest", sans-serif;
  font-style: normal;
  font-weight: 300;
  font-size: 2rem;
  color: #ffffff;
  text-decoration: none;
}

#french-rabbi-flag {
  position:relative;
  margin-bottom: -20px;
  margin-left: 10px;
  height: 20px;
}

@media (max-width: 1400px) {

  #gabbaim-videos {
  overflow-x: scroll;
  flex-wrap: nowrap;
  scrollbar-width: auto;
  scrollbar-color: #93301E #F7E2D1;
  padding-bottom: 2rem;
  /* For Webkit browsers */
  &::-webkit-scrollbar {
    height: 12px;
    background: #F7E2D1;
  }
  &::-webkit-scrollbar-thumb {
    background: #93301E;
    border-radius: 6px;
  }
}
}

@media (max-width: 1250px) {
  * {
    font-size: 8px;
  }
}

@media (max-width: 1050px) {
  * {
    font-size: 7px
  }

  #header-content {
    max-width: 60%;
  }

  .gabbai-role {
    font-size: 2rem !important;
    line-height: 2.4rem !important;
  }

  .contribute-wrapper {
    flex-direction: column;
  }

  #endorsements {
    max-width: 100%;
    width: 100%;
  }

  .endorsement-list {
    flex-direction: row;
    flex-wrap: wrap;
    margin-bottom: 5rem;
  }

  .endorsement {
    width: 45%;

  }

}

@media (max-width: 880px) {

  header {
    height: unset;
    padding: 15% 30% 40% 8rem;
  }

  #header-content {
    max-width: unset;
  }

  .gn-wrapper {
    flex-direction: column;
  }

  #goal {
    border-left: unset;
    padding-left: unset;
    border-top: 1px solid #00000022;
    padding-top: 30px;
  }

  #need {
    width: unset;
  }
}

@media (max-width: 880px) {

  h1 {
    font-size: 5rem;
    line-height: 6.8rem;
  }

}

@media (max-width: 500px) {
 * {
  font-size: 6px;
 }

 h2 {
  font-size: 4.2rem;
  line-height: 4.8rem;
 }

 header {
  height: 100vh;
  padding: 80px 50px 0 50px;
  /* justify-content: start; */
  padding-bottom: 50%;
  background: url('assets/mobile-bg.png');
  background-size: cover;
  background-position: bottom right;
 }

 #goal-need, #gabbaim, #contribute-endorsements{
  padding: 14rem 5rem;
 }

 #gabbaim {
  padding-top: unset;
 }

 #contribution-options {
  flex-direction: column;
 }

 .co-col {
  width: 100%;
 }

 .co h4 {
  font-size: 3.8rem;
  line-height: 4rem;
 }

 .endorsement {
  width: 100%;
 }

 .social-links {
  margin-top: 5rem;
 }

 footer {
  padding: 0 2rem 3rem 2rem;
 }

 footer a {
  font-size: 2.6rem;
 }

 #main-menu {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
 }

 #main-menu li a {
  font-size: 2.2rem;
 }

}