[id] {
  scroll-margin-top: 20vh; /* vagy a navbar magassága */
}
.top{
    overflow: hidden;
}
.top p{
    background-color: rgb(46, 46, 46);
    color: white;
    text-align: center;
    font-size: 2vh;
    margin-bottom: 0;
    overflow: hidden;
    
}
nav{
    background-color: white;
}
.navbar{
    padding: 8%;
    background-color: white;
    font-size: larger;
}
.navbar-collapse {
    text-align: center;
}

.hero-slideshow {
    position: relative;
    height: 78vh;
    overflow: hidden;
  }
  
  .hero-slide {
    position: absolute;
    top: 0; left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    z-index: 0;
    transition: opacity 1s ease-in-out;
  }
  .hero-slide::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.4); /* 40% sötétítés */
    z-index: 0;
  }
  
  .hero-slide.active {
    opacity: 1;
    z-index: 1;
  }
  .slide-text {
    position: absolute;
    top: 70%;
    left: 20%; /* vagy pl. 10% */
    transform: translateY(-50%);
    color: white;
    max-width: 800px;
    z-index: 1;
    text-shadow: 0 3px 10px rgba(0, 0, 0, 0.5);
  }
  .slide-text h1{
    color: white;
  }
  


.stats {
    display: flex;
    justify-content: space-around;
    padding: 30px 0;
    font-size: 1.5rem;
    font-weight: bold;

}
.gray{
    background-color: rgb(46, 46, 46);
    color: white;
}

