/**
 * Responsive stylesheet for BrnoArtWeek 2022
 * Based on BrnoArtWeek
 * @author Filip Uhlir
 */
/* Mobile devices (640px and down) */
@media only screen and (max-width: 40em) {
    .logo-heading {
        font-size: 2.8rem;
        /*line-height: 7rem;*/
    }

    h1 {
        font-size: 4rem;
    }

    h2 {
        margin: 0 1rem 0 1rem;
        font-size: 2rem;
    }

    .main, .grid, .header, .table {
        padding: 0 0.5rem 0 0.5rem;
        max-width: 70rem;
        margin: 0 auto;
    }

    .gfx-mark {
        position: absolute;
        width: 100%;
        left: 0;
        bottom: 0;
    }

    .gfx-separator {
        margin: auto;
        width: 100%;
    }

    .gfx-arrow {
        position: absolute;
        width: 50px;
        bottom: 200px;
        left: 10px;
    }

    .gfx-clover {
        position: absolute;
        width: 100px;
        top: 150px;
        right: 0px;
    }

    .day-nav {
        padding: 0.5rem;
    }

    .tags {
        width: 100%;
    }
    .sticky-filters {
        top: 4rem;
    }
    .day-wraper {
        min-height: 6rem;
    }
    .logo-home {
        width: 20rem;
        top: -1rem;
        left: 0rem;
    }
    .logo {
        padding-bottom: 0;
    }
    .logo-subheading-home {
        font-size: 2rem;
        left: -0.5rem;
        top:2rem
    }
    .header-big {
        min-height: 8rem;
    }
    .infinityDay {
        width: 50%;
        display: inline-block;

    }
    .contacts .wrapper > :first-child{
        text-align: center;
    }
    .contacts span {
        text-align: center;
        font-size: 1.4rem;
        font-weight: 600;
        display: inline-block;
    }
    .contacts .info {
        text-align: center;
    }
}

/*.header {
  background-color: #fff;
  box-shadow: 1px 1px 4px 0 rgba(0,0,0,.1);
  position: fixed;
  width: 100%;
  z-index: 3;
}

.header ul {
  margin: 0;
  padding: 0;
  list-style: none;
  overflow: hidden;
  background-color: #fff;
}*/

.header li a {
    display: block;
    padding: 20px 20px;
    border-right: 1px solid #f4f4f4;
    text-decoration: none;
}

/*.header li a:hover,
.header .menu-btn:hover {
  background-color: #f4f4f4;
}*/

/*.header .logo {
  display: block;
  float: left;
  font-size: 2em;
  padding: 10px 20px;
  text-decoration: none;
}*/

/* menu */

.header .menu, .header .menu-home {
    clear: both;
    /*max-height: 0;*/
    transition: max-height .2s ease-out;
}

/* menu icon */

.header .menu-icon {
    cursor: pointer;
    display: inline-block;
    float: right;
    padding: 28px 20px;
    position: absolute;
    user-select: none;
    right: 1rem;
    user-select: none;
}

.header .menu-icon .navicon {
    background: #333;
    display: block;
    height: 2px;
    position: relative;
    transition: background .2s ease-out;
    width: 22px;
}

.header .menu-icon .navicon:before,
.header .menu-icon .navicon:after {
    background: #333;
    content: '';
    display: block;
    height: 100%;
    position: absolute;
    transition: all .2s ease-out;
    width: 100%;
}

.header .menu-icon .navicon:before {
    top: 7px;
}

.header .menu-icon .navicon:after {
    top: -7px;
}

/* menu btn */

.header .menu-btn {
    display: none;
}

.header .menu-btn:checked ~ .menu, .header .menu-btn:checked ~ .menu-home {
    max-height: 30rem;
    display: block;
    text-align: center;
    width: 100%;
    font-size: 2rem;
}

.header .menu-btn:checked ~ .social {
    display: block;
    font-size: 2rem;
    width: 100%;
    text-align: center;
    padding: 1rem;
    border-bottom: 2px solid var(--color-black);
}

.header .menu-btn:checked ~ .menu a, .header .menu-btn:checked ~ .menu-home a {
    border-bottom: 1px solid var(--color-black);
}

.header .menu-btn:checked ~ .menu-icon .navicon {
    background: transparent;
}

.header .menu-btn:checked ~ .menu-icon .navicon:before {
    transform: rotate(-45deg);
}

.header .menu-btn:checked ~ .menu-icon .navicon:after {
    transform: rotate(45deg);
}

.header .menu-btn:checked ~ .menu-icon:not(.steps) .navicon:before,
.header .menu-btn:checked ~ .menu-icon:not(.steps) .navicon:after {
    top: 0;
}

/* 48em = 768px */

@media only screen and (max-width: 40em) {

    .header .menu, .header .menu-home {
        display: none;
    }

    .header .social {
        display: none;
    }
}


@media (min-width: 40em) {
    .header .menu-icon {
        display: none;
    }

    .header .menu {
        display: flex;
        margin: auto;
    }

    .main, .grid, .table {
        padding: 0 0.5rem 0 0.5rem;
        max-width: 70rem;
        margin: 0 auto;
    }
    .header {
        width: 100%;
    }
    .logo-home {
        font-size: 4rem;
        width: 20rem;
        line-height: 3rem;
        left: 0;
    }
    .infinityDay {
        width: 100%;
        display: inline-block;
    }
    .contacts span {
        text-align: center;
        /*font-size: 1.4rem;*/
        font-weight: 600;
        display: inline-block;
    }
    .contacts .info {
        text-align: center;
    }
    .contacts .wrapper > :first-child {
        text-align: center;
    }

}
/* Extra large devices (large laptops and desktops, 1200px and up) */
@media only screen and (min-width: 75em) {
    .header .menu {
        display: flex;
        margin: 0;
    }
    .logo-home {
        font-size: 7rem;
        width: 30rem;
        line-height: 6rem;
    }
    .contacts span {
        text-align: left;
        /*font-size: 1.4rem;*/
        font-weight: 600;
        display: block;
    }
    .filters{
        /*max-width: 80rem !important;*/
    }
}
/* Extra large devices (large laptops and desktops, 1920px and up) */
@media only screen and (min-width: 120em) {
    .filters{
        max-width: 90rem !important;
    }
    .infinityDay {
        width: 70%;
    }
}
@media only screen and (min-height: 40em) {

}

@media only screen and (max-height: 40em) {

}

/* Safari Workaround*/
@media not all and (min-resolution:.001dpcm) { @media {

    .logo-safari {
        -webkit-transform: translateZ(0);


    }
}}
