body
{
    font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
    margin: 0;
    padding: 0;
    background-color: #ffffff;
    background-image: url(Kepek/Galéria/BG.avif);
    background-repeat: no-repeat;
    background-size: cover;
    zoom: 110%;
    overflow-x: hidden;
}

nav
{
    justify-content: center;
    display: flex;
}

.Menü
{
    margin: 20px;
    width: 150px;
    height: 50px;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    border-radius: 20px;
    transition: background-color 0.3s ease-in;
    
}

.Menü:hover
{
    background-color: rgba(227, 227, 227, 0.866);
}

a
{
    font-size: 25px;   
    text-decoration: none;
    color: black;
}


.regisztracio-wrapper
{
    animation: berepules 1.5s ease-out forwards;
}

#regisztracio
{
    border-radius: 20px;
    height: 50px;
    width: 175px;
    background-color: orange;
    border: none;
    font-weight: bold;
    margin-top: 20px;
    transition: transform 0.3s ease-in;
    font-size: 17px;
    font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
}

#regisztracio:hover
{
    cursor: pointer;
    transform: scale(1.2);
}

@keyframes berepules
{
  0%
  {
    transform: translateY(-100px);
    opacity: 0;
  }

  100%
  {
    transform: translateY(0);
    opacity: 1;
  }
}

.gallery-container
{
    max-width: 1200px;
    margin: 60px auto;
    padding: 0 20px;
}

.gallery-header
{
    text-align: center;
    margin-bottom: 40px;
}

.gallery-title
{
    font-size: 50px;
    margin-bottom: 10px;
    color: aqua;
}

.subtitle strong
{
    border-bottom: 2px solid #f3b12b;
}

.image-slider
{
    display: flex;
    overflow-x: auto; 
    gap: 20px;
    padding-bottom: 20px;
    scroll-snap-type: x mandatory; 
    scrollbar-width: thin; 
    scrollbar-color: #f3b12b #f0f0f0;
}

.slide
{
    min-width: 350px;
    height: 250px;
    border-radius: 12px;
    overflow: hidden;
    scroll-snap-align: start;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.slide img
{
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.image-slider::-webkit-scrollbar
{
    height: 8px;
}
.image-slider::-webkit-scrollbar-thumb
{
    background: #f3b12b;
    border-radius: 10px;
}

.slide
{
    position: relative;
    min-width: 350px;
    height: 250px;
    border-radius: 12px;
    overflow: hidden;
    scroll-snap-align: start;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    cursor: pointer;
}

.slide img
{
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease; 
}

.slide:hover img
{
    transform: scale(1.1); 
}

.overlay
{
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background: rgba(0, 0, 0, 0.6);
    color: white;
    padding: 15px;
    font-size: 14px;
    text-align: center;
    transform: translateY(100%); 
    transition: transform 0.3s ease-in-out;
}

.slide:hover .overlay
{
    transform: translateY(0); 
}

.slide::after
{
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0);
    transition: background 0.3s;
}

.slide:hover::after
{
    background: rgba(0,0,0,0.2);
}


footer
{
    display: flex;
    border-top: 2px solid black;
    border-bottom: 2px solid black;
}

#FooterLogo
{
    margin-left: 300px;
    width: 200px;
}

#FooterCaption
{
    display: flex;
    margin-left: 315px;
}

#footerfigure
{
    transition: none;
    transform: none;
}

.FooterMenu
{
    padding-top: 10px;
    display: block;
    padding-right: 200px;
}

.FooterMenu a:hover
{
    text-decoration: underline;
}

.FooterMenu h2
{
    margin: 0;
}