body {
    background-image: url("/images/stars.gif");
    overflow-x: hidden;
}

* {
    box-sizing: border-box;
}

a {
    color: #b7ff00;
    text-decoration: none;
}

#content a {
    display: inline-block;
    position: relative;
    text-decoration: none;
}

#content a:hover {
    color: #fff;
}

#content a::after {
    content: '';
    position: absolute;
    width: 100%;
    transform: scaleX(0);
    height: 2px;
    bottom: 0;
    left: 0;
    background-color: #fff;
    transition: transform 0.25s ease-out;
}

#content a:hover::after {
    transform: scaleX(1);
}

#content  a::after {
    transform-origin: bottom right;
}

#content a:hover::after {
    transform-origin: bottom left;
}


#header {
    font-size: 10px;
    color: aliceblue;
    display: block;
    width: 100%;
    overflow: hidden;
    text-align: center;
}
#header img {
    width: 100%;
    max-width: 800px;
}
#header>pre {
    display: block;
    width: 700px;
    margin: 0 auto 0 auto;
}


input, textarea, button {
    font-family: Verdana, serif;
    font-size: 14px;
    outline: none;
}

#main {
    background-color: black;
    border: 2px solid #888;
    color: #5ab10d;
    font-family: Verdana, serif;
    font-size: 15px;
    max-width: 1200px;
    margin: 20px auto 20px auto;
    overflow: hidden;
    -webkit-box-shadow: 0 0 18px 0 rgb(131, 131, 131);
    -moz-box-shadow: 0 0 18px 0 rgb(131, 131, 131);
    box-shadow: 0 0 18px 0 rgb(131, 131, 131);
}
#main.p {
    padding: 20px;
}

#mainContainer {
    display: flex;
    flex-wrap: nowrap;
}

#leftBar {
    flex: 0 0 200px;
    border-right: 2px solid #888;
}

#stickers {
    margin-top: 20px;
    text-align: center;
}
#stickers a:nth-child(even){
    margin-left: 3px;
}

#content {
    padding: 20px;
    flex: 0 0 calc(100% - 202px);
    max-width: 100%;
    background-color: #191b19;
}

#content h1:first-child {
    margin-top: 0;
}

#content img {
    max-width: 100%;
}

#email {
    margin-top: 30px;
    margin-bottom: 30px;
    cursor: pointer;
}

.center {
    display: block;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}

.paddingTop20 {
    padding-top: 20px
}

.paddingBottom20 {
    padding-bottom: 20px
}

.marginTop0 {
    margin-top: 0;
}

.marginTop20 {
    margin-top: 20px;
}

.marginTop40 {
    margin-top: 40px;
}

.marginBottom20 {
    margin-bottom: 20px;
}

.textcenter {
    text-align: center;
}

.yellow {
    color: yellow;
}

#menu {
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #333;
    color: #fff;
    border-top: 2px solid #888;
    border-bottom: 2px solid #888;
}

#mobileMenu {
    list-style-type: none;
    margin: 0;
    padding: 0;
    text-align: center;
    width: 100%;
    display: none;
}

#mobileMenu li {
    display: block;
}

#hamburgerMenu {
    font-size: 20px;
    font-weight: bold;
    cursor: pointer;
}

#mobileMenu a {
    color: #fff;
    display: block;
    text-decoration: none;
    padding-top: 10px;
    padding-bottom: 10px;
    border-top: 1px solid #000;
    width: 100%;
}

#mobileMenu a:first-child {
    border-top: none;
}

#mobileMenu a:hover {
    background-color: #555;
}

#mobileMenu li.mobileMenuItem {
    display: none;
}

#leftMenu {
    list-style-type: none;
    margin: 0;
    padding: 0;
    text-align: center;
    width: 100%;
}

#leftMenu li {
    display: block;
    text-align: left;
}

#leftBar h3 {
    font-size: 26px;
    margin-top: 10px;
    margin-bottom: 10px;
}

#leftBar h3:first-child {
    margin-top: 23px;
}

#leftBar img {
    max-width: 170px;
}

#leftMenu li a {
    width: 100%;
    padding-top: 10px;
    padding-bottom: 10px;
    display: block;
    font-size: 14px;
    color: #fff;
    border-bottom: 1px solid #8c8c8c;
}

