* {
  margin: 0;
  padding: 0;
  overflow-x: hidden;
}

body {
  /* font-family: Arial, sans-serif; */
  background-color: #FFFDFA;
  display: flex;
  justify-content: flex-start;
  flex-direction: column;
  align-items: center;
  min-height: 100vh;
  /* gap: 100px; */
}

.logoImage {
  position: absolute;
  top: 0;
  max-width: 90px;
  max-height: 90px;
  display: flex;
  flex-direction: column;
  border-radius: 10px;
  margin-top: 20px;
}

/* a possible font option */

.karantina-light {
  font-family: "Karantina", system-ui;
  font-weight: 300;
  font-style: normal;
}

.karantina-regular {
  font-family: "Karantina", system-ui;
  font-weight: 400;
  font-style: normal;
}

.karantina-bold {
  font-family: "Karantina", system-ui;
  font-weight: 700;
  font-style: normal;
}

.container {
  /* max-width: 80vw; */
  width: 80vw;
  /* margin: 0 10%; */
  box-sizing: border-box;
  justify-content: center;
  height: auto;
}

/* img {
  max-width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
} */

h1 {
  color: #F5F5F5;
  font-family: "Bona Nova";
  font-size: 90px;
  font-style: normal;
  font-weight: 700;
  line-height: normal;
  text-align: center;
  letter-spacing: 4.5px;
}

@media (max-width:600px) {
  h1 {
    font-size: 48px;
    text-align: center;
  }
}


h2 {
  color: #860000;
  font-family: "Bona Nova";
  font-size: 44px;
  font-style: normal;
  font-weight: 700;
  line-height: normal;
}

h3 {
  color: var(--primary, #860000);
  text-align: center;
  font-family: Rubik;
  font-size: 40px;
  font-style: normal;
  font-weight: 500;
  line-height: normal;
}

.H4 {
  color: #494949;
  /* text-align: center; */
  font-family: "rubik";
  font-size: 16px;
  font-style: normal;
  font-weight: 600;
  line-height: normal;
  justify-content: start;
}

h5 {
  justify-content: start;
  color: #303030;
  text-align: right;
  font-family: Rubik;
  font-size: 24px;
  font-style: normal;
  font-weight: 400;
  line-height: normal;
  align-items: stretch;
}

p {
  color: #303030;
  font-family: Rubik;
  font-size: 18px;
  font-style: normal;
  font-weight: 400;
  line-height: 140%;
  /* 22.4px */
  overflow: hidden;
  text-overflow: ellipsis;
}

a {
  color: var(--primary, #860000);
  text-align: center;
  font-family: Rubik;
  font-size: 40px;
  font-style: normal;
  font-weight: 500;
  line-height: normal;
}


select {
  padding: 10px;
  border-radius: 5px;
}

.section {
  width: 100vw;
  height: auto;
  display: flex;
  justify-content: center;
  align-items: center;
}

.button {
  display: flex;
  padding: 14px 60px;
  justify-content: center;
  align-items: center;
  gap: 10px;
  border-radius: 10px;
  border: 2px solid #FFF;
  background: #ffffff10;
  backdrop-filter: blur(10px);
  color: #FFF;
  font-family: Rubik, sans-serif;
  font-size: 18px;
  font-style: normal;
  font-weight: 500;
  line-height: normal;
  text-align: center;
}

.icon {
  width: 96px;
  height: 96px;
  object-fit: cover;
}

.footer {
  width: 100%;
  background-color: #303030;
  justify-content: center;
  align-items: center;
}

form {
  display: flex;
  flex-direction: column;
}

input {
  padding: 10px;
  /* margin-top: 5px; */
  border: 1px solid #ccc;
  border-radius: 5px;
}

label {
  margin: 12px 0 8px 0;
  font-size: 16px;
}

textarea {
  border-radius: 5px;
  padding: 1%;
  resize: vertical;
  /* Allow only vertical resizing */
  font-size: 14px;
  line-height: 140%
}

.card {
  width: auto;
  height: auto;
  border-radius: 10px;
  padding: 35px 25px;
  justify-content: start;
  align-items: center;
  text-align: center;
  filter: drop-shadow(0px 0px 4px #f5f5f5);
  background: #fdfdfd;
  display: flex;
  flex-direction: column;
  gap: 16px;
}


/* cards */
#cards {
  padding: 0 0 10px 0;
  display: grid;
  margin: 50px 0;
  grid-gap: 1em;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}

@media (max-width:600px) {
  #cards {
    margin: 25px 0;
  }
}

.card {
  width: auto;
  min-height: 250px;
  border-radius: 10px;
  padding: 20px 25px;
  justify-content: space-between;
  align-items: center;
  text-align: center;
  border-radius: 10px;
  background: #f9f9f9;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.card:hover {
  background-color: #f2f2f2;
  filter: drop-shadow(#860000);
}

.card_title {
  color: var(--primary, #860000);
  text-align: center;
  font-family: Rubik, sans-serif;
  font-size: 24px;
  font-style: normal;
  font-weight: 500;
  line-height: normal;
}

.icons_and_titles_in_cards {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 20px;
}

.icons_in_cards {
  font-size: 34px;
  display: block;
  color: #152238;
}

.card img {
  width: 80%;
}

.card_icon {
  width: auto;
  min-height: auto;
  display: flex;
  gap: 16px;
  flex-direction: column;
}

.fa-regular {
  font-size: 30px;
  color: #152238;
}

.card p {
  text-align: center;
  padding: 0 10%;
  line-height: 160%;
}

.card H4 {
  color: #494949;
  text-align: center;
  font-family: "Rubik", sans-serif;
  font-size: 24px;
  font-style: normal;
  font-weight: 700;
  line-height: normal;
  height: 70px;



  
}

/* end of cards */

.submitButton {
  margin-top: 20px;
  padding: 10px;
  background-color: #860000;
  color: white;
  border: none;
  border-radius: 5px;
  cursor: pointer;
}

.secondarySubmitButton {
  background-color: #86000000;
  border: 1px solid #860000;
  border-radius: 5px;
  color: #303030;
}

.submitButton:hover {
  background-color: #740000;
}

.secondarySubmitButton:hover {
  background-color: #d3d3d3;
}



/* .lang_switch_btn:hover {
    background-color: #860000;
    color: #fff;
} */



/* For English pages */
[dir="ltr"] .lang_switch_btn {
    margin-left: 10px;
}

/* For Hebrew pages */
[dir="rtl"] .lang_switch_btn {
    margin-right: 10px;
}

.logoImage_english {
  position: absolute;
  top: 0;
  max-width: 90px;
  max-height: 90px;
  display: flex;
  flex-direction: column;
  border-radius: 10px;
  margin-top: 20px;
  right: 10vw;
  top: 1vh;
}