html,
body {
    width: 100%;
    height: 100%;
    margin: 0px;
}

body {
    min-height: 100%;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    background-color: #F6F2E5;
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 400;
}

main {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 80%;
    width: 100%;
}


main,
header,
footer {
    flex-shrink: 0;
}

header {
    display: flex;
    flex-direction: row;
    height: 110px;
    width: 100%;
}


nav {
    display: flex;
    flex-direction: row;
    /* flex-wrap: wrap; */
    justify-content: center;
    /* border-bottom: 1px solid grey; */
    /* margin: 5%; */
    width: 100%;
    /* background-color: cyan; */
}

nav a {
    /* padding: 1em; */
    text-decoration: none;
    color: black;
    align-self: center;
    /* margin-right: 50px; */
}

.navbar-left li {
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    align-items: center;
    list-style-type: none;
    margin: 0%;
}

.webname {
    width: 80%;
    padding-left: 8px;
    /* background-color: pink; */
}

.logo {
    width: 15%;
    /* background-color: #bf0603; */
}

.logo img {
    height: 100%;
    width: 100%;
    margin: 0%;
    padding: 0%;
    padding-bottom: 5px;
}

.versionTwo ul {
    display: flex;
    flex-direction: row;
    justify-content: flex-end;
    align-items: center;
    list-style-type: none;
    width: 50%;
    margin: 0%;
    padding: 0%;
    /* background-color: olive; */
}

.navbar-right li {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    list-style-type: none;
    margin-right: 5%;
    /* background-color: #bf0603; */
}

.navbar-right li .burger-button {
    display: none;
}


footer {
    display: flex;
    flex-direction: row;
    justify-content: center;
    /* background-color: brown; */
}

h1 {
    display: inline;
    /* display: flex;
    flex-direction: row;
    justify-content: flex-end;
    padding-right: 50%; */
    font-weight: 700;
    padding-top: 0;
    padding-bottom: 0;
}

h1 a {
    padding: 0;
    margin: 0;
}


#upperDiv {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    height: 50%;
    padding-bottom: 4px;
}

#bottomDiv {
    height: 50%;
    display: flex;
    flex-direction: column;
    /* background-color: #C6AED0; */
}

.square {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    /* background-color: #EBA24E; */
    height: 100%;
    width: 49.8%;
}

.square:hover div {
    background-color: #3f37c9;
    transition-property: background-color;
    transition-duration: 1s;
    transition-timing-function: ease-in;
    transition-delay: 0.1s;
}

.squareA {
    display: flex;
    flex-direction: row;
    justify-content: center;
    background-color: #554F2B;
    height: 100%;
    width: 0;
}

.squareAMove {
    width: 49.8%;
    background-color: #EBA24E;
    transition-property: width, background-color;
    transition-duration: 1s;
    transition-timing-function: ease-in;
    transition-delay: 0.5s;
}

.squareB {
    background-color: #554F2B;
    height: 0%;
    width: 0%;
    position: relative;
    display: flex;
    flex-direction: row;
    justify-content: flex-end;
}

/*REVIEW NOT WORKING*/
.squareBMove {
    border-radius: 0%;
    width: 49.8%;
    height: 100%;
    background-color: #EBA24E;
    transition-property: height, background-color;
    transition-duration: 1s;
    transition-timing-function: ease-in;
    transition-delay: 0.5s;
}

/* .square:hover {
    background-color: purple;
    transition-timing-function: ease-in;
    transition: 1s;
} */

.squareTwo {
    display: flex;
    flex-direction: column;
    height: 100%;
    width: 50%;
}

.rect {
    display: flex;
    flex-direction: row;
    justify-content: flex-end;
    align-self: flex-end;
    background-color: #EBA24E;
    margin-bottom: 4px;
    height: 49.6%;
    width: 0%;
}

.rectMove {
    /* background-color: #554F2B;
    margin-bottom: 4px;
    height: 49.6%; */
    background-color: #554F2B;
    width: 100%;
    transition-property: width, background-color;
    transition-duration: 1s;
    transition-timing-function: ease-in;
    transition-delay: 0.5s;
}

.rectTwo {
    background-color: #D95136;
    height: 49.6%;
    width: 0%;
}

.rectTwoMove {
    width: 100%;
    transition-property: width;
    transition-duration: 1s;
    transition-timing-function: ease-in;
    transition-delay: 0.5s;
}

.squareTwo:hover .rect {
    background-color: #bf0603;
    transition-property: background-color;
    transition-duration: 1s;
    transition-timing-function: ease-in;
    transition-delay: 0.1s;
}

