html {
    background-image: url("media/hatter.jpg");
    background-attachment: fixed;
    background-size: cover;
}

body {
    font-family: Helvetica, Arial, sans-serif;
    margin: 20px auto;
    padding: 10px 20px;
    background-color: white;
    color: black;
    line-height: 1.6;
    border-radius: 10px;
    border: 2px solid #4e1414;
    max-width: 1000px;
    box-shadow: 5px 5px 10px #f9f9f9;
    display: flex;
    flex-direction: column;
}

p#description {
    margin: 0;
    padding: 0;
}

figure.rightfig {
    float: right;
    display: block;
    padding-top: 5px;
    padding-bottom: 5px;
    padding-left: 25px;
    padding-right: 5px;
    margin: 0px;
}

figure.leftfig {
    float: left;
    display: block;
    padding-top: 5px;
    padding-bottom: 5px;
    padding-left: 5px;
    padding-right: 25px;
    margin: 0px;
}

img.main {
    width: 100%;
    max-width: 350px;
    height: auto;
    border-radius: 5px;
    display: block;
    border: 2px solid #4e1414;
    padding: 3px;
    box-shadow: 2px 2px 4px #4e1414;
}

img.styled {
    width: 100%;
    max-width: 300px;
    height: auto;
    border-radius: 5px;
    display: block;
    border: 2px solid #4e1414;
    padding: 3px;
    box-shadow: 2px 2px 4px #4e1414;
}

img.albumcover {
    width: 100%;
    max-width: 200px;
    height: auto;
    border-radius: 5px;
    display: block;
    border: 2px solid #4e1414;
    padding: 3px;
    box-shadow: 2px 2px 4px #4e1414;
}

img.poster {
    width: 100%;
    max-width: 250px;
    height: auto;
    border-radius: 5px;
    display: block;
    border: 2px solid #4e1414;
    padding: 3px;
    box-shadow: 2px 2px 4px #4e1414;
}

img.styled:hover {
    scale: 1.02;
    cursor: pointer;
}

h1 {
    font-size: 2em;
}

h1, h2, h3 {
    color: black;
}

a {
    color: #d90166;
}

a.menu {
    color: white;
}

a:visited {
    color: #ffb6c1;
}

table.center {
    margin-left: auto;
    margin-right: auto;
    width: 80%;
}

th#oszlop1 {
    width: 10%;
}

th#oszlop2 {
    width: 50%;
}

th#oszlop3, th#oszlop4 {
    width: 20%;
}

figure#erasposter {
    padding-bottom: 30px;
}

.video-container {
    width: 100%;
    text-align: center;
    margin: 30px 0;
}

.video-container video {
    width: 100%;
    min-width: 500px;
    max-width: 800px;
    height: auto;
}

nav#header {
    text-align: center;
    background-color: #4e1414;
    border: 4px solid #4e1414;
    color: white;
    border-radius: 10px;
    padding: 10px;
}

table, th, td {
    border: 2px solid white;
    border-collapse: collapse;
    padding: 10px;
}

th {
    background-color: #4e1414;
    color: white;
}

td {
    background-color: #ffc5d3;
    color: #4e1414;
}

div.rightalign {
    text-align: right;
}

.ugras-tartalomra {
    position: absolute;
    top: -50px;
    left: 0;
    background: #000;
    color: #fff;
    padding: 8px;
    z-index: 100;
    text-decoration: none;
}

.ugras-tartalomra:focus {
    top: 0;
}

.carousel-container {
    max-width: 100%;
    margin: 0 auto;
    overflow: hidden;
    text-align: center;
}

.carousel-track {
    display: flex;
    transition: transform 3s ease-in-out;
}

.carousel-slide {
    transition: transform 1s ease-in-out;
    flex: 0 0 100%;
}

.carousel-slide img {
    width: 100%;
    height: auto;
}

@media (max-width: 600px) {
    body {
        width: 90%;
        font-size: 80%;
    }

    #tartalom {
        flex-direction: column;
        align-items: center;
    }

    .rightfig, .leftfig {
        float: none;
        text-align: center;
        margin: 10px 0;
    }

    img, figure {
        max-width: 28%;
    }

    .carousel-slide img {
        max-width: 100% !important;
        width: 100% !important;
    }

    .video-container {
        max-width: 100% !important;
    }
}

@media (min-width: 601px) and (max-width: 900px) {
    body {
        width: 85%;
        font-size: 90%;
    }

    #tartalom {
        flex-direction: row;
        justify-content: space-between;
    }

    .rightfig, .leftfig {
        margin: 10px;
    }

    figure, img {
        max-width: 28%;
    }

    .carousel-slide img {
        max-width: 100% !important;
        width: 100% !important;
    }

    .video-container {
        max-width: 100% !important;
    }
}

@media (min-width: 901px) {
    body {
        width: 90%;
    }

    #tartalom {
        flex-direction: row;
        justify-content: space-between;
    }

    figure, img {
        max-width: 28%;
    }

    .carousel-slide img {
        max-width: 100% !important;
        width: 100% !important;
    }

    .video-container {
        max-width: 100% !important;
    }
}