* {
	box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
    margin: 10px;
    padding: 4px;
}

#card {
    background: linear-gradient(135deg, #0e1224 0%, #010618 100%);
    border: 2px solid rgba(216, 170, 52, 0.911);
    border-radius: 12px;
    margin: 12px auto;
    width: min(620px, calc(90vw - 18px));
    padding: 8px 16px;
    box-shadow: 0 12px 24px rgba(212, 161, 29, 0.829);
}

h1 {
    text-align: center;
    color: #eceef0;
    font-size: 26px;
    font-weight: 700;
    margin: 0;
    text-decoration: underline;
}

.card-header {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 8px;
}

#logo {
    width: 90px;
    height: auto;
}

.card-title {
    flex: 1;
    text-align: center;
}
.qr-code {
    width: 50px;
    height: auto;
}

.qr-code:hover {
    transform: scale(1.08) translateY(-3px);
    transition: transform 0.25s ease;
    cursor: pointer;
}

.card-header a img {
    width: 50px;
    height: auto;
}

/* Hover animáció */
.logo-hover {
    transition: transform 0.25s ease;
    cursor: pointer;
}

.logo-hover:hover {
    transform: scale(1.08) translateY(-3px);
}


h2 {
    text-align: center;
    color: #fcfcfc;
    margin: 2px 6px 0;
    font-size: 18px;
    font-family: 'Orbitron', sans-serif;
    font-weight: 600;
}

.contact-info {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    margin-top: 4px;
    gap: 6px;
}

.contact-info p {
    margin: 0;
    color: #b7c0dd;
    font-weight: bold;
    font-size: 16px;
}

.webpage {
    text-align: center;
    margin-top: 4px;
}

hr {
    border: 0;
    border-top: 2px solid rgba(194, 152, 46, 0.952);
    width: 100%;
    margin: 6px 0;
}

.tech-stack {
    margin-top: 2px;
}

.tech-stack p {
    margin: 0 0 4px 0;
    font-weight: 600;
    font-style: italic;
    text-decoration: underline;
    color: #d8b765;
    text-decoration-color: rgba(216, 183, 101, 0.5);
}

.tech-icons {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
}

.tech-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    min-width: 22px;
    font-size: 12px;
    font-weight: 500;
    color: #dee1ec;
    text-align: center;
    justify-content: space-between;
}

.tech-item img {
    display: block;
}

a {
    color: #ffffff;
    text-decoration: none;
    font-weight: bold;
}

a:hover {
    text-decoration: underline;
    color: #41a098;
}

.footer {
    text-align: center;
    margin-top: 6px;
    font-size: 13px;
    color: #dadfec;
    font-weight: 600;
}

@media (max-width: 600px) {
    body {
        margin: 0;
        padding: 0;
    }

    #card {
        margin: 8px auto;
        width: calc(100vw - 10px);
        padding: 10px;
        border-width: 3px;
    }

    h1 {
        font-size: 20px;
    }

    h2 {
        font-size: 16px;
        margin: 0;
    }

    .card-header {
        flex-direction: row;
        gap: 8px;
    }

    .contact-info {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
        margin-top: 20px;
    }

    .my-project {
        flex-direction: column;
        align-items: center;
        gap: 8px;
        margin-top: 24px;
    }

    .my-project a {
        word-break: break-word;
        text-align: center;
    }

    .tech-icons {
        gap: 8px;
        justify-content: center;
    }

    .tech-item {
        min-width: 40px;
        font-size: 12px;
    }


}

@media (min-width: 601px) and (max-width: 760px) {
    #card {
        margin: 10px auto;
        width: min(600px, calc(100vw - 16px));
        padding: 12px;
    }

    h1 {
        font-size: 18px;
    }

    .contact-info {
        gap: 10px;
        margin-top: 20px;
    }

    .my-project {
        flex-wrap: wrap;
        gap: 8px;
        margin-top: 24px;
    }

    .card-header {
        justify-content: center;
    }

    .tech-icons {
        gap: 6px;
        justify-content: center;
    }

}