body {
    background-color: #1e1f22;
}

p {
    color: #20c1ce;
}

.warning {
    animation: animWarning 0.5s infinite alternate linear;
}

header {
    position: relative;
    margin-left: auto;
    margin-right: auto;
    border: 5px solid #fa1e4b;
    box-shadow: 0 0 20px #fa1e4b;
    width: 1000px;
}

h1 {
    color: #20c1ce;
    text-align: center;
    font-family: Consolas, monospace;
    letter-spacing: 15px;
    font-size: 50px;
    text-shadow: 0 0 20px #20c1ce;
}

#keret {
    border: 5px solid #fa1e4b;
    box-shadow: 0 0 20px #fa1e4b;
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 20px;
    width: auto;
    height: auto;
    margin: auto;
    font-family: Consolas, monospace;
}

@media screen and (max-width: 1028px) {
    header {
        width: 400px;
    }
    h1 {
        font-size: 30px;
    }
}

/*GALERIA*/

#vonatok {
    display: flex;
    flex-wrap: wrap;
    gap: 50px;
    align-items: center;
    justify-content: center;
    margin: 50px;
    animation: fadein 0.5s linear;
}

.fajta {
    width: 350px;
    height: 650px;
    border-radius: 15px;
    box-shadow: 0 0 5px #20c1ce;
    transition: linear 0.1s;
    padding: 30px;
}

.fajta > p {
    color: #20c1ce;
}

.fajta:hover {
    transform: scale(1.05);
    box-shadow: 0 0 20px #fa1e4b;
    transition: linear 0.1s;
}

.fajta img {
    display: block;
    width: 100%;
    margin-left: auto;
    margin-right: auto;
    border-radius: 15px;
    transition: linear 0.1s;

}

.fajta:hover img {
    box-shadow: 3px 3px 15px #000000;
    transition: linear 0.1s;
}

.vonatnev {
    text-align: center;
    font-size: 20px;
    font-weight: bold;
    letter-spacing: 3px;
}

.jellemzok {
    text-align: justify;
    margin-left: 30px;
    margin-right: 30px;
}


.sebesseg {
    margin-left: 30px;
    margin-right: 30px;
}

.csik {
    display: block;
    width: 100%;
    height: 5%;
    background-color: #20c1ce;
    border-radius: 15px;
    text-align: center;
}


#nebula {
    width: 50%;
}

#photon {
    width: 100%;
    background-color: peru;
}


/*UTVONALAK*/

.terkep {
    display: grid;
    position: relative;
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: repeat(4, 1fr);
    gap: 20px;
    width: 75%;
    height: 75%;
    background-image: url("../img/urhatter.jpg");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    justify-content: center;
    align-items: center;
    border: 5px solid #20c1ce;
    box-shadow: 0 0 20px #20c1ce;
    animation: fadein 0.5s linear;
}

.bolygo {
    position: relative;
    z-index: 2;
    background-color: #333;
    color: #fff;
    border-radius: 50%;
    width: 80px;
    height: 80px;
    justify-content: center;
    align-items: center;
    justify-self: center;
    align-self: center;
}

.vonalak {
    position: absolute;
    width: 100%;
    height: 100%;
}

#lumoraprime {
    grid-column: 2;
    grid-row: 2;
    transition: linear 0.2s;
}

#aqualon {
    grid-column: 3;
    grid-row: 1;
    transition: linear 0.2s;

}

#aridion {
    grid-column: 4;
    grid-row: 3;
    transition: linear 0.2s;
}

#cryonix {
    grid-column: 1;
    grid-row: 4;
    transition: linear 0.2s;
}

#infernika {
    grid-column: 2;
    grid-row: 3;
    transition: linear 0.2s;
}

#terralyx {
    grid-column: 3;
    grid-row: 4;
    transition: linear 0.2s;
}



.menetrend {
    position: absolute;
    display: block;
    left: 105%;
    width: 25%;
    height: 100%;
    border: 5px solid #20c1ce;
    box-shadow: 0 0 20px #20c1ce;
    opacity: 0;
    color: #20c1ce;
    text-shadow: 0 0 5px #20c1ce;
    transition: linear 0.1s;
}

.menetrend p:first-of-type {
    font-size: 20px;
    text-align: center;
    letter-spacing: 4px;
    font-weight: bold;
    padding-left: 5%;
    padding-right: 5%;
    padding-top: 5%;
    bottom: 50%;
}

.menetrend p:nth-of-type(2) {
    font-size: 20px;
    /*padding: 20px;*/
    padding-left: 5%;
    padding-right: 5%;
    padding-bottom: 5%;
    text-align: left;
}