#leftMenu li a::before {
    content: "> ";
    font-weight: bold;
    padding-left: 10px;
    color: green;
}

#leftMenu li a:hover {
    background-color: #555;
    color: #fff;
}
#leftMenu li a:hover::before {
    color: yellow;
}

.clear {
    clear: both;
}

.bigurl {
    border: 1px solid yellow;
    padding: 20px;
}

.flexcontainer {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: flex-start;
    align-items: flex-start;
    gap: 20px;
    width: 100%;
}

.flex-left-image img {
    width: 100%;
}

.flex-left-image {
    flex: 0 0 500px;
}

.flex-right-text {
    flex: 0 0 calc(100% - 540px);
}

.flex-right-text p:first-child {
    margin-top: 0;
}


@media only screen and (max-width: 1024px) {
    .flex-right-text {
        flex: 0 0 calc(100%);
    }

    .flex-left-image {
        flex: 0 0 calc(100%);
    }
}

#faq h2::before {
    content: "?>_ ";
    color: green;
}

#faq h2 {
    color: yellowgreen;
}


#guestbook-form
{
    display: block;
    text-align: center;
    margin: 0 auto 0 auto;
}

::selection {
    background: yellow;
    color: black;
}

#guestbook {
    width: 100%;
    box-sizing: border-box;

}

#guestbook textarea:focus, #guestbook input[type="text"]:focus {
    border: 1px solid yellow;
}

#guestbook textarea {
    width: 100%;
    box-sizing: border-box;
    height: 100px;
    display: block;
    border: 1px solid green;
    background-color: #000;
    color: #5ab10d;
    padding: 5px;
    margin-bottom: 10px;
}

#guestbook input[type="text"] {
    width: 100%;
    box-sizing: border-box;
    display: block;
    border: 1px solid green;
    background-color: #000;
    color: #5ab10d;
    padding: 5px;
    margin-bottom: 10px;
}

#guestbook button {
    border: 1px solid green;
    background-color: green;
    color: #000;
    padding: 5px;
}

#guestbook button:hover {
    background-color: yellow;
}

.guestbook-item {
    border: 1px solid green;
    margin-top: 20px;
    background-color: #191b19;
    color: #9cb19b;
    overflow: hidden;
    width: 100%;
    box-sizing: border-box;
}

.guestbook-item-title {
    border-bottom: 1px solid green;
    padding-left: 20px;
    padding-right: 20px;
    word-wrap: break-word;
    box-sizing: border-box;
}

.guestbook-item-title h2 {
    font-size: 14px;
}

.guestbook-item-title h2::before {
    content: ">";
    color: green;
    padding-right: 5px;
}

.guestbook-item-title span {
    font-size: 12px;
    color: #415170;
}

.guestbook-item-title i {
    float: right;
    margin-top: 6px;
    color: #415170;
}

@media only screen and (max-width: 1024px) {
    .guestbook-item-title i {
        display: none;
    }

    .guestbook-item-title span {
        font-size: 10px;
        display: block;
    }
}

.guestbook-item-message {
    box-sizing: border-box;
    padding: 20px;
    word-wrap: break-word;
    width: 100%;
}

#guestbookdragon {
    float: right;
    height: 100px;
    margin-top: -10px;
}

.text-danger {
    color: red;
    font-style: italic;
}

.paginator ul {
    margin: 0;
    padding: 0;
}

.paginator li {
    list-style-type: none;
    display: inline;
    font-size: 18px;
}

.paginator {
    text-align: center;
}

#bottomIcons {
    display: none;
}

#menuline {
    display: block;
    width: 100%;
    height: 38px;
}

.imagewithborder {
    border: 1px solid #4a5568;
}


.videolist {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: flex-start;
}

.video {
    flex: 0 0 33%;
    box-sizing: border-box;
    padding: 10px;
}

.video a {
    width: 100%;
    display: block;
}

.video a:hover {
    color: #fff;
}

.video a:hover img {
    outline: 1px solid green;
}

.video p {
    margin-top: 5px;
}

#videoPlayer {
  /*  display: none; */
}

#videoPlayer #iframeplace {
    display: flex;
    justify-content: center;

}

