/* CSS Stylesheet */

/* --- CSS Reset --- */

html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed, 
figure, figcaption, footer, header, hgroup, 
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
	margin: 0;
	padding: 0;
	border: 0;
	font-size: 100%;
	font: inherit;
	vertical-align: baseline;
}
/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {
	display: block;
}
body {
	line-height: 1;
}
ol, ul {
	list-style: none;
}
blockquote, q {
	quotes: none;
}
blockquote:before, blockquote:after,
q:before, q:after {
	content: '';
	content: none;
}
table {
	border-collapse: collapse;
	border-spacing: 0;
}



/* --- General --- */

body{
    font-family: 'Nunito', sans-serif;
    background-image: url("img/forest-01.jpg");
    color: #222222;
}

h1,h2,h3,h4{
    font-family: 'Coiny', cursive;
}



/* --- Structure --- */

/* COOKIE POPUP START */

#cookiePopup{
    background-color: rgba(19, 19, 19, 0.98);
    position:absolute;
    font-size: 14px;
    width: 70vw;
    max-width: 32em;
    box-shadow: 0 0 2em rgba(26, 26, 26, 0.5);
    text-align: justify;
    line-height: 1.8em;
    padding: 2em 1.4em;
    border-radius: 8px;
    transition: all 0.5s ease-in;
    z-index: 5;
}

#cookiePopup img{
    display: block;
    width: 3.75em;
    transform: translateZ(0);
    position: relative;
    margin: auto;
}

#cookiePopup p{
    text-align: center;
    margin: 1.4em 0;
    color: #aaa;
}

#cookiePopup button{
    background-color: #ff003c;
    border: none;
    color: #fff;
    font-size: 1.2em;
    padding: 1em 1.4em;
    display: block;
    position: relative;
    margin: auto;
    border-radius: 8px;
}

#cookiePopup a{
    color: #ff003c;
    text-decoration: none;
    border-bottom: 1px dotted;
}


.hide{
    visibility: hidden;
    bottom: 0;
    right: 0;
}

.show{
    visibility: visible;
    bottom: 2em;
    right: 2em;
}


/* COOKIE POPUP END */


/* FLEXBOX START */

.container{
    display: flex;
    flex-direction: row;
    flex-flow: row;
    flex-basis: auto;
    align-items: top;
    margin:2rem 0;
}

.item,.item_text{
    padding:1rem;
    min-width: 45%;
    max-height:min-content;
}

.container_top{
    display: flex;
    flex-direction: row;
    flex-flow: row;
    flex-basis: auto;
    align-items: top;
}

img.shrink{
    max-width: 100%;
    border-radius: 16px;
    object-fit: cover;
}


/* FLEXBOX STOP */


.social_wrap{
    padding: 0;
    background-color: #1e204f;
}

.header_wrap{
    padding: 0;
}

.nav_wrap{
    background-color: #ff003c;
    text-align: center;
    opacity: 0.9;
}

.main_wrap{
    background-color: #fff;
    display: block;
    height: fit-content;
}


.footer_wrap{
    background-image: url("img/forest-02.jpg");
    object-fit: cover;
    background-repeat: no-repeat;
    background:scroll;
    background-position:bottom;
    color: #fff;
    z-index: 0;
}

header{
    max-width: 960px;
    margin:0 auto;
    padding:3em 1em;
    text-align: center;
}

.social_menu{
    max-width: 960px;
    margin:0 auto; 
    padding-top: 4px;
    padding-bottom: 4px;
    text-align: center;
}

/* video background */
#background-video {
    width: 100vw;
    height: 100vh;
    object-fit: cover;
    position:fixed;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    z-index: -1;
    filter: brightness(50%);
  }

img.logo {
    max-width: 75%;
    margin: 2em auto;
}

nav{
    max-width: 960px;
    margin:0 auto; 
    padding: 1rem 0;
}

main{
    max-width: 960px;
    margin:0 auto;
    padding:3em 1em;
}


footer{
    max-width: 960px;
    margin:0 auto;
    padding:3em 1em;
    line-height: 150%;
}



/* --- Typography --- */

h1 {
  text-align: left;
}


/* - Social Media - */

.social_menu ul{
    padding: 5px 0;
}

.social_menu ul li{
    display: inline-block;
    padding:8px;
}

.social_menu ul li a{
    font-weight: 800;
    padding: 5px;
    border-radius: 8px;
    color: #aaa;
    text-decoration: none;
    transition-duration: 500ms;
}

.social_menu ul li a:hover{
    background-color: #fff;
    color: #1e204f;
    transition-duration: 500ms;
}


/* - Header Content */

header h1{
    font-size: 40px;
    display: none;
}

header p{
    font-weight: 800;
    margin-top: 1em;
    display: none;
}

/* - Main Navigation - */

nav a{
    display: inline-block;
    padding: 0.5em;
    border-radius: 16px;
    font-size: 1.5rem;
}

nav a,nav a:visited{
    font-weight: 800;
    color: #f7aaa0;
    text-decoration: none;
    transition-duration: 500ms;
}

nav a:hover{
    background-color:#1e204f;
    color: #fff;
    transition-duration: 500ms;
}

