@font-face {
    font-family: textyFont;
    src: url("./../resources/Monserrat/Montserrat-Regular.ttf");
}

@font-face {
    font-family: nadpisyFont;
    src: url("./../resources/Monserrat/Montserrat-Bold.ttf");
}

@font-face {
    font-family: menuFont;
    src: url("./../resources/Monserrat/Montserrat-Regular.ttf");
}

html {
    min-width: 375px;
}

hr {
    height: 1px;
    width: 100%;
}

.project-text-btns {
    display: none;
}

.mobile-st_photo {
    display: none;
    margin-bottom: 45px;
}

.mobile-st_photo > img {
    width: 100%;
}

.footerKontant {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
}

.footer_kontakt_right img {
    height: 20px;
}
.footer_kontakt_right {
    display: flex;
    gap: 15px;
}

.main-embed {
    margin-bottom: 50px;
}

.main-embed>iframe {
    width: 100% !important;
    --height: unset !important;
}

.main-embed>iframe #player {
    max-width: unset !important;
}

.player {
    max-width: unset !important;
}

.zkratka {
    font-family: textyFont;
}

.menuFont {
    font-family: menuFont, serif;
}

.nadpisFont {
    font-family: nadpisyFont, serif;
}

body {
    margin-top: 10px;
    margin-left: 430px;
    margin-right: 430px;
    color: black;
    font-size: 13px !important;
    font-family: textyFont, serif;
}

.logo>img:hover {
    cursor: pointer;
}

.mobile-header {
    display: flex;
    flex-direction: row;
    justify-content: space-around;
    margin-top: 20px;
    visibility: hidden;
}

.header {
    margin-top: 64px;
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-left: -280px;
}

.footer {
    display: flex;
    font-size: 20px;
    gap: 10px;
    justify-content: flex-start;
}

.footer img {
    height: 20px;
}

.logo {
    position: fixed;
}

.logo>img {
    height: 50px;
}

.body {
    margin-top: 11.49px;
    display: flex;
    min-height: 500px;
}

.body.footerBody {
    margin-top: 300px;
    flex-direction: column;
    min-height: unset !important;
}

a {
    color: inherit;
    text-decoration: none;
}

a:hover {
    color: inherit;
    font-weight: 600;
}

a.active {
    font-weight: 600;
}

.side-menu {
    min-width: 280px;
    margin-left: -280px;
    position: fixed;
}

.burger {
    visibility: hidden;
}

.burger {
    display: flex;
}

.burger>i {
    cursor: pointer;
    font-size: 36px;
    display: flex;
}

.side-menu ul,
header li {
    list-style: none;
    padding-left: 0px;
}

.menu-item .drop-down-menu-item {
    /*visibility: hidden;*/
    height: 0px;
    transition: height 1s;
    transition-delay: 0.5s;
    overflow: hidden;

}

.menu-item-link:hover {
    cursor: pointer;
}

.menu-item:hover .drop-down-menu-item {
    /*visibility: visible;*/
    transition: height 1s;
    transition-delay: 0.5s;
    height: 80px;
}

.menu-item a.active~.drop-down-menu-item {
    display: block;
}

.cardEl {
    height: 222px;
    background-size: cover;
}

.content {
    margin-bottom: 50px;
    width: 100%;
}

.container-flex {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 30px 30px;
    align-content: strech;
}

.myGrid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    column-gap: 30px;
    row-gap: 30px;
}

.myGridItem {
    aspect-ratio: 1.47/1;
    background-size: cover;
    background-color: #1111;
}

.myGridItem:hover {
    cursor: pointer;
}


.myGridItemText {
    visibility: hidden;
    opacity: 0;
    transition: visibility 0s, opacity 0.5s linear;
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
}

.myGridItem:hover>.myGridItemText {
    visibility: visible;
    opacity: 1;
    background-color: white;
}

.card {
    /*max-width: 500px;*/
    background-color: #1111;
    min-width: 300px;
    /*height: 255px;*/
    background-image: url("./../IMG/Nová synagoga 01.jpg");
    background-repeat: no-repeat;
    background-size: cover;
    background-position: right 35% bottom 45%;
    align-items: stretch;
    justify-content: stretch;
    border: none;
    text-transform: uppercase;
    border-radius: 0px;
    aspect-ratio: 4/3;
    flex: 1;
    /*font-weight: 600;*/
}

.entry-drop-icon {
    display: none;
}

