* {
  color: black;
}

html {
  font-family: var(--font);
  width: 100%;
}

html,
body {
  width: 100%;
  overflow-x: hidden;
}

body {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  background: radial-gradient(
    101.2% 101.2% at 50% 35.88%,
    rgba(237, 80, 13, 0.15) 16.11%,
    rgba(255, 0, 199, 0.15) 100%
  );
  background: #ffffff;
}

.ts {
  user-select: none;
  font-family: var(--font-M);
}

.logo {
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 40px;
  color: #eaeaea;
  font-weight: bold;
  cursor: pointer;
  text-align: center;
}

.features {
  margin-top: 0px;
  min-height: 300px;
  padding: 40px;
}

.features .titles {
  position: relative;
  top: -100px;
}

.orange {
  margin-top: 0px;
  background: #ff6726;
  width: 100%;
  min-height: 300px;
  padding: 40px;
  position: relative;
}

.orange::before {
  content: '';
  background-image: url(../img/lines_bg.svg);
  background-size: cover;
  background-position: top;
  opacity: 0.3;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  position: absolute;
}

.titles {
  display: flex;
  flex-direction: column;
  width: 100%;
  justify-content: flex-start;
  align-items: baseline;
  color: #ffffff;
  font-size: 20px;
}

.titles h2 {
  font-family: var(--font);
  font-size: 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
  letter-spacing: 1px;
}

.titles h2::before {
  content: '';
  height: 5px;
  width: 50px;
  background: #ff6726;
  margin: 0 10px;
  border-radius: 10px;
}

.orange .titles h2::before {
  content: '';
  height: 5px;
  width: 50px;
  background: white;
  border-radius: 10px;
  margin-left: -25px;
}

.orange .titles h2 {
  color: white;
}

.orange .titles {
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
}

.content-section {
  font-size: 18px;
  max-width: 800px;
  margin: 0 auto;
  line-height: 1.6;
  z-index: 1;
}

.content-section h3 {
  margin-top: 30px;
  margin-bottom: 10px;
  color: var(--main-color);
  border-bottom: 2px solid white;
  display: inline-block;
  padding-bottom: 5px;
}

.content-section p,
ul li {
  margin-bottom: 20px;
  font-size: 20px;
  color: white;
}

.content-section ul {
  list-style-type: square;
  margin-left: 30px;
  margin-bottom: 20px;
  font-size: 20px;
}

.content-section li {
  margin-bottom: 10px;
}

.titles h3 {
  color: white;
  font-family: var(--font-M);
  font-size: 20px;
  max-width: 800px;
  padding: 10px;
  border-radius: 5px;
  transition: background 0.3s ease;
  z-index: 2;
}

.card-container {
  position: relative;
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  top: -100px;
  border-radius: 10px;
}

card {
  transition: 0.2s;
  padding: 20px;
  border-radius: 16px;
  margin: 10px;
  width: 300px;
  height: 300px;
  border: 1px solid #dddddd;
  display: flex;
  justify-content: center;
  align-items: center;
  background: white;
  flex-direction: column;
}

.roadmap {
  padding: 20px;
}

.roadmap h2 {
  color: var(--main-color);
  text-transform: uppercase;
  text-align: center;
  font-size: 28px;
  display: flex;
  justify-content: center;
  align-items: center;
  letter-spacing: 1px;
}

.roadmap h2::before {
  content: '';
  height: 5px;
  width: 50px;
  background: #ff6726;
  margin: 0 10px;
  border-radius: 10px;
}

.roadmap-table-modern {
  width: 90%;
  max-width: 800px;
  border-collapse: collapse;
  margin: 25px auto;
  font-size: 18px;
  text-align: left;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.07);
  background-color: #ffffff;
}

.roadmap-table-modern thead tr {
  background-color: var(--main-color);
  color: #ffffff;
}

.roadmap-table-modern th {
  color: white;
  font-family: var(--font-M);
  padding: 15px 20px;
  letter-spacing: 1px;
}

.roadmap-table-modern td {
  padding: 15px 20px;
}

.roadmap-table-modern tbody tr {
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  transition: background 0.3s ease;
}

.roadmap-table-modern tbody tr:hover {
  background-color: rgba(0, 0, 0, 0.02);
}

.roadmap-table-modern tbody tr:nth-of-type(even) {
  background-color: rgba(0, 0, 0, 0.01);
}

.roadmap-table-modern tbody tr:last-of-type {
  border-bottom: 2px solid var(--main-color);
}

.roadmap-table-modern tbody tr.active-row {
  font-weight: 500;
  color: var(--main-color);
}

