.header-container {
    display: flex;
    padding: 1rem;

}

.logo {
    padding: 0 1rem;
    width: 40%;
}

.nav {
    position: absolute;
    right: 1rem;
    top: 5rem;
    font-family: "Lucida Console", Courier, monospace;
    font-size: 20px;
}

.navbar {
    text-decoration: none;
    color: dimgrey;
    padding: 1rem 1rem;
}


.homepic {
    margin: 1rem;
    width: 75%;
}

.home-desp {
    font-family: Arial, Helvetica, Sans-serif;
    text-align: center;
}

/*About page*/

.about-wrapper {
    display: flex;
}

.bioimg {
    width: 30%;
    padding: 1.5rem 1.5rem 1.5rem 1.5rem;

}

.bio-text {
    padding: 2rem;
    font-family: Georgia, Helvetica, Sans-serif;
}

.about-header {}

a.biocv {
    text-decoration: none;
    color: #000;

}

/*exhibition*/

.exhibition-list {
    display: flex;
    justify-content: center;
    align-items: baseline;
    flex-flow: row wrap;
}

.each-exhibit {
    width: 23%;
    height: 220px;
    padding: 0.5rem;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.each-exhibit-pic {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: .2rem;
}

.each-exhibit-title {
    margin: 0;
    padding: 0;
    font-size: 18px;
    position: absolute;
    text-align: center;
    opacity: 0;
    line-height: 1.4;
}

.each-exhibit-title .p {
    display: inline-flex;
}

.each-exhibit-title a {
    text-decoration: none;
    color: #fff;
}

.each-exhibit-date {
    width: 90%;
    font-size: 18px;
    color: #fff;
    position: absolute;
    align-self: center;
    text-align: center;
    opacity: 0;
}

.each-exhibit:hover .each-exhibit-pic {
    webkit-filter: blur(3px);
    filter: blur(2px);
    transition: 1.1s ease;
}

.each-exhibit:hover .each-exhibit-title {
    opacity: 100%;
    transition: 1.1s ease;
}

.each-exhibit:hover .each-exhibit-date {
    opacity: 100%;
    transition: 1.1s ease;
}

.each-exhibit-text {
    font-family: ui-sans-serif
}

@media only screen and(max-width:1280px) {
    .each-exhibit {
        width: 33%;
        height: 220px;
        padding: 0.5rem;
        position: relative;
        display: flex;
        align-items: center;
        justify-content: center;

    }
}

@media only screen and(max-width:800px) {
    .each-exhibit {
        width: 33%;
        height: 220px;
        padding: 0.5rem;
        position: relative;
        display: flex;
        align-items: center;
        justify-content: center;

    }
}

/*subpage*/

.each-exhibit-info > a {
    text-decoration: none;
    color: black;
}

.sub-exs-wapper {
    padding: 2rem;
    display: grid;
    grid-template-columns: 30% 70%;
}

.press {
    font-weight: bold;
}

.press a {
    text-decoration: none;
    color: black;
}

/*tabs*/

.tabs {
    width: 50%;
    position: relative;
    padding-left: 30%;
}

.tabs .tab-nav-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    padding: 1rem 1rem;
    grid-gap: 1rem;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.tabs .tab-nav-container > div:hover {
    color: #999;
    cursor: pointer;
}

.tab-border {
    border-bottom: black 4px solid;
}


.show {
    display: grid !important;
}

/* ------------data  --------------*/

[data-tab-content] {
    display: none;
}

.active[data-tab-content] {
    display: block;
}

/*--------------------works document Grid---------------------*/

.work-pic-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    grid-auto-rows: 100px 100px;
    grid-gap: 5px;
    grid-auto-flow: dense;
}

.grid-item {
    width: 100%;
    height: 100%;
    position: relative;
}

.grid-item .each-work-pic {
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.grid-item .each-work-pic img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 50% 50%;
    cursor: pointer;
    transition: .5s ease-in-out;
}

.grid-item .each-work-pic img:hover {
    transform: scale(1.05);
}

.w-1 {
    grid-column: span 1;
}

.w-2 {
    grid-column: span 2;
}

.w-3 {
    grid-column: span 3;
}

.w-4 {
    grid-column: span 4;
}

.w-5 {
    grid-column: span 5;
}

.w-6 {
    grid-column: span 6;
}

.h-1 {
    grid-row: span 1;
}

.h-2 {
    grid-row: span 2;
}

.h-3 {
    grid-row: span 3;
}

.h-4 {
    grid-row: span 4;
}

.h-5 {
    grid-row: span 5;
}

.h-6 {
    grid-row: span 6;
}

/*-------------------------------ins document Grid----------------------*/

.ins-pic-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    grid-auto-rows: 100px 100px;
    grid-gap: 5px;
    grid-auto-flow: dense;
}

.ins-grid-item {
    width: 100%;
    height: 100%;
    position: relative;
}

.ins-grid-item .each-ins-pic {
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.ins-grid-item .each-ins-pic img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 50% 50%;
    cursor: pointer;
    transition: .5s ease-in-out;
}

.ins-grid-item .each-ins-pic img:hover {
    transform: scale(1.05);
}

