@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap');
@import url('mystyle_modern.css');

body {
  font-family: Arial, sans-serif;
  background: url('/img/background.jpg') no-repeat center center fixed;
  background-size: cover;
  margin: 0;
  padding: 0;
  color: #333;
}

.menu {
  width: 100%;
  background-color: #333;
  overflow: hidden;
  position: fixed;
  top: 0;
  z-index: 100;
}

.menu a {
  float: left;
  display: block;
  color: white;
  text-align: center;
  padding: 14px 20px;
  text-decoration: none;
  font-size: 17px;
}

.menu a:hover {
  background-color: #ddd;
  color: black;
}

.hero-section {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  height: 100vh;
  background-color: rgba(0, 0, 0, 0.6);
  color: white;
}

.hero-section h1 {
  font-size: 48px;
  margin: 0;
}

.hero-section p {
  font-size: 20px;
  margin: 20px 0;
  max-width: 600px;
}

.section {
  padding: 60px 20px;
  max-width: 1200px;
  margin: auto;
}

.section h2 {
  font-size: 36px;
  color: #fff;
  margin-bottom: 30px;
  text-align: center;
}

.section p {
  font-size: 18px;
  color: #fff;
  line-height: 1.6;
  margin-bottom: 20px;
  text-align: center;
}

.section .content-grid {
  display: flex;
  justify-content: space-around;
  flex-wrap: wrap;
  gap: 20px;
}

.content-grid div {
  background-color: rgba(255, 255, 255, 0.9);
  border-radius: 8px;
  padding: 30px;
  box-shadow: 0 0 15px rgba(0, 0, 0, 0.2);
  flex: 1 1 300px;
}

.content-grid h3 {
  font-size: 24px;
  margin-bottom: 15px;
  color: #333;
}

.content-grid p {
  font-size: 16px;
  color: #555;
  line-height: 1.6;
}

.center-link {
  text-align: center;
  margin-top: 20px;
}

.btn-link {
  display: inline-block;
  padding: 10px 20px;
  background-color: #333;
  color: white;
  text-decoration: none;
  border-radius: 5px;
  font-size: 14px;
}

.btn-link:hover {
  background-color: #555;
  color: white;
}

@media screen and (max-width: 768px) {
  .content-grid {
    flex-direction: column;
    align-items: center;
  }
}

.token-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 20px;
  justify-items: center;
}

.token-item {
  background-color: rgba(255, 255, 255, 0.9);
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 0 15px rgba(0, 0, 0, 0.2);
  text-align: center;
}

.token-item img {
  max-width: 100px;
  height: auto;
  margin-bottom: 10px;
}

.token-item h3 {
  font-size: 18px;
  color: #333;
  margin: 10px 0 0 0;
}