.logo > * {
  margin: 0px 5px;
}

.examples {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  max-height: 300px;
  margin-left: 600px;
  overflow: hidden;
}

.examples img {
  position: relative;
}

main {
  display: flex;
  align-items: center;
  flex-direction: column;
  width: 100%;
  margin-bottom: 80px;
}

.presentation {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 100%;
  max-width: 850px;
  margin: 0;
}

h1 {
  font-size: 3.5rem;
  text-align: center;
  color: #303030;
  font-family: var(--font-B);
  margin: 0;
  padding: 0;
  text-align: center;
}

h2 {
  text-transform: uppercase;
}

h4 {
  font-size: 1.5rem;
  text-align: center;
  color: #323232;
  font-weight: bold;
  margin: 0;
  padding: 10px;
  max-width: 200px;
}

main p {
  font-size: 20px;
  width: 100%;
  max-width: 500px;
  text-align: center;
}

.a_select {
  color: #ff6726;
  font-family: var(--font-M);
}

.btn_index {
  display: flex;
  align-items: center;
}

.button {
  all: unset;
  user-select: none;
  transition: 0.2s;
  font-size: 23px;
  font-family: var(--font-M);
  padding: 20px 40px;
  border-radius: 10px;
  cursor: pointer;
  background: #ff6726;
  color: white;
  letter-spacing: 1px;
  margin: 20px;
}

#follow {
  background: #0e93e6;
  color: white;
}

.logo_inside {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  margin: 5px;
}

#spacename {
  position: absolute;
  top: 70px;
  text-align: center;
  font-size: 22px;
}

hr {
  all: unset;
  width: 90%;
  background: var(--main-color);
  color: var(--main-color);
  height: 5px;
}

footer {
  display: flex;
  flex-wrap: wrap;
  background: white;
  width: 100%;
  padding: 30px;
  font-size: 22px;
  justify-content: space-evenly;
  align-items: center;
  color: black;
}

footer a {
  color: black;
  text-decoration-color: var(--main-color);
}

.tchat_footer {
  display: flex;
  flex-direction: column;
}

.tchat_footer p {
  font-size: 20px;
  text-align: center;
  margin: 10px 0px;
}

.quick {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
}

.footer_menu {
  display: flex;
  flex-wrap: wrap;
}

.quick a {
  text-decoration: none;
  margin: 0px 20px;
  padding: 10px;
  font-size: 18px;
  transition: 0.3s;
}

#send_message:disabled {
  pointer-events: none;
  opacity: 0.5;
}

input,
textarea {
  font-family: var(--font);
}

#send_message {
  font-size: 18px;
  background: #303030;
  color: white;
  cursor: pointer;
  height: 50px;
  width: 100%;
  max-width: 500px;
  margin: 20px 10px;
  padding: 5px;
  border-radius: 10px;
  z-index: 1;
  outline: none;
  border: none;
}

#message_content {
  outline: none;
  width: 100%;
  max-width: 500px;
  height: 140px;
  border-radius: 10px;
  margin: 10px;
  padding: 20px;
  border: none;
  font-size: 18px;
  resize: none;
  z-index: 1;
}

.quick a:hover {
  color: var(--main-color);
}

.quick a:first-child {
  margin: 0px;
  margin-right: 20px;
  padding: 10px 0px;
  padding-right: 10px;
}

.quick h5 {
  font-family: var(--font-M);
  font-size: 24px;
  margin: 10px 0px;
}

