body {
    font-family: 'Montserrat';
    margin: 0;
}

.general-container {
    display: flex;
    flex-direction: column;
    width: 100vw;
    height: 100vh;
}

.menu-button, .works-button-row.mobile-section {
    display: none;
}

.exit-viewer-button-mobile {
    display: none !important;
}


.home-page {
    background-color: rgb(51,51,51);
}

.home-page .navbar-name {
    color:rgb(242,242,242);
}

.home-page-image {
    margin-top: 1%;
    display: flex;
    flex-grow: 1;
    width: 100%;
    background-position: center;
    background-size:cover; 
    background-repeat: no-repeat; 
    background-image: url('./images/BS_2.jpg'); 
}


.navbar-container {
    display: flex;
    flex-direction: column;
    height: 100px;
    align-items: center;
    align-self: center;
    padding-top: 30px;    
}

.navbar {
    display: flex;
    flex-direction: row;
    flex-direction: row;
    color:black;
    width: 100%;
    justify-content: space-around;
}


.navbar-name {
    font-size: 25px;
    letter-spacing: 35.4;
    height: 35px;
    text-transform: uppercase;
    transform: scale(1, 0.75);
    -webkit-transform: scale(1, 0.75); /* Safari and Chrome */
    -moz-transform: scale(1, 0.75); /* Firefox */
    -ms-transform: scale(1, 0.75); /* IE 9+ */
    -o-transform: scale(1, 0.75); /* Opera */
}

.navbar-link {
    text-decoration: none !important;
    text-transform: uppercase;
    font-size: 18px;
    font-weight: 100;
    color:rgb(128,128,128);
    /*Monserrat extra light */
}

.navbar-link:visited {
    text-decoration: none !important;
}


/*WORKS Section */

.works-row {
    display: flex;
    flex-direction: row;
    margin-top: 35px;
}

.works-main-content, .works-side-panel, .works-information {
    display: flex;
    flex-direction: column;
}

.works-main-content {
    width: 45%;
    padding-left: 80px;
    align-items: center;
}

.works-information {
    width: 30%;
    justify-content: center;
    padding-bottom: 50px;
    color: rgb(128,128,128);
    align-content: center;
}

.works-information h3 {
    font-size: 12px;
    margin-bottom: 0px !important;
}

.works-information p {
    font-size: 12px;
    font-weight: 100;
    margin: 0;
}

.works-side-panel {
    min-height: 100%;
    width: 20%;
    padding-top: 100px;
    padding-left: 50px;
    min-height: 85%;
}

.works-links {
    color:rgb(128,128,128);
    text-decoration: none !important;
    font-size: 16px;
    margin-bottom: 20px;
}

.work-links:visited {
    color: black;
    text-decoration: none !important;
}


.works-displayed-image {
    width: 80%;
    height: 60vh;
    object-fit: contain;
    cursor: pointer;
}

.works-displayed-image.big-image {
    max-width: 55%;
    max-height: 90vh;
    object-fit: contain;
    cursor: unset;
} 

.works-button-row {
    display: flex;
    flex-direction: row;
    width: 100%;
    justify-content: space-evenly;
    margin-top: 20px;
}

.work-title {
    margin-top: 0;
    font-style: italic;
}

.work-year {
    margin-bottom: 15px !important;
}

.work-year.viewer-info {
    margin-bottom: 0 !important;
}

.next-image-button, .previous-image-button {
    text-decoration: none;
    font-size: 14px;
    color: rgb(128,128,128);
} 

.hidden-section {
    display: none !important;
}

.image-viewer {
    display: flex;
    flex-direction: row;
    min-width: 100%;
    min-height: 100%;
    background-color: white;
    position: absolute;
    top:0;
    left:0;
    opacity: 1;
    align-items: center;
}

.works-displayed-image.big {
    justify-self: center;
}

.previous-button-container, .next-button-container {
    display: flex;
    flex-direction: column;
}

.previous-button-container {
    width: 5%;
    align-content: flex-start;
    height: 100vh;
    cursor: pointer;
}

.next-button-container {
    align-content: flex-end;
    width: 5%;
    height: 100vh;
    cursor: pointer;
}

.displayed-image-container {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 90%;
}

.exit-viewer-button {
    margin: 0;
    padding-top: 25px;
    cursor: pointer;
    color:rgb(51,51,51);
}