main h1{
    font-size: 32px;
    color: #1e204f;
    margin: 0 0 2rem 0;
}

main p,main ul li,main ol li{
    line-height: 150%;
    margin:1em 0 0 0;

}

/* - Buttons */

a.button{
    display: inline-block;
    clear:right;
    padding: 1rem 1rem 1rem 4rem;
    background-color: #ff003c;
    border-radius: 16px;
    margin: 0.5rem 0;
    color: #fff;
    font-weight: 400;
    font-size:1.2em;
    text-decoration: none;
    background-image: url(img/doc.png);
    background-repeat: no-repeat;
    background-position: 12px center;
    transition-duration: 500ms;
}

a.button:hover{
    background-color: #1e204f;
    transition-duration: 500ms;
}

ul  li.name{
    padding:0.5rem 0 0.5rem 3rem;
    background-image: url(img/name.png);
    background-repeat:no-repeat;
    background-position:left center;
    list-style: none;
}

ul li.phone{
    padding:0.5rem 0 0.5rem 3rem;
    background-image: url(img/phone.png);
    background-repeat:no-repeat;
    background-position:left center;
    list-style: none;
}

ul li.email{
    padding:0.5rem 0 0.5rem 3rem;
    background-image: url(img/email.png);
    background-repeat:no-repeat;
    background-position:left center;
    list-style: none;
}

/* - Main content - */

a.normal,a.normal:active,a.normal:visited{
    color:#ff003c;
    text-decoration: none;
    transition-duration: 500ms;
    border-bottom:1px dotted;
}

a.normal:hover{
    color: #1e204f;
    transition-duration: 500ms;
}


a.jelentkezes,a.jelentkezes:active,a.jelentkezes:visited{
    display: inline-block;
    margin: 2rem 0;
    padding:1rem 1rem 1rem 4rem;
    text-decoration: none;
    font-size: 1.3em;
    border-radius: 16px;
    background-color:#ff003c;
    border:none;
    color: #fff;
    font-weight: 800;
    background-image: url(img/edit.png);
    background-repeat:no-repeat;
    background-position:10px center;
    transition-duration: 500ms;
}

a.jelentkezes:hover{
    background-color: #1e204f;
    transition-duration: 500ms;
}



.highlight{
    display: inline;
    padding:1px;
    background-color: #f0f87e;
    border-radius: 8px;
}

strong{
    font-weight: 800;
}

main ul li{
    margin:0.5em 0 0.5em 2rem;
    padding-left:1rem;
    list-style:disc;
}

a.link_out{
    text-decoration: none;
    display: inline-block;
    color: #fff !important;
    background-color:#1e204f;
    padding: 12px 12px 12px 48px;
    border-radius: 16px;
    background-image: url(img/arrow_right.png);
    background-repeat:no-repeat;
    background-position:6px center;
    transition-duration: 500ms;
}

a.link_out:hover{
    background-color: #ff003c;
    transition-duration: 500ms;
}

h2{
    color: #1e204f;
    font-size: 1.3em;
    margin: 1.3rem 0 0.3rem 0;
}

h3{
    color: #5457a0;
    font-size: 1.1em;
    margin: 1.3rem 0 0.3rem 0;
}

.small{
    font-size: 0.8em;
    color: #5457a0;
}

.important{
    color:#ff003c;
    font-style: italic;
    letter-spacing: -1px;
    font-weight: 800;
    font-size: 1.1em;
    padding:1em;
}


/* - Footer Elements - */

img.mild{
    display: inline;
    position: relative;
    top:6px;    
}



/* --- Media Queries --- */

@media screen and (max-width:768px){

    .facebook{
        display: inline-block;
        width:24px;
        height:24px;
        background-image: url(img/fb.png);
        background-position: left top;
        background-repeat: no-repeat;
        background-size:cover;
        text-indent: -9999px;
        transition-duration: 500ms;
    }
    
    .instagram{
        display: inline-block;
        width:24px;
        height:24px;
        background-image: url(img/ig.png);
        background-position: left top;
        background-repeat: no-repeat;
        background-size:cover;
        text-indent: -9999px;
        transition-duration: 500ms;
    }
    
    .youtube{
        display: inline-block;
        width:24px;
        height:24px;
        background-image: url(img/yt.png);
        background-position: left top;
        background-repeat: no-repeat;
        background-size:cover;
        text-indent: -9999px;
        transition-duration: 500ms;
    }
    
    .social_menu ul li a:hover{
        transition-duration: 500ms;
    }


    nav a{
        display: block;
        padding: 0.3em;
        border-radius: none;
        font-size: 1.3rem;
    }

    .container{
        flex-direction: column;
    }

    .container_top{
        display: flex;
        flex-direction: column;
    }

    .item,.item_text{
        width: 100%;
        padding: 1rem 0;
    }

    .item{
        order: 1;
    }

    .item_text{
        order:-1;
    }

    nav a{
        display: block;;
    }
    
}

@media only screen and (max-width: 320px) {
    #cookiePopup {
        width: 100%;
    }

    .hide{
        bottom: 2em;
        right: 0;
    }

    .show{
        right: 0;
        bottom: 0;
    }
}