body {
    background-color: rgb(216, 211, 211);
}

nav div {
    background-color: rgb(19, 48, 19);
}

#menu {
    color: whitesmoke;
}

#hamburger {
    background-color: rgb(216, 211, 211);
}

nav a, #name {
    transition: width 2s, height 2s, background-color 4s, color 4s ease, transform 3s;

}

nav a:hover {
    transform: scale(1.1, 1.1);
        color: whitesmoke;
        -webkit-box-shadow: 1px 2px 47px 16px #3a3232;
        -moz-box-shadow: 1px 2px 47px 16px #3a3232;
        box-shadow: 1px 2px 47px 16px #3a3232;
}

nav a:hover:active {
        transform: scale(1.1, 1.1);
        transform: rotate(-15deg);
}

#name {
    background-color: rgb(19, 48, 19);
    color: whitesmoke;
    border-radius: 10px;
    padding-left: 20px;
    padding-right: 20px;
}

.textbox {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-top: 50px;
    padding-bottom: 50px;
    background-color: rgb(19, 48, 19);
    color: whitesmoke;
}

.types {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    justify-content: center;
    padding-top: 50px;
    padding-bottom: 50px;
    border-radius: 15px;
}

.introduction {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    padding-bottom: 20px;
    padding-top: 20px;
}

.roomName {
    text-align: center;
}

.card-text {
    padding: 10px;
}

#button {
    background-color: rgb(19, 48, 19);
    color: whitesmoke;
    border: 1px solid rgb(19, 48, 19);
}

.textbox div {
    padding-top: 50px;
}

#gallery {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    padding-top: 50px;
    padding-bottom: 50px;
    gap: 20px;
}

.carousel-item active > source {
    display: flex;
    flex-wrap: wrap;
}

#galleryText {
    background-color: rgb(19, 48, 19);
    color: whitesmoke;
    padding-top: 20px;
    padding-bottom: 20px;
}

.superiorbox {
    padding: 10px;
}

.container {
    width: 90%;

}

.roomContainer {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    border-radius: 15px;
    margin: 5px;
}

h4 {
    text-align: center;
    background-color: rgb(19, 48, 19);
    color: whitesmoke;
    border: 1px solid rgb(19, 48, 19);
    border-radius: 15px;
    box-shadow: 2px 2px 10px 2px grey;
    padding: 10px;
}

.deluxebox {
    padding: 10px;
}

.suitebox {
    padding: 10px;
}

.card {
    border: 1px solid rgb(19, 48, 19);
    box-shadow: 2px 2px 10px 2px rgb(19, 48, 19);
}

.description {
   /* background-color: rgb(19, 48, 19);
    color: whitesmoke;*/

}

#cim {
    padding-top: 10px;
    padding-bottom: 10px;
}

#carouselPhotos {
    height: 300px;
    gap: 10px;
}

#scrollableGallery {
    height: 300px;
}

.carousel-inner img {
    height: 100%;
    object-fit: cover;
}

footer {
    margin-top: 100px;
}

#room1 {
    height: 150px;
    object-fit: cover;
}

#backButton {
    padding: 50px;
    text-align: center;

}

#vissza {
    font-size: 16px;
    background-color: rgb(19, 48, 19);
    color: whitesmoke;
    text-decoration: none;
    padding: 15px;
    border-radius: 15px;
}

#question {
    padding: 20px;
    text-align: center;
    margin-top: 30px;
    margin-bottom: 30px;
}

#sell {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    justify-content: center;
    padding: 10px;
}

#investor {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    justify-content:flex-start;
    padding: 10px;
    margin: 10px;
}

#investor table {
    align-content: center;
}

#ervek {
    padding: 10px;
    margin-left: 10px;
    /*margin-right: 10px;
    margin-top: 40px;
    margin-bottom: 40px;
    */
}

#kapcsolat {
    margin-top: 50px;
    margin-bottom: 50px;
    margin-left: 10px;
    margin-right: 10px;
    padding: 20px;
}

#udulo {
    padding: 20px;
    margin-top: 10px;
}


      #popup {
            position: fixed;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%);
            width: 90%; /* Szélesség mobilon */
            max-width: 400px; /* Maximális szélesség nagyobb képernyőkön */
            padding: 20px;
            background-color: white;
            box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
            border-radius: 8px;
            text-align: center;
     /*       display: none; /* Alapértelmezésben rejtve */ */
            z-index: 1000;
        }

        #popup button {
            margin-top: 10px;
            padding: 10px 20px;
            background-color: #4CAF50;
            color: white;
            border: none;
            border-radius: 5px;
            cursor: pointer;
        }

        #popup button:hover {
            background-color: #45a049;
        }

        /* Háttér a pop-up mögött */
        #overlay {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background-color: rgba(0, 0, 0, 0.5);
         /*   display: none; /* Alapértelmezésben rejtve */ */
            z-index: 999;
        }

span {
    font-weight: bold;
}

#sale {
    font-weight: bold;
}

#terkep {
    margin: 20px;
}
