@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&family=Playfair+Display+SC:ital,wght@0,400;0,700;0,900;1,400;1,700;1,900&display=swap');
/* Színek
#ffffff
#c4cacc
#5d5c57
#1b160c
*/
/* Új színek
F7F2E0
DAC2B2
BF897F */
/* Általános kódok */
body
{
    font-family: "Montserrat", sans-serif;
    background-color: #ffffff;
    color: black;
    background: none;
    text-align: justify;
    position: relative;
}

.bg-overlay
{
    position: absolute;
    inset: 0;
    background-image: url("../img/MorvaiAnett-0649.jpg");
    background-size: cover;
    background-position: center;
    z-index: 0;
}

.bg-overlay::after
{
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(236, 234, 234, 0.25);
}

.container, header, main, footer
{
    position: relative;
    z-index: 1;
}

.container
{
    width: 80%;
    margin: 2% auto;
    padding: 0%;
    box-shadow: 0 0 30px black;
    border-radius: 15px;
}

.kep-kontener
{
    width: 100%;
    overflow: hidden;
    position: relative;
}

@supports (aspect-ratio: 1 / 1)
{
    .kep-kontener
    {
        width: 100%;
        aspect-ratio: 5 / 2;
        overflow: hidden;
        position: relative;
    }   
}

.logokep
{
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    border-top-left-radius: 15px;
    border-top-right-radius: 15px;
}

.ki a
{
    position: absolute;
    left: -2123456789px;
}

.ki a:focus
{
    position: static;
    left: -2123456789px;
}

.navbar, .dropdown-menu
{
    background-color: #DAC2B2 !important;
}
.dropdown-menu
{
    border: 0;
}
.dropdown-item
{
    background-color: #DAC2B2 !important;
}

.navbar-nav
{
    width: 100%;
    justify-content: left;
}
.nav-link
{
    border-left: 1px solid grey;
    font-weight: bold;
    transition: background-color 0.3s, transform 0.2s;
}
.nav-link:hover, .dropdown-item:hover
{
    transform: scale(1.05);
}

h2, .hnegy
{
    padding: 2%;
    padding-bottom: 0%;
    font-family: "Playfair Display SC", sans-serif;
    word-wrap: break-word;
    overflow-wrap: break-word;
    hyphens: auto;
}

.szin1
{
    background-color: #F7F2E0;
}
.szin2
{
    background-color: #DAC2B2;
}

.btn
{
    background-color: #BF897F;
    color:white;
    font-weight: bold;
    border: 1px solid #8e691a;
}

.btn:hover
{
    background-color: #a27168 !important;
    font-weight: bold;
    border: 1px solid #a59e88;
}

.lablec 
{
    border-bottom-right-radius: 15px;
    border-bottom-left-radius: 15px;
}

a
{
    text-decoration: none;
    color:black;
}
a:hover
{
    color:#292827;
}

h5
{
    text-decoration: underline;
}

.img-thumbnail
{
    box-shadow: 0 0 7px black;
}

.keszito
{
    font-size: 0.7rem;
    padding: 1.5%;
}

/* Képek reszponzív viselkedése */
@media (min-width: 768px)
{
    .w-md-20-custom
    {
        width: 30% !important;
    }
    .w-md-20-fektetett
    {
        width: 40% !important;
    }
    .w-md-20-modal
    {
        width: 15% !important;
    }
}

/* Kezdőlap */
.carousel-caption > h5
{
    font-size: 1.2rem;
    padding-top: 2%;
    font-weight: bolder;
}
.carousel-caption
{
    background-color: rgba(0, 0, 0, 0.7);
    border-radius: 7px;
    text-align: left;
    max-width: fit-content;
    margin-left: auto;
    margin-right: auto;
    padding: 1%;
    font-size: 1.2rem;
}
.carousel-control-prev, .carousel-control-next {
    background-color: black;
    transition: background-color 0.3s ease-in-out;
}

.carousel-control-prev:hover, .carousel-control-next:hover {
    background-color: #2c2929;
}
.ckep
{
    object-fit: cover;
    height: 35rem;
    width: 70%;
}
.carousel-title
{
    position: absolute;
    top: 5%;
    width: 66%;
    margin-left: 17%;
    margin-right: 17%;
    font-size: 2rem;
    color: white;
    background: rgba(0, 0, 0, 0.5);
    padding: 0.75rem 1.5rem;
    border-radius: 10px;
    z-index: 10;
}

.formosdi
{
    width: 70%;
    margin-left: auto;
    margin-right: auto;
    padding-bottom: 1%;
}

video
{
    width: 100%;
    min-height: 100%;
    display: block;
    margin: 0;
    padding: 0;
    height: auto;
}