#videoPlayer #iframeplace iframe {
    aspect-ratio: 16 / 9;
    width: 100% !important;
}

#stickersPage {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}

#stickersPage img {
    margin-bottom: 10px;
}

.indieWebWebring_Widget ul {
    list-style-type: none;
    margin: 0;
    padding: 0;
}

.indieWebWebring_Widget ul li {
    display: inline;
    padding: 10px;
}

.indieWebWebring_Widget ul li a {
    color: yellow;
}

.indieWebWebring_Widget ul li:first-child a {
    font-size: 17px;
}

.indieWebWebring_Widget ul li:last-child a {
    font-size: 17px;
}



.webringMember {
    padding: 20px;
    border-bottom: 1px solid #415170;;
}

.webringMember img {
    display: block;
    -webkit-box-shadow: 0 0 18px 0 rgb(131, 131, 131);
    -moz-box-shadow: 0 0 18px 0 rgb(131, 131, 131);
    box-shadow: 0 0 18px 0 rgb(131, 131, 131);
}

.webringMember a {
    display: block;
}

.webringMember:last-child {
    border-bottom: none;
}

#links div {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: flex-start;
}

#links div a {
    display: block;
    width: 30%;
    min-width: 140px;
    margin-top: 10px;
    margin-bottom: 20px;
    padding: 10px;
    border: 1px solid #2d3748;
    overflow: hidden;
    background-color: #212321;
    margin-right: 10px;
    margin-left: 10px;
}

.border-1 {
    border: 1px solid #5ab10d;
}

#nameday {
    margin-top: 20px;
    margin-bottom: 20px;
    background-color: #1f2937;
    padding-top: 10px;
    padding-bottom: 10px;
    font-size: 12px;
}

#links div a b {
    color: #5ab10d;
}

#links div a span {
    font-size: 12px;
    display: block;
}

#updates {
    display: flex;
    flex-direction: column;
    gap: 3px; /* A sorok közötti távolság */
}

#updates a {
    display: flex; /* Flexbox használata a sorokon belül */
    align-items: flex-start; /* Az elemek a tetejükhöz igazodnak */
    text-decoration: none;
    color: inherit;
    line-height: 1.5; /* Szövegsorok közötti távolság */
}

#updates span {
    flex: 0 0 auto; /* A span fix szélességű marad */
    width: 120px; /* Állítsd be a szélességet, hogy a dátum egy helyen legyen */
    font-weight: bold;
}

#updates a span + text {
    flex: 1; /* A szöveg foglalja el a maradék helyet */
}


#webringOnMobile {
    text-align: center;
    width: 100%;
    background-color: black;
    -webkit-box-shadow: 0 0 18px 0 rgb(131, 131, 131);
    -moz-box-shadow: 0 0 18px 0 rgb(131, 131, 131);
    box-shadow: 0 0 18px 0 rgb(131, 131, 131);
    border: 2px solid #888;
    display: none;
}

#webringOnMobile h3 {
    color: green;
    padding: 0px;
    padding-bottom: 10px;
    margin: 0;
    background-color: black;
}

#webringOnMobile ul
{
    padding-left: 30px;
}


@media only screen and (max-width: 790px) {
    #leftBar {
        display: none;
    }

    #bottomIcons {
        display: block;
    }

    #menuline {
        display: none;
    }

    #mobileMenu {
        display: block;
    }

    #content {
        flex: 0 0 calc(100%);
    }

    .video {
        flex: 0 0 30%;
        box-sizing: border-box;
        padding: 3px;
    }

    .videolist {
        justify-content: space-evenly;
    }

    #webringOnMobile {
        display: block;
    }

}


/* ========= MUSIC PLAYER ======== */


#musicPlayer {
    width: 95%;
    margin: 0 auto 0 auto;
    box-sizing: border-box;
    display: flex;
    align-items: center;
    flex-direction: row;
    justify-content: center;
}

#musicPlayer .track-info {
    display: flex;
    background-color: #5a5a63;
    padding: 3px;
    margin-right: 20px;
    overflow: hidden;
    box-sizing: border-box;
    border: 1px solid #8c8c8c;
    border-radius: 30px;
    text-wrap: nowrap;
    width: auto; /* Alapból engedjük, hogy a tartalom határozza meg */
    flex: 1 1 60%; /* Rugalmas méretezés */
    min-width: 200px; /* Minimális szélesség */
    padding-left: 15px;
}