.viewer-next-button {
    justify-self: flex-end;
    margin: auto 0;
    padding-bottom: 48px;
    color:rgb(51,51,51);
}

.viewer-previous-button {
    justify-self: flex-start;
    margin: auto 0;
    padding-left: 50px;
    color:rgb(51,51,51);
}

.viewer-image-info {
    display: flex;
    opacity: 0;
    visibility: hidden;
    padding: 10px;
    background-color: white;
    color:black;
    -webkit-transition: opacity 3000ms, visibility 3000ms;
    transition: opacity 3000ms, visibility 3000ms;
    flex-direction: row;
    align-items: center;
    margin-top: -4%;
}

.viewer-image-info h3, .viewer-image-info p {
    margin: 3px;
}

.viewer-image-info.visible-image-info {
    opacity: 0.5;
    visibility: visible;
}

/*BIO Section */

.bio-container {
    display: flex;
    flex-direction: row;
    margin-top: 50px;
    color:rgb(128,128,128);
    width: 60%;
    margin: auto;
    margin-top: 45px;
}

.bio-container h3 {
    font-size: 14px;
    margin-bottom: 0px !important;
}

.bio-container p {
    font-size: 14px;
    font-weight: 100;
}

.bio-text-container {
    display: flex;
    flex-direction: column;
    width: 65%;
    padding-bottom: 30px;
}

.bio-initial-content {
    text-align: justify;
    margin-bottom: 18px !important; 
}

.bio-image-container {
    display: flex;
    flex-direction: column;
    width: 35%;
    align-items: flex-end;
    height: 1000px;
}

.bio-image {
    width: 90%;
    height: 30%;
    margin-top: 18%;
}

p.bio-exhibition-items  {
    margin-bottom:0;
    margin-top: 5px;
}

p.bio-award-secondary-info {
    margin-top: 5px;
    margin-bottom: 0;
}

p.bio-award-secondary-title {
    margin-bottom: 0;
    margin-top: 20px;
}

.publication-link {
    font-size: 10px;
    text-decoration: none;
}

.publication-link:hover {
    text-decoration: underline;
}

.exhibition-press-link {
    text-decoration: none;
}

.exhibition-press-link:hover {
    text-decoration: underline;
}


h3.bio-education-title, h3.bio-exhibition-title {
    margin-bottom: 8px !important;
    margin-top: 0px !important;
}

.bio-overview-section {
    margin-bottom: 5px;
}

.solo-exhib-item {
    margin-top:5px;
    margin-bottom: 0px;
}

.solo-exhib-secondary-item {
    margin-top: 7px;
}

.exhib-secondary-title {
    font-style: italic;
}

.bio-section-title {
    color: black;
}

/*CONTACT Section */


.contact-row {
    display: flex;
    margin-top: 60px;
}

.contact-image-container {
    width:285px;
    height: 180px;
}

.contact-image {
    width: 100%;
    height: 100%;
    margin-right: 20px;
}

.contact-info {
    display: flex;
    flex-direction: column;
    margin-left: 80px;
    color: rgb(128,128,128);
    font-size: 14px;
}

.contact-info h3 {
    margin:0;
}

.contact-info p {
    font-weight: 100;
}

.contact-web-page {
    margin-top: 0;
}

.contact-email {
    margin-bottom: 20px;
}
.contact-art-label {
    font-weight: 700;
}

.contact-container {
    display: flex;
    flex-direction: row;
    justify-content: center;
    margin-top: 145px;
}

.contact-insta-container {
    display: flex;
    flex-direction: row;
    justify-content: center;
    margin: auto 0 70px;
}

/*COLLECTIONS Section */

.collection-container {
    display: flex;
    flex-direction: column;
    margin-top:85px;
    width: 80%;
    align-self: center;
    flex-grow: 1;
}

.collections-row {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-evenly;
}

.colletion-row-two {
    margin: 0;
    margin-top: 25px;
}

.collection-item {
    width: 28%;
    height: calc(100vw * 0.21);
    margin-bottom: 60px;
    position: relative;
    text-align: center;
    background-color: rgb(51,51,51);
}
.collection-image-info-container {
    display: flex;
    position: absolute;
    flex-direction: column;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    margin: 0;
    background-color: white;
    color: white;
    opacity: 0;
    align-items: center;
    justify-content: center;
}

.collection-image-info-container p {
    color:black;
    font-size: 40px;
    font-weight: 200;
    word-break: break-word;
    width: 90%;
}