@keyframes fadeInUp {
  0% {
    opacity: 0;
    transform: translate3d(0, 40px, 0);
  }

  100% {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
}

main {
  animation-name: fadeInUp;
  animation-duration: 1s;
  animation-fill-mode: both;
}

.card-container card {
  animation-name: fadeInUp;
  animation-duration: 1s;
  animation-fill-mode: both;
}

.card-container card:nth-child(1) {
  animation-delay: 0.25s;
}

.card-container card:nth-child(2) {
  animation-delay: 0.5s;
}

.card-container card:nth-child(3) {
  animation-delay: 0.75s;
}

.card-container card:nth-child(4) {
  animation-delay: 1s;
}

@keyframes slideDown {
  0% {
    opacity: 0;
    transform: translateY(-50px);
  }

  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

header {
  animation-name: slideDown;
  animation-duration: 0.5s;
  animation-fill-mode: both;
}

.close {
  position: absolute;
  top: 14px;
  right: 20px;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 40px;
  cursor: pointer;
  border: none;
  border-radius: 4px;
  width: 25px;
  height: 25px;
  overflow: hidden;
  user-select: none;
  text-align: center;
  color: #ffffff;
  background: none;
  padding: 15px;
}

.ts {
  font-family: Quicksand_B;
  user-select: none;
  margin: 7px;
  font-size: 30px;
  line-height: 60px;
  letter-spacing: 1px;
}

.container-quit .ts {
  user-select: none;
  margin: 7px;
  font-size: 30px;
  line-height: 60px;
}

.container-quit {
  display: flex;
  width: 100%;
  justify-content: space-between;
  margin-bottom: 30px;
}

@media only screen and (max-width: 1450px) {
  .quick {
    align-items: center;
    text-align: center;
  }

  .footer_menu {
    flex-direction: column;
  }

  .quick a:first-child {
    text-decoration: none;
    margin: 0px 20px;
    padding: 10px;
    font-size: 18px;
    transition: 0.3s;
  }

  .card-container {
    top: 0px;
    margin: 10px;
    padding: 0px;
  }

  .features .titles {
    top: 0px;
    margin: 0px;
    padding: 0px;
  }

  main {
    margin-bottom: 10px;
  }
}

@media only screen and (max-width: 900px) {
  h1 {
    font-size: 3rem;
    max-width: 600px;
  }

  .presentation {
    margin-bottom: 30px;
  }
}

@media only screen and (max-width: 768px) {
  .ts {
    font-size: 25px;
  }

  card {
    width: 200px;
    height: 200px;
  }

  card img {
    width: 50px;
  }

  card * {
    font-size: 20px;
  }

  .features {
    margin-top: 20px;
    padding: 0px;
  }

  .presentation p {
    width: 500px;
  }

  footer {
    flex-direction: column-reverse;
  }
}

@media only screen and (max-width: 660px) {
  footer {
    padding-top: 10px;
    padding-bottom: 5px;
  }

  h1 {
    font-size: 2.5rem;
    max-width: 500px;
  }

  footer {
    flex-direction: column-reverse;
  }

  .tchat_footer {
    display: flex;
    flex-direction: column;
    margin: 10px 0px;
  }

  .tchat_footer p {
    font-size: 18px;
    text-align: center;
    margin: 10px 0px;
    margin-bottom: 0px;
  }
}

@media only screen and (max-width: 550px) {
  .presentation p {
    display: none;
  }

  .presentation {
    padding: 20px;
    padding-top: 0px;
    margin-top: 20px;
  }
  .button {
    margin: 5px;
  }
  .btn_index {
    margin: 15px;
    flex-direction: column;
  }

  .roadmap-table-modern {
    width: 90%;
    max-width: 800px;
    border-collapse: collapse;
    margin: 25px auto;
    font-size: 18px;
    text-align: left;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.07);
    background-color: #ffffff;
  }

  .roadmap-table-modern thead tr {
    background-color: var(--main-color);
    color: #ffffff;
  }

  .roadmap-table-modern th {
    color: white;
    font-family: var(--font-M);
    padding: 10px 10px;
    letter-spacing: 1px;
  }

  .roadmap-table-modern td {
    padding: 10px;
  }

  header {
    margin: 0px;
    padding: 10px;
  }
}

@media only screen and (max-width: 460px) {
  h1 {
    font-size: 2rem;
    max-width: 500px;
  }

  h4 {
    font-size: 12px;
  }
  card {
    width: 150px;
    height: 150px;
  }

  card img {
    width: 40px;
  }

  card * {
    font-size: 16px;
  }
}

@media only screen and (max-width: 370px) {
  card {
    width: 140px;
    height: 140px;
  }

  card img {
    width: 40px;
  }

  card * {
    font-size: 14px;
  }

  header {
    padding-top: 10px;
    padding-left: 10px;
  }

  .roadmap-table-modern {
    font-size: 16px;
  }

  .roadmap-table-modern th {
    color: white;
    font-family: var(--font-M);
    padding: 5px;
    letter-spacing: 1px;
  }

  .roadmap-table-modern td {
    padding: 5px;
  }
}

.images-container {
  display: flex;
  justify-content: center;
  gap: 20px; /* Provides spacing between the two images */
  max-width: 540px;
  padding: 5px;
}

.responsive-image {
  border-radius: 10px;
  max-width: 100%; /* Makes sure the image doesn't overflow its parent */
  height: auto; /* Maintains the aspect ratio */
}

/* This media query targets screen sizes smaller than 768px */
@media screen and (max-width: 1096px) {
  .presentation {
    gap: 10px; /* Reduces the gap for smaller screens */
  }

  .images-container {
    flex-direction: column; /* Stacks the images vertically on smaller screens */
  }
}