.squareTwo:hover .rectTwo {
    background-color: #3a0ca3;
    transition-property: background-color;
    transition-duration: 1s;
    transition-timing-function: ease-out;
    transition-delay: 0.1s;
}

#bottomDiv:hover div {
    background-color: #4f772d;
    transition-property: background-color;
    transition-duration: 1s;
    transition-timing-function: ease-in;
    transition-delay: 0.1s;
}

.reactSquare1 {
    background-color: #4f772d;
    height: 33%;
    width: 0%;
    margin-bottom: 4px;
}

.reactSquare1Move {
    background-color: #C6AED0;
    width: 100%;
    transition-property: width, background-color;
    transition-duration: 1s;
    transition-timing-function: ease-in;
    transition-delay: 0.5s;
}

.reactSquare2 {
    background-color: #4f772d;
    height: 33%;
    width: 0%;
    margin-bottom: 4px;
}

.reactSquare2Move {
    background-color: #C6AED0;
    width: 100%;
    transition-property: width, background-color;
    transition-duration: 1s;
    transition-timing-function: ease-out;
    transition-delay: 0.5s;
}

.reactSquare3 {
    background-color: #4f772d;
    height: 33%;
    width: 0%;
}

.reactSquare3Move {
    background-color: #C6AED0;
    width: 100%;
    transition-property: width, background-color;
    transition-duration: 1s;
    transition-timing-function: cubic-bezier(0.85, 0, 0.15, 1);
    transition-delay: 0.5s;
}

#galleryUpper {
    display: flex;
    flex-direction: row;
    height: 50%;
    width: 100%;
    /* background-color: #D95136; */
}

.title {
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    width: 50%;
    height: 100%;
    /* background-color: #C6AED0; */
    margin-left: 10%;
}

.text {
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    width: 50%;
    height: 90%;
    /* background-color: #EBA24E; */
    margin-right: 10%;
    padding-bottom: 30px;
}

.galleryBottom {
    /* display: flex;
    flex-direction: row;
    justify-content: center; */
    height: 50%;
    width: 100%;
    /* background-color: #554F2B;
    background-image: url(../img/SFMOMA_Henrik-Kam.jpg); */
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

.dot {
    height: 60px;
    width: 60px;
    border-radius: 50%;
    background-color: black;
    margin-left: 30px;
}

h2 {
    font-size: 8em;
    margin: 30px;
    padding-bottom: 0;
    margin-bottom: 0;
    display: flex;
    flex-direction: row;
    line-height: 1em;
}

span {
    color: black;
    font-size: 1em;
    display: flex;
    margin-bottom: 0;
    padding-bottom: 0;
}

.onLoadAnimation {
    position: relative;
    transform: translateY(-100vh);
    animation: fall 1s forwards;
    animation-iteration-count: 1;
}

@keyframes fall {
    100% {
        transform: translateY(0);
    }
}

/* animation: name duration timing-function delay iteration-count direction fill-mode play-state; */

.test .onLoadAnimation:nth-child(2) {
    animation-delay: 0.1s;
}

.test .onLoadAnimation:nth-child(3) {
    animation-delay: 0.2s;
}

.test .onLoadAnimation:nth-child(4) {
    animation-delay: 0.3s;
}

.test .onLoadAnimation:nth-child(5) {
    animation-delay: 0.4s;
}

.test .onLoadAnimation:nth-child(6) {
    animation-delay: 0.5s;
}

.test .onLoadAnimation:nth-child(7) {
    animation-delay: 0.6s;
}

.test2 .onLoadAnimation:nth-child(1) {
    animation-delay: 0.1s;
}

.test2 .onLoadAnimation:nth-child(2) {
    animation-delay: 0.12s;
}

.test2 .onLoadAnimation:nth-child(3) {
    animation-delay: 0.3s;
}

.test2 .onLoadAnimation:nth-child(4) {
    animation-delay: 0.4s;
}

.test2 .onLoadAnimation:nth-child(5) {
    animation-delay: 0.5s;
}

.test2 .onLoadAnimation:nth-child(6) {
    animation-delay: 0.6s;
}

.test2 .onLoadAnimation:nth-child(7) {
    animation-delay: 0.7s;
}

.test2 .onLoadAnimation:nth-child(8) {
    animation-delay: 0.8s;
}

/* .spanHoverEffect {
    color: #0f4c5c;
    animation: animate 0.6s;
} */

.spanHoverEffect {
    color: #0f4c5c;
    animation: animate 0.6s;
}

@keyframes animate {
    25% {
        transform: scale(0.8, 1.3);
    }

    50% {
        transform: scale(1.1, 0.8);
    }

    75% {
        transform: scale(1.1, 0.8);
    }
}

div p {
    margin: 0px 20% 5px 20%;
    line-height: 1.5em;
}

#artistPage {
    flex-grow: 1;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    height: 80%;
    width: 100%;
    /* background-color: #D95136; */
}