.collection-image-info-container:hover{
   opacity: 0.5;
}


.collection-image {
    width: 100%;
    height: 100%;
}

.hidden-collection {
    opacity: 0;
    visibility: hidden;
}

.collection-description, .collection-video-iframe-container {
    height: 60vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.collection-description p {
    text-align: justify;
    overflow-y: scroll;
}

.hidden-element {
    display: none;
}

.invisible-element {
    visibility: hidden;
}


@media only screen and (max-width: 640px) {
    .navbar-container {
        width: 100%;
        flex-direction: row !important;
        padding-top: 0; 
        justify-content: space-around;
    }
    .navbar {
        display: none !important;
    }
    .navbar-name {
        font-size: 20px !important;
        letter-spacing: 5px;
    }
    .menu-button {
        display: flex;
        margin-left: 15px;
        margin-bottom: 6px;
        cursor: pointer;
    }
    .mobile-menu {
        position: absolute;
        top:200px;
        width: 100%;
        height: 100%;
        display: flex;
        flex-direction: column;
    }
    .mobile-menu-button:focus {
        -webkit-box-shadow: 10px 10px 5px 0px rgba(0,0,0,0.75);
        -moz-box-shadow: 10px 10px 5px 0px rgba(0,0,0,0.75);
        box-shadow: 10px 10px 5px 0px rgba(0,0,0,0.75);
    }
    .mobile-menu a:first-child {
        border-top: 1px solid grey; 
    }

    .mobile-menu-link {
        height: 60px;
        padding: 0;
        width: 100%;
        line-height: 60px;
        border-bottom: 1px solid grey; 
        font-size: 20px;
        text-decoration: none;
        text-align: center;
        color:black;
    }

    .mobile-menu-link.main-page-menu-link {
        color:rgb(242,242,242);
    }

    .mobile-menu.hidden-section {
        display: none !important;
    }

    .contact-container {
        flex-direction: column;
        align-items: center;
        margin-top: 20px;
    }

    .contact-info {
        margin-left: 0;
    }

    .contact-insta-container {
        margin: 50px auto;
    }

    .bio-container {
        flex-direction: column;
        margin-top: 20px;
        width: 80%;
    }
    .bio-text-container {
        width: 100%;
        order:2;
    }
    .bio-image-container {
        width: 100%;
        order:1;
    }

    .bio-image {
        width: 100%;
        height: 100%;
        margin-top: 0;
        margin-bottom: 30px;
    }

    .collection-container {
        flex-direction: row;
        width: 100%;
        margin-top: 20px;
        justify-content: space-evenly;
    }
    .collections-row {
        flex-direction: column;
    }

    .colletion-row-two {
        margin-top: 0;
    }

    .collection-item {
        margin-bottom: 10px;
    }

    .works-row {
        flex-direction: column;
        margin-top: 20px;
    }

    .works-side-panel {
        display: none;
    }

    .works-main-content {
        padding-left: 0;
        width: 100%;
    }

    .works-information {
        width: 100%;
        padding-bottom: 0;
        margin-top: 30px;
        flex-direction: column;
        justify-content: space-evenly;
        align-items: center;
        font-size: 20px;
    }

    .works-information p, .works-information h3 {
        font-size: 14px !important;
    }

    .works-displayed-image {
        height: unset;
    }

    .works-button-row {
        font-weight: 700;
        margin-top: 50px;
    }

    .viewer-previous-button {
        padding-left: 7px;
    }

    .displayed-image-container {
        width: 100%;
    }

    .next-button-container, .previous-button-container {
        display: none;
    }

    .viewer-next-button {
        padding-bottom: 50px;
    }

    .viewer-image-info {
        flex-direction: column;
        margin-top: 20px;
    }

    .works-displayed-image.big-image {
        max-width: 80%;
    }

    .works-button-row.mobile-section {
        display: flex;
        margin-top: 20px;
    } 

    .exit-viewer-button-mobile {
        position: absolute !important;
        display: flex !important;
        top:5px;
        right: 20px;
        cursor: pointer;
        color:rgb(51,51,51);
        top: 15px;
    }

    .collection-item {
        width: 150px;
        height: 140px;
    }

    .viewer-image-info {
        visibility: visible;
        opacity: 0.9;
    }
    .collection-image-info-container {
        opacity: 0.4;
        word-wrap: anywhere;
    }

}