body{
    transition: 0.5s;
}
html{
    background-image: url('../misc/background.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

main {
    position: relative;
    z-index: 1;
    padding: 1.25rem;
    background: rgba(255, 255, 255, 0.311);
}

.buttons, .current {
    width: 12.5rem;
    font-size: 1rem;
    padding: 0.625rem 1.25rem;
    transition: transform 0.3s ease;
    border: none;
    background-color: #5c5e619b;
    color: white;
    border-radius: 0.3125rem;
    text-align: center;
    display: inline-block;
    font-weight: bold;
    text-decoration: none;
    box-sizing: border-box;
    max-width: 100%;
}
.buttons:hover {
    background-color: #484949e2;
    padding: 0.75rem 1.375rem;
}
.current{
    background-color: #5c5e61;
    display: inline-block;
    cursor: default;
    padding: 0.625rem 1.25rem;
}
.dropdownbutton {
    font-size: 1rem;
    padding: 0.625rem 1.25rem;
    border: none;
    background-color: #007bff00;
    color: white;
    cursor: pointer;
    border-radius: 0.3125rem;
}
.dropdown {
    position: absolute;
    top: 0.125rem;
    left: 0;
}
.menu_elem {
    display: none;
    position: absolute;
    background-color: rgba(255, 255, 255, 0);
    min-width: 9.375rem;
    box-shadow: 0px 0.25rem 0.5rem rgba(0, 0, 0, 0.2);
    border-radius: 0.3125rem;
    z-index: 1000;
    flex-direction: column;
    align-items: center;
}

.menu_elem a {
    color: black;
    padding: 0.625rem;
    text-decoration: none;
    display: block;
}

.dropdown:hover .menu_elem {
    display: block;
}

.menu_elem a:hover {
    background-color: #f1f1f1;
}

#menuicon, #inverticon {
    width: auto;
    height: 1.875rem;
    align-items: center;
}

.cim {
    text-align: center;
}

footer {
    display: flex;
    justify-content: center;
    background-color: rgba(240, 248, 255, 0);
}

#hasznoso, #hirlevel, #formsite {
    text-align: center;
}

#hasznosodiv, #feliratkozform {
    margin: 0 9.375rem;
}

body.invert .page-content {
    filter: invert(1);
}

body.invert img {
    filter: invert(1);
}

.inverter {
    position:absolute;
    display: flex;
    padding: 1.125rem;
    top: 0.625rem;
    right: 0.625rem;
    cursor: pointer;
    border: none;
    align-items: center;
    justify-content: center;
    background-color: rgba(255, 255, 255, 0);
}

.links {
    color: black;
    font-size: 1.125rem;
}

.links:visited {
    color:gray;
}

#inverticon {
    width: 1.875rem;
    height: 1.875rem;
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    transition: none;
}

video {
    position: relative;
    left: 0;
    width: 43.75rem;
    height: auto;
    margin-top: 1.875rem;
    margin-right: 2.5rem;
    margin-bottom: 1.875rem;
    margin-left: 1.25rem;
    border: 0.5rem solid #333;
    box-shadow: 0px 0.25rem 0.5rem rgba(0, 0, 0, 0.5);
    max-width: 100%;
    height: auto;
}

body.invert video {
    filter: invert(1);
}

body.invert table {
    filter: invert(1);
}

.icon {
    position: relative;
    align-items: center;
    height: 3.125rem;
    width: auto;
    margin-bottom: 0.625rem;
}

header {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

h3, h4, h5, h6 {
    font-family: 'Courier New', Courier, monospace;
    margin-top: 0.3125rem;
    margin-bottom: 0.3125rem;
}

p {
    font-size: 1.25rem;
    font-family:'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
    margin-top: 0.3125rem;
    margin-bottom: 0.3125rem;
}

a {
    font-family:'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
}

.footerbox {
    width: 100%;
    padding: 0.625rem;
    margin-top: 0.3125rem;
    border: 0.0625rem solid #ccc;
    border-radius: 0.3125rem;
    width: 90%;
    max-width: 12.5rem;
    display: block; 
    padding: 0.4375rem;
    border-radius: 0.3125rem;
    text-align: left;
}

.footerbutton {
    width: 40%;
    padding: 0.25rem;
    background-color: #5c5e61;
    color: white;
    font-size: 0.875rem;
    font-weight: bold;
    border: none;
    border-radius: 0.3125rem;
    cursor: pointer;
    margin-top: 0.75rem;
    transition: background-color 0.3s ease;
}

body.invert .fullscreen-img {
    filter: invert(0);
}

h1 {
    font-size: 3rem;
}

@media (max-width: 768px) {
    h1 {
        font-size: 1.375rem;
    }
    p {
        font-size: 0.875rem;
    }
    #hasznosodiv, #feliratkozform {
        margin: 0 3.125rem;
    }
}