#artistLeft {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 90%;
    width: 50%;
    /* background-color: #554F2B; */
}

#artistRight {
    height: 90%;
    width: 30%;
    background-image: url(../img/artist.jpg);
    background-position: center;
    background-repeat: no-repeat;
    background-size: contain;
    /* background-color: #554F2B; */
    margin: 10px 10% 10% 5%;
    /* filter: grayscale(50%); */
    /* background-color: #EBA24E; */
}

.dotTwo {
    height: 60px;
    width: 60px;
    border-radius: 50%;
    background-color: black;
    margin-left: 20%;
}

.textTwo p {
    margin: 0px 10% 5px 30%;
    line-height: 1.5em;
}

.textTwo {
    padding-top: 25px;
    padding-bottom: 80px;
    /* background-color: #C6AED0; */
}

.titleTwo {
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    width: 80%;
    height: 100%;
    /* background-color: #C6AED0; */
    margin-left: 10%;
}

#artRight {
    height: 90%;
    width: 30%;
    /* background-image: url(../img/art.jpg); */
    /* background-position: center;
    background-repeat: no-repeat;
    background-size: contain; */
    margin: 10px 10% 10% 5%;
    /* background-color: #EBA24E; */
}

.museum {
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    width: 50%;
    height: 75%;
    /* background-color: #EBA24E; */
    margin-right: 10%;
    padding-bottom: 30px;
    padding-top: 80px;
    margin-bottom: 30px;
}

.accordion dt {
    background-color: #EBA24E;
    padding: 0.2em 1em;
    color: white;
    border-radius: 5px 5px 0px 0px;
}

.accordion dd {
    padding: 10px;
    border: 2px solid #EBA24E;
    margin: auto;
    display: none;
    border-radius: 0px 0px 5px 5px;
    /* height: 80%; */
}

.accordion dt~dt {
    margin-top: 0.5em;
}

.accordion dl,
dt,
dd {
    width: 100%;
    margin: 0 auto;
    box-sizing: border-box;
}

.accordion dd p {
    margin-left: 0%;
    margin-right: 0%;
    width: 100%;
    line-height: 1.5em;
}

a {
    color: #D95136;
}

a:hover {
    font-weight: 700;
}

.versionTwo {
    display: flex;
    flex-direction: row;
    /* flex-wrap: wrap; */
    justify-content: space-between;
    border-bottom: 1px solid grey;
    margin-right: 0%;
    /* background-color: cyan; */
}

.versionTwo a {
    padding-right: 1em;
    text-decoration: none;
    color: black;
    align-self: center;
    /* margin-right: 30px; */
}

.footerTwo {
    z-index: 10;
    background-color: #D95136;
    color: white;
    flex-shrink: 0;
    position: fixed;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    bottom: 0;
}

.textThree p {
    margin: 0px 10% 5px 30%;
    line-height: 1.5em;
}

.textThree {
    padding-top: 25px;
    padding-bottom: 125px;
    /* background-color: #C6AED0; */
}

.artData dt {
    width: 70%;
    display: inline-block;
    margin: 0px 10% 5px 30%;
    font-weight: 700;
    border-bottom: 1px solid black;
}

.artData dd {
    width: 70%;
    display: inline-block;
    margin: 0px 10% 5px 35%;
    padding-top: 10px;
    padding-bottom: 10px;
}

.gallery-item:hover {
    transition: all 0.5s;
    filter: grayscale(80%);
    cursor: pointer;
}

/* Initially hide the hidden menu */
.hidden-menu,
#burger-button {
    display: none;
}

#burger-button {
    z-index: 15;
}

.bar {
    width: 30px;
    height: 3px;
    background-color: #000;
    margin: 6px 0;
}

.overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #F6F2E5;
    /* Semi-transparent black overlay */
    color: black;
    justify-content: center;
    align-items: center;
    z-index: 10;
    /* Adjust the z-index as needed */
    transition: opacity 0.6s ease-in-out;
    opacity: 0;
}

.overlay.active {
    display: flex;
    /* Use flex when active */
    opacity: 1;
    /* Change opacity to 1 when active */
}