.card-text {
    visibility: hidden;
    opacity: 0;
    transition: visibility 0s, opacity 0.5s linear;
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

.card:hover {
    cursor: pointer;
}

.card:hover>.card-text {
    visibility: visible;
    opacity: 1;
    background-color: white;
}

.column-container {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.entry {
    flex-direction: row;
    gap: 10px;
    width: 60%;
}

.entry-code {
    float: left;
    display: flex;
    width: 75px;
    justify-content: flex-end;
    margin-right: 20px;
}

.entry-context {
    display: flex;
    flex-direction: column;
}

.entry-header {
    display: flex;
    text-transform: uppercase;
}

.entry-text {
    display: flex;
    text-align: justify;
    margin-top: 10px;
}

.row-container {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
}

.adresses {
    display: flex;
    flex-direction: column;
    width: 300px;
}

.adress {
    margin-bottom: 30px;
}

.adress-header {
    text-transform: uppercase;
}

.adress-info {
    display: flex;
    flex-direction: column;
}

.static-contact-info {
    display: flex;
    text-align: right;
    flex-direction: column;
}

.static-contact-info>p {
    margin-bottom: unset !important;
}

.studio-container {
    display: flex;
    gap: 20px;
}

.contactCont {
    margin-left: 95px;
}

.studio-content {
    display: flex;
    gap: 20px;
    flex-direction: row;
    flex-wrap: wrap;
    float: left;
    width: 60%;
    margin-left: 95px;
}

.studio-section {
    display: flex;
    flex-direction: column;
    gap: 10px;
    flex-grow: 3;
    width: 300px;
}

.studio-section:first-child {
    width: 100%;
}

.studio-section-header {
    text-transform: uppercase;
}

.studio-section-content {
    text-align: justify;
}

.studio-image {
    float: right;
    display: flex;
    align-items: flex-end;
    justify-content: flex-end;
    background-image: linear-gradient(to right, rgb(230, 230, 230), rgb(233, 233, 233));
    flex: 1;
    width: 40%;
    margin-top: 30px;
}

.studio-image>img {
    width: 100%;
}

.main-image {
    /*background-image: url("./../../img/09 Greplovi_KnH.jpg");*/
    /*width: 100%;*/
    background-size: cover;
    /*height: 500px;*/
    margin-bottom: 50px;
    max-height: 800px;
    max-width: 100%;
}

.main-image-wrapper {
    display: flex;
    width: 100%;
    align-items: center;
    justify-content: center;
}

.project-right {
    flex: 2;
}

.project-right>.project-header {
    visibility: hidden;
}

.project-text {
    text-align: justify;
    transition: visibility 0s, height 0.5s linear;
}

.project-galery {
    display: flex;
    flex-direction: row;
    gap: 30px;
    margin-top: 50px;
    flex: 2;
    flex-wrap: wrap;
    justify-content: center;
}

.galeryItem {
    background-image: url("./../../img/09 Greplovi_KnH.jpg");
    height: 300px;
    min-width: 300px;
    flex: 1;
    background-size: contain;
    background-repeat: no-repeat;
}

.galeryItem {
    cursor: pointer;
}

.galery-image {
    display: flex;
    max-height: 800px;
    max-width: 100%;
}
/*
.galery-image:hover {
    cursor: pointer;
}
*/

.active-p {
    visibility: visible !important;
    height: 100% !important;
    transition: visibility 0 linear, height 1s linear;
}

.project-wrapper {
    visibility: hidden;
    transition: visibility 0 linear, height 1s linear;
}

.project-header {
    display: flex;
    flex-direction: column;
}

.project-name {
    text-transform: uppercase;
}

.project-header>p {
    margin-bottom: 0px;
}
/*
.project-header>p:nth-child(3) {
    font-style: italic;
}
*/

.project-location {
    font-style: italic;
}

.project-content {
    display: flex;
    flex-direction: row;
    gap: 20px;
    width: 100%;
}

.galery {
    width: 100%;
    height: 0px;
    visibility: hidden;
    transition: visibility 0 linear, height 1s linear;
}

.galeryButtons {
    display: flex;
    justify-content: space-between;
    font-size: 36px;
}

.galeryButtons i:hover {
    cursor: pointer;
}

.activeImage {
    background-image: url("./../../img/09 Greplovi_KnH.jpg");
    height: 100%;
    height: 500px;
    min-width: 300px;
    flex: 2;
    background-size: cover;
}

.myGridItemTextMobile {
    display: none;
}

@media only screen and (max-width: 1600px) {
    body {
        margin-left: 80px;
        margin-right: 80px;
    }

    .side-menu {
        margin-left: unset;
    }

    .content {
        margin-left: 280px;
    }

    .header {
        margin-left: unset;
    }
}

@media only screen and (max-width: 1200px) {
    .side-menu {
        min-width: 220px;
    }

    .content {
        margin-left: 220px;
    }
}

@media only screen and (max-width: 1050px) {
    .card {
        max-width: unset;
    }

    .side-menu {
        min-width: 220px;
    }

    .content {
        margin-left: 220px;
    }
}

@media only screen and (max-width: 900px) {
    .mobileUnVisibleHeader {
        visibility: hidden !important;
    }

    .myGridItemTextMobile {
        display: block;
    }

    .myGridItemText {
        display: none;
    }

    .header {
        margin-left: unset;
    }

    .mobile-header {
        visibility: visible;
    }

    .entry {
        width: 100%;
    }

    .drop-down-menu-item {
        display: none !important;
    }

    .content {
        margin-left: unset;
    }

    .studio-content {
        margin-left: unset;
    }

    .contactCont {
        margin-left: unset;
    }

    .logo {
        position: unset;
    }

    .myGrid {
        grid-template-columns: 1fr 1fr;
    }
    /*

    .main-image {
        height: 300px;
    }
    */
    .entry-header:hover {
        cursor: pointer;
    }
    .entry-drop-icon {
        display: block;
        margin-right: 5px;
    }
    .card-text {
        visibility: unset;
        opacity: unset;
        position: absolute;
        /* SAME AS HEIGHT OF CARD */
        top: 300px;
    }

/*
    .myGridItemText {
        visibility: unset;
        opacity: unset;
        
        position: absolute;
        display: block;
        margin-top: 52%;
    }
    */

    .entry-text {
        overflow: hidden;
        /*visibility: hidden;*/
        max-height: 0px;
        transition: max-height 0.5s;
        padding-left: 63px;
    }
    .entry-text > p {
        margin: 0 !important;
    }
    .entry-text-active {
        /*visibility: visible !important;*/
        /*max-height: 100% !important;*/
        max-height: 400px;
        transition: max-height 0.5s;
        
    }
    .project-content>.project-left {
        display: none;
    }
    .project-right>.project-header {
        visibility: visible;
        margin-bottom: 20px;
    }
    .side-menu {
        background-color: white;
        visibility: hidden;
        min-width: 0%;
        width: 0%;
        z-index: 3;
        position: absolute;
        /*transition: visibility 0.4s linear, min-width 0.5s linear, width 0.5s linear;*/
        height: 100%;
        margin-left: unset;
    }
    .side-menu.active {
        visibility: visible;
        min-width: 30%;
        width: 30%;
        /*transition: visibility 0.4s linear, min-width 0.5s linear, width 0.5s linear;*/
    }
    body {
        margin-left: 50px;
        margin-right: 50px;
    }
    .burger {
        visibility: visible;
    }
    .card {
        min-width: 275px;
    }
    .entry-code {
        display: none;
        width: 0px;
        margin-right: 0px;
    }
    .row-container {
        flex-direction: column;
    }
    .adresses {
        width: unset;
    }
    .static-contact-info {
        text-align: left;
    }
    .studio-image {
        display: none;
    }
    .studio-content {
        width: 100%;
    }

    .entry-drop-icon {
        padding-left: 20px;
    }

    .entry-drop-name {
        padding-left: 25px;
    }

    .mobilePadingLogo {
        padding-left: 63px;
    }
    
}

@media only screen and (max-width: 425px) {
    .myGrid {
        grid-template-columns: 1fr;
    }

    .menu {
        margin-top: 150px;
    }

    body {
        margin-left: 15px;
        margin-right: 15px;
        line-height: 25px;
    }

    .subMenuUnVisible {
        visibility: hidden !important;
    }

    .project-galery {
        gap: 15px;
    }

    .header {
        margin-top: 36px;
    }


    .side-menu.active {
        width: unset;
        position: fixed;
        top: 100px;
        left: 0px;
        right: 0px;
        text-align: center;
    }

    .side-menu.active .menu-item {
        padding: 10px;
    }

    .mobile-header {
        margin-top: 36px;
        justify-content: space-between;
    }

    .mobile-st_photo {
        display:block;
    }

    .studio-section-content {
        text-align: unset;
    }
    .entry-text {
        text-align: unset;
    }

    .project-text {
        text-align: unset;
    }

    .footer {
        gap: 50px;
        margin-top: 50px;
    }

    .static-contact-info {
        margin-top: 90px;
    }

    .project-text-scroll {
        max-height: 180px;
        overflow: hidden;
        transition: visibility 0s, height 0.5s linear;
    }

    .project-text-btns {
        display: flex;
        justify-content: center;
    }

    
}