/* Foglalási szabályzat */
.szelesseg60
{
    width: 60%;
    margin-left: auto;
    margin-right: auto;
}

/* Gépbérlés + Vendégeinknek */
.dropdown-menu>li>a.active
{
    background-color: #b7bbbd;
    color: black;
}
.card
{
    box-shadow: 0 0 7px black;
    height:max-content;
}
.card-img-top {
    width: 100%;
    height: 200px;
    object-fit: cover;
    object-position: center;
    border-bottom: 1px solid #ccc;
}
.card-img-top
{
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
}

/* gyik */
summary
{
    text-decoration: underline;
    font-weight: bold;
    font-size: 1.1rem;
}

/* kapcsolat */
.noListajel
{
    list-style-type: none;
    padding: 0;
}

@media only screen and (max-width: 650px)
{
    #foglalasi
    {
        width: 90%;
        margin-left: auto;
        margin-right: auto;
    }   
}

@media only screen and (max-width: 992px)
{
    .nav-link, .dropdown-item
    {
        border-left: 0;
        border-top: 1px solid grey !important;
        font-weight: bold;
        transition: background-color 0.3s, transform 0.2s;
    }
    .nav-link:hover, .dropdown-item:hover
    {
        transform: scale(1.02);
    }
}

@media only screen and (min-width: 992px)
{
    .nav-link
    {
        border-left: 1px solid grey;
        border-top: 0 !important;
        font-weight: bold;
        transition: background-color 0.3s, transform 0.2s;
    }
    .dropdown-item
    {
        font-weight: bold;
        transition: background-color 0.3s, transform 0.2s;
    }
}

@media (max-width: 768px)
{
    .kep-kontener
    {
      aspect-ratio: 3 / 1;
    }
}


/* Gépről */
#myImg, #myImg2
{
    border-radius: 5px;
    cursor: pointer;
    transition: 0.3s;
}
  
#myImg:hover, #myImg2:hover {opacity: 0.7;}
  
.modalMachine
{
    display: none;
    position: fixed;
    z-index: 1;
    padding-top: 100px;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgb(0,0,0);
    background-color: rgba(0,0,0,0.9);
}
  
.modal-contentMachine
{
    margin: auto;
    display: block;
    width: 80%;
    max-width: 700px;
}

#caption, #caption2
{
    margin: auto;
    display: block;
    width: 80%;
    max-width: 700px;
    text-align: center;
    color: #ccc;
    padding: 10px 0;
    height: 150px;
}
  
.modal-contentMachine, #caption, #caption2
{
    animation-name: zoom;
    animation-duration: 0.6s;
}
  
@keyframes zoom
{
    from {transform:scale(0)}
    to {transform:scale(1)}
}
  
.close
{
    position: absolute;
    top: 15px;
    right: 35px;
    color: #f1f1f1;
    font-size: 40px;
    font-weight: bold;
    transition: 0.3s;
}
  
.close:hover, .close:focus
{
    color: #bbb;
    text-decoration: none;
    cursor: pointer;
}

@media only screen and (max-width: 700px)
{
    .modal-contentMachine
    {
        width: 100%;
    }
}

/* blog */
#blogModalImage
{
    width: 100%;
    height: auto;
    margin-bottom: 1rem;
    border-radius: 10px;
}
#blogModalText
{
    text-align: justify;
}
#blogModalText > p > a
{
    text-decoration: underline;
}
.modal
{
    z-index: 1056 !important;
}
.modal-backdrop
{
    background-color: transparent !important;
    opacity: 1 !important;
    z-index: 1055 !important;
}
.modal-backdrop.show
{
    background-color: rgba(255, 255, 255, 0.25) !important;
    backdrop-filter: blur(5px) !important;
    opacity: 1 !important;
}
.modal-content
{
    display: flex;
    flex-direction: column;
    height: 100%;
}
.modal-body
{
    flex-grow: 1;
    overflow-y: auto !important;
}
@media (min-width: 768px)
{
    /* Nagyobb kijelzők (MD) */
    .custom-modal-width
    {
        max-width: 66%;
    }
}

@media (min-width: 992px)
{
    /* Nagyobb kijelzők (LG) */
    .custom-modal-width
    {
        max-width: 66%;
    }
}

@media (min-width: 1200px)
{
    /* Extra nagy kijelzők (XL) */
    .custom-modal-width
    {
        max-width: 66%;
    }
}

/* paginator */
.page-link
{
    background-color: #d3a383;
    color:white;
}

li.page-item.active > a
{
    background-color: #BF897F !important;
    border: #BF897F !important;
}

li.page-item.disabled > a
{
    background-color: #d6c4b8 !important;
    color:white;
}