@import url(színek.css);

.navbar-toggler-icon {
    background-image: url("https://cdn.jsdelivr.net/npm/bootstrap-icons/icons/list.svg");
}
body {
    font-family:  sans-serif;
    font-size: 1rem;
    background-color: var(--szín1) !important;
    color: var(--szín14);
    scroll-padding-top: 30%;
}
html {
  scroll-behavior: smooth;
}

.sidebar h1 {
    font-weight: bold;
    font-size: 2rem;
}

.sidebar {
    width: 20%;
    height: 100vh;
    position: fixed;
    top: 0;
    left: 0;
    background: var(--szín2);
    color: var(--szín15);
    padding: 10% 2%;
    box-shadow: 2px 0 5px rgba(0, 0, 0, 0.5);
    z-index: 1;
}

.sidebar ul {
    list-style: none;
    padding: 0;
}

.sidebar ul li {
    margin: 2% 0;
}

.sidebar ul li a {
    display: block;
    padding: 2%;
    font-size: 1rem;
    font-weight: bold;
    transition: all 0.3s ease;
    text-decoration: none;
    color: var(--szín15);;
}

.sidebar ul li a:hover {
    outline: 1px solid #ffffff;
    background-color: var(--szín4);
    color: white;
}

.content {
    margin-left: 20%;
    padding: 5%;
    line-height: 1.6;
    text-align: justify;
}

p {
    line-height: 150%;
}

.content h1 {
    color: var(--szín3);
    margin-top: 5%;
    position: relative;
    font-size: 2rem;
    font-weight: bold;
    text-align: left;
    padding-bottom: 2%;
}

h1::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 4px;
    border-radius: 2px;
    background-color: var(--szín3);
}

.navbar-toggler {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    background-color: var(--szín2);
    margin: 50px 0 10px 0;
    z-index: 100;
    padding: 10px;
}

#mobileMenu {
    position: fixed;
    top: 90px;
    left: 0;
    width: 100vw;
    z-index: 100;
    background-color: var(--szín2);
    padding: 10px;
}

#mobileMenu li a {
    display: block;
    padding: 10px;
    font-size: 16px;
    font-weight: bold;
    text-decoration: none;
    color: var(--szín3);
    transition: all 0.3s ease;
}

#mobileMenu li a:hover {
    background-color: var(--szín4);
    border: 1px solid #ffffff;
    color: var(--szín14);
}

#mobileMenu ul {
    list-style: none;
    padding: 0;
}



@media screen and (max-width: 768px)  {
    .content {
        margin-left: 0;
        padding: 10px;
        margin-top: 60px;
    }
}