#musicPlayer .now-playing {
    font-size: 1rem;
}

#musicPlayer .track-name {
    font-size: 3rem;
}

#musicPlayer .track-artist {
    font-size: 1.5rem;
}

#musicPlayer .buttons {
    display: flex;
    flex-direction: row;
    align-items: center;
    user-select: none;
}

#musicPlayer .playpause-track, #musicPlayer .prev-track, #musicPlayer .next-track {
    padding-left: 5px;
    padding-right: 5px;
    opacity: 0.8;

    /* Smoothly transition the opacity */
    transition: opacity .2s;
}

#musicPlayer .playpause-track:hover, #musicPlayer .prev-track:hover, #musicPlayer .next-track:hover {
    opacity: 1.0;
}

#musicPlayer .slider_container {
    width: 200px;
    max-width: 400px;
    display: flex;
    justify-content: center;
    align-items: center;
}

#musicPlayer #musicPlayerSlider {
    width: auto; /* Alapból engedjük, hogy a tartalom határozza meg */
    flex: 1 1 50%; /* Rugalmas méretezés */
    min-width: 200px; /* Minimális szélesség */
}

/* Modify the appearance of the slider */
#musicPlayer .seek_slider, #musicPlayer .volume_slider {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    height: 5px;
    background: black;
    opacity: 0.7;
    -webkit-transition: .2s;
    transition: opacity .2s;
}

/* Modify the appearance of the slider thumb */
#musicPlayer .seek_slider::-webkit-slider-thumb, #musicPlayer .volume_slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    width: 15px;
    height: 15px;
    background: white;
    cursor: pointer;
    border-radius: 50%;
}

#musicPlayer .seek_slider:hover, #musicPlayer .volume_slider:hover {
    opacity: 1.0;
}

#musicPlayer .seek_slider {
    width: 60%;
}

#musicPlayer .volume_slider {
    width: 30%;
}

#musicPlayer .current-time, .total-duration {
    padding: 10px;
}

#musicPlayer i.fa-volume-down, i.fa-volume-up {
    padding: 10px;
}

#musicPlayer i.fa-play-circle, #musicPlayer i.fa-pause-circle, #musicPlayer i.fa-step-forward, #musicPlayer i.fa-step-backward {
    cursor: pointer;
}

/* Marquee styles */
#currentPlay {
    --gap: 1rem;
    position: relative;
    display: flex;
    overflow: hidden;
    user-select: none;
    gap: var(--gap);
}

#clippy {
    position: fixed;
    bottom: 10px;
    right: 10px;
    width: 124px;
    height: 93px;
    display: block;
    background-image: url('/images/clippy.png');
    cursor: pointer;
    z-index: 9999;
}


/* Clippy konténer a jobb alsó sarokban */
#clippyContainer {
    position: fixed;
    bottom: 20px; /* Tér a lap szélétől */
    right: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* A beszédbuborék formázása */
.speechBubble {
    position: fixed;
    bottom: 120px;
    right: 20px;
    background: #FFFFCD;
    border: 2px solid #333;
    border-radius: 10px;
    padding: 10px;
    max-width: 200px;
    text-align: center;
    margin-bottom: 10px; /* Tér a Clippy kép felett */
    color: #000;
    font-size: 12px;
    display: none;
}

/* Buborék kis háromszöge */
.speechBubble::after {
    content: "";
    position: absolute;
    bottom: -15px; /* A háromszög lefelé mutat */
    left: 70%;
    transform: translateX(-50%);
    border-width: 15px 15px 0;
    border-style: solid;
    border-color: #FFFFCD transparent transparent;
}

/* Clippy kép */
#clippyImage {
    width: 100px; /* Méretarányosan kicsinyített */
    height: auto;
}

/* CSS karacsonyi fenyek */