/*-----------------------------------work pics modal--------------------------*/

.exhibitModal {
    display: none;
    /* Hidden by default */
    position: fixed;
    /* Stay in place */
    z-index: 1;
    /* Sit on top */
    padding-top: 100px;
    /* Location of the box */
    padding-top: 50px;
    left: 0;
    top: 0;
    width: 100%;
    /* Full width */
    height: 100%;
    /* Full height */
    overflow: auto;
    /* Enable scroll if needed */
    background-color: rgb(0, 0, 0);
    /* Fallback color */
    background-color: rgba(0, 0, 0, 0.9);
    /* Black w/ opacity */
}

/* work Modal Content (image) */
.exhibitsModalPic {
    margin: auto;
    display: block;
    width: 80%;
    max-width: 700px;
}

/* Caption of Modal Image */
#caption {
    margin: auto;
    display: block;
    width: 80%;
    max-width: 700px;
    text-align: center;
    color: #ccc;
    padding: 10px 0;
    height: 150px;
}

/* Add Animation */
.exhibitsModalPic,
#caption {
    -webkit-animation-name: zoom;
    -webkit-animation-duration: 0.6s;
    animation-name: zoom;
    animation-duration: 0.6s;
}

@-webkit-keyframes zoom {
    from {
        -webkit-transform: scale(0)
    }

    to {
        -webkit-transform: scale(1)
    }
}

@keyframes zoom {
    from {
        transform: scale(0)
    }

    to {
        transform: scale(1)
    }
}

.close {
    position: absolute;
    top: 15px;
    right: 35px;
    color: #f1f1f1;
    font-size: 40px;
    font-weight: bold;
    transition: 0.3s;
}

.close:hover,
.close:focus {
    color: #bbb;
    text-decoration: none;
    cursor: pointer;
}

@media only screen and (max-width: 736px) {
    .logo {
        padding: 0 0.5rem;
        width: 25%;
    }

    .nav {
        position: absolute;
        right: 0.5rem;
        top: 3.2rem;
        font-family: "Lucida Console", Courier, monospace;
        font-size: 18px;
    }

    .navbar {
        text-decoration: none;
        color: dimgrey;
        padding: 0.3rem 0.5rem;
    }

    .bioimg {
        height: 60%;
    }

    .exhibition-list {
        display: flex;
        justify-content: center;
        align-items: baseline;
        flex-flow: row wrap;
    }

    .each-exhibit {
        width: 43%;
        height: 120px;
        padding: 0.1rem;
        position: relative;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .sub-exs-wapper {
        padding-top: 0rem;
        display: grid;
        grid-template-columns: 100%;
    }

    .tabs {
        width: 100%;
        position: relative;
        padding-left: 0%;
    }

    .tab-nav-container {
        display: grid;
        grid-template-columns: 1fr 1fr;
        padding: 0.2rem 0.2rem;
        grid-gap: 0.2rem;
        align-items: center;
        justify-content: center;
        text-align: center;
    }

    .work-pic-grid {
        display: grid;
        grid-template-columns: repeat(4, 1fr);
        grid-auto-rows: 100px 100px;
        grid-gap: 5px;
        grid-auto-flow: dense;
    }

    .footer-container {
        font-size: 12px;
    }
}

/*-------------------------------------ins pics modal---------------------*/

.insexhibitModal {
    display: none;
    /* Hidden by default */
    position: fixed;
    /* Stay in place */
    z-index: 1;
    /* Sit on top */
    padding-top: 100px;
    /* Location of the box */
    padding-top: 50px;
    left: 0;
    top: 0;
    width: 100%;
    /* Full width */
    height: 100%;
    /* Full height */
    overflow: auto;
    /* Enable scroll if needed */
    background-color: rgb(0, 0, 0);
    /* Fallback color */
    background-color: rgba(0, 0, 0, 0.9);
    /* Black w/ opacity */
}

/* ins Modal Content (image) */
.ins_ModalPic {
    margin: auto;
    display: block;
    width: 80%;
    max-width: 700px;
}


/* Caption of Modal Image */

#insCaption {
    margin: auto;
    display: block;
    width: 80%;
    max-width: 700px;
    text-align: center;
    color: #ccc;
    padding: 10px 0;
    height: 150px;
}


/* Add Animation */
.ins_ModalPic,
#insCaption {
    -webkit-animation-name: zoom;
    -webkit-animation-duration: 0.6s;
    animation-name: zoom;
    animation-duration: 0.6s;
}

@-webkit-keyframes zoom {
    from {
        -webkit-transform: scale(0)
    }

    to {
        -webkit-transform: scale(1)
    }
}

@keyframes zoom {
    from {
        transform: scale(0)
    }

    to {
        transform: scale(1)
    }
}

@media only screen and (max-width: 800px) {
    .ins-pic-grid {
        display: grid;
        grid-template-columns: repeat(4, 1fr);
        grid-auto-rows: 100px 100px;
        grid-gap: 5px;
        grid-auto-flow: dense;
    }

    /*Footer*/

    .footer-container {
        padding: 0.5rem;
        color: dimgrey;
    }
}
