@import url('https://fonts.googleapis.com/css2?family=Acme&display=swap');
@import url('https://fonts.googleapis.com/css2?family=PT+Sans+Narrow&display=swap');

body {
    margin: 0px;
    padding: 0px;
    font-family: arial,helvetica,sans-serif;
    background-color: #052B81;
    color: #FFFFFF;
    background-image: url("pictures/notes.svg");
    background-size: 100%;
    background-repeat: repeat;
    background-attachment: fixed;
}

h1 {
    text-align: center;
    letter-spacing: 3px;
    font-variant: small-caps;
    margin: 5% 0 0 0;
    font-family: 'Acme', sans-serif;
    font-size: 3em;
}

section {
    position: relative;
    height: 200px;
    background-color: rgba(255,255,255,50%);
    display: flex;
    align-items: center;
    justify-content: center;
    clip-path: polygon(100% 0,100% 67%,0 100%, 0 0);
}

p {
    text-align: center;
    font-size: 1.5em;
}

img {
    margin: 0 auto;
    display: block;
}

* {
    box-sizing: border-box;
}

.kategoria {
    margin: 0 auto;
    text-align: center;
    padding: 32px 0px 16px 0px;
    font-size: 2.5em;
    font-family: 'Acme', sans-serif;
}

.reszponziv {
    float: left;
    width: 24.9999%;
}

.kepek {
    margin: 8px auto;
    display: block;
    width: 50%;  
}

.clearfix:after {
    content: "";
    display: table;
    clear: both;
}

.alahuzott {
    text-decoration: underline;
}

#kostolo_kep {
    border-radius: 50%;
    width: 16%;
}

.kostolo_kep2 {
    width: 100%;
    margin-top: 16px;
}

#kontener {
    width: 100%;
    margin: 0 auto;
}

#fejlec {
    letter-spacing: 3px;
    font-variant: small-caps;
    font-size: 150%;
}

#link {
    color: white;
    font-weight: bold;
    text-decoration: none;
    background-color: red;
    padding: 12px;
    border-radius: 12px;
    box-shadow: 2px 2px 2px black;
}

#menu {
    text-align: center;
    margin: auto;
    transform: skewY(-3deg);
}

#menu ul li {
    list-style-type: none;
    display: inline;
}

#menu li a {
    display: inline;
    text-decoration: none;
    padding: 4px;
    border-left: 3px solid #FFFFFF;
    color: #FFFFFF;
    font-family: 'Acme', sans-serif;
    letter-spacing: 1px;
    font-variant: small-caps;
    font-weight: bold;
    font-size: 1.5em;
    transition: letter-spacing 0.5s;
    transition-timing-function: ease;
}

#menu li a:hover {
    background-color: #3A75FE;
    letter-spacing: 3px;
    color: #FFFFFF;
    border-left: 3px solid #FFFFFF;
}

#fokontener {
    margin: auto;
    width: 66%;
}

#fo_kep {
    width: 240px;
    margin: 0 auto;
    display: block;
}

#tartalom {
    line-height: 1.6;
    margin: 12px;
    font-family: 'PT Sans Narrow', sans-serif;
}

#lablec {
    font-family: 'PT Sans Narrow', sans-serif;
    position: relative;
    height: 100px;
    background-color: rgba(255,255,255,50%);
    display: flex;
    text-align: center;
    justify-content: center;
    align-items: center;
    clip-path: polygon(100% 0,100% 100%,0% 100%,0 33%);
    font-size: 1.3em;
}

@media only screen and (max-width: 800px) {
        
    iframe {
        width: 96%;
    }
    
    #menu li a {
        font-size: 2em;
    }
    
    #menu li a:hover {
        letter-spacing: 1px;
    }
    
    #fokontener {
        width: 100%;
    }
    
    #fo_graf {
        width: 67%;
    }
    
    .reszponziv {
        width: 49.9999%;
    }
    
    .kepek {
        width: 67%;  
    }

    #kostolo_kep {
        width: 25%;
    }
    
}

@media only screen and (max-width: 500px) {
  
    iframe {
        width: 96%;
    }
    
    #menu li a:hover {
        letter-spacing: 1px;
    }
  
    .reszponziv {
        width: 100%;
    }
    
    .kepek {
        width: 67%;  
    }

    #kostolo_kep {
        width: 33%;
    }
  
}