@charset "utf-8";

body{
    background-image: url('hatter2.jpg');
}
main{
    padding: 0;
    text-align: justify;
    width: 75%;
    max-width: 1000px;
    margin:auto;
    background-color: #dfe9f0;
    letter-spacing: 2px;
    font-family: Futura;
}
header{
    padding: 10px;
    text-align: center;
}
#logo{
    width: 10%;
}
nav{
    background-color: #647788;
}
a{
    color: #dfe9f0;
}
footer{
    background-color: #95a6b5;
}
.f{
    color:darkblue;
}
nav ul, footer ul, aside ul{
    list-style-type: none;
    padding: 0px;
    text-align: center;
}
nav li, footer li{
    padding: 5px;
}
#kep{
    width: 50%;
    float: left;
    padding: 10px;
}
h2{
    text-align: center;
}
#tabla{
    padding: 100px;
}
table{
    background-color: white;
    border: 1px solid black;
}
table, th, td{
    border-collapse: collapse;
    text-align: center
}
th{
    width: 20px;
    background-color: gray;
    color: white;
}
td{
    border: 1px solid gray;
    width: 40px;
    height: 40px;
}
.sz{
    background-color: gray;
    color: white;
}
tr:nth-child(even) td:nth-child(odd){
    background: lightgray;
}
tr:nth-child(odd) td:nth-child(even){
    background: lightgray;
}

article, aside, div{
    padding: 10px;
}
.emberek{
    border: 1px dotted #95a6b5;
}

nav li:hover{
    background:#dfe9f0;
}
footer li:hover{
    background: darkblue;
}
nav a:hover{
    color:#647788; 
}
footer a:hover{
    color: #95a6b5;
}
nav a, footer a{
    text-decoration: none;
}
img{
    width: 100%;
}
br{
    clear: both;
}


@media screen and (max-width:600px){
    main{
        grid-template-areas:
            "h"
            "n"
            "a"
            "d"
            "s"
            "f";
    }
    nav ul{
        grid-template-columns:1fr;
    }
    footer ul{
        grid-template-columns:1fr;
    }
    section{
        grid-template-columns:1fr;
    }
    article{
        grid-template-columns:1fr;
    }
    img{
        width: 100%
    }
}
