:root {
  --card-height: 65vh;
  --card-width: calc(var(--card-height) / 1.5);
}
a{
  color:#ff7;
}
body {
  white-space: normal;
  font-size: 22px;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  margin: 0;
  padding: 0;
  font-family: Arial, sans-serif;
  background-color: #282C34;
  color: #fff;
  max-width: 100%;

}

img {
  max-width: 100%;
  height: auto;
  max-height: 500px;
  min-height: 200px;
  display: block; /* Ensure the image behaves as a block element */
  margin: 0 auto; /* Center the image horizontally */
}
header {
  background-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.0)); /* Gradient background */
  color: #fff;
  padding: 20px;
}

nav ul {
  list-style-type: none;
  margin: 0;
  padding: 0;
}

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

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

main {
  white-space: normal;
  flex: 1 0 auto;
  text-indent: -1em !important;
}

footer {
  background-image: linear-gradient(to top, rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.0));
  color: #fff;
  padding: 20px;
  flex-shrink: 0;
}
.custom-btn {
  width: 130px;
  height: 40px;
  color: #fff;
  border-radius: 0px;
  padding: 10px 25px;
  font-family: 'Lato', sans-serif;
  font-weight: 500;
  background: transparent;
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
  display: inline-block;
   box-shadow:inset 2px 2px 2px 0px rgba(255,255,255,.5),
   7px 7px 20px 0px rgba(0,0,0,.1),
   4px 4px 5px 0px rgba(0,0,0,.1);
  outline: none;
  font-size: 22px;
}
/* 7 */
.btn-7 {
background: linear-gradient(0deg, rgba(11,109,233,1) 0%, rgba(50,137,253,1) 100%);
  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: rgba(11,109,233,1);
  transition: all 0.3s ease;
}
.btn-7:before{
   height: 0%;
   width: 2px;
}
.btn-7:after {
  width: 0%;
  height: 2px;
}
.btn-7:hover{
  color: rgba(11,109,233,1);
  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: rgba(11,109,233,1);
  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%;
}

#force-scroll{
  margin-bottom: 50%;
  text-align: right;
}
.card {
  display: flex;
  justify-content: center;
  align-items: center;
  background: rgb(235 237 244 / 70%);
  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: 4.2%;
  background-repeat: no-repeat;
  background-size: cover;
  border: 1px solid white;
  box-shadow: 0 0 10px 5px rgba(255, 255, 255, 0.2);
  font-weight: bold;
  color: orange;
  text-stroke: 2px black;
  -webkit-text-stroke: 1px black; /* For better browser compatibility */
  text-shadow: 0 0 5px purple;
  text-transform: uppercase;
  flex-direction: column;
}

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

.card:hover {
  opacity: background 100%;
  transition: 2s;
  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%;
}
.text {
  word-wrap: break-word;
  display: block;
  margin: 0; /* Removes any margin around paragraphs */
  padding-left: 100px;
  padding-right: 140px; /* Removes any padding around paragraphs */
  text-indent: 0; /* Removes any text indentation */
  white-space: pre-line; /* Resets white-space property to default, removing any extra spaces */
}
@media screen and (min-width: 1200px) {
  .text{
    background-color: #20242C;
    margin-left: 20%;
    margin-right: 20%;
    margin-top: 5%;
    border: 2px solid #1A1d26;
    box-shadow: 0 0 20px 3px rgba(0, 0, 10, 0.50);
    border-radius: 0px;
  }
}

@media screen and (max-width: 1200px) {
  body {
    font-size: 20px;
  }
  :root {
    --card-height: 24vh;
    --card-width: 35vh;
  }
  .custom-btn {
    width: 120px;
    height: 45px;
    align-self: center;
    align-items: center;
    align-content: center;
    font-size: 24px;
    }
  .text{
    padding-left: 50px;
    padding-right: 50px; /* Removes any padding around paragraphs */
  }
}