/*menetrend táblázata*/

.menetrend-table {
    text-align: center;
    margin: auto;
    border: 1px solid #20c1ce;
    width: 100%;
}

.menetrend-table th {
    font-size: 20px;
    border: 1px solid #20c1ce;
}

.menetrend-table td {
    font-size: 15px;
    border: 1px solid #20c1ce;
}

/*bolygók-hover*/

#lumoraprime:hover {
    transform: scale(1.1);
    transition: 0.2s linear;
    box-shadow: 0 0 10px white;
}

#lumoraprime:hover ~ .lumora-allomas {
    opacity: 1;
    transition: 0.1s linear;
}

#aqualon:hover {
    transform: scale(1.1);
    transition: 0.2s linear;
    box-shadow: 0 0 10px white;
}

#aqualon:hover ~ .aqualon-allomas {
    opacity: 1;
    transition: 0.1s linear;
}

#aridion:hover {
    transform: scale(1.1);
    transition: 0.2s linear;
    box-shadow: 0 0 10px white;
}

#aridion:hover ~ .aridion-allomas {
    opacity: 1;
    transition: 0.1s linear;
}

#cryonix:hover {
    transform: scale(1.1);
    transition: 0.2s linear;
    box-shadow: 0 0 10px white;
}

#cryonix:hover ~ .cryonix-allomas {
    opacity: 1;
    transition: 0.1s linear;
}

#infernika:hover {
    transform: scale(1.1);
    transition: 0.2s linear;
    box-shadow: 0 0 10px white;
}

#infernika:hover ~ .infernika-allomas {
    opacity: 1;
    transition: 0.1s linear;
}

#terralyx:hover {
    transform: scale(1.1);
    transition: 0.2s linear;
    box-shadow: 0 0 10px white;
}

#terralyx:hover ~ .terralyx-allomas {
    opacity: 1;
    transition: 0.1s linear;
}

@keyframes animWarning {
    from {
        color: #20c1ce;
    }
    to {
        color: #ffdf00;
    }
}

.info {
    font-size: 120%;
}

/*táblázat és menetrend méretének optimalizálása*/

@media screen and (max-width: 1220px){
    .terkep {
        margin-bottom: 250px;
        margin-left: auto;
        margin-right: auto;
        display: inline;
        text-align: center;
    }

    .vonalak {
        display: none;
    }

    .menetrend {
        display: block;
        top: 125%;
        left: 0;
        width: 100%;
        height: auto;
    }


    @media screen and (max-width: 750px){
        .terkep {
            margin-bottom: 300px;
        }
        @media screen and (max-width: 650px) {
            .terkep {
                margin-bottom: 350px;
            }
            @media screen and (max-width: 420px) {
                .terkep {
                    margin-bottom: 400px;
                }
            }
        }
    }
}

/*HIREK*/

#hirek {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    font-family: Consolas, monospace;
    animation: fadein 0.5s linear;
}

