/* Basic Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Body Styling */
body {
    font-family: Arial, sans-serif;
        color: #646262;
    background-color: #121212;
    background-image: url("oo_price222-14.jpg");
    
  background-repeat: no-repeat;
    background-attachment: fixed;
  background-size: 45%;
  background-position: left 50px top; /* Move the image down */
    
  
    

}





#about h2, #about p1, #about p2 {
   
    position: relative;
    z-index: 1;
   
}


header nav ul {
    list-style-type: none;
    display: flex;
    justify-content: left;
 }

 header nav ul li a {
    color: #fff;
    text-decoration: none;
}

.buttons {
    display: flex;
    justify-content: right;
    align-items: center;
    min-height: 8vh;
    background-color: rgb(0, 0, 0);
    gap: 10px;
  }
  
  .buttons a {
    color: rgb(255, 255, 255);
    width: 200px;
    height: 30px;
    padding: 5px;
    position: relative;
    display: inline-block;
    text-decoration: none;
    text-transform: uppercase;
    text-align: center;
    letter-spacing: 4px;
    font-size: 24px;
    overflow: hidden;
    transition: all 0.3s ease-in-out;
    border-radius: 5px;
  }
  
  .buttons a:hover {
    background: #ffffff;
    color: rgb(0, 0, 0);
    box-shadow: 0 0 5px #ffffff, 0 0 25px #ffffff, 0 0 50px #ffffff,
      0 0 80px #ffffff;
    -webkit-box-reflect: below 1px linear-gradient(transparent, #0005);
  }

  h1 {
    display: flex;
    text-align: left;
    flex : 1;
    margin: 5px 10px 15px 30px;
    color: rgb(255, 255, 255);
    font-family: "Times New Roman", Times, serif;
    font-size: 35px;
    
  }

  .image-container {
    
    margin: 0 auto;                /* Középre igazítja a konténert */
    position: absolute;            /* Relatív pozicionálás a képek számára */
    padding: 10px;
    bottom: 10px;                   /* Alsó margó */
    right: 10px;                    /* Jobb margó */
   
    .linked-images {
        width: 100px;   /* Az összes képre alkalmazott szélesség */
        height: auto;   /* Megtartja az arányokat */
     padding: 20px;
     -webkit-filter: grayscale(100%);
     filter: grayscale(100%);
    }

    }

    .linked-images:hover {
        -webkit-filter: grayscale(0%);
        filter: grayscale(0%);

    }

    


    .content-box {
        
        
        
        padding: 20px;
        
        position: fixed;
  top: 150px;
  right: 0px;
  width: 50vw;
  color: #ffffff;
  padding-right: 80px;
  padding-left: 80px;      
        display: none; /* Initially hidden */

        
        h2 {
            display: flex;
            align-items: center;
            justify-content: center;
            padding-bottom: 20px;
            font-size: 40px
        }

        p1 {
            display: flex;
            align-items: center;
            justify-content: center;
            text-align: center;
            padding-bottom: 20px;
            font-size: 20px
            
        }
            p2 {
                display: flex;
            align-items: center;
            justify-content: center;
            text-align: center;
                font-size: 20px

            }


    }

    
    .fancy {

        display: none;

        position: fixed;
        bottom: 400px;
        right: 150px;
        width: 700px;
    } 

    

    
.contact2 {
    
    
    padding: 20px;
        
    
    position: fixed;
    bottom: 400px;
    right: 150px;
    width: 700px;
    
    display: none; /* Initially hidden */

    h1 {
        display: flex;
        align-items: center;
        justify-content: center;
        padding-bottom: 20px;
        font-size: 40px
    }

    p4 {
        display: flex;
        align-items: center;
        justify-content: center;
        text-align: center;
        padding-bottom: 20px;
        font-size: 20px
        
    }



}



#home {
    display: block;
}




    /* Show content box when the corresponding link is targeted */
    
    #home:target ~ #home,
    #contact:target,
    #about:target

    {
     
        display: block; /* Show the content box when targeted */

    }

    
    
    #contact:target  ~ #home, 
    #about:target ~ #home
    {
        display: none;
    }


    .news-ticker {
        width: 100%;
        height: 40px; /* Set a smaller height */
        background-color: #333; /* Dark background for the ticker */
        color: #fff; /* White text */
        font-size: 1rem; /* Font size */
        font-family: Arial, sans-serif; /* Font family */
        padding: 5px; /* Padding */
        box-sizing: border-box; /* Include padding in height */
        overflow: hidden; /* Hide overflowing content */
        position: relative; /* Position relative for absolute positioning of items */
    }

    /* Individual news items */
    .news-items {
        display: flex; /* Use flexbox to arrange items in a row */
        animation: scroll 20s linear infinite; /* Animation for scrolling */
    }

    /* Keyframes for horizontal scrolling animation */
    @keyframes scroll {
        0% {
            transform: translateX(100%); /* Start off-screen to the right */
        }
        100% {
            transform: translateX(-100%); /* End off-screen to the left */
        }
    }

    /* Specific styling for each news item */
    .news-item {
        padding: 0 15px; /* Space between items */
        white-space: nowrap; /* Prevent text wrapping */
    }

   