/* Fonts
	------------------------------------------------------------------------ */
@font-face {
    font-family: 'Lato';
    src: url('/static/home/font/Lato-Regular.woff2') format('woff2'),
    url('/static/home/font/Lato-Regular.woff') format('woff');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Lato';
    src: url('/static/home/font/Lato-Bold.woff2') format('woff2'),
    url('/static/home/font/Lato-Bold.woff') format('woff');
    font-weight: bold;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'TeXGyreTermes';
    src: url('/static/home/font/TeXGyreTermes-Bold.woff2') format('woff2'),
    url('/static/home/font/TeXGyreTermes-Bold.woff') format('woff');
    font-weight: bold;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'TeXGyreTermes';
    src: url('/static/home/font/TeXGyreTermes-Regular.woff2') format('woff2'),
    url('/static/home/font/TeXGyreTermes-Regular.woff') format('woff');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

/* Reset
    ------------------------------------------------------------------------ */
body,
html {
    margin: 0;
}

p {
    margin-top: 0;
}

ul {
    margin-top: 0;

}

/* Variables
    ------------------------------------------------------------------------ */
:root {
    --cover__home: url(/static/home/media/taal.webp);
    --cover__about: url(/static/home/media/about.webp);
    --cover__cooking: url(/static/home/media/buffet.webp);
    --cover__drums: url(/static/home/media/drums.webp);
    --cover__visual: url(/static/home/media/visual.webp);
    --cover__gatka: url(/static/home/media/gatka.webp);

    --color__primary: #FC970B;
    --color__secondary: #641a40;
    --color__ternary: #185833;
    --color__neutral: #111;
}

/* Layout
    ------------------------------------------------------------------------ */
body,
html {
    font-family: Lato, sans-serif;
    font-size: 20px;
    line-height: 1.8rem;
    scroll-behavior: smooth;
}

article:first-child {
    padding-top: 100px;
}

article {
    padding: 40px 0;
}

article:last-child {
    margin-bottom: 40px;
}

.content--s,
.content,
.content--l {
    padding: 0 40px;
}

.flex--zz > div {
    margin-bottom: 60px;
}

.col2 > div,
.col3 > div {
    margin-bottom: 60px;
}

/* Cards
    ------------------------------------------------------------------------ */
.card {
    border-radius: 20px;
    box-shadow: 0 0 20px var(--color__neutral);
    padding: 20px;
    display: block;
    min-width: 40px;
    margin-bottom: 40px;
}

/* Banners
    ------------------------------------------------------------------------ */
.banner {
    background: #641a40;
    color: #ffffff;
    padding: 40px;
    margin-bottom: 60px;
    text-align: center;
}

/* Messages
    ------------------------------------------------------------------------ */
.success {
    border-radius: 5px;
    padding: 15px 20px;
    background: #cccccc;
    text-align: center;
}

.warning {
    color: #e74c3c;
    text-align: center;
}

.error {
    border-radius: 5px;
    padding: 15px 10px;
    background: #e74c3c;
    text-align: center;
}

/* Buttons
    ------------------------------------------------------------------------ */
.button {
    background: var(--color__primary);
    color: #FFF;
    font-size: .8rem;
    border: 0;
    border-radius: 5px;
    padding: 15px 20px;
    margin: 20px 0;
}

.button--rev {
    background: #fff;
    color: var(--color__primary);
}

.button:hover {
    text-decoration: none;
    color: #FFF;
    cursor: pointer;
}

.button--rev:hover {
    text-decoration: none;
    color: var(--color__primary);
    cursor: pointer;
}

/* Titles
    ------------------------------------------------------------------------ */
h2 {
    font-family: 'TeXGyreTermes', serif;
    font-size: 2rem;
    line-height: 2rem;
    font-weight: bold;
    text-align: center;
    margin-top: 0;
    margin-bottom: 100px;
}

h3 {
    font-family: 'TeXGyreTermes', serif;
    font-size: 1.6rem;
    line-height: 1.6rem;
    font-weight: bold;
    text-align: center;
    margin-top: 0;
    margin-bottom: 60px;
}

h4 {
    font-family: 'TeXGyreTermes', serif;
    font-size: 1.4rem;
    line-height: 1.2rem;
    font-weight: bold;
    text-align: center;
    margin-top: 0;
    margin-bottom: 40px;
}

/* Links
    ------------------------------------------------------------------------ */
a {
    color: var(--color__primary);
    font-weight: bold;
    text-decoration: none;
}

a:hover {
    color: inherit;
    text-decoration: underline;
}

.icon img {
    opacity: 0.6;
    width: 46px;
    height: 46px;
    transition: opacity 0.3s;
}

.icon:hover img {
    opacity: 1;
}

/* Header
    ------------------------------------------------------------------------ */
header {
    position: relative;
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: space-evenly;
    align-items: center;
}

header::before {
    content: "";
    position: absolute;
    top: 0px;
    right: 0px;
    bottom: 0px;
    left: 0px;
    background: no-repeat center center / cover fixed var(--cover__home);
    filter: brightness(20%);
    z-index: -1;
}

header a:hover {
    text-decoration: none;
}

header h1 {
    font-family: 'TeXGyreTermes', serif;
    display: block;
    font-size: 4rem;
    font-weight: bold;
    text-align: center;
    color: var(--color__primary);
    margin: 0;
}

header h2 {
    font-family: 'TeXGyreTermes', serif;
    display: block;
    font-size: 2rem;
    font-weight: normal;
    text-align: center;
    color: var(--color__primary);
    margin: 0;
}

/* Topnav
    ------------------------------------------------------------------------ */
.topnav {
    background: var(--color__primary);
    text-align: center;
    box-shadow: 0 0 10px #222;
    position: sticky;
    display: none;
    top: 0px;
    z-index: 3;
    width: 100%;
}

.topnav a {
    display: inline-block;
    font-size: 1.2rem;
    font-weight: bold;
    color: #FFF;
    opacity: .75;
    padding: 10px 10px;
    transition: opacity 0.3s;
}

.topnav a:hover {
    text-decoration: none;
    opacity: 1;
}

/* Sidenav
    ------------------------------------------------------------------------ */
.menu_icon_sidenav {
    z-index: 2;
    width: fit-content;
    height: auto;
    background-color: var(--color__primary);
    padding: 10px;
    margin: 10px;
    cursor: pointer;
    position: fixed;
    top: 0;
    box-shadow: 0 0 10px #222;
    border-radius: 100%;
}

.line1,
.line2,
.line3 {
    width: 40px;
    height: 4px;
    margin: 10px 8px;
    background-color: #fff;
    border-radius: 50px;
    transition: 0.2s;
}

.active .line1 {
    transform: translate(0px, 15px) rotate(45deg);
}

.active .line2 {
    opacity: 0;
}

.active .line3 {
    transform: translate(0px, -15px) rotate(-45deg);
}

.sidenav {
    width: fit-content;
    background-color: #fff;
    position: fixed;
    text-align: left;
    z-index: 1;
    opacity: 0;
    left: -500px;
    pointer-events: none;
    transition: 0.3s;
    top: 0;
    box-shadow: 0 0 10px #222;
    overflow: scroll;
}

.active_sidenav {
    opacity: .8;
    left: 0px;
    pointer-events: fill;
    position: fixed;
    top: 0;
    height: 100vh;
}

.sidenav nav {
    padding-top: 80px;
    margin-right: 40px;
}

.sidenav nav ul li {
    list-style: none;
    margin-bottom: 20px;
    transition: 0.2s;
}

.sidenav nav ul li:hover {
    background-color: #c6c6c66f;
    border-radius: 8px;
}

.sidenav nav ul li a {
    color: #000;
    font-size: 1.2rem;
    padding: 10px 30px;
    display: block;
    text-decoration: none;
}

.sidenav nav ul li a:hover {
    text-decoration: none;
}

/* Cover
    ------------------------------------------------------------------------ */
.cover__home {
    height: 400px;
    background: no-repeat top center / cover var(--cover__home);
}

.cover__about {
    height: 400px;
    background: no-repeat top center / cover var(--cover__about);
    background-attachment: fixed;
}

.cover__cooking {
    height: 400px;
    background: no-repeat top center / cover var(--cover__cooking);
    background-attachment: fixed;
}

.cover__drums {
    height: 400px;
    background: no-repeat center center / cover var(--cover__drums);
    background-attachment: fixed;
}

.cover__visual {
    height: 400px;
    background: no-repeat top center / cover var(--cover__visual);
    background-attachment: fixed;
}

.cover__gatka {
    height: 400px;
    background: no-repeat top center / cover var(--cover__gatka);
    background-attachment: fixed;
}

/* Media
    ------------------------------------------------------------------------ */
.media {
    margin: 20px auto;
    border-radius: 10px;
    width: 100%;
}

.flex--zz .media {

    width: 100%;
}

/* youtube-video-container
    ------------------------------------------------------------------------ */
.youtube-video-container {
    position: relative;
    overflow: hidden;
    width: 100%;
}

.youtube-video-container::after {
    display: block;
    content: "";
    padding-top: 56.25%;
}

.youtube-video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/* About article
    ------------------------------------------------------------------------ */
.about {
    text-align: center;
}

.slogan {
    margin: 40px 0 80px 0;
}

.slogan::before,
.slogan::after {
    text-align: center;
    display: inline-block;
    padding: 10px;
    position: relative;
    top: -10px;
}

.slogan::before {
    content: url(/static/home/media/quotes-left.svg);
}

.slogan::after {
    content: url(/static/home/media/quotes-right.svg);

}

/* Cooking article
    ------------------------------------------------------------------------ */

.cooking {
    position: relative;
    color: #FFF;
    text-align: center;
}

.cooking::before {
    content: "";
    position: absolute;
    top: 0px;
    right: 0px;
    bottom: 0px;
    left: 0px;
    background: no-repeat center center / cover fixed var(--cover__cooking);
    filter: brightness(30%);
    z-index: -1;
}

/* Drums article
    ------------------------------------------------------------------------ */
.drums {
    text-align: center;
}

/* Gatka article
    ------------------------------------------------------------------------ */
.gatka {
    position: relative;
    text-align: center;
}

.gatka p {
    text-align: center;
}

.gatka::before {
    content: "";
    position: absolute;
    top: 0px;
    right: 0px;
    bottom: 0px;
    left: 0px;
    background: no-repeat center center / cover fixed var(--cover__gatka);
    filter: brightness(30%);
    z-index: -1;
}

.gatka h2,
.gatka .content--s {
    position: relative;
    color: #FFF;
}

/* Visual article
    ------------------------------------------------------------------------ */
.visual {
    text-align: center;
}


/* workshops article
    ------------------------------------------------------------------------ */
.workshops {
    position: relative;
    color: #FFF;
}

.workshops p {
    text-align: center;
}

.workshops::before {
    content: "";
    position: absolute;
    top: 0px;
    right: 0px;
    bottom: 0px;
    left: 0px;
    background: var(--color__secondary);
    z-index: -1;
}

.workshops h2,
.workshops .content--l {
    position: relative;
}

.workshops ul {
    margin-bottom: 80px;
}

.workshops .card {
    background: #fff;
    color: #222;
}

/* Events article
    ------------------------------------------------------------------------ */
.events p {
    text-align: center;
}

.events h4 {
    text-decoration: none;
    font-weight: bold;
}

/* Contact
    ------------------------------------------------------------------------ */
.contact p {
    font-size: 1.2rem;
}

.contact h2,
.contact .content {
    position: relative;
    color: var(--color__neutral);
}

.contact-form {
    position: relative;
    top: -200px;
    margin-right: auto;
    min-width: 50%;
    font-size: 0.8rem;
    font-weight: bold;
}

.contact-form input,
select,
textarea {
    font-size: 1rem;
    padding: 10px;
    border-radius: 5px;
    border: 1px solid #fff;
    flex: 1 1 auto;
    margin: 10px 0;
}

input:focus,
textarea:focus {
    outline: none;
}

.contact .button {
    color: #fff;
}

.contact .button:hover {
    color: #fff;
}

.contact-form > * {
    display: flex;
}

.contact-form textarea {
    min-height: 150px;
    max-width: 100%;
    box-shadow: 0 0 10px #222;
}

.map {
    margin-bottom: 80px;
}

.map iframe {
    display: block;
    border: 0px;
    width: 100%;
    height: 400px;
}

.contact .card {
    position: relative;
    top: -200px;
    background: var(--color__ternary);
}

.contact .card h2,
.contact .card h3,
.contact .card p {
    color: #fff;
}

.contact .card h3,
.contact .card p {
    text-align: left;
}

.contact .card h3 {
    font-size: 1.2rem;
    line-height: normal;
    margin: 0;
}

.contact .card p {
    font-size: 0.8rem;
    line-height: normal;
}

svg {
    display: flex;
    align-items: center;
    justify-content: left;
    height: 64px;
    width: auto;
}

.contact-info > div {
    display: flex;
    gap: 40px;
    margin: 60px 0;
    align-items: flex-start;
}

/* Press
    ------------------------------------------------------------------------ */
.press iframe {
    width: 100%;
    height: 50vw;
}

/* Bottom Bar
    ------------------------------------------------------------------------ */
.botbar {
    display: flex;
    background: #000;
    color: var(--color__primary);
    font-size: 1rem;
    justify-content: space-between;
    flex-wrap: wrap;
    text-align: center;
}

.botbar p {
    padding: 10px 20px;
    margin-left: auto;
    margin-right: auto;
}

/* For more than 680px screens and normal DPI
    ------------------------------------------------------------------------ */
@media screen and (min-width: 680px) and (max-resolution: 1x) {

    h2 {
        font-size: 3.2rem;
        line-height: 3.2rem;
    }

    h3 {
        font-size: 2rem;
        line-height: 2rem;
    }

    h4 {
        font-size: 1.2rem;
        line-height: 1.2rem;
    }
}

/* For highter resolution screens and normal DPI
    ------------------------------------------------------------------------ */
@media screen and (min-width: 950px) and (max-resolution: 1x) {

    .col2 {
        display: grid;
        grid-column-gap: 80px;
        grid-template-columns: repeat(2, 1fr);
    }

    .col3 {
        display: grid;
        grid-column-gap: 80px;
        grid-template-columns: repeat(3, 1fr);
    }

    .col2--1-3 {
        display: grid;
        grid-column-gap: 80px;
        grid-template-columns: 1fr 2fr;
    }

    header h1 {
        font-size: 5rem;
    }

    header h2 {
        font-size: 3rem;
    }

    .content--s {
        max-width: 750px;
        margin-left: auto;
        margin-right: auto;
    }

    .cover__home {
        height: 689px;
    }

    .flex--zz {
        display: flex;
        gap: 40px;
        align-items: center;
        justify-content: center;
        text-align: left;
    }

    .flex--zz > * {
        flex: 1;
    }

    .flex--zz h3,
    .flex--zz h4,
    .flex--zz p {
        text-align: left;
    }

    .flex--zz:nth-child(odd) {
        flex-direction: row-reverse;
        text-align: right;
    }

    .flex--zz:nth-child(odd) h3,
    .flex--zz:nth-child(odd) h4,
    .flex--zz:nth-child(odd) p {
        text-align: right;
    }

    .contact-form {
        position: relative;
        top: -60px;
        margin-top: 0;
    }

    .map iframe {
        min-width: 400px;
    }

}

@media screen and (min-width: 1250px) and (max-resolution: 1x) {

    header h1 {
        font-size: 6rem;
    }

    header h2 {
        font-size: 4rem;
    }

    .menu_icon_sidenav {
        display: none;
    }

    .topnav {
        display: block;
    }

    article {
        padding: 60px 0;
    }

    footer article {
        padding: 50px 0;
    }

    .content {
        max-width: 1050px;
        margin-left: auto;
        margin-right: auto;
    }

    .col--zz {
        gap: 80px;
    }

}

@media screen and (min-width: 1600px) and (max-resolution: 1x) {

    .content--l {
        max-width: 1400px;
        margin-left: auto;
        margin-right: auto;
    }

}