.open{
    position: relative;
    padding-left: 8%;
    vertical-align: middle;
}
.open p{
    font-size: larger;
}
.open button {
    justify-content: end;
}
button{
    border-radius: 8px;
    border: 0;
    background-color: #3454e4;
    color: white;
    padding: 8px;
    font-size: larger;
    font-weight: bold;
    transition-duration: 0.4s;
}
button:hover{
    box-shadow: 0 12px 16px 0 rgba(0,0,0,0.24),0 17px 50px 0 rgba(0,0,0,0.19);
    background-color: #20348d;
    
}
.intro{
    width: 100%;
}
.room{
    background-color: #e2e8f0;
}
.miert{
    background: linear-gradient(45deg, #3454e4, #4fc3f7);
    color: white;
    font-size: larger;
}
.miert h1{
    color: white;
}
.card{
    border: none;
    box-shadow: 0 0 10px #3454e4;
    height: 60vh;
    width: 31%;
    font-size: large;
}

.card h2{
    text-align: center;
    font-size: 40px;
    margin: 10px 10px;
}
.card h3{
    color: #3454e4;
}
.card li{
    font-weight: bold;
    list-style: disc;
}
h1{
    color: rgb(46, 46, 46);
    text-transform: uppercase;
    font-weight: bold;
}
li{
    list-style: none;
    font-weight: bold;
}
.info{
    margin-top: -4vh;
    background-color: #e2e8f0;
    background-image: url("./wave.svg");
    background-position: bottom;
    background-repeat: no-repeat;
}
.info h1{
    padding-top: 8vh;
    text-align: center;
    padding-bottom: 2vh;
}
.info p{
    text-align: justify;
    margin: 5px;
}
.info button{
    margin-bottom: 5vh;
}

.gomb{
    margin:5vh;
    text-decoration: none;
    padding: 10px 20px;
    border-radius: 10px;
    color: black;
    font-weight: bold;
    text-transform: uppercase;
    border: 1px solid rgba(0, 0, 0, 0.315);

}
.gomb:hover{
    background-color: rgb(46, 46, 46);
    color:#a69581;
    transition: all 500ms;
}
.elearning li{
    list-style-type: disc;
    font-weight: normal;
}
.jelentkezes{
    height: 110%;
    padding-bottom: 100px;
    background: linear-gradient(45deg, #3454e4, #4fc3f7);
    clip-path: polygon(0 0, 100% 0, 100% 90%, 0% 100%);
    color: white;
}
.jelentkezes h1{
    color: white;
}
.kapcsolat{
    height: 110%;
    background: linear-gradient(45deg, #3454e4, #4fc3f7);
    color: white;
}
.kapcsolat h1{
    color: white;
}
.social{
    margin-top: 5vh;
    
}
svg{
    margin:  0 15px;
    transition-duration: 0.4s;

}
svg:hover g{
    fill: black;
    transition-duration: 0.2s;
    
}
@media screen and (max-width: 1200px) {
    header .logo .pics{
        padding-top: 0;
        padding-bottom: 0;
        width: 8vw;
    }
    .intro{
        height: 70vh;
    }
}
@media screen and (max-width: 991px) {
    .navbar-collapse{
        font-size: x-large;
    }
    .navbar-collapse  button{
        margin-top: 30vh;
        margin-bottom: 20vh;
    }
    .stats{
        font-size: 1.3rem;
    }
}

@media screen and (max-width: 900px) {
    .lablec{
        height: 40vh;
    }
    .labcontact{
        margin-top: 10vh;
    }
    .labinfo{
        margin-top: 0;
    }
    header .logo .pics{
        padding-top: 0;
        padding-bottom: 0;
        width: 10vw;
    }
    .intro{
        height: 60vh;
    }
}
@media screen and (max-width: 840px) {
    .stats{
        font-size: 1.1rem;
    }
    .miert{
        justify-content: center;
    }
    .miert h1{
        text-align: center;
    }
    .miert ul{
        margin-left: 25%;
    }
    .more{
        justify-content: center;
        text-align: center;
    }
    .top{
        display: none;
    }
    header{
        top: 0vh;
        margin-top: 0;
        background-color: white;
    }
    .nav li:not(:first-child) {display: none;}
    .nav li a.icon {
        display: block;
    }
    header .logo .pics{
        position: relative;
        padding-top: 0;
        padding-bottom: 0;
        width: 13vw;
    }
    .nav.responsive {
        position: relative;
        height: 100vh;
    }

    .nav.responsive li.first{
        margin-top: -6vh;
    }
    .nav.responsive li.item{
        position: absolute;
        left: -42vw;
        padding: 0px 5px;
        list-style: none;
        text-align: center;
        align-items: center;
        display: inline-block;

    }
    .nav.responsive li.item:nth-child(2){
        left: -44.5vw;
        top: 41vh;
        padding: 0px 5px;

    }
    .nav.responsive li.item:nth-child(3){
        left: -44.5vw;
        top: 46vh;
        padding: 0px 5px;
    }
    .nav.responsive li.item:nth-child(4){
        left: -45.5vw;
        top: 51vh;
        padding: 0px 5px;
    }
    .nav.responsive li.item:last-child{
        left: -47vw;
        top: 56vh;
        padding: 0px 5px;
    }
    nav.responsive li.item a h3.me{
        font-size: 20vh;
    }
    .intro{
        height: 50vh;
    }
}
@media screen and (max-width: 600px) {
    .top{
        display: none;
    }
    header{
        top: 0vh;
        margin-top: 0;
    }
    .nav li a.icon{
        top: 2vh;
    }
        .nav.responsive {
            position: relative;
            height: 100vh;
        }
    
        .nav.responsive li.first{
            margin-top: -6vh;
        }
        .nav.responsive li.item{
            position: absolute;
            left: -45vw;
            padding: 0px 5px;
            list-style: none;
            text-align: center;
            align-items: center;
            display: inline-block;
        }
        .nav.responsive li.item:nth-child(2){
            left: -40.5vw;
            top: 41vh;
            padding: 0px 5px;
    
        }
        .nav.responsive li.item:nth-child(3){
            left: -40.5vw;
            top: 46vh;
            padding: 0px 5px;
        }
        .nav.responsive li.item:nth-child(4){
            left: -41.5vw;
            top: 51vh;
            padding: 0px 5px;
        }
        .nav.responsive li.item:last-child{
            left: -43vw;
            top: 56vh;
            padding: 0px 5px;
        }
        nav.responsive li.item a h3.me{
            font-size: 20vh;
        }
}
@media screen and (max-width: 520px) {
    .top{
        display: none;
    }
    header{
        top: 0vh;
        margin-top: 0;
    }
    .nav li a.icon{
        display: block;
        top: 1vh;
    }
    .nav.responsive {
        position: relative;
        height: 100vh;
    }

    .nav.responsive li.first{
        margin-top: -6vh;
    }
    .nav.responsive li.item{
        position: absolute;
        left: -40vw;
        padding: 0px 5px;
        list-style: none;
        text-align: center;
        align-items: center;
        display: inline-block;
    }
    .nav.responsive li.item:nth-child(2){
        left: -42.5vw;
        top: 41vh;
        padding: 0px 5px;

    }
    .nav.responsive li.item:nth-child(3){
        left: -42.5vw;
        top: 46vh;
        padding: 0px 5px;
    }
    .nav.responsive li.item:nth-child(4){
        left: -43.5vw;
        top: 51vh;
        padding: 0px 5px;
    }
    .nav.responsive li.item:last-child{
        left: -45vw;
        top: 56vh;
        padding: 0px 5px;
    }
    nav.responsive li.item a h3.me{
        font-size: 20vh;
    }
    .intro{
        height: 40vh;
    }
}
@media screen and (max-width: 465px) {
    .more ul{
        margin-left: 5%;
    }
    .top{
        display: none;
    }
    header{
        top: 0vh;
        margin-top: 0;
    }
    .nav li a.icon{
        top: 2.5vh;
    }
    header .logo .pics{
        padding: 0;
        width: 20vw;
        margin-left: -15vw;
        margin-right: -30vw;
    }
    .nav.responsive {
            position: relative;
            height: 100vh;
        }
    
    .nav.responsive li.first{
            margin-top: -6vh;
        }
    .nav.responsive li.item{
            position: absolute;
            left: -43vw;
            padding: 0px 5px;
            list-style: none;
            text-align: center;
            align-items: center;
            display: inline-block;
        }
        .nav.responsive li.item:nth-child(2){
            left: -40.5vw;
            top: 41vh;
            padding: 0px 5px;
    
        }
        .nav.responsive li.item:nth-child(3){
            left: -40.5vw;
            top: 46vh;
            padding: 0px 5px;
        }
        .nav.responsive li.item:nth-child(4){
            left: -41.5vw;
            top: 51vh;
            padding: 0px 5px;
        }
        .nav.responsive li.item:last-child{
            left: -43vw;
            top: 56vh;
            padding: 0px 5px;
        }
    nav.responsive li.item a h3.me{
            font-size: 20vh;
        }
    .intro{
        height: 35vh;
    }
}
@media screen and (max-width: 360px) {
    .more ul{
        margin-left: 0;
    }
    header .logo .pics{
        padding: 0;
        width: 20vw;
        margin-left: -18vw;
        margin-right: -30vw;
    }
    .nav.responsive {
        position: relative;
        height: 100vh;
    }
    .nav li a.icon{
        top: 1.5vh;
    }
    .nav.responsive li.first{
        margin-top: -6vh;
    }
    .nav.responsive li.item{
        position: absolute;
        left: -21vw;
        padding: 0px 5px;
        list-style: none;
        text-align: center;
        align-items: center;
        display: inline-block;
    }
    .nav.responsive li.item:nth-child(2){
        left: -15.5vw;
        top: 41vh;
        padding: 0px 5px;

    }
    .nav.responsive li.item:nth-child(3){
        left: -15.5vw;
        top: 46vh;
        padding: 0px 5px;
    }
    .nav.responsive li.item:nth-child(4){
        left: -16.5vw;
        top: 51vh;
        padding: 0px 5px;
    }
    .nav.responsive li.item:last-child{
        left: -18vw;
        top: 56vh;
        padding: 0px 5px;
    }
    nav.responsive li.item a h3.me{
        font-size: 20vh;
    }
    .intro{
        height: 35vh;
    }
    header ul li h3{
        text-align: center;
        justify-content: center;
        align-items: center;
        margin-left: -15vw;
    }
}
.announcement-modal {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: white;
    padding: 20px;
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.5);
    border-radius: 8px;
    z-index: 1000;
}
.announcement-content {
    text-align: center;
    font-size: larger;
}
.announcement-content h2{
    text-transform: uppercase;
    font-weight: bold;
}
.announcement-content p{
    margin: 20px;
}
.announcement-content h2 {
    color: #3454e4;
}
.announcement-content button {
    margin-top: 10px;
    padding: 8px 16px;
    background: #3454e4;
    color: white;
    border: none;
    cursor: pointer;
    border-radius: 5px;
}
.announcement-content button:hover {
    background: #20348d;
}

.pricing-container {
    margin-top: -6vh;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 40px;
    padding: 20px;
    margin-left: 4vw;
    margin-right: 4vw;;
}

.price-card {
    background: white;
    padding: 20px;
    box-shadow:0  0  10px rgba(0, 0, 0, 0.5);
    text-align: center;
    width: 320px;
    border-radius: 16px;
    box-shadow: 0 4px 16px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.price-card:hover{
    transform: translateY(-5px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.2);    
}


.price-card h2 {
    font-size: 32px;
    font-weight: bold;
    margin-bottom: 15px;
    color: #3454e4;
}
.price-card p{
    text-align: justify;
    height: 17vh;
    margin-top: 5px;
    margin-bottom: 5px;
}
.price-card h3{
    text-align: left;
}
.price-card ul{
    text-align: left;
    height: 15vh;
}

.price-card a {
    display: inline-block;
    padding: 10px 15px;
    background: #007BFF;
    color: white;
    text-decoration: none;
    border-radius: 5px;
}

.price-card a:hover {
    background: #0056b3;
}

.pricing-details {
    max-width: 800px;
    margin: 20px auto;
    background: white;
    padding: 20px;
    border-radius: 8px;
    box-shadow:0  0  10px rgba(0, 0, 0, 0.5);
}

.price-detail h3 {
    color: #007BFF;
    margin-bottom: 10px;
}

.price-detail ul {
    list-style: none;
    padding: 0;
}

.price-detail ul li {
    padding: 5px 0;
    border-bottom: 1px solid #ddd;
}

.price-detail ul li:last-child {
    border-bottom: none;
}

.price-detail strong {
    font-size: 20px;
    color: #d9534f;
}
.slideshow-container {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    max-width: 100%;
    margin: auto;

}

.slide {
    margin-top: 1vh;
    text-align: center;
    padding: 20px;
    height: 460px;  
    border-radius: 6px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
    width: 300px; 
    margin-bottom: 2vh;
    background-color: white;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.slide img {
    width: 100%;

}

.slide h4 {
    color: #007BFF;
    margin-top: 10px;
}

.slide p {
    font-size: 16px;
}
.slide .slideinfo{
    height: 10vh;
}

.slide a:hover {
    background: #0056b3;
}
.slide button{
    margin-top: auto;
    color: white;
    border: none;
    padding: 8px 16px;
    border-radius: 6px;
    font-weight: bold;
    cursor: pointer;
}

.prev, .next {
    position: absolute;
    top: 40%;
    transform: translateY(-50%);
    background-color: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    padding: 10px 15px;
    cursor: pointer;
    font-size: 18px;
}

.prev {
    left: 10px;
}

.next {
    right: 10px;
}

.prev:hover, .next:hover {
    background-color: rgba(0, 0, 0, 0.8);
}
.ratings{
    padding-top: 20px;   
}