@import url(reset.css);
@import url('https://fonts.googleapis.com/css?family=Roboto:400,400i,700,700i&subset=latin-ext');
@import url('https://fonts.googleapis.com/css?family=Cormorant+Garamond:300,300i&subset=latin-ext');

body,
html {
    width: 100%;
    height: 100%;
}

body {
    background: #fff;
    font-family: 'Roboto', sans-serif;
    color: #000;
    font-size: 16px;
    font-weight: 400;
}

* {
    box-sizing: border-box;
}

a {
    color: rgb(20, 75, 196);
}

a:hover {
    color: rgb(170, 41, 41);
}

a:visited {
    color: rgb(81, 16, 134);
}

a img {
    border: 0;
}

a:focus,
a:active {
    outline: 0;
}

b,
strong {
    font-weight: 700;
}

i,
em {
    font-style: italic;
}

.center {
    text-align: center;
}

.small {
    font-size: 75%;
}

/* home */

#home {
    background: url(images/home_bg.jpg) top center no-repeat;
    background-size: cover;
}

#content {
    max-width: 1600px;
    margin: 0 auto;
    line-height: 125%;
}

#home h1 img {
    width: 90%;
    max-width: 450px;
    margin: 20px 0 40px 0;
}

#home h2 {
    font-size: 40px;
    font-weight: bold;
    line-height: 40px;
    margin-bottom: 10px;
    display: inline-block;
}

#home p.lead {
    font-weight: bold;
    font-size: 125%;
    margin-bottom: 20px;
}

#home p {
    max-width: 940px;
    margin: 5px auto;
    font-size: 20px;
    line-height: 24px;
}

#btns {
    margin: 30px auto;
    text-align: center;
}

#btns a {
    position: relative;
    display: inline-block;
    width: 45%;
    height: 200px;
    line-height: 200px;
    margin: 1%;
    border: 5px solid black;
    background: gray;
    border-radius: 20px;
    padding: 0;
    text-decoration: none;
    overflow: hidden;
}

#btns a div {
    font-family: 'Cormorant Garamond', serif;
    font-weight: 300;
    font-size: 44px;
    line-height: 56px;
    color: white;
    display: inline-block;
    vertical-align: middle;
    margin-top: -15px;
    padding: 2%;
    position: relative;
}

#btns a::before {
    content: "";
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    background-position: top center;
    background-size: cover;
    transition: transform 3s ease;
}

#btns a:hover::before {
    transform: scale(1.1) rotate(1deg);
}

#btns a:nth-child(1) {
    border-color: rgb(146, 230, 44);
    background: #26361D;
}

#btns a:nth-child(1)::before {
    background-image: url(images/btn_01.jpg);
}

#btns a:nth-child(2) {
    border-color: #A931FF;
    background: #1A0022;
}

#btns a:nth-child(2)::before {
    background-image: url(images/btn_02.jpg);
}

#btns a:nth-child(3) {
    border-color: #FF9D23;
    background: #53330E;
}

#btns a:nth-child(3)::before {
    background-image: url(images/btn_03.jpg);
}

#btns a:nth-child(4) {
    border-color: #FF3171;
    background: #522022;
}

#btns a:nth-child(4)::before {
    background-image: url(images/btn_04.jpg);
}

#btns a:nth-child(5) {
    border-color: rgb(30, 218, 243);
    background: #1A3F5E;
}

#btns a:nth-child(5)::before {
    background-image: url(images/btn_05.jpg);
}

#btns a:nth-child(6) {
    border-color: rgb(245, 218, 42);
    background: #513E00;
}

#btns a:nth-child(6)::before {
    background-image: url(images/btn_06.jpg);
}

/* topic */

#navbtn {
    position: fixed;
    top: 10px;
    left: 10px;
    z-index: 999;
    height: 40px;
    width: 40px;
    background: rgba(0, 0, 0, .3);
    color: white;
    cursor: pointer;
    transition: all .3s ease;
    border-radius: 3px;
}