.hir1 {
    display: flex;
    justify-content: space-evenly;
    gap: 30px;
    align-content: center;
    width: 600px;
    height: auto;
    margin: 30px;
    box-shadow: 0 0 20px peru;
    background-image: url("../img/urhatter2.jpg");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.hir2 {
    background-color: darkslategrey;
    display: block;
    width: 400px;
    height: auto;
    padding: 10px;
    margin: 30px;
    box-shadow: 0 0 20px peru;
    background-image: url("../img/urhatter2.jpg");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.frisshir {
    font-size: 25px;
    text-decoration: underline;
    margin-bottom: 0;
    color: peru;
    font-weight: bold;
}

.nepszeruhir {
    font-size: 25px;
    text-decoration: underline;
    margin-bottom: 0;
    color: peru;
    font-weight: bold;
}

.hir1 > img {
    display: block;
    width: 300px;
    height: 300px;
}

.hir1 > div {
    margin-right: 30px;
}

.hir2 > div {
    text-align: center;
    margin: auto;
}

.hircim2 {
    text-align: center;
    margin: auto;
    font-weight: bold;
    font-size: 20px;
}

.hircim {
    font-weight: bold;
    font-size: 20px;
    text-align: left;
}

.hirszoveg-box {
    color: #20c1ce;
    text-align: justify;
}

/*VELEMENY*/

.velemenyek {
    margin-top: 5%;
    margin-right: 15%;
    margin-left: 15%;
}

.velemeny {
    display: flex;
    height: auto;
    width: auto;
    padding: 25px;
    gap: 20px;
    border-left: 10px solid peru;
    box-shadow: 0 0 10px peru;
    margin-bottom: 25px;
    animation: fadein 0.5s linear;
}


.felhasznalo > img {
    display: block;
    border-radius: 50%;
    width: 70px;
    margin-left: auto;
    margin-right: auto;
}

.username {
    text-align: center;
    font-size: 18px;
    font-weight: bold;
    color: peru;
}

.megjegyzes {
    text-align: center;
    font-size: 14px;
    color: #515151;
}

.velemeny-szoveg > p {
    font-size: 18px;
    font-style: italic;
}

.hozzaszolasok {
    margin-top: 5%;
    margin-right: 15%;
    margin-left: 15%;
    box-shadow: 0 0 10px #20c1ce;
    padding: 25px;
}

label {
    color: #20c1ce;
    font-size: 20px;
}

input[type="text"] {
    width: 30%;
    padding: 8px;
    border-radius: 10px;
    margin-top: 10px;
    margin-bottom: 10px;
    background-color: #1e1f22;
    outline: none;
    transition: ease-in-out 200ms;
    font-family: Consolas, monospace;
}

#comment {
    width: 80%;
    padding: 8px;
    border-radius: 10px;
    margin-top: 10px;
    margin-bottom: 10px;
    background-color: #1e1f22;
    outline: none;
    transition: ease-in-out 200ms;
    font-family: Consolas, monospace;
}

#comment:focus {
    border-color: #20c1ce;
    box-shadow: 0 0 5px #20c1ce;
    transition: ease-in-out 200ms;
    color: #20c1ce;
    font-family: Consolas, monospace;
}

button[type='submit'] {
    display: block;
    background-color: #1e1f22;
    box-shadow: 0 0 10px peru;
    border-radius: 10px;
    padding: 16px;
    margin: auto;
    text-align: center;
    width: 40%;
    color: peru;
    transition: ease-in-out 200ms;
    font-family: Consolas, monospace;
}

button[type='submit']:hover {
    box-shadow: 0 0 20px peru;
    transition: ease-in-out 200ms;
}

button[type='submit']:active {
    box-shadow: 0 0 20px white;
    color: white;
}

input[type="text"]:focus {
    border-color: #20c1ce;
    box-shadow: 0 0 5px #20c1ce;
    transition: ease-in-out 200ms;
    color: #20c1ce;
    font-family: Consolas, monospace;
}

/*KAPCSOLAT*/

#logo {
    text-align: center;
    margin: auto;
    border-radius: 50%;
    width: 300px;
    transition: ease-in-out 500ms;
    animation: fadein 0.5s linear;
}

.ceglogo {
    text-align: center;
    margin: auto;
    font-size: 45px;
    font-weight: bold;
    color: peru;
    text-shadow: 0 0 10px peru;
    animation: fadein 0.5s linear;
}

#logo:hover {
    transform: rotate(10deg);
    box-shadow: 0 0 20px #20c1ce;
    transition: ease-in-out 500ms;
}

.adatok {
    display: block;
    margin: auto;
    height: auto;
    width: 60%;
    padding: 25px;
}

h2 {
    font-size: 30px;
}

.kapcsolat-ul {
    font-size: 20px;
}

#elerhetoseg {
    box-shadow: 0 0 10px mediumpurple;
    color: mediumpurple;
}

#media {
    box-shadow: 0 0 10px yellowgreen;
    color: yellowgreen;
}

#rolunk {
    box-shadow: 0 0 10px indianred;
    color: indianred;
}

#ajanlatok {
    box-shadow: 0 0 10px antiquewhite;
    color: antiquewhite;
}

.szlogen {
    color: peru;
    font-weight: normal;
    font-size: 20px;
    font-style: italic;
}

form {
    display: block;
    height: auto;
    width: 60%;
    padding: 30px;
    box-shadow: 0 0 10px#20c1ce;
    margin: auto;
}

input[type="email"] {
    margin-top: 10px;
    padding: 8px;
    border-radius: 10px;
    width: 30%;
    margin-bottom: 10px;
    background-color: #1e1f22;
    outline: none;
    transition: ease-in-out 200ms;
    font-family: Consolas, monospace;
}

input[type="email"]:focus {
    border-color: #20c1ce;
    box-shadow: 0 0 5px #20c1ce;
    transition: ease-in-out 200ms;
    color: #20c1ce;
    font-family: Consolas, monospace;
}

.urlap-info {
    margin-top: 0;
}

@keyframes fadein {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}