
/* Képek */

.responsive {
  width: 10%;
  height: auto;
}

@media only screen and (max-width: 200px) {
  .center {
    display: block;
    margin-left: auto;
    margin-right: auto;
    max-width: 250px;
    width: 100%;
    height: auto;
  }
}

/* Fontok */

.ibm-plex serif-regular {
  font-family: "IBM Plex Serif", serif;
  font-weight: 400;
  font-style: normal;
}

.ibm-plex serif-medium {
  font-family: "IBM Plex Serif", serif;
  font-weight: 500;
  font-style: normal;
}

.ibm-plex serif-bold {
  font-family: "IBM Plex Serif", serif;
  font-weight: 700;
  font-style: normal;
}

/* bekezdések */

p {
  font-family: "IBM Plex Serif", serif;
  font-weight: 400;
  font-style: normal;
}



/* Style the header with a grey background and some padding */
.header {
  display: flex;
  justify-content: center;
  align-items: center;
  /* overflow: hidden; */
  background-color: #0085FF;
  padding: 20px 10px;
}

.logo img {
  width: 100%;
  height: auto;
}

/* Add media queries for responsiveness - when the screen is 500px wide or less, stack the links on top of each other */
@media screen and (max-width: 500px) {
  .header a {
    float: none;
    display: block;
    text-align: left;
  }

  .header-right {
    float: none;
  }
}


/******************************
/* Footer The navigation bar */

/* Place the navbar at the bottom of the page, and make it stick */
.footer {
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: #0085FF;
  overflow: hidden;
  position: fixed;
  bottom: 0;
  width: 100%;
}

/* Links inside the navbar */
.footer a {
  float: left;
  display: block;
  color: #f2f2f2d0;
  text-align: center;
  padding: 14px 16px;
  text-decoration: none;
}

/* Change background on mouse-over */
.footer a:hover {
  background: #0085FF;
  color: white;
}

/*****************
/* Main content */

.main {
  margin-top: 50px; /* Add a top margin to avoid content overlay */
  margin: 10px;
  margin-bottom: 70px;
} 

/* struktura */

body {
  margin: 0;
}

/* General table styling */
.table {
  border-collapse: collapse;
  width: 100%;
  margin-top: 20px;
  font-size: 16px;
}

.table th, .table td {
  border: 1px solid #409dfa;
  padding: 12px;
  text-align: left;
}

.table thead th {
  background-color: #fa40c2;
  color: #fff;
  text-transform: uppercase;
  font-weight: bold;
}

.table-striped tbody tr:nth-of-type(odd) {
  background-color: #f8f9fa;
}

.table-striped tbody tr:nth-of-type(even) {
  background-color: #e9ecef;
}

.table tbody tr:hover {
  background-color: #d6d8db;
  transition: background-color 0.3s ease;
}

.table a.btn {
  background-color: #007bff;
  color: #fff;
  font-size: 14px;
  padding: 8px 12px;
  text-decoration: none;
  border-radius: 5px;
}

.table a.btn:hover {
  background-color: #0056b3;
}

/* Center text for the "No events" message */
.text-center {
  text-align: center;
  font-style: italic;
  color: #6c757d;
}

/* Add some spacing to the container */
.container {
  padding: 15px;
  max-width: 1200px;
  margin: auto;
}


.parent {
  display: grid;
  grid-template-rows: auto 1fr auto;

  /* Just for parent demo size */
  height: 100vh;
}

/* ****** */
/* ikonok */
/* ****** */

.material-symbols-rounded {
  font-variation-settings: 
    'FILL' 0,
    'wght' 200,
    'GRAD' 0,
    'opsz' 40;
  font-size: 24px;  /* Preferred icon size */
  display: inline-block;
  line-height: 1;
  text-transform: none;
  letter-spacing: normal;
  word-wrap: normal;
  white-space: nowrap;
  direction: ltr;

  /* Support for all WebKit browsers. */
  -webkit-font-smoothing: antialiased;
  /* Support for Safari and Chrome. */
  text-rendering: optimizeLegibility;

  /* Support for Firefox. */
  -moz-osx-font-smoothing: grayscale;

  /* Support for IE. */
  font-feature-settings: 'liga';
}

/* -------------------------------------- */
/* MOBILE-FRIENDLY RESPONSIVE TABLE STACK */
/* -------------------------------------- */

@media only screen and (max-width: 600px) {

  .table thead {
    display: none; /* hide table header */
  }

  .table, 
  .table tbody, 
  .table tr, 
  .table td {
    display: block;
    width: 100%;
  }

  .table tr {
    margin-bottom: 15px;
    border: 1px solid #409dfa;
    border-radius: 8px;
    padding: 5px;
    background: #fff;
  }

  .table td {
    text-align: right;
    padding-left: 50%;
    position: relative;
    border: none;
    border-bottom: 1px solid #ddd;
  }

  .table td:last-child {
    border-bottom: none;
  }

  .table td::before {
    content: attr(data-label); /* takes column name from HTML */
    position: absolute;
    left: 10px;
    top: 12px;
    font-weight: bold;
    text-transform: uppercase;
    color: #555;
  }
}