#navbtn div {
    width: 20px;
    height: 3px;
    border-radius: 4px;
    background: white;
    position: absolute;
    left: 10px;
    transition: all .3s cubic-bezier(0.6, -0.5, 0.2, 1.5);
}

#navbtn div:nth-child(1) {
    top: 12px;
}

#navbtn div:nth-child(2) {
    top: 18px;
}

#navbtn div:nth-child(3) {
    top: 24px;
}

#navbtn.toggled div {
    opacity: 0;
}

#navbtn.toggled div:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
    opacity: 1;
}

#navbtn.toggled div:nth-child(3) {
    transform: rotate(-45deg) translate(3px, -4px);
    opacity: 1;
}

#nav {
    position: fixed;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, .9);
    z-index: 99;
    opacity: 0;
    transform: translateX(-100%);
}

.show {
    animation: show_anim .5s ease both;
}

.hide {
    animation: hide_anim .5s ease both;
}

@keyframes show_anim {
    0% {
        transform: translateX(-100%);
    }

    1% {
        transform: translateX(0);
        opacity: 0;
    }

    100% {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes hide_anim {
    0% {
        transform: translateX(0);
        opacity: 1;
    }

    99% {
        transform: translateX(0);
        opacity: 0;
    }

    100% {
        transform: translateX(-100%);
    }
}

#nav #btns {
    position: absolute;
    margin: 0;
    width: 100%;
    max-width: 1600px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

#header {
    position: relative;
    height: 400px;
    line-height: 400px;
    background: #000 top center fixed no-repeat;
}

#header h1 {
    position: absolute;
    top: 20px;
    left: 0;
    width: 100%;
    height: 100%;
    text-align: center;
}

#header h1 img {
    max-width: 450px;
    vertical-align: top;
    filter: invert();
}

#header h2 {
    display: inline-block;
    vertical-align: bottom;
    width: 100%;
    padding: 1% 1% 2% 1%;
    position: relative;
    text-align: center;
    font-family: 'Cormorant Garamond', serif;
    font-weight: 300;
    font-size: 5vw;
    line-height: 100px;
    color: #fff;
}

#topic #content {
    max-width: 100%;
}

#topic #content p {
    max-width: 800px;
    margin: 0 auto 10px;
    line-height: 26px;
    text-align: justify;
}

#topic #content p.lead {
    max-width: 1600px;
    font-size: 24px;
    line-height: 32px;
    padding: 20px 10px 40px 10px;
    text-align: center;
}

#topic #content p.quote {
    font-style: italic;
    padding-left: 40px;
}

blockquote {
    background: #000 center center fixed;
    background-size: cover;
    font-family: 'Cormorant Garamond', serif;
    font-weight: 300;
    font-size: 50px;
    line-height: 70px;
    font-style: italic;
    text-align: center;
    padding: 50px;
    margin: 2% 0 0 0;
}

blockquote span {
    display: block;
    text-align: right;
    font-size: 30px;
    line-height: 40px;
    font-style: normal;
}

.bigpic {
    height: auto;
    width: 100%;
    margin: 2% 0 0 0;
    position: relative;
}

.bigpic img {
    width: 100%;
}

.bigpic span {
    position: absolute;
    background: rgba(0, 0, 0, .8);
    color: #fff;
    padding: 5px 10px;
    border-radius: 5px;
    right: 20px;
    bottom: 20px;
    display: block;
    text-align: right;
    font-family: 'Cormorant Garamond', serif;
    font-weight: 300;
    font-size: 20px;
    line-height: 26px;
    font-style: normal;
}

.items {
    width: 100%;
    max-width: 1600px;
    margin: 0 auto;
    text-align: center;
    font-size: 14px;
    line-height: 20px;
}

.items div {
    width: 24%;
    padding: 20px 20px 60px 20px;
    display: inline-block;
    vertical-align: top;
}

.items.three div {
    width: 32%;
    padding: 20px 20px 60px 20px;
    display: inline-block;
    vertical-align: top;
}

