html,
body {
    margin-top: 0;
    margin-bottom: auto;
    margin-right: auto;
    font-family: Kalam, sans-serif !important;
    color: rgb(0, 0, 0) !important;
    background: url("./media/hatter_2.jpg");
    background-color: rgb(255, 255, 255);
    background-repeat: repeat;
    background-size: auto;
    padding-top: 2rem;
    

    position: relative
}

.main-container {
    margin: auto;
    max-width: 1000px;
    background-color: #ffffff;
    padding: 20px;
}

.navbar-brand {
    font-weight: bold;
    background-color: #ea00ff;
    color: rgb(255, 255, 255) !important;
    text-decoration: none !important;
}

.nav-link {
    color: rgb(255, 255, 255) !important;
    transition: color 0.2s ease-in-out;
    text-decoration: none !important;
}

.nav-link:hover {
    color: #ff00e6 !important;
    text-decoration: none !important;
}

.navbar-nav .nav-item {
    margin-right: 10px;
}

li {
    float: left;
    text-align: left;
}

a {
    display: block;
    padding: 8px;
}

.navbar {
    box-shadow: 0 2px 4px rgba(162, 0, 255, 0.836);
    z-index: 1030;
}

video {
    max-width: 90%;
    transform: translateX(-50%);
    margin-left: 50%;
}

.gap {
    height: 56px;
}

#tartalom_t {
    display: flex;
    flex-direction: row;
}

main>h1 {
    align-self: center;
}

main {
    display: flex;
    flex-direction: column;
}

h1 {
    margin-bottom: 22px !important;
    background-color: rgb(230, 166, 255);
    color: rgb(0, 0, 0) !important;
    margin-top: 11px !important;
}

/*telefonos navbar*/
.sidepanel {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1000;
    background-color: #000000;
}

.sidepanel a {
    display: block;
}

.openbtn {
    display: none;
}

@media screen and (max-width: 991px) {
    .navbar {
        display: none !important;
    }

    .openbtn {
        display: block;
        position: fixed;
        top: 1%;
        left: 1%;
        background-color: rgb(0, 0, 0);
        color: #e32fff;
        z-index: 1000;
    }
}

/*telefonos navbar eddig*/


.stilusvalto-gombok {
    float: left;
    text-align: left;
    display: flex;
    gap: 10px;
    z-index: 1040;
}

.stilusvalto-gombok button {
    padding: 8px;
    cursor: pointer;
    color: #000000;
    background-color: #ffffff;
}

a:link {
    color: rgb(255, 153, 0);
    text-decoration: underline;
}

a:visited {
    color: rgb(255, 0, 0);
    text-decoration: underline;
}


a:hover {
    color: rgb(255, 0, 200);
    text-decoration: underline;
}

a:active {
    color: rgb(153, 0, 255);
    text-decoration: underline;
}

.hatteres {
    background-color: #110400;
    color: #ffffff;
}

img {
    max-width: 100%;
    height: auto;
}


.kisbetu {
  font-family: sans-serif !important;
  font-size: small;
}

p {
  text-align: justify; 
  margin-right: 2%;
  margin-left: 2%;
}

ul, ol {
  text-align: left; 
}





/* Alapértelmezett stílusok (kicsi képernyőre) */
.kartya-tartalom .row {
    display: flex;
    flex-direction: column;
}

.kartya-tartalom .card {
    width: 100%;
    margin-bottom: 20px;
}

/* Közepes képernyő */
@media screen and (min-width: 768px) and (max-width: 991px) {
    .kartya-tartalom .row {
        display: flex;
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: space-between;
    }

    .kartya-tartalom .card {
        width: calc(50% - 10px);
        margin-bottom: 20px;
    }
}

/* Nagy képernyő */
@media screen and (min-width: 992px) {
    .kartya-tartalom .row {
        display: flex;
        flex-direction: row;
        flex-wrap: nowrap;
        justify-content: space-between;
    }

    .kartya-tartalom .card {
        width: calc(50% - 10px);
        margin-bottom: 0;
    }
}