body, html {
    margin: 0;
    padding: 0;
    font-family: "IBM Plex Sans", sans-serif;
    font-optical-sizing: auto;
    font-weight: 400;
    font-style: normal;
    overflow-x: hidden;
    background-color: #f3f2f2; /* fff8e1 f3f2f2; */
    color: black;
    scroll-padding-top: 1.9cm;
    scroll-behavior: smooth;
}

.gold-frame {
    display: inline-block;
    padding: 5px;
    border-radius: 50%;
    background: linear-gradient(145deg, #d4af37, #b8860b, #f5d76e);
    box-shadow:
            inset 0 0 10px rgba(255, 255, 255, 0.3),
            0 0 10px rgba(0, 0, 0, 0.3),
            0 4px 10px rgba(212, 175, 55, 0.5);
}

.gold-frame img {
    width: 150px;
    height: 150px;
    object-fit: cover;
    border-radius: 50%;
    display: block;
}

.teachers {
    color: black;
    border-radius: 10px;
    font-weight: normal;
    font-size: 20pt;
}


 .goldenbtn {
     color: white;
     background: linear-gradient(145deg, #d4af37, #b8860b);
     box-shadow:
             inset 0 0 10px rgba(255, 255, 255, 0.3),
             0 0 10px rgba(0, 0, 0, 0.3),
             0 4px 10px rgba(212, 175, 55, 0.5);
     transition: transform 0.3s ease;
 }

.goldenbtn:hover {
    /* color: lightgray; */
    color: white;
    transform: scale(1.1);
}

.btn:hover,
.btn:focus {
    outline: none !important;
    box-shadow: none !important;
}


.vaniliabg {
    background-color: #fff8e1 !important;
}

.tiles_column li {
    transition: transform 0.3s ease;
}
.tiles_column li:hover {
    transform: scale(1.1);
}

.parallax-section2 {
    position: relative;
    /* height: 67vh; */
    background: url('https://chattery.mediamax.hu/assets/images/lib.jpg') top center;
    /* background-position:  top center; */
    background-size: cover;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    /* font-size: 2rem; */
    font-weight: bold;
}

.form-select {
    color: #5a6268 !important;
}

.form-select2 {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill='white' d='M1.5 5.5l6 6 6-6'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 0.75rem center;
    background-size: 1rem;
    background-color: #343a40 !important;
    /* color: white !important; */
    color: var(--bs-body-color) !important;
    border: #343a40 !important;
    /* padding-left: 35px; */
    height: 42px;
}

.form-control:focus,
.form-select:focus {
    outline: none;
    box-shadow: none;
    border-color: #ccc; /* opcionálisan semleges keretszín */
}

/* ************** END ******************/

/* nem kell majd */

.readmore a {
    color: black;
}

.readmore a:hover {
    color: white !important;
}
/* ceddig */

.contentwhite {
    padding: 25px;
    text-align: center;
    /* background: white; */
}


.whitebg {
    /* background-color: white !important; */
    background-color: #fff8e1 !important;
}

button:hover,
button:focus {
    outline: none;
    box-shadow: none;
}

.btn:hover,
.btn:focus {
    outline: none;
    box-shadow: none;
}

.alegreya-chattery_nemkell {
    font-family: "Alegreya", serif;
    font-optical-sizing: auto;
    font-weight:400;
    font-style: normal;
}

.slider1,
.slider2 {
    top: 10%;
    position: relative;
    left: 50%;
    transform: translate(-50%, -10%);
}

.slider3 {
    top: 5%;
    position: relative;
    left: 50%;
    transform: translate(-50%, -5%);
}

a {
    color: grey;
    text-decoration: none;
}

a:hover {
    color: grey;
    text-decoration: none;
}

textarea {
    resize: none;
}

.container-fluid {
    /* background-color: black; */
}

.profile_photo_mini {
    width: 25px; /* Állítható méret */
    height: 25px; /* Azonos szélesség és magasság kell a körhöz */
    object-fit: cover; /* Kivágja a kép széleit, hogy kitöltse a kört */
    border-radius: 50%; /* Kör alakúvá teszi */
    border: 0px solid #ddd; /* Opcionális keret */
}

.profile_photo_midi {
    width: 100px; /* Állítható méret */
    height: 100px; /* Azonos szélesség és magasság kell a körhöz */
    object-fit: cover; /* Kivágja a kép széleit, hogy kitöltse a kört */
    border-radius: 50%; /* Kör alakúvá teszi */
    border: 0px solid #ddd; /* Opcionális keret */
}
.profile_photo {
    width: 250px; /* Állítható méret */
    height: 250px; /* Azonos szélesség és magasság kell a körhöz */
    object-fit: cover; /* Kivágja a kép széleit, hogy kitöltse a kört */
    border-radius: 50%; /* Kör alakúvá teszi */
    border: 0px solid grey; /* Opcionális keret */
}

.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 2.5cm;
    background: rgba(0, 0, 0, 1);
    color: white;
    z-index: 1000;

}

.navbar-collapse {
    background: rgba(0, 0, 0, 1);
    justify-content: end;
    text-align: left;
    padding: 20px;

}

@media (max-width: 992px) {
    .navbar-collapse {
        display: basis;
    }
}

.navbar .nav-item:hover .dropdown-menu {
    display: block;
}

.nav-link {
    color: white;
}

.navbar-toggler {
    float: right;
    border: 0 solid green;
}

.custom-toggler .navbar-toggler-icon {
  /*   background-image: url("data:image/svg+xml;charset=utf8,%3Csvg viewBox='0 0 32 32' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath stroke='rgba(255,255,255, 1)' stroke-width='2' stroke-linecap='round' stroke-miterlimit='10' d='M4 8h24M4 16h24M4 24h24'/%3E%3C/svg%3E") !important; */

    /* border: 0 !important; */
    /* border: 5px solid red; */

}

.navbar-toggler:focus, .nav-link:focus {
    outline: none;
    box-shadow: none;
}

.nav-collapse {
    text-align: right;
    padding: 10px;
    background: rgba(0, 0, 0, 0.5);
}

/*.custom-toggler.navbar-toggler {
    border: 0;
}
*/

.parallax-container {
    position: relative;
    /* height: 50vh; */
    overflow: hidden;
    margin-top: 2.5cm;
    text-align: left;
    color: black;
}

.carousel {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 50vh;
}

.carousel-inner img {
    width: 100%;
    height: 100vh;
    object-fit: cover;
}

.content {
    padding: 25px;
    text-align: center;
    /* background: #393D32; */
    /* background: #393D32; */
    /* background: #f4f4f4; */
}


.prices {
    padding: 20px;
    text-align: justify;
    /* background: #f4f4f4; */
    border-radius: 10px;
    background-color: rgba(255,255,255,0.8);
    color: black;
    font-weight: normal;
    font-size: 1.1rem;
}

.parallax-section {
    position: relative;
    height: 50vh;
    background: url('https://chattery.mediamax.hu/assets/images/parallax1.jpg') center/cover;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 2rem;
    font-weight: bold;
    /* background-position: center 30%; */
}


.parallax-title-container {
    position: absolute;
    top: 50%;
    left: 10%;
    transform: translate(-10%, -50%);
    border: 0 solid white;
    background: rgba(255,255,255, 0.4);
    /* width: 60%; */
    margin: 0;
    padding: 2rem;
    color: black;
    border-radius: 10px;
}

.parallax-title {
    position: relative;
    font-size: 4rem;
    font-weight: bold;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    border: 0 solid green;
    margin: 0;
    padding: 0;
    left: 0;
    line-height: 1;
}
.parallax-subtitle {
    position: relative;
    font-size: 2rem;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
    border: 0px solid blue;
    margin: 0;
    padding-left: 0;
    left: 0;
    line-height: 1;
    height: 40px;
}
.parallax-text {
    position: relative;
    font-size: 1rem;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
    border: 0px solid blue;
    margin: 0;
    padding-left: 0;
    padding-top: 1%;
    left: 0;
    line-height: 1;
    width: 100%;

}

.footer {
    color: white;
    background-color: black !important;
    text-align: center;
}

.contentup,
.contentup0 {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.9s ease-out;
}

.contentupheader {
    opacity: 0;
    /* transform: translateY(-40%); */
    transition: all 1.3s ease-out;
}

.visibleupheader {
    opacity: 1;
    /* transform: translate(-50%,-50%); */
}
.visibleup {
    opacity: 1;
    transform: translateY(0);
}

.visibleshow {
    opacity: 1;
    /* transform: translateY(0); */
}


ul.tiles {
    list-style: none;
    padding: 0;
    /* display: flex; */
    /* flex-direction: column; */
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: repeat(2, auto);
    /* gap: 10px; */
    max-width: 80%;
    margin: auto;
    /* ul-sh: 2px 2px 4px rgba(0, 0, 0, 0.5); */
}
ul.tiles li {
    display: flex;
    align-items: center;
    justify-content: start;
    padding: 10px 10px;
    margin: 2%;
    border-radius: 0;
    border: 0;
    font-weight: normal;
    vertical-align: center;
    transition: transform 0.3s ease;
    font-size: 1.1rem;
    text-align: justify;
}

ul.tiles li:hover {
    transform: scale(1.1);
}

ul.tiles_column {
    list-style: none;
    padding: 0;
    /* display: flex; */
    /* flex-direction: column; */
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    grid-template-rows: repeat(5, auto);
    /* gap: 10px; */
    /* max-width: 80%; */
    font-size: 1.0rem;
    text-align: left;
    /* margin: auto; */
    /* ul-sh: 2px 2px 4px rgba(0, 0, 0, 0.5); */
}

ul.tiles_column li {
    padding: 1%;
   /* text-align: justify; */
    font-size: 1.6rem;

}

ul.tiles_row {
    list-style: none;
    padding: 0;
    /* display: flex; */
    /* flex-direction: column; */
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(1, auto);
    /* gap: 10px; */
    max-width: 100%;
    margin: auto;
    /* ul-sh: 2px 2px 4px rgba(0, 0, 0, 0.5); */
    font-size: 1.1rem;
}

ul.tiles_row li {
    background-color: rgba(255,190,160, 0.5);
    border-radius: 10px;
    text-align: justify;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: left;
}

ul.tiles_row li a {
    color: white;
    text-decoration: none;
}

ul.tiles_row li a:hover {
    color: black;
    color: gray;
}

.text-justify {
    text-align:justify !important;
}

.p-10 {
    padding-right: 6rem;
}

.btn:hover {
    background-color: grey;
    border-color: grey;
}


.scale15 {
    scale:1.5;
}

.message {
    border: 1px solid green;
    background: rgba(0,255,0, 0.3);
    color: green;
    margin: 0;
    position: relative;
    top: 0;
    height: 1.5cm;
    width: 100%;
    border-radius: 5px;
}

.error_message {
    border: 1px solid red;
    background: rgba(255,0,0, 0.3);
    color: white;
    margin: 0;
    position: relative;
    top: 0;
    height: 1.5cm;
    width: 100%;
    border-radius: 5px;
}

.col3scale {
    transition: transform 0.3s ease;
}
.col3scale:hover {
    transform: scale(1.1);
}

/* Slider - header */
.slider-container {
    overflow: hidden;
    width: 100%;
}

.slider {
    display: flex;
    flex-wrap: nowrap;
    transition: transform 1s ease;
}

.slide {
    flex: 0 0 100%; /* alapértelmezés: 1 kép mobilon */
    text-align: center;
}

.slide img {
    width: 100%;
    height: auto;
    object-fit: contain;
}

/* Tábla nézet (≥768px) */
@media (min-width: 768px) {
    .slide {
        flex: 0 0 50%; /* 2 kép egymás mellett */
    }
}

/* Nagy kijelző (≥1200px) */
@media (min-width: 1200px) {
    .slide {
        flex: 0 0 25%; /* 4 kép egymás mellett */
    }
}

/* Read more - main */
.readmore {
    color:#B8860B !important;
}

.col-6 {
    transition: transform 0.3s ease;
}
.col-6:hover {
    transform: scale(1.05);
}

#rm1 {
    height: 280px;
    overflow: hidden;
}