.years span {
    font-family: 'Cormorant Garamond', serif;
    font-weight: 300;
    font-size: 5vw;
    line-height: 5vw;
    padding-bottom: 20px;
    display: block;
}

.profiles img {
    display: block;
    border-radius: 50%;
    margin: 0 auto 10px;
    width: 100%;
    border: 5px solid black;
}

.profiles.three img {
    width: 80%;
}

.profiles b {
    font-size: 120%;
}

#topic h3 {
    padding: 5% 2% 2% 2%;
    text-align: center;
    font-size: 40px;
    line-height: 50px;
    font-weight: bold;
}

#topic h3 span {
    font-size: 75%;
    font-weight: 400;
}

#topic h4 {
    font-size: 16px;
    color: gray;
    font-weight: bold;
    text-align: center;
    padding: 5% 1% 1% 1%;
}

.bibliography {
    font-size: 12px;
    color: gray;
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
    text-align: justify;
}

.dls a {
    margin-top: 10px;
    display: inline-block;
    background: #0064df url(images/download.svg) 10px 10px no-repeat;
    background-size: 20px;
    padding: 10px 10px 10px 34px;
    border-radius: 8px;
    color: #fff;
    font-size: 22px;
    text-decoration: none;
    position: relative;
    overflow: hidden;
}

.dls a.link {
    background-image: url(images/link.svg);
}

.dls a::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    transition: transform .5s ease;
    border-bottom: 3px solid #00469b;
    box-sizing: border-box;
}

.dls a:hover::after {
    transform: translateY(3px);
}

.keletkezes #content {
    background: #FAFCDC;
}

.keletkezes h3,
.keletkezes blockquote,
.keletkezes .years span {
    color: rgb(146, 230, 44);
}

.keletkezes *::selection {
    background-color: rgb(146, 230, 44);
    color: #000;
}

.keletkezes #header {
    background-color: #335e00;
    border-bottom: 5px solid rgb(146, 230, 44);
}

.keletkezes .profiles img {
    border-color: rgb(146, 230, 44);
}

.keletkezes #header img {
    filter: invert(1);
}

.nemzetiszinhaz #content {
    background: rgb(238, 224, 237);
}


.nemzetiszinhaz #header img {
    filter: invert(1);
}

.nemzetiszinhaz h3,
.nemzetiszinhaz .years span {
    color: #A931FF;
}

.nemzetiszinhaz *::selection {
    background-color: #A931FF;
    color: #fff;
}

.nemzetiszinhaz .profiles img {
    border-color: #A931FF;
}

.nemzetiszinhaz #header {
    background-color: #3a004c;
    border-bottom: 5px solid #A931FF;
}

.nemzetiszinhaz #header img {
    filter: invert(1);
}

.palyazat #content {
    background: rgb(250, 242, 233);
}

.palyazat h2 {
    color: #fff;
    font-size: 3.4vw !important;
}

.palyazat h3,
.palyazat blockquote,
.palyazat .years span {
    color: #FF9D23;
}

.palyazat *::selection {
    background-color: #FF9D23;
    color: #000;
}

.palyazat #header {
    background-color: #592200;
    border-bottom: 5px solid #FF9D23;
}

.palyazat #header img {
    filter: invert(1);
}

.palyazat .profiles img {
    border-color: #FF9D23;
}

.sajto #content {
    background: rgb(250, 236, 233);
}

.sajto h2 {
    font-size: 4.2vw !important;
}

.sajto h3,
.sajto .years span {
    color: #FF3171;
}

.sajto blockquote {
    color: rgb(238, 116, 154);
}



.sajto *::selection {
    background-color: #FF3171;
    color: #fff;
}

.sajto #header {
    background-color: #75011d;
    border-bottom: 5px solid #FF3171;
}

.sajto #header img {
    filter: invert(1);
}

.sajto .profiles img {
    border-color: #FF3171;
}

.megszolalas #content {
    background: rgb(233, 243, 250);
}

.megszolalas h2 {
    font-size: 3.8vw !important;
}

