/* Basic Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Body & Header */
body {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    background-color: #f4f4f4;
    color: #333;
    margin: 0;
    padding: 0;
}

header {
    background-color: #333;
    color: white;
    text-align: center;
    padding: 20px 0;
}

header h1 {
    margin: 0;
}

/* About Section */
#about {
    padding: 20px;
    text-align: center;
    background-color: #fff;
    margin: 20px 0;
    border-radius: 8px;
}

#about h2 {
    font-size: 1.5em;
    margin-bottom: 10px;
}

#about p {
    font-size: 1.1em;
}

/* Apps Section */
#apps {
    padding: 20px;
    background-color: #fff;
    margin: 20px 0;
    border-radius: 8px;
}

#apps h2 {
    font-size: 1.5em;
    margin-bottom: 10px;
}

.app {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
    transition: all 0.2s ease; /* szükséges az animált hoverhez */
    padding: 10px;
}

.app-icon {
    max-width: 100px;
    max-height: 100px;
    width: auto;
    height: auto;
    margin-right: 20px;  /* jobbra margó, hogy a kép ne érintkezzen a szöveggel */
    margin-bottom: 10px; /* alsó margó, hogy ne érjen a kép a szöveghez */
    border-radius: 20%;  
}

/* Mobil nézet: kép és szöveg egymás alatt (maximálisan 768px széles eszközökhöz) */
@media screen and (max-width: 768px) {
    .app {
        display: block;  /* Egy oszlopos elrendezés */
        text-align: center;  /* Kép és szöveg középre igazítva */
    }

    .app-icon {
        margin-right: 0;  /* A mobilon már nem kell jobbra margó */
        margin-bottom: 15px; /* A kép és a szöveg közötti távolság */
    }
}

.app-link {
    text-decoration: none;
    color: inherit;
    display: block;
}
.app-link:hover .app {
    background-color: #f0f0f0; /* világos háttérváltozás */
    transform: scale(1.02);    /* enyhe nagyítás */
    transition: all 0.2s ease; /* sima animáció */
    border-radius: 8px;        /* kerek sarkok (opcionális) */
}

.app h3 {
    font-size: 1.2em;
}

.app p {
    font-size: 1em;
    color: #555;
}

/* Legal Section */
#legal {
    padding: 20px;
    background-color: #fff;
    margin: 20px 0;
    border-radius: 8px;
    text-align: center;
}

#legal ul {
    list-style: none;
}

#legal li {
    margin: 10px 0;
}

#legal a {
    color: #333;
    text-decoration: none;
    font-weight: bold;
}

#legal a:hover {
    text-decoration: underline;
}

/* Footer */
footer {
    text-align: center;
    background-color: #333;
    color: white;
    padding: 10px 0;
}
