body{
  background-color: lightgray;
}

h1{
  font-weight: bold;
  text-align: center;
}

h2{
  font-weight: 500;
}


h6{
  font-weight: bold;
  font-size: 45px;
}

.card h1{
  font-weight: normal;
}

/*Elválasztó vonal*/
hr {
    height: 2px;
    background-color: black;
  }  
/*Elválasztó vonal vége*/

/*Nav*/
.nav-link:hover {
  color: #f8f9fa; 
  background-color: rgba(255, 255, 255, 0.4);
}

/*Nav vége*/

/*Slide*/

.carousel-item{
    height: 700px;
    background: #000000;
    color: white;
    position: relative;
    background-position: center;
    background-size: cover;
}

.carousel-item .container{
    position: absolute;
    bottom:0;
    left:0;
    right:0;
    padding-bottom:50px;
}

.overlay-image{
    position: absolute;
    bottom:0;
    left:0;
    right:0;
    top:0;
    background-position: center;
    background-size: cover;
    opacity: 0.3;
}

@media (max-width: 768px) {
  .carousel-item {
      height: 500px; /* Kisebb képek mobilon */
  }

  .showcase .showcase-text {
      padding: 2rem; /* Kevesebb tér a mobilon */
  }
}

/*Slide vége*/

/*I. világháborúról*/

.showcase{
  display: flex;
  max-width: 100%;
  overflow: hidden;
  flex-wrap: wrap;
  margin-bottom: 30px;
  
}

.showcase .showcase-text {
  padding: 2rem;
  }

  .showcase .showcase-img {
    min-height: 30rem;
    background-size: cover;
    width: 100%;
    height: auto;
    object-fit: cover;
    /* background-size: contain; /*A teljes kép látszódik, anélkül hogy vágódna*/
    background-repeat: no-repeat; /*Megakadályozza, hogy a kép ismétlődjön egymás mellett*/
    background-position: center; 

  }

.responsive-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: flex-start;
    gap: 20px;
  }

  .responsive-item {
    flex-basis: 300px;
    padding: 20px;
    border: 1px solid #ccc;
  }

  .responsive-item img {
    max-width: 100%;
    height: auto;
    margin-bottom: 20px;
  }

  .button-container {
    display: flex;
    justify-content: center;
  }

  .button {
    padding: 10px 20px;
    background-color: #eaeaea;
    color: #000;
    text-decoration: none;
  }

  @media (max-width: 768px) {
    .responsive-grid {
      align-items: center;
    }

    .button-container {
      align-self: flex-end;
    }

    .showcase{
      margin-bottom: 0;
    }
  }

  @media (min-width: 768px) {
    .showcase .showcase-text {
      padding: 30px;
    }
  }

  @media (min-width: 768px) and (max-width: 992px) {
    .showcase{
      margin-bottom: 0;
    }
  }

/*I. világháborúról vége*/

/*Lábléc*/

.lablec {
    margin-top: 20px;
    background-color: rgb(130, 130, 130);
    padding: 20px;
    text-align: center;
  }
  
  @media screen and (max-width: 600px) {
    .lablec {
      font-size: 14px;
    }
}

/*Lábléc vége*/ 


.projektrol {
    background-color: #cccccc;
    border: 5px solid #666666;
    border-radius: 5px;
    text-align: center;
    margin: 25px;
    padding: 20px;
    flex: 1 1 300px; /*A 300px érték miatt fogja bedobni 300px után a két oszlopot egymás alá*/
}

.projektrol:hover {
  box-shadow: 0 10px 15px rgba(0, 0, 0, 0.2);
  transform: translateY(-5px);
}

.kartyak{
  text-align: center;
  margin: 20px;
}

.card {
  background-color: #cccccc;
  border: 5px solid #666666;
  margin: 10px;
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 10px 10px rgba(0, 0, 0, 0.1);
}

.card h2 {
  font-size: 1.75rem;
}

.card p {
  font-size: 1.25rem;
}

.card:hover {
  box-shadow: 0 10px 15px rgba(0, 0, 0, 0.2);
  transform: translateY(-5px);
}

@media (max-width: 600px) {
  .card {
      margin: 10px 0;
  }
  .showcase {
    text-align: center;
  }
}

@media (max-width: 992px) {
  .showcase {
    text-align: center;
    width: 992px;
  }
}

.w3-row-padding{
  text-align: center;
}

ul {
  list-style-position: inside; /*A pont közvetlenül a szöveg elé kerül*/
  text-align: center;
  padding: 0;
}

li {

  margin-bottom: 10px;
}

/*Gombok*/

.gomb {
  background-color: gray;
  margin: 20px;
  color: white;
  font-weight: bold;
  text-align: center;
  font-size: 16px;
  padding: 15px 30px; 
  border: none;
  border-radius: 8px;
  cursor: pointer;
}
.gomb:hover {
  background-color: dimgray;
  color: black;
  text-decoration: none;
}

/*Gombok vége*/

/*Magyar*/
.magyar{
  padding: 10px;
}

.magyar img {
  max-width: 100%;
  height: auto;
  border-radius: 10px; /*A képet lekerekíti*/
}

@media (min-width: 992px) {
  .col-lg-6{
    margin-bottom: 20px;
  }
}

@media (max-width: 992px) {
  .magyar-text{
    text-align: center;
  }

  .magyar img{
    width: 100%;
  }
}
/*Magyar vége*/