.megszolalas blockquote {
    color: rgb(30, 218, 243);
}

.megszolalas h3,
.megszolalas .years span {
    color: #00c0da;
}

.megszolalas *::selection {
    background-color: rgb(30, 218, 243);
    color: #000;
}

.megszolalas #header {
    background-color: #004395;
    border-bottom: 5px solid rgb(30, 218, 243);
}

.megszolalas #header img {
    filter: invert(1);
}

.megszolalas .profiles img {
    border-color: rgb(30, 218, 243);
}

.himnusz #content {
    background: rgb(247, 242, 227);
}


.himnusz blockquote {
    color: rgb(245, 218, 42);
}

.himnusz h3,
.himnusz .years span {
    color: #d07300;
}

.himnusz *::selection {
    background-color: rgb(245, 218, 42);
    color: #000;
}

.himnusz #header {
    background-color: #8d5300;
    border-bottom: 5px solid rgb(245, 218, 42);
}

.himnusz #header img {
    filter: invert(1);
}

.himnusz .profiles img {
    border-color: rgb(245, 218, 42);
}


/* footer */
#footer {
    text-align: center;
    font-size: 12px;
    line-height: 16px;
    color: gray;
    padding: 2% 0;
}

#footer img {
    width: 150px;
}

/* media queries */

@media screen and (max-width: 767px) {


    #home h2 {
        font-size: 30px;
    }

    #btns a {
        width: 90%;
        height: auto;
        line-height: 100%;
        border-width: 3px;
        border-radius: 10px;
    }

    #btns a div {
        margin: 0;
        font-size: 20px;
        line-height: 24px;
        padding: 3% 2%;
    }

    #header h1 img {
        width: 300px;
    }

    #header {
        height: 300px;
        line-height: 300px;
    }

    #header h2 {
        font-size: 38px !important;
        line-height: 45px;
        padding-bottom: 15px;
    }

    #topic #content p.lead {
        font-size: 20px;
        line-height: 28px;
        padding: 2%;
    }

    #topic #content p {
        padding: 2%;
        font-size: 16px;
    }

    .bibliography {
        padding: 2%;
    }

    .items div,
    .items.three div {
        width: 48%;
        font-size: 14px;
        line-height: 18px;
    }

    blockquote {
        font-size: 40px;
        line-height: 50px;
        padding: 10px;
    }

    blockquote span {
        font-size: 18px;
        line-height: 22px;
    }

    #topic h3 {
        font-size: 24px;
        line-height: 30px;
    }


}

@media screen and (min-width: 768px) and (max-width: 1023px) {}

@media screen and (min-width: 1024px) and (max-width: 1199px) {}

@media screen and (min-width: 1200px) and (max-width: 1399px) {
    #home {
        background: url(images/home_bg@x2.jpg) top center no-repeat / cover;
    }

    #header {
        height: 350px;
        line-height: 350px;
    }

    #btns a {
        height: 150px;
        line-height: 150px;
    }

    #btns a div {
        font-size: 32px;
        line-height: 50px;
    }
}

@media screen and (min-width: 1400px) {
    #home {
        background: url(images/home_bg@x2.jpg) top center no-repeat / cover;
    }
}

@media print {

    body,
    p {
        font-size: 16px !important;
        line-height: 150% !important;
    }

    p.lead {
        font-size: 20px !important;
    }

    blockquote,
    div.bigpic,
    #footer,
    .dls a,
    #navbtn,
    #nav {
        display: none !important;
    }

    .items div,
    .items.three div {
        width: 48%;
        font-size: 14px;
        line-height: 18px;
    }

    .profiles img {
        width: 70%;
    }

    #header {
        border: 0 !important;
    }

    #header img {
        filter: none !important;
    }

    p {
        width: 100% !important;
        max-width: 100% !important;
        text-align: justify !important;
        padding: 0 !important;
    }

    h2 {
        font-size: 40px !important;
        color: #000 !important;
    }

    h3,
    h4 {
        color: #000 !important;
        font-size: 20px !important;
    }
}