.lightrope {
    text-align: center;
    white-space: nowrap;
    overflow: hidden;
    position: absolute;
    z-index: 1;
    margin: -15px 0 0 0;
    padding: 0;
    pointer-events: none;
    width: 100%;
}
.lightrope li {
    position: relative;
    -webkit-animation-fill-mode: both;
    animation-fill-mode: both;
    -webkit-animation-iteration-count: infinite;
    animation-iteration-count: infinite;
    list-style: none;
    margin: 0;
    padding: 0;
    display: block;
    width: 12px;
    height: 28px;
    border-radius: 50%;
    margin: 20px;
    margin-top: -0px;
    display: inline-block;
    background: #00f7a5;
    box-shadow: 0px 4.6666666667px 24px 3px #00f7a5;
    -webkit-animation-name: flash-1;
    animation-name: flash-1;
    -webkit-animation-duration: 2s;
    animation-duration: 2s;
}
.lightrope li:nth-child(2n+1) {
    background: aqua;
    box-shadow: 0px 4.6666666667px 24px 3px rgba(0, 255, 255, 0.5);
    -webkit-animation-name: flash-2;
    animation-name: flash-2;
    -webkit-animation-duration: 0.4s;
    animation-duration: 0.4s;
}
.lightrope li:nth-child(4n+2) {
    background: #f70094;
    box-shadow: 0px 4.6666666667px 24px 3px #f70094;
    -webkit-animation-name: flash-3;
    animation-name: flash-3;
    -webkit-animation-duration: 1.1s;
    animation-duration: 1.1s;
}
.lightrope li:nth-child(odd) {
    -webkit-animation-duration: 1.8s;
    animation-duration: 1.8s;
}
.lightrope li:nth-child(3n+1) {
    -webkit-animation-duration: 1.4s;
    animation-duration: 1.4s;
}
.lightrope li:before {
    content: "";
    position: absolute;
    background: #222;
    width: 10px;
    height: 9.3333333333px;
    border-radius: 3px;
    top: -4.6666666667px;
    left: 1px;
}
.lightrope li:after {
    content: "";
    top: -14px;
    left: 9px;
    position: absolute;
    width: 52px;
    height: 18.6666666667px;
    border-bottom: solid #222 2px;
    border-radius: 50%;
}
.lightrope li:last-child:after {
    content: none;
}
.lightrope li:first-child {
    margin-left: -40px;
}

@-webkit-keyframes flash-1 {
    0%, 100% {
        background: #00f7a5;
        box-shadow: 0px 4.6666666667px 24px 3px #00f7a5;
    }
    50% {
        background: rgba(0, 247, 165, 0.4);
        box-shadow: 0px 4.6666666667px 24px 3px rgba(0, 247, 165, 0.2);
    }
}

@keyframes flash-1 {
    0%, 100% {
        background: #00f7a5;
        box-shadow: 0px 4.6666666667px 24px 3px #00f7a5;
    }
    50% {
        background: rgba(0, 247, 165, 0.4);
        box-shadow: 0px 4.6666666667px 24px 3px rgba(0, 247, 165, 0.2);
    }
}
@-webkit-keyframes flash-2 {
    0%, 100% {
        background: aqua;
        box-shadow: 0px 4.6666666667px 24px 3px aqua;
    }
    50% {
        background: rgba(0, 255, 255, 0.4);
        box-shadow: 0px 4.6666666667px 24px 3px rgba(0, 255, 255, 0.2);
    }
}
@keyframes flash-2 {
    0%, 100% {
        background: aqua;
        box-shadow: 0px 4.6666666667px 24px 3px aqua;
    }
    50% {
        background: rgba(0, 255, 255, 0.4);
        box-shadow: 0px 4.6666666667px 24px 3px rgba(0, 255, 255, 0.2);
    }
}
@-webkit-keyframes flash-3 {
    0%, 100% {
        background: #f70094;
        box-shadow: 0px 4.6666666667px 24px 3px #f70094;
    }
    50% {
        background: rgba(247, 0, 148, 0.4);
        box-shadow: 0px 4.6666666667px 24px 3px rgba(247, 0, 148, 0.2);
    }
}
@keyframes flash-3 {
    0%, 100% {
        background: #f70094;
        box-shadow: 0px 4.6666666667px 24px 3px #f70094;
    }
    50% {
        background: rgba(247, 0, 148, 0.4);
        box-shadow: 0px 4.6666666667px 24px 3px rgba(247, 0, 148, 0.2);
    }
}
