* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    height: 100vh;
    background-color: #e8ebef;
    color: #e8ebef;
    display: grid;
    --font-family: "New Amsterdam", sans-serif;
    font-weight: 400;
    font-style: normal;
    overflow: hidden;
}

.contacts {
    height: 10vh;
    display: flex;
    --justify-content: space-around;
    font-weight: 500;
    --background-image: linear-gradient(#696969, #989898);
    opacity: 90%;
    visibility: hidden;
}

img {
    padding-top: 5px;
    height: 1.8rem;
    transition: height 0.3s ease;
}

a {
    display: flex;
    flex-direction: column;
}

h1 {
    height: 8vh;
    display: flex;
    justify-content: center;
    font-size: 4rem;
    --font-family: "New Amsterdam", sans-serif;
    font-weight: 800;
   -- background-image: linear-gradient(#989898, #e8ebef);
    opacity: 90%;
    visibility: hidden;
}

h2 {
    height: 2vh;
    display: flex;
    justify-content: center;
    font-size: 1.8rem;
    font-family: "New Amsterdam", sans-serif;
    font-weight: 400;
    opacity: 90%;
    visibility: hidden;
}

.links {
    height: 60vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 10px;
    font-family: "Roboto Mono", monospace;
    font-weight: 400;
    font-size: 0.9rem;
    font-style: normal;
    color: #e8ebef;
    visibility: hidden;
}

footer {
    height: 20vh;
}

a {
    text-decoration: none;
    color: var(--white);
}

canvas {
    position: absolute;
    z-index: -1;
}

@keyframes shake {
    0%, 100% { transform: translate(0, 0); }
    25% { transform: translate(-5px, 0); }
    50% { transform: translate(5px, 0); }
    75% { transform: translate(-5px, 0); }
}

/* Reszponzív beállítások nagyobb képernyőkre */
@media screen and (min-width: 1200px) {
    body {
        display: grid;
        grid-template-rows: auto 1fr auto;
    }

    h1 {
        font-size: 4rem;
        height: 2vh;
    }

    h2 {
        height: 2vh;
        display: flex;
        justify-content: center;
        font-size: 1.8rem;
        font-family: "New Amsterdam", sans-serif;
        font-weight: 400;
        opacity: 90%;
    }

    .contacts {
        height: 12vh;
        font-size: 1.2rem;
    }

    .links {
        font-size: 0.9rem;
        height: 50vh;
        gap: 20px;
    }

    footer {
        height: 15vh;
    }

    img {
        height: 3.5rem;  /* Nagyobb logó méret nagy képernyőn */
    }
}

/* További finomhangolás laptop vagy közepes képernyőméretekhez */
@media screen and (max-width: 1199px) and (min-width: 768px) {
    .contacts {
        height: 15vh;
        font-size: 1.1rem;
    }

    h1 {
        font-size: 3.5rem;
    }

    .links {
        font-size: 1.1rem;
        height: 55vh;
    }

h2 {
    height: 2vh;
    display: flex;
    justify-content: center;
    font-size: 1.8rem;
    font-family: "New Amsterdam", sans-serif;
    font-weight: 400;
    opacity: 90%;
}

    footer {
        height: 20vh;
    }

    img {
        height: 2.5rem;  /* Kisebb logó méret közepes képernyőn */
    }
}