/* Howworks - main */
#mainhowimg {
    height: auto;
    max-width: 100%;
    border-radius: 25px;
}

/* Teachers & you */
.expand-box {
    overflow: hidden;
    transition: max-height 0.8s ease;
    position: relative;
    border: 1px solid #ddd;
    border-radius: 25px;
    padding: 1rem;
    background: #393D32;
    color: #fff;
    text-align: justify;
}
.read-more {
    display: block;
    text-align: center;
    margin-top: 1rem;
    cursor: pointer;
    font-weight: 600;
    position: absolute;
    left: 15px;
    bottom: 13px;
    color: #B8860B !important;
}
.expanded .read-more {
    display: none;
}

.tmb {
    transition: transform 0.3s ease;
    scroll-margin-top: 4rem;
}
.tmb:hover {
    transform: scale(1.01);
}

/* Prices */
#prices {
    transition: transform 0.3s ease;
    scroll-margin-top: 4rem;
}
#prices:hover {
    transform: scale(1.01);
}


/* FAQ */
.accordion-button {
    border: none;
    box-shadow: none;
    outline: none;
}

.accordion-button:not(.collapsed) {
    background: linear-gradient(145deg, #d4af37, #b8860b);
    color: black;
    font-weight: bold;
}

.accordion-button:focus,
.accordion-button:focus-visible {
    border: none;
    box-shadow: none;
    outline: none;
}

/* Oral test calendar */
.calendar-container {
    display: flex;
    justify-content: center;
    gap: 20px;
}
.calendar {
    max-width: 650px;
}
.calendar-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px;
    background-color: black;
    color: white;
}
.calendar-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 5px;
    padding: 10px;
}
.calendar-day {
    border: 1px solid #ddd;
    padding: 10px;
    text-align: center;
    cursor: pointer;
}
.calendar-day:hover {
    background-color: #f8f9fa;
}
.calendar-weekdays {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    font-weight: bold;
    text-align: center;
    padding: 10px;
}
.hour-panel {
    width: 400px;
    border: 1px solid #ddd;
    padding: 10px;
    background: #f9f9f9;
    color: black;
    border-radius: 5px;
}
.hour-slot {
    padding: 5px;
    border-bottom: 1px solid #ddd;
}
.hour-slot:hover {
    background-color: #e0e0e0;
}
.hour-slot_click {
    padding: 5px;
    border-bottom: 1px solid #ddd;
    cursor: pointer;
    background-color: #c2e0b1;
}

.form-label,
.modal-title {
    color: black;
}

.pt-6 {
    padding-top: 4rem !important;
}

/* Feedback */
.star-rating {
    direction: rtl;
    font-size: 2rem;
    unicode-bidi: bidi-override;
    display: inline-flex;
}
.star-rating input {
    display: none;
}
.star-rating label {
    cursor: pointer;
    padding: 0 0.1rem;
}
.star-rating label:before {
    content: "★";
    opacity: 0.25;
    transition: opacity .15s ease-in-out, transform .15s;
    transform: scale(1);
}
.star-rating input:checked ~ label:before,
.star-rating label:hover ~ label:before,
.star-rating label:hover:before {
    opacity: 1;
    transform: scale(1.08);
}
.star-rating input:checked + label:before {
    opacity: 1;
}