/*
Author: Paul Kim
Date: April 21, 2023
Version: 2.0
Stylesheet for art gallery web app
*/

@import url(./normalize.css);

@font-face {
    font-family: 'Bough';
    src: url(../font/Bough-Regular.otf);
}

html {
    box-sizing: border-box;
    background-color: rgb(243, 185, 172);
}

* {
    box-sizing: inherit;
}

main {
    flex: 1;
}

footer p {
    text-align: center;
    font-size: 20px;
    padding-bottom: 20px;
}

.content {
    padding: 0 18px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.2s ease-out;

}

.pointer {
    width: 15px;
    height: auto;
}

.scrollable {
    display: flex;
    overflow-x: scroll;
    width: 100%;
    -webkit-overflow-scrolling: touch;
    scrollbar-color: rgb(255, 85, 74) white;
}

.collapsible a {
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    color: white;
    margin-left: 10px;
    margin-right: 10px;
    margin-bottom: 5px;
    margin-top: 5px;
    background-color: rgb(255, 85, 74);
    padding: 13px;
    border-radius: 10px;
    font-size: 20px;

}

.collapsible a:focus {
    background-color: orange;
}

.collapsible a {
    text-decoration: none;
    color: white;
}

.image {
    margin-top: 10px;
    margin-bottom: 10px;
    margin-right: 10px;
    max-height: 300px;
    height: auto;
}

.lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    opacity: 0;
    transition: opacity 0.5s;
}

.lightbox-image {
    max-width: 100%;
    max-height: 100%;
}

.lightbox.fade-in {
    opacity: 1;
}

.lightbox.fade-out {
    opacity: 0;
}

.image-container {
    position: relative;
    display: inline-block;
  }

  .image-container img {
    display: block;
    width: 100%;
    height: auto;
  }

.soldout {
    background: rgba(0, 0, 0, 0.6);
    position: relative;
    width: 100%;
    height: 100%;
    z-index: 9999;
}

.soldout-text{
    color: rgb(255, 255, 255);
    font-family: 'Bough';
    font-size: 3rem;
    text-align: center;
    padding-top: 60%;

}

h1,
h2,
h3,
h4,
p,
a,
button {
    font-family: 'Bough';
}

#wrapper {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    font-family: 'Bough';
    background-color: rgb(243, 185, 172);
    color: white;
    scroll-behavior: smooth;
    max-width: 600px;
    margin: auto;
}

#shop-link {
    text-decoration: none;
    color: white;
    padding: 15px;
}

#myBtn {
    opacity: 0;
    position: fixed;
    bottom: 20px;
    right: 30px;
    z-index: 99;
    border: none;
    outline: none;
    background-color: rgb(57, 57, 207);
    color: white;
    cursor: pointer;
    padding: 15px;
    border-radius: 10px;
    font-size: 18px;
    transition: opacity 0.2s ease-in-out;
}

#myBtn:hover {
    background-color: orange;
}

#myBtn2 {
    opacity: 0;
    position: fixed;
    bottom: 20px;
    right: 30px;
    z-index: 99;
    border: none;
    outline: none;
    background-color: rgb(57, 57, 207);
    color: white;
    cursor: pointer;
    padding: 15px;
    border-radius: 10px;
    font-size: 18px;
    transition: opacity 0.2s ease-in-out;
}

#myBtn2:hover {
    background-color: orange;
}

#pointer-top {
    color: white;
    transform: rotate(180deg);
}

@media (min-width:700px) {
    #wrapper {
        display: none;
    }
}