:root {
  --card-height: 43vh;
  --card-width: calc(var(--card-height) / 1);
}
a{
  color:rgba(11,109,233,1);
}
body {
  white-space: normal;
  font-size: 16px;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  margin: 0;
  padding: 0;
  font-family: Arial, sans-serif;
  color: #8FAE93;
  max-width: 100%;
  background-color: #F8FCF9;

}
.text {
  white-space: pre-wrap;
  word-wrap: break-word;
  display: inline-block;
  vertical-align: middle;
  padding-left: 40px;
  padding-right: 40px;
}
img {
  max-width: 100%;
  height: auto;
}
.start-page{
  background-repeat: no-repeat;
  background-size: 100% auto;
}
header {
  background-image: linear-gradient(to bottom, rgba(150, 200, 100, 0.3), rgba(0, 0, 0, 0.0)); /* Gradient background */
  color: #fff;
  padding: 20px;
  font-size: 16px;
}

nav ul {
    list-style-type: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap; /* Allow items to wrap to the next line */
    align-items: center;
}

nav ul li {
    display: inline;
    margin-right: 10px;
}

nav ul li:last-child {
    margin-right: 0; /* Remove margin from the last li to prevent extra space */
}

nav ul li a {
    color: #fff;
    text-decoration: none;
}

@media (max-width: 1200px) {
    nav ul li {
        display: block; /* Display each item on a new line */
        margin-right: 5px; /* Reset margin for new line display */
        margin-bottom: 5px; /* Add some spacing between items */
    }
}

main {
  padding: 20px;
  white-space: normal;
}

footer {
  background-image: linear-gradient(to top, rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.0));
  color: #fff;
  padding: 20px;
}
.custom-btn {
  width: 130px;
  height: 40px;
  color: #fff;
  border-radius: 0px;
  font-weight: bold;
  cursor: pointer;
  transition: all 0.0s ease;
  position: relative;
  display: inline-block;
  outline: none;
  font-size: 22px;
}
/* 7 */
.btn-7 {
background: linear-gradient(0deg, #8FAE93 0%, #8FAE93 100%);
  box-shadow: 0 0 10px 0px #8FAE93;
  line-height: 42px;
  padding: 0;
  border: none;
}
.btn-7 span {
  position: relative;
  display: block;
  width: 100%;
  height: 100%;
}
.btn-7:before,
.btn-7:after {
  position: absolute;
  content: "";
  right: 0;
  bottom: 0;
  background: #7e928a;
  transition: all 0.3s ease;
}
.btn-7:before{
   height: 0%;
   width: 2px;
}
.btn-7:after {
  width: 0%;
  height: 2px;
}
.btn-7:hover{
  color: #7e928a;
  background: transparent;
}
.btn-7:hover:before {
  height: 100%;
}
.btn-7:hover:after {
  width: 100%;
}
.btn-7 span:before,
.btn-7 span:after {
  position: absolute;
  content: "";
  left: 0;
  top: 0;
  background: #7e928a;
  transition: all 0.3s ease;
}
.btn-7 span:before {
  width: 2px;
  height: 0%;
}
.btn-7 span:after {
  height: 2px;
  width: 0%;
}
.btn-7 span:hover:before {
  height: 100%;
}
.btn-7 span:hover:after {
  width: 100%;
}
.start{
  display: flex;
  width: 100%;
}
iframe{
  width: 30%;
}
#force-scroll{
  margin-bottom: 15%;
  text-align: center;
  font-size: 30px;
  width: 50%;
}
.force-scroll2{
  margin-top: 5%;
  margin-bottom: 5%;
  text-align: center;
  font-size: 24px;
}
.card {
  display: flex;
  justify-content: center;
  align-items: center;
  background: #8FAE93;
  width: var(--card-width);
  height: var(--card-height);
  padding: 4px;
  position: relative;
  border-radius: 6px;
  text-align: center;
  font-size: 1.7em;
  cursor: pointer;
  margin-right: 4.2%;
  margin-top: 9%;
  margin-bottom: 9%;
  background-repeat: no-repeat;
  background-size: cover;
  border: 1px solid grey;
  box-shadow: 0 0 10px 5px #8FAE93;
  font-weight: bold;
  color: #fff;
  text-shadow: 0 0 3px #fff;
  text-transform: uppercase;
  flex-direction: column;
}

.card .text {
  position: absolute;
  margin-top: 100px;
}

.card:hover {
  opacity: 0.5;
  transition: 0.5s;
  border: 1px solid white;
  box-shadow: 0 0 10px 5px rgba(255, 255, 255, 0.2);
}
a {
  text-decoration: none;
}
.card-container {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 4.2%;
  width: 100%;
}

@media screen and (max-width: 1200px) {
  .card {
    font-size: 24px;
  }
  :root {
    --card-height: 24vh;
    --card-width: 35vh;
  }
}
.card1{
  background-image: url("../images/backgrounds/card1.png");

}
.card2{
  background-image: url("../images/backgrounds/card2.png");

}
.card3{
  background-image: url("../images/backgrounds/card3.png");

}
.card4{
  background-image: url("../images/backgrounds/card4.png");

}
.card5{
  background-image: url("../images/backgrounds/card5.png");

}
.card6{
  background-image: url("../images/backgrounds/card6.png");

}
.card7{
  background-image: url("../images/backgrounds/card7.png");

}
.card8{
  background-image: url("../images/backgrounds/card8.png");

}
.card9{
  background-image: url("../images/backgrounds/card9.png");

}
.carda{
  background-image: url("../images/backgrounds/carda.png");

}
.cardb{
  background-image: url("../images/backgrounds/cardb.png");

}
.cardc{
  background-image: url("../images/backgrounds/cardc.png");

}
.card1, .card2, .card3, .card4, .card5, .card6, .card7, .card8, .card9, .carda, .cardb, .cardc{
  background-position: center;
}
@media screen and (max-width: 1200px) {
.custom-btn {
  width: 120px;
  height: 45px;
  align-self: center;
  align-items: center;
  align-content: center;
  font-size: 24px;
  }
  iframe{
    width: 70%;
    align-self: center;
  }
  #force-scroll{
    margin-bottom: 15%;
    text-align: center;
    font-size: 30px;
    width: 100%;
  }
  .start{
    width: 100%;
    display: flex;
    flex-direction: column;
  }
}

/* Move search form to the right */
#search-form {
    margin-left: auto; /* Auto margin to push it to the right */
    display: flex;
    align-items: center;
}

#search-input {
    margin: 5px;
    padding: 10px;
    border: 3px solid #555;
    border-radius: 3px;
    font-size: 18px;
    width: 40vw;
    box-sizing: border-box;
    background: #8FAE93;
    color: #fff;
}

#search-input::placeholder {
    color: #fff;
}


#search-results {
    display: block;
    margin: 0px;
    padding: 20px;
    border-radius: 8px;
    color: #fff;
    font-size: 25px;
}

#search-results ul {
    color: #8FAE93;
    list-style: none;
    padding: 0;
    background-color: #8FAE93;
}

#search-results li {
    margin-bottom: 10px;
    padding-left: 20px;
    position: relative;
    color: #fff;
    background: #8FAE93; /* Add a border at the bottom of each li element */
    border-bottom: 2px #555 solid;
}

#search-results li:before {
    content: "\2022";
    position: absolute;
    left: 0;
    color: rgb(235 237 244 / 15%);
}
