@import url('https://fonts.googleapis.com/icon?family=Material+Icons');
@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@400;500;700&display=swap');

body {  
  font-family: 'Roboto', sans-serif;
  font-size: 1.2rem;
  padding-bottom: 100px;
}

.responsive-text {
  font-family: "Quicksand", sans-serif;
  font-size: clamp(0.5rem, 2vw + 0.8rem, 2rem);
  color: rgb(74, 74, 135);
  font-weight: 700;
  font-style: normal;
}

.concept {
  background-color: rgb(215, 233, 247);
  padding: 10px;
  border-radius: 12px;
}

/* Kártya tartalmak elrejtése/mutatása */
.content {
  display: none;
}

.content.active {
  display: block;
}

/* Kártya szegélyének testreszabása */
.custom-card {
  border: 3px solid green;
  /* Vastagabb (3px) és zöld szegély */
  border-radius: 10px;
  /* Ha szeretnél lekerekített sarkokat */
}

/* Nyíl stílusozása */
#arrow-button {
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
}

.arrow-image {
  width: 32px;
  /* A kívánt szélesség */
  height: 32px;
  /* A kívánt magasság */
}


.interesting-card {
  border-radius: 8px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  max-width: 400px;
  margin: 20px;
}

.interesting-card-header {
  background-color: #F5F4EE;
  border-bottom: none;
  border-radius: 8px 8px 0 0 !important;
  padding: 15px 20px;
}

.interesting-card-header h4 {
  margin: 0;
  color: #321eb0;
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  gap: 10px;
}

.interesting-card-body {
  padding: 20px;
  background-color: white;
  border-radius: 0 0 8px 8px;
}

.interesting-image {
  width: 30px;
  height: 30px;
}

.down-image {
  width: 50px;
  height: 50px;
}

.expandable-custom-card {
  border-radius: 8px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  max-width: 100%;
  margin-bottom: 20px;
  padding: 5px;
}

.expand-icon {
  color: #666;
  font-size: 1.5rem;
  cursor: pointer;
  display: block;
  margin: 15px auto 0;
  transition: transform 0.3s ease;
}

.expand-icon:hover {
  color: #333;
}

.expand-icon.rotated {
  transform: rotate(180deg);
}

.expandable-content {
  display: none;
  margin-top: 15px;
  padding-top: 15px;
  border-top: 1px solid #eee;
}

.show {
  display: block;
}

.custom-card {
  display: none;
  /* Kezdetben el van rejtve */
  opacity: 0;
  /* Áttetsző */
  transform: translateY(-20px);
  /* Picit feljebb van */
  transition: all 0.5s ease;
  /* Animációs átmenet */
}

.custom-card.show {
  display: block;
  /* Megjelenik */
  opacity: 1;
  /* Teljesen látható */
  transform: translateY(0);
  /* Normál helyzetben */
}

#arrow-button {
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
}

.arrow-image {
  width: 64px;
  height: 32px;
}

/* Fordítható kártyák: ------------------------------------------------------------*/
.cards-container {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  padding: 20px;
  max-width: 1200px;
  margin: 0 auto;
}

@media screen and (max-width: 1024px) {
  .cards-container {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media screen and (max-width: 768px) {
  .cards-container {
    grid-template-columns: repeat(2, 1fr);
  }
}

.flip-card {
  background-color: transparent;
  width: 100%;
  aspect-ratio: 3/2;
  perspective: 1000px;
  cursor: pointer;
}

.flip-card-inner {
  position: relative;
  width: 100%;
  height: 100%;
  text-align: center;
  transition: transform 0.8s;
  transform-style: preserve-3d;
}

.flip-card.active .flip-card-inner {
  transform: rotateY(180deg);
}

.flip-card-front,
.flip-card-back {
  position: absolute;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  backface-visibility: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  padding: 20px;
}

.flip-card-front {
  background-color: #2196F3;
  background-image: url('images/background-blue.jpg');
  color: white;
}

.flip-card-back {
  background-color: #4CAF50;
  background-image: url('images/background-green.jpg');
  color: white;
  transform: rotateY(180deg);
}

.flip-card h2 {
  margin: 0 0 10px 0;
  font-size: 1.5rem;
}

.flip-card p {
  margin: 0;
  font-size: 1rem;
  line-height: 1.4;
}

@media screen and (max-width: 768px) {
  .flip-card h2 {
    font-size: 1.2rem;
  }

  .flip-card p {
    font-size: 0.9rem;
  }
}

/* Tartalomjegyzék: -------------------------------------------------------------*/
.content-list {
  list-style-type: none;
}

.content-list li {
  margin-bottom: 8px;
}

.content-list li i {
  margin-right: 8px;
}

.content-list li:has(.fa-lock) {
  color: rgb(164, 162, 162);
}

a {
  text-decoration: none;
}

/* Alsó navigációs rész ------------------------------------------------------*/
/* Add this to your style.css file */

/* Bottom Navigation Bar Styling */
.android-nav-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background-color: white;
  box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
  z-index: 1000;
}

.nav-container {
  display: flex;
  justify-content: space-around;
  align-items: center;
  padding: 12px 0;
  width: 100%;
}

.nav-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-decoration: none;
  color: #757575; /* Default gray color */
}

.nav-item.active {
  color: #6200EE; /* Use your primary color for active items */
}

.nav-item svg {
  margin-bottom: 4px;
}

/* You can add labels under icons if desired */
.nav-item span {
  font-size: 12px;
  margin-top: 4px;
}

/* SZÍNEK */
  :root {
    --primary-color: #6200EE;
    --primary-variant: #3700B3;
    --secondary-color: #03DAC6;
    --secondary-variant: #018786;
    --background: #FFFFFF;
    --surface: #FFFFFF;
    --error: #B00020;
    --on-primary: #FFFFFF;
    --on-secondary: #000000;
    --on-background: #000000;
    --on-surface: #000000;
    --on-error: #FFFFFF;
}