/* GLOBAL STYLES */
*{
    box-sizing: border-box;
}

body{
    background-color: rgb(243, 224, 139);
    font-family:Verdana, Geneva, Tahoma, sans-serif;
    margin:0px;
    color: #103865;
}

header, footer{
    background-color: #a4c7ff;
    padding:10px;
}

header{
    position: sticky;
    top: 0;
    border-bottom:20px double #df909c
}

footer{
    font-size:10px;
    display: flex;
    justify-content: space-between;
}

img{
    max-width: 100%;
    height:auto;
}

.citations{
    background-color: #F3bd63;
    border:6px dotted #df909c; 
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    margin: 8% 10%;
    padding: 2%;
}

.citations a{
    color:#7e0950; /* Deep purple for links */
    text-decoration: none;
    transition: color 0.3s ease;
}

.citations a:hover{
    color:#df909c
}

.citations p{
    margin: 2%;
    padding-left: 1%;
    width: 100%;
    max-width: 100%;
    overflow-wrap: break-word; /* Breaks long words */
    word-break: break-word;
}

/* HOMEPAGE STYLES */
.homepage-card{
    height: 125px;
    background-attachment: fixed;
    display:flex;
    justify-content: center;
    align-items: center;
    margin: 5px 0px;
    width: 100%;
    background-size: cover; 
    overflow: hidden;
}

#homeimg1{
    background-image: url(../img/tenlargest_no1.jpg);
    background-position: center;
}

#homeimg2{
    background-image:url(../img/tenlargest_no2.jpg);
    background-position: center;
}

.title-container{
    display:flex;
    flex-direction: column;
    justify-content:center;
    align-items: center;
}

.page-title, .page-title2 {
    margin: 0; 
    padding: 0; 
}

.page-title2{
    color: #103865;
    font-size: 1.5rem;
}

.page-title{
    color: #7e0950;
    font-size: 350%;
    font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
    font-weight: bolder;
    word-spacing: 3px;
    text-align: center;
    line-height: 1.0;
}

#homeimg3{
    background-image:url(../img/tenlargest_no3.jpg);
    background-position: center;
}

#homeimg4{
    background-image:url(../img/tenlargest_no4.jpg);
    background-position: center;
}

#homeimg5{
    background-image:url(../img/tenlargest_no5.jpg);
    background-position: center;
}

.home-body-container{
    padding-left: 8%;
    padding-right: 8%;
    padding-top:2%;
    padding-bottom: 2%;
}

#homeimg6{
    background-image:url(../img/tenlargest_no6.jpg);
    background-position: center 50px;
}

#homeimg7{
    background-image:url(../img/tenlargest_no7.jpg);
    background-position: center 50px;
}

#home-video{
    width: 80%;
    max-width: 900px; 
    min-width: 300px; 
    margin: 1% auto; 
    height: auto;
    display: flex;
    justify-content: center;
    align-items: center;
}

 iframe{
    width: 100%;
    height: 500px;
 }

 #homeimg8{
    background-image:url(../img/tenlargest_no8.jpg);
    background-position: center;
}

#homeimg9{
    background-image:url(../img/tenlargest_no9.jpg);
    background-position: center;
}

#homeimg0{
    background-image:url(../img/tenlargest_no10.jpg);
    background-position: center -150px;
}

/* ARTIST BIO */
.artist-headline{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.page-title3{
    color:#7e0950;
    font-size: 450%;
    font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
    word-spacing: 3px;
    margin: 0;
    margin-top: 2%;
    margin-bottom: 1%;
    text-align: center;
}

.artist-quote{
    margin: 0%;
    padding: 0% 15%;
    padding-bottom: 3%;
    text-align: center;
    font-size: 150%;
    font-family: monospace;
    color:#ff6c1f;
}

#bio-image1{
    display: block;
    margin: 0 auto;
    max-width: 35%;
    height: auto;
    border-radius: 50%;
    border: 30px dotted #F3bd63;
}


.bio-text-container{
    display: flex;
    flex-direction: column; 
    align-items: left;
    justify-content: center;
    padding: 0% 3%;
}

.bio-text-section h2 {
    margin-bottom: 1%; /* Reduces the space below the h2 */
}

.bio-image{
    max-width: 60%;
    margin: 0 auto; 
    display: block; 
    border: 10px solid #df909c;
}

.bio-year{
    font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
    color:#ff6c1f;
    font-size: 200%;
}

/* COLLECTION STYLES */
.collection-header{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

#install-img{
    width: 100%;
    max-height: 700px;
    object-fit: cover;
}

#collection-text{
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    margin-top: 3%;
    gap: 3%;
}

#collection-text img{
    width: 150px;
    height: 150px;
}

.group-title{
    font-size: 250%;
    color: #ff6c1f;
}

.collection-copy{
    margin: 0% 5%;
}

.gallery-box{
    display: flex;
    flex-direction:row ;
    flex-wrap: wrap;
    justify-content: center;
    align-items:center;
    gap: 10%;
    margin-top: 2%;

}

.image-box{
    display: flex;
    flex-direction:column;
    justify-content: center;
    align-items: center;
    max-width: 500px;
    height: auto;
}

.image-box p{
    background-color: #F3bd63;
    padding: 2%;
    margin:0;
}


/* FOOTER STYLES */
footer{
    display: flex;
    align-items: center;
    justify-content: space-between; 
    padding: 10px 30px;
    font-size: .75rem;
}

footer a:hover{
    color: #ff6c1f;
}

/*NAVBAR STYLES*/
a{
    text-decoration: none;
}
.menu-item {
    font-size:1.5rem;
    font-weight: bold;
    margin:20px;
}

.menu-item:hover{
    color: #ff6c1f;
}

nav{
    display:flex;
    justify-content: space-between;
    align-items: center;
    height:50px;
    padding:10px;
}

.fa{
    color: #103865;
}



/*HIDE THE DESKTOP NAV ON MOBILE*/
.desktop-nav{
    display:none;
}

/*THE HAMBURGER MENU*/

            .sidenav {
            height: 100%;
            width: 0;
            position: fixed;
            z-index: 1;
            top: 0;
            left: 0;
            background-color: #103865;
            overflow-x: hidden;
            transition: 0.5s;
            padding-top: 60px;
            }


            .sidenav a {
            padding: 8px 8px 8px 32px;
            text-decoration: none;
            font-size: 25px;
            color: #ff6c1f;
            display: block;
            transition: 0.3s;
            }

            .sidenav a:hover {
            color: #df909c
            }

            .sidenav .closebtn {
            position: absolute;
            top: 0;
            right: 25px;
            font-size: 36px;
            margin-left: 50px;
            }

@media screen and (min-width:1081px){
     /*Hide the mobile nav once the screen is 1081 pixels wide*/
    .mobile-nav{
        display:none;
    }
    /*Show the desktop nav*/
    .desktop-nav{
        display:flex;

    }   
}

@media (max-width: 600px) {
    footer {
        flex-direction: column;
        text-align: center;
    }
}

/* Adjust size for smaller screens */
@media screen and (max-width: 768px) {
    #bio-image1 {
        max-width: 70%; /* Makes the image larger on mobile */
        border-width: 20px; /* Adjust border thickness for mobile */
    }
    .bio-image{
        max-width: 100%;
    }
}
@media screen and (min-width: 768px) { 
    .page-title, .page-title3 {
        font-size: 6rem; 
    }
}
@media screen and (max-width: 768px) {
    .homepage-card {
        background-size: contain;
        height: 100px;
    }
}
