#lapcim{
    background-color: aliceblue;
    font-size: 3vw;
    font-weight: 100;
    width: 50vw; 
    max-width: 500px;
    border-radius: 30px;
    border-color: black;
    border-width: 5px;
    border-style: solid;
    margin: 5vh auto 5vw auto;
    text-align: center;
}

#tartalomjegyzek{
    background-color: white;
    left: 70vw;
    width: 25vw;
    position: sticky;
    top: 2vh;
    z-index: 998;
    border: 5px solid black;
}

#tartalomjegyzek h3{
    font-family: 'Gill Sans';
}

#tartalomjegyzek ol li a{
    font-family: 'Gill Sans MT';
    color: black;
}

#tartalom {
  font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
  background-color: #ffe4b8;
  font-size: 1.8vw;
  margin: 2% 15% 0 15%;
  padding: 0;
  position: relative;
}

article h1{
    color: rgb(118, 75, 0);
    font-size: 3.5vw;
    margin-bottom: 3vh;
    margin-top: 5vh;
    font-family: Times;
}

article h2{
    font-family:'Gill Sans';
    font-size: 2.8vw;
    text-align: center;
    margin-bottom: 2.5vh;
    font-style: italic;
}

article table{
    font-family:'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
    background-color: white;
    width: 35vw;
    margin: auto;
    border: 2.5px solid black;
}

article td, th{
    border: 2px solid black;
}

.table_details{
    width: 40vw;
    margin:auto;
    font-size: 2vw;
    margin-bottom: 5vh;
}

article h3{
    font-family: serif;
    font-size: 2.5vw;
    font-weight: bold;
    text-shadow: 1px 1px rgb(120, 120, 120);
}

article a:link{
    color: blue;
}

article a:visited{
    color: purple;
}


@media only screen and (max-width: 1199.8px) {
    article p{
        font-size: 1.8vh;
    }

    #tartalomjegyzek{
        width: 75vw;
        left: 12.5vw;
    }

    #tartalomjegyzek ol li a{
        font-size: 1.5vh;
    }

    #tartalom{
        margin: 2% 10% 0 10%;
    }

    details p{
        font-size: 1.6vh;
    }
}

@media only screen and (min-width: 1200px) {
    article p{
        font-size: 1.8vw;
    }
    #tartalomjegyzek ol li a{
        font-size: 1.2vw;
    }
    details p{
        font-size: 1.6vw;
    }
}
article p{
    padding: 0 3.5vw 0 3.5vw;
    text-align: justify;
    font-family: 'Gill Sans MT';
}

article aside{
    margin: 2.5vh 5vw 2.5vh 5vw;
    border: 2px solid black;
    background-color: white;
    padding-left: 2.5%;
    padding-right: 2.5%;
    font-style: italic;
}

.carousel-container {
    max-width: 600px;
    width: 50vw;
    margin: 20px auto;
}
        
.carousel-inner img {
    width: 100%;
    object-fit: contain;
    margin: 0 auto;
}
        
.carousel-control-prev-icon, .carousel-control-next-icon {
    background-color: rgba(0, 0, 0, 0.5);
    border-radius: 50%;
    padding: 15px;
    max-width: 600px;
    margin: 20px auto;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    border-radius: 8px;
    overflow: hidden;
}

.carousel-inner {
    border-radius: 8px;
}

.carousel-inner img {
    max-height: 400px;
    width: auto;
    margin: 0 auto;
    object-fit: contain;
}

.carousel-control-prev,
.carousel-control-next {
    width: 5%;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    background-color: rgba(0, 0, 0, 0.5);
    border-radius: 50%;
    padding: 15px;
    background-size: 60%;
}

.carousel-caption {
    width: 80%;
    background-color: rgba(0, 0, 0, 0.6);
    border-radius: 5px;
    padding: 5px 10px;
}

.carousel-caption p{
    text-align: center;
    font-size: 1.5rem;
}

#lightboxOverlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    z-index: 9999;
}

#lightboxOverlay img {
    width: 70%;
    object-fit: contain;
    position: relative;
    margin:auto;
    box-shadow: 0 0 20px black;
}

#lightboxClose {
    position: absolute;
    top: 20px;
    right: 30px;
    font-size: 40px;
    font-weight: bold;
    color: white;
    cursor: pointer;
    z-index: 10000;
}

figure{
    display: flex;
    align-items: center;
    align-content: center;    
}

#thumbnailImage{
    width: 50vw;
    margin: auto;
}

#video{
    width: 55vw;
    margin: auto;
    display:flex;
    align-items: center;
}

video{
    width: 100%;
    object-fit: contain;
}