* {
  box-sizing: border-box;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.header {
  padding: 15px;
  text-align: center;
  background-color: #FFFFFF;
  border-bottom: 1px solid #ddd;
}

.header img {
  width: 10%;
  height: auto;
}

.header h1 {
  margin: 0;
  font-size: 36px;
  font-weight: bold;
}

.row {
  display: flex;
  flex-wrap: wrap;
  margin: 20px 0;
}

.column {
  flex: 1;
  padding: 0 10px;
}

.card {
  background-color: white;
  padding: 20px;
  margin-bottom: 20px;
  border-radius: 5px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.card h2,
.card h3 {
  margin-top: 0;
  font-size: 24px;
}

.card h5 {
  margin-top: 5px;
  color: #666;
  font-size: 16px;
}

.card p {
  margin-bottom: 10px;
  line-height: 1.6;
}

.card a {
  display: block;
  margin-top: 10px;
  color: #007bff;
  text-decoration: none;
}

.card img {
  width: 100%;
  height: auto;
  margin-top: 10px;
}

.entry-description {
  text-align: justify;
  word-break: break-word;
  overflow-wrap: break-word;
  margin-top: 10px;
  line-height: 1.8;
  white-space: pre-wrap;
}

.footer {
  padding: 20px;
  text-align: center;
  background-color: #FFFFFF;
  border-top: 1px solid #ddd;
}

.footer .menu-link {
  margin: 0 10px;
  color: #333;
  text-decoration: none;
}

@media screen and (max-width: 768px) {
  .column {
    flex: 100%;
    padding: 0;
  }
}

.header-image {
  height: 100vh;
  width: 100%;
  object-fit: cover;
}

.container-oben {
  position: absolute;
  top: 15px;
  left: 0;
  right: 32px;
  height: 100px;
  font-size: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 50px;
}

.container-unten {
  position: absolute;
  top: 90%;
  left: 50%;
  right: 50%;
  height: 100px;
  font-size: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 50px;
}

.menu-link {
  color: white;
  text-decoration: none;
}

.menu-link:hover {
  text-decoration: underline;
}

.headline {
  position: absolute;
  top: 20%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: white;
  font-size: 64px;
  font-weight: 700;
  text-align: center;
  text-shadow: 5px 10px 10px rgba(0, 0, 0, 2);
}

.headline-blog {
  position: absolute;
  top: 20%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: white;
  font-size: 36px;
  font-weight: 700;
  text-align: center;
  text-shadow: 5px 10px 10px rgba(0, 0, 0, 2);
}

.widget-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  margin: 0 -5px;
}

.widget {
  width: calc(33.33% - 10px);
  margin-bottom: 10px;
  padding: 0 5px;
}

.widget.full-width {
  width: 100%;
}

@media screen and (max-width: 768px) {
  .widget {
    width: calc(50% - 10px);
  }
}

@media screen and (max-width: 480px) {
  .widget {
    width: 100%;
  }
}

.text-widget {
  width: 100%;
  text-align: center;
  margin-bottom: 20px;
}

.back-link {
  color: #ffffff;
  text-decoration: none;
  display: inline-block;
  margin-top: 20px;
}

input[type=text], input[type=password] {
  width: 100%;
  padding: 12px 20px;
  margin: 8px 0;
  display: inline-block;
  border: 1px solid #ccc;
  box-sizing: border-box;
}

.button {
  background-color: #04AA6D;
  color: white;
  padding: 14px 20px;
  margin: 8px 0;
  border: none;
  cursor: pointer;
  width: 100%;
}

.button:hover {
  opacity: 0.8;
}

.cancelbtn {
  width: auto;
  padding: 10px 18px;
  background-color: #f44336;
}

.imgcontainer {
  text-align: center;
  margin: 24px 0 12px 0;
  position: relative;
}

.img-avatar {
  width: 10%;
  border-radius: 50%;
}

.container {
  padding: 16px;
}

.span.psw {
  float: right;
  padding-top: 16px;
}

.modal {
  display: none;
  position: fixed;
  z-index: 1;
  left: 0;
  top: 0;
  width: 100%;
  height: 100vh;
  overflow: auto;
  background-color: rgb(0,0,0);
  background-color: rgba(0,0,0,0.4);
  padding-top: 60px;
}

.modal-content {
  background-color: #fefefe;
  margin: 10% auto 15% auto;
  border: 1px solid #888;
  width: 35%;
}

.close {
  position: absolute;
  right: 25px;
  top: 0;
  color: #000;
  font-size: 35px;
  font-weight: bold;
}

.close:hover,
.close:focus {
  color: red;
  cursor: pointer;
}

.animate {
  -webkit-animation: animatezoom 0.6s;
  animation: animatezoom 0.6s;
}

@-webkit-keyframes animatezoom {
  from {-webkit-transform: scale(0)} 
  to {-webkit-transform: scale(1)}
}
  
@keyframes animatezoom {
  from {transform: scale(0)} 
  to {transform: scale(1)}
}

@media screen and (max-width: 300px) {
  span.psw {
     display: block;
     float: none;
  }
  .cancelbtn {
     width: 100%;
  }
}

.signup-container {
  position: absolute;
  top: 45%;
  left: 38%;
  right: 38%;
  height: 200px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  margin: 0 -5px;
}

.bg_analysen {
  --background-image: url("../img/background.jpg");
}

/* Allgemeine Stile */
* {
    box-sizing: border-box;
}

/* Body-Post Style */
.body_post {
    background-image: url('/img/background.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

/* Container für Postings */
.container_post {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header für Postings */
.header_post {
    padding: 15px;
    text-align: center;
    background-color: #FFFFFF;
    border-bottom: 1px solid #ddd;
}

.header_post img {
    width: 10%;
    height: auto;
}

.header_post h1 {
    margin: 0;
    font-size: 36px;
    font-weight: bold;
}

/* Flexbox-Layout für Reihen */
.row_post {
    display: flex;
    flex-wrap: wrap;
    margin: 20px 0;
}

/* Spalten */
.column_post {
    flex: 1;
    padding: 0 10px;
}

/* Kartenstil für Inhalte */
.card_post {
    background-color: white;
    padding: 20px;
    margin-bottom: 20px;
    border-radius: 5px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.card_post h2,
.card_post h3 {
    margin-top: 0;
    font-size: 24px;
}

.card_post h5 {
    margin-top: 5px;
    color: #666;
    font-size: 16px;
}

.card_post p {
    margin-bottom: 10px;
    line-height: 1.6;
}

.card_post a {
    display: block;
    margin-top: 10px;
    color: #007bff;
    text-decoration: none;
}

.card_post img {
    width: 100%;
    height: auto;
    margin-top: 10px;
}

/* Beschreibung */
.entry-description_post {
    text-align: justify;
    word-break: break-word;
    overflow-wrap: break-word;
    margin-top: 10px;
    line-height: 1.8;
    white-space: pre-wrap; /* Für Blocksatz */
}

/* Footer für Postings */
.footer_post {
    padding: 20px;
    text-align: center;
    background-color: #FFFFFF;
    border-top: 1px solid #ddd;
}

.footer_post .menu-link {
    margin: 0 10px;
    color: #333;
    text-decoration: none;
}

/* Responsives Design */
@media screen and (max-width: 768px) {
    .column_post {
        flex: 100%;
        padding: 0;
    }
}

/* Additional Custom Styles */
.bg_analysen {
  background: linear-gradient(135deg, rgba(var(--primary), 0.05) 0%, rgba(var(--primary), 0.1) 100%);
  padding: 2rem 0;
}

.signup-container {
  max-width: 500px;
  margin: 2rem auto;
  padding: 2rem;
  background: white;
  border-radius: 1rem;
  box-shadow: var(--shadow);
  border: 1px solid hsl(var(--border));
}

.modal {
  position: fixed;
  z-index: 1100;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(5px);
}

.modal-content {
  background: white;
  margin: 5% auto;
  padding: 2rem;
  border-radius: 1rem;
  box-shadow: var(--shadow);
  max-width: 500px;
  animation: fadeIn 0.3s ease-out;
}

.close {
  color: hsl(var(--foreground));
  float: right;
  font-size: 1.5rem;
  font-weight: bold;
  cursor: pointer;
  transition: all 0.3s ease;
}

.close:hover {
  color: hsl(var(--primary));
}

/* Custom Animations */
@keyframes slideIn {
  from {
    transform: translateY(-100%);
  }
  to {
    transform: translateY(0);
  }
}

.animate {
  animation: slideIn 0.3s ease-out;
}

/* Preserve any specific overrides */
