

.gabarito_font> {
  font-family: "Gabarito", sans-serif;
  font-optical-sizing: auto;
  font-weight: <weight>;
  font-style: normal;
}

    html{
        font-family: Gabarito, sans-serif;
    }

    .valaszto{
        font-family: Gabarito, sans-serif;
        color: #ffff;
        font-size: 2.5rem;
        font-weight: 200;
        text-decoration: none;
        transition: transform 200ms;
        transition: padding-right 300ms;
        transition-delay: 50ms;
        transition-timing-function: ease-out;
        color: hsla(24, 1%, 86%, 1);
        padding-left: 1rem;
        padding-right: 1rem;
        background-color: transparent;
        border-radius:0.5rem;
        margin-left: 1.5rem;

    }
    .valaszto:hover{
        filter: drop-shadow(0px 10px 10px #ffff);
        transform: translate(5%);
        color: #ffff;
        background-color:#f9d661;
        padding-right: 32rem;
        border-radius:0.5rem;
        border-right: 1rem solid #8c861e;

    }

    .kezdo{
            font-family: Gabarito, sans-serif;
            color: #ffff;
            font-size: 13vw;
            margin-left: 2rem;
            font-weight: 800;
            margin-top: 2rem;
            filter: drop-shadow(0px 10px 10px #0000001b);
            transition: padding-right 1000ms;
            border-radius:2rem;
            padding-left: 2rem;
            padding-top: 1rem;
    }
    .kezdo:hover{
        background-color:#f9d661;
        padding-right: 10rem;
        border-radius:2rem;



    }

    .oldalcim{
        font-family: Gabarito, sans-serif;
        color: #ffff;
        font-size: 5rem;
        font-weight: 500;
        filter: drop-shadow(0px 10px 10px #0000001b);
        transition: padding-right 1000ms, padding-left 1000ms;
        margin-top: 1.5rem;
        margin-bottom: 1.5rem;
        border-radius:1rem;
        margin-bottom: 0;
    }
    .oldalcim:hover{
        background-color:#f9d661;
        padding-right: 1rem;
        padding-left: 1rem;
        border-radius:1.5rem;



    }

    hr {
        background-color:#ba8c95;
        opacity: 1;
        border: 0;
        width: 100%;
        height: 0;
        border-top: 0.4rem dotted yellow;
        position: relative;
        overflow: visible;
        padding-bottom: 1.5rem;
        margin-top: 0;
        margin-bottom: 0;
      }
      hr:before {
        animation: move 10s infinite linear;
        position: absolute;
        top: -2.3rem;
        left:0;
        right: 0;
        bottom: 0;
        background-image: url(/img_2/pixel-removebg-preview.png);
        background-size: 4rem;
        background-repeat: no-repeat;
        background-position: calc(100% + 4rem) 0;
        content: ' ';
        height: 4rem;
      }
      hr:after {
        animation: move 10s 1s infinite linear;
        position: absolute;
        top: -3rem;
        left:-2rem;
        right: 0;
        bottom: 0;
        background-size: 7rem;
        background-repeat: no-repeat;
        background-position: calc(100% + 7rem) 0;
      
        content: ' ';
        height: 7rem;
        background-image: url(/img_2/futo2.gif);
      }
      @keyframes move {
        0% {
          background-position: 0 0;
        }
      }

      #results {
        display: flex;
        flex-wrap: wrap; /* A sorok automatikusan törnek, ha nem férnek el */
        gap: 15px; /* Távolság a képek között */
        margin-top: 20px;
        margin-left: 1.5vw;
        margin-right: 1.5vw;
        justify-content: center; /* Balról igazítja a képeket */
    }
    
    .result-image {
        max-width: 160px; /* Alapértelmezett szélesség asztali nézetben */
        max-height: 160px; /* Arányos méretezés */
        border-radius: 10px; /* Lekerekített szélek */
        transition: transform 0.3s ease, box-shadow 0.3s ease; /* Simított animáció */
        box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); /* Árnyék */
        margin-left: 13px;
        margin-right: 13px;
        margin-bottom: 5px;
    }
    
    .result-image:hover {
        transform: scale(1.1); /* Kép nagyítása hover alatt */
        box-shadow: 0 8px 12px rgba(0, 0, 0, 0.2); /* Erősebb árnyék */
    }
    
    
    /* Reszponzív beállítások tabletekhez */
    @media (max-width: 768px) {
        .result-image {
            max-width: 135px;
            max-height: 135px; /* Kicsit nagyobb képek tableteken */
        }
    }
    
    /* Reszponzív beállítások mobilokhoz */
    @media (max-width: 480px) {
        .result-image {
            max-width: 120px;
            max-height: 120px; /* Kisebb képek mobilokon */
        }
    
        #results {
            justify-content: center; /* Középre igazítja a képeket mobilon */
        }

        .oldalcim{
            font-size: 4rem;
        }
        #legfrissebb_oldal{
            font-size: 3.5rem;
        }
    }


    input#markalista {
      width: 100%; /* Teljes szélesség */
      padding: 10px 15px; /* Belső margó a szöveg körül */
      font-size: 18px; /* Kényelmes méretű szöveg */
      border: 1px solid #ccc; /* Finom szegély */
      border-radius: 8px; /* Enyhén lekerekített szélek */
      box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1); /* Finom árnyék */
      transition: box-shadow 0.3s ease, border-color 0.3s ease; /* Animáció fókusznál */
      font-family: 'Gabarito', sans-serif; /* Egyedi betűtípus */
  }
  
  input#markalista:focus {
      border-color: #68A357; /* Fókuszban zöld szín */
      box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2); /* Erősebb árnyék */
      outline: none; /* Alapértelmezett outline eltávolítása */
  }

  #random_oldal_div{
    margin: 0;
    display: flex;
    justify-content: center; /* Vízszintesen középre */
  }
#imageContainer {
    display: flex;
    justify-content: center;
}
#app {
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.total {
    font-size: 75px;
    font-weight: 500;
    margin-bottom: 30px;
}

.brands {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
    width: 90%;
}

.brand {
    flex: 1 1 calc(20% - 20px); /* 5 elem egy sorban */
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    padding: 20px;
    border-radius: 8px;
    background-color: #fff;
    max-width: 180px;
    transition: background-color 100ms;

}
.brand:hover{
    background-color: #fcf3cf;
}

.brand h3 {
    font-size: 18px;
    margin-bottom: 10px;
}

.brand p {
    font-size: 16px;
    color: #555;
}

@media (max-width: 768px) {
    .brand {
        flex: 1 1 calc(33.33% - 20px); /* 3 elem egy sorban kisebb képernyőn */
    }
}

@media (max-width: 480px) {
    .brand {
        flex: 1 1 calc(50% - 20px); /* 2 elem egy sorban mobilon */
    }
}
#total-label{
    font-size: 48px;
    font-weight: 350;
}