* {
    margin: 0px;
    font-family: Arial, Helvetica, sans-serif;
    
}

/* Start of Main */

#mainContainer {
    background-color: whitesmoke;
    margin: 5px;
    height: 700px;
    align-content: center;
    display:flex;
}

#mainContainerLeft {
    background-color: white;
    height: 680px;
    flex: 1;
    vertical-align: top;
    margin: 10px 0px 10px 10px;
    align-items: center;
    justify-content: center;
    display:flex;
}

.mainTextContainer {
    background-color: white;
    height: 225px;
    width: 600px;
    border-radius: 10px;
    scale: 1.1;
    margin-bottom: 120px;
}

.mainTextRow1 {
    background-color: white;
    height: 180px;
    display: flex;
}

.mainTextRow2 {
    background-color: white;
    height: 45px;
}

.mainTextRow1Left {
    background-color: white;
    height: 180px;
    width: 360px;
    display: inline-block;
}

#whereMainText {
    font-family: 'Lemon Milk', sans-serif;
    text-align: center;
    vertical-align: middle;
    line-height: 250px;
    font-size: 100px;
}

#modernMainText {
    font-family: 'Lemon Milk', sans-serif;
    font-size: 50px;
    line-height: 1;
    letter-spacing: 3px;
}

#artMainText {
    font-family: 'Lemon Milk', sans-serif;
    font-size: 50px;
    line-height: 1;
    letter-spacing: 3px;
}

#meetsMainText {
    font-family: 'Lemon Milk', sans-serif;
    text-align: center;
    font-size: 50px;
    line-height: 45px;
    letter-spacing: 0px;
}

#livinghistoryMainText {
    font-family: 'Lemon Milk', sans-serif;
    text-align: center;
    font-size: 65px;
    line-height: 1;
    letter-spacing: 5px;
}

#modernMainText,
#artMainText,
.livingHistortText,
#livinghistoryMainText {
    position: relative;
    display: inline-block;
    cursor: pointer;
    transition: transform 0.3s ease, text-shadow 0.3s ease, color 0.3s ease;
}

#modernMainText::after,
#artMainText::after,
.livingHistortText::after,
#livinghistoryMainText::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background-color: gold;
    transform: scaleX(0);
    transform-origin: bottom right;
    transition: transform 0.3s ease-out;
}

#modernMainText::after,
#artMainText::after{
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background-color: black;
    transform: scaleX(0);
    transform-origin: bottom right;
    transition: transform 0.3s ease-out;
}

#modernMainText:hover,
#artMainText:hover,
.livingHistortText:hover,
#livinghistoryMainText:hover {
    transform: translateY(-4px);
}

#modernMainText:hover::after,
#artMainText:hover::after,
.livingHistortText:hover::after,
#livinghistoryMainText:hover::after {
    transform: scaleX(1);
    transform-origin: bottom left;
}

.livingHistortText {
    font-family: 'Lemon Milk', sans-serif;
    line-height: 1;
}

.livingHistortText:hover {
    color: gold;
}

.mainTextRow1Right {
    width: 300px;
    height: 250px;
    display: flex;
    flex-direction: column;
}

.mainTextRow1RightTop {
    background-color: white;
    height: 125px;
    width: 240px;
    display: flex;
    justify-content: flex-start;
    align-items: flex-end;
}

.mainTextRow1RightBottom {
    background-color: white;
    height: 55px;
    width: 240px;
    display: flex;
    justify-content: flex-start;
    align-items: flex-start;
}

#mainContainerRight {
    background-color: white;
    height: 680px;
    flex: 1;
    vertical-align: top;
    margin: 10px 10px 10px 0px;
    align-items: center;
    justify-content: center;
    display:flex;
}

.pictureCollageContainer {
    position: relative;
    height: 680px;
    width: 640px;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    color: white;
}

.pictureCollage {
    position: absolute;
    border-radius: 14px;
    object-fit: cover;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.25);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
}

.item-1 {
    object-fit: cover;
    width: 400px;
    height: 300px;
    margin: 10px;
    top: 10px;
    left: 10px;
    z-index: 2;
}

.item-2 {
    object-fit: cover;
    width: 400px;
    height: 300px;
    margin: 10px;
    z-index: 3;
}

.item-3 {
    object-fit: cover;
    width: 400px;
    height: 300px;
    margin: 10px;
    bottom: 10px;
    right: 0;
    z-index: 1;
}

.pictureCollage:hover {
    z-index: 9;
    transform: scale(1.05);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.35);
}

#mainImg {
    height: 680px; 
    width: 640px;
    border-radius: 10px;
}
/* Information Container */
.informationContainer {
    background-color: white;
    margin: 25px 15px;
    padding: 50px 40px;
    border-radius: 10px;
}

.exhibitionHeader {
    max-width: 1200px;
    margin: 0 auto 35px auto;
}

.sectionTitle {
    font-family: 'Lemon Milk', sans-serif;
    font-size: 28px;
    letter-spacing: 2px;
    margin-bottom: 10px;
}

.lineSeperation {
    background-color: black;
    height: 2px;
    width: 100%;
}

.exhibitionGrid {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 25px;
}

.exhibitionCard {
    background-color: whitesmoke;
    width: 370px;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid #e5e5e5;
    display: flex;
    flex-direction: column;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.exhibitionCard:hover {
    transform: translateY(-6px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.12);
}

.exhibitionImageBox {
    width: 100%;
    height: 230px;
    background-color: #ddd;
}

.exhibitionImage {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.exhibitionTextBox {
    padding: 20px;
    background-color: white;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 10px;
}

.mainExhibitionTitle {
    font-family: 'Lemon Milk', sans-serif;
    font-size: 18px;
    line-height: 1.3;
    color: black;
}

.exhibitionMeta {
    font-size: 13px;
    color: gray;
    font-weight: bold;
}
/* End of Main */

/*hover*/

body:has(.visitsNav:hover, .learnNav:hover, .supportNav:hover, .aboutUsNav:hover) {
  overflow: hidden;
}

.ButtonMainHeader:hover {
    cursor:pointer;
}

.visitsNav:hover .visitsDrop, .learnNav:hover .learnDrop, .supportNav:hover .supportDrop, .aboutUsNav:hover .aboutUsDrop{
    visibility: visible;
    opacity: 1;
}

.visitsNav:hover .blackDrop, .learnNav:hover .blackDrop, .supportNav:hover .blackDrop, .aboutUsNav:hover .blackDrop{
    visibility: visible;
    opacity: 0.3;
}


.bookButton:hover {
    background-color: white;
    color:black;
    border: 2px solid black;
}

.bookButton:hover .bookDrop{
    visibility: visible;
    opacity: 1;
}