@import url('https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,100..900;1,100..900&display=swap');

*{
    font-family: "Roboto", sans-serif;
}

header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px;
    border: 4px solid black;
    background-image: url("hatter.jpg");
}

nav a:hover {
    background-color: #6e6b6b;
}

nav a, nav button {
    width: max-content;
    font-size: 1.5em;
    margin: 0 10px;
    text-decoration: none;
    color: black;
    padding: 30px;
    background-color: #8a8686;
    border-radius: 5px;
    transition: background-color 0.3s ease-in-out;
    border: 0px;
}

body {
    background-color: #888787;
}

button {
    background-color: #636060;
    transition: background-color 0.3s ease-in-out;
    width: 120px;
    height: 40px;
}

button:hover {
    background-color: #424242;
}

section{
    display: flex;
    flex-direction: row;
}

h1, .kozepre{
    text-align: center;
}

.row{
    display: flex;
    flex-direction: row;
}
.column{
    display: flex;
    flex-direction:column;
}

footer{
    text-align: center;
}

.spacebetween{
    display: flex;
    justify-content: space-between;
}

a[href="#maincontent"], #hotdog{
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

h1{
    font-size: 2em;
}

.galeria{
    flex: 1;
}

.konyvtar{
    display: flex;
    flex-direction: row;
}

.alkonyv{
    display: flex;
    flex-direction: row;
    width:100%;
}

.alkonyv img{
    width:25%;
}

.szazalek{
    width:75%;
}

div figure{
    width: 100%;
}

.width400{
    width: 400px;
}

.width50{
    width:50%;
}

form{
    width:100%;
}

.hambi{
    display: none;
}


th, td{
    font-size: 1em!important;
}




@media (max-width: 1200px) {
    .alkonyv{
        flex-direction: column;
    }
    .alkonyv img{
    width:100%;
    }
    .column-1{
        display: flex;
        flex-direction: column;
    }
    .szazalek{
        width: 100%;
    }
    .width50{
        width:100%;
    }
    nav{
        display: none;
    }
    .hambi{
        display: inline;
        font-size: 4em;
        background-color: #636060;
        width: 40px;
        height: 75px;
        border-radius: 5px;
    }
    body.hotdog nav{
        display: block;
        display: flex;
        flex-direction: column;
    }
    body.hotdog header{
        display: flex;
        flex-direction: column;
        align-items: start;
    }
}

@media (max-width: 800px) {
    .konyvtar{
        flex-direction: column;
    }
    .alkonyv img{
    width:100%;
    }
    .column-2{
        display: flex;
        flex-direction: column;
    }
    nav{
        display: none;
    }
}
