@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300..700;1,300..700&family=Italianno&display=swap');

/* =========================
   RESET
========================= */
* {
  margin: 0;
  padding: 0;
  list-style: none;
  box-sizing: border-box;
}

html, body {
  height: 100%;
  scroll-behavior: smooth;
}

/* =========================
   BASE LAYOUT
========================= */
body {
  background-color: #111;
  background-repeat: no-repeat;
  background-attachment: fixed;
  margin: 0;
}

main {
  margin-top: 3%;
}

/* =========================
   NAVIGATION
========================= */

nav ul {
  display: flex;
  align-items: center;
  gap: 3rem;
  padding: 1% 4%;
  margin: 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.5);
}

nav ul li a {
  display: block;
  color: #fffff5;
  text-decoration: none;
  font-size: 1.8rem;
  font-family: "Italianno", cursive;
  padding: 14px 16px;
  transition: color 0.3s ease;
}

nav ul li a:hover {
  color: #FF6868;
}


#push {
  margin-left: auto;
}
nav {
	background-color: rgba(17, 17, 17, .8);
}
#home-nav a {
	 color: #FF6868;
	   transition: color 0.3s ease;
	   font-size:3rem;
}
#home-nav a:hover {
	color:#fffff5;
}

/* hamburger */
.hamburger {
  display: none;
  font-size: 2rem;
  background: none;
  border: none;
  color: #fffff5;
  padding: 1rem;
  cursor: pointer;
}

/* =========================
   HOME SECTION
========================= */
#home {
  height: 100vh;
  background-image: url(../images/rose-bg.jpg);
  background-repeat: no-repeat;
  background-size: cover;
}

#home ul {
  visibility: hidden;
}

/* =========================
   BUTTON
========================= */
.button {
  color: #fffff5;
  width: 40%;
  border: 1px solid #fffff5;
  padding: 3%;
  transition: background-color 0.3s ease;
}

.button:hover {
  background-color: rgba(255, 255, 255, 0.1);
}

#bigButton {
  text-align: center;
  padding: 2%;
  font-size: 3rem;
  font-family: "Italianno", cursive;
  margin-top: 15rem;
}
.to-top-button {
	  position: fixed;
  bottom: 20px;
  right: 10px;
  width:75px;
  height:auto;
  filter: brightness(.8);
  transition: filter .5s ease-in-out;
}
.to-top-button:hover {
	  filter: brightness(1.2);
}

/* =========================
   TYPOGRAPHY
========================= */
h1 {
  color: #fffff5;
  font-family: "Italianno", serif;
  font-weight: bold;
  font-size: 60px;
}

p {
  color: #fffff5;
  font-size: 22px;
  line-height: 30px;
  font-family: "Cormorant Garamond", serif;
  font-weight:500;
}

.photo-caption {
  font-size: 14px;
}

/* =========================
   FLEX LAYOUT
========================= */
.flexbox {
  display: flex;
  gap: 6%;
  margin: 0 8%;
  margin-top: 1%;
   align-items:center;
   padding-bottom:3%;
}

.flexbox img {
  max-width: 600px;
  border-radius: 2%;
}

.flexbox p {
  margin-top: 2%;
}

/* width helpers */
.A60 {
  width: 80%;
 
}

.A80 {
  width: 38%;
  margin: 1% 8%;
  padding-bottom:3%;
  padding-top:2%;
   border-bottom: 1px solid rgba(255, 255, 255, 0.5);
}
#art_history_hero {
 min-height: 70vh;
 height:auto;
  background-image: url(../images/venus.png);
  background-repeat: no-repeat;
  background-size: cover;
  background-position: top; 
  	position: relative;
}

#art_nav_p {
	 position: absolute; bottom: 0; right: 0;
	 width:70%;
	   z-index: 0;
	
	 background-color: rgba(17, 17, 17, 0.8);
	 padding:2%;
	  padding-right:10%;
}

#artists {
  display: flex;
  flex-wrap: wrap;              
  gap: 2rem;                    
  justify-content: center;      
  padding: 2rem;
  color: #fffff5;
  font-family: "Cormorant Garamond", serif;
  font-weight:500;
  font-size:1.4rem;
  width:100%;
}

#artists li {
  list-style: none;
  width: 270px;                
  text-align: center;
  line-height: 1.4;
}

#artists img {
  width: 100%;
  max-height: auto;
  max-width: 270px;
  border-radius: 6px;         
  margin-bottom: 0.75rem;
  transition: transform 0.3s ease, filter 0.3s ease;
  margin-top:4%;
}

#spacing {
	padding-bottom: 3%;
	border-bottom: 1px solid rgba(255, 255, 255, 0.5);
	margin-bottom:3%;
}

.flexbox-art {
	width:100%;
	display:flex;
	justify-content:space-between;
	padding-bottom:3%;
		margin-bottom:3%;
	border-bottom: 1px solid rgba(255, 255, 255, 0.5);
}
#marie {
text-align:center;	
padding-bottom:3%;
	border-bottom: 1px solid rgba(255, 255, 255, 0.5);
}
#marie p {
	margin-bottom:1%;
}

#marie img{
	padding:1%;
}


* {box-sizing:border-box}

/* Slideshow container */
.slideshow-container {
  max-width: 1000px;
  position: relative;
  margin: auto;
}

/* Hide the images by default */
.mySlides {
  display: none;
}

/* Next & previous buttons */
.prev, .next {
  cursor: pointer;
  position: absolute;
  top: 50%;
  width: auto;
  margin-top: -22px;
  padding: 16px;
  color: #fffff5;
  font-weight: bold;
  font-size: 18px;
  transition: 0.6s ease;
  border-radius: 0 3px 3px 0;
  user-select: none;
}


.next {
  right: 0;
  border-radius: 3px 0 0 3px;
}


.prev:hover, .next:hover {
  background-color: rgba(0,0,0,0.8);
}

/* Caption text */
.text {
  color: #f2f2f2;
  font-size: 15px;
  padding: 8px 12px;
  position: absolute;
  bottom: 8px;
  width: 100%;
  text-align: center;
}

/* Number text (1/6 etc) */
.numbertext {
  color: #f2f2f2;
  font-size: 12px;
  padding: 8px 12px;
  position: absolute;
  top: 0;
}

/* The dots/bullets/indicators */
.dot {
  cursor: pointer;
  height: 15px;
  width: 15px;
  margin: 0 2px;
  background-color: #bbb;
  border-radius: 50%;
  display: inline-block;
  transition: background-color 0.6s ease;
}

.active, .dot:hover {
  background-color: #717171;
}

/* Fading animation */
.fade {
  animation-name: fade;
  animation-duration: 1.5s;
}

@keyframes fade {
  from {opacity: .4}
  to {opacity: 1}
}
/* =========================
   FOOTER
========================= */
footer {
  background-color: #260909;
  color: #fffff5;
  font-family: "Cormorant Garamond", serif;
  font-weight:500;
  margin-top: 2%;
  padding-bottom: 1%;
}

footer h2 {
  font-size: 2.7rem;
  font-weight: bold;
  padding: 2% 0 0 3%;
  padding-bottom: 1%;
  margin-bottom:2%;
  text-align:center;

   
  
}

footer h3 {
  font-size: 2rem;
  font-weight: bold;
}

.footer_flexbox {
  display: flex;
  gap: 3rem;
  align-items: center;
  margin: 0 3%;
  color: #fffff5;
}

.footer_flexbox ul {
  display: flex;
  flex-direction: column;
  gap: 16px;
   border-right: 1px solid rgba(255, 255, 255, 0.5);
   padding-right:2%;
    color: #fffff5 !important;
}

.copyright {
  text-align: center;
  margin-top: 3%;
  font-size:1.2rem;
   color: #fffff5;
}

#borderwhite {
	  border-bottom: 1px solid rgba(255, 255, 255, 0.5);
}


.dark-filter {
filter: brightness(0.85);
}
#center {
	text-align:center;
	margin-bottom:2%;
	
	
}
.halfnhalf {
	  flex: 0 0 50%;
  max-width: 48%;
}

.halfnhalf p{
	width:80%;
	padding-bottom:2%;
}
#modern-halfs {
	margin-top:3%;
	padding-top:2%;
	border-top: 1px solid rgba(255, 255, 255, 0.5);
	align-items:flex-start;
}

.accordion {
  background-color: #260909;
  color: #fffff5;
  cursor: pointer;
  padding: 18px;
  width: 100%;
  border: none;
  text-align: left;
  outline: none;
  font-size: 15px;
  transition: 0.4s;
  margin:0 auto;
font-family:"Cormorant Garamond";
font-weight:bold;
font-style:Italic;
font-size:2rem;
  
}
.panel img {
	display:block;
margin: 0 auto;
padding-bottom:2%;
}

.active, .accordion:hover {
  background-color: #9c3d3d;
}

.panel {
  padding: 0 18px;
  background-color: #212121;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.2s ease-out;
   margin:0 auto;
          /* center it */
}
.panel p {
	margin-bottom:1%;
	padding-top:1%;
}
.center {
	  width: 60%;
  margin: 0 auto;
  
}
.religion {
	width:60%;
	margin-left:20%;
	margin-bottom:2%;
	padding-bottom:2%;
	border-bottom: 1px solid rgba(255, 255, 255, 0.5);
}

@keyframes fade {
  from {opacity: .4} 
  to {opacity: 1}
}

@media only screen and (max-width: 300px) {
  .prev, .next,.text {font-size: 11px}
}
footer a {
  color: inherit;
  text-decoration: none;
  transition: color .3s ease;
}
footer a:hover {
	color:#FF6868;
}
/* =========================
   MOBILE
========================= */
@media (max-width: 768px) {

  .hamburger {
    display: block;
  }

  nav ul {
    display: none;
    grid-template-columns: 1fr 1fr; 
    gap: 1rem;
    padding: 1rem 4%;
    margin-top: 0;
    border-bottom: none;
    align-items: stretch;
	z-index: 10;
  }

  nav ul.show {
    display: grid; 
  }

  nav ul li {
    display: flex;
  }

  nav ul li a {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;

    padding: 1rem;
    font-size: 1.2rem;
    text-align: center;

    background: rgba(255,255,255,0.08);
    border-radius: 10px;

    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
    transition: transform 0.2s ease;
  }

  nav ul li a:active {
    transform: scale(0.96);
  }

  #push {
    margin-left: 0;
  }

  #home {
    height: auto;
    padding: 4rem 2rem;
  }

  #bigButton {
    font-size: 2rem;
    margin-top: 5rem;
  }

  .flexbox {
    flex-direction: column;
    gap: 2rem;
    margin: 0 5%;
  }

  .flexbox img {
    max-width: 100%;
  }

  h1 {
    font-size: 28px;
    margin: 0 5%;
  }

  p {
    font-size: 18px;
    line-height: 28px;
  }

  nav ul li a {
    font-size: 1.5rem;
  }

  .footer_flexbox {
    flex-direction: column;
    gap: 2rem;
    padding: 1rem 4%;
  }
 

  nav img {
    width: 40px;
}
.footer_flexbox ul {
	border-right:none;
	 border-bottom: 1px solid rgba(255, 255, 255, 0.5);
	 padding-bottom:3%;
}
@media (max-width: 768px) {

  .footer_flexbox ul {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
    justify-content: center;
  }

  footer a {
    display: flex;
    justify-content: center;
    align-items: center;

    width: 48%;              
    padding: 0.7rem 0.5rem;

    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 10px;

    color: #fffff5;
    text-decoration: none;

    font-size: 0.85rem;
    text-align: center;

    transition: transform 0.15s ease, background 0.3s ease;
  }

  footer a:active {
    transform: scale(0.97);
  }

  footer a:hover {
    background: rgba(255, 255, 255, 0.15);
  }
}

}

@media only screen and (max-width: 768px) {
  .prev, .next,.text {font-size: 11px}
}

@media (max-width: 768px) {

  /* NAV */
  .hamburger {
    display: block;
  }

  nav ul {
    display: none;
    flex-direction: column;
    gap: 0.8rem;
    padding: 1rem;
    background: rgba(17, 17, 17, 0.95);
  }

  nav ul.show {
    display: flex;
  }

  nav ul li a {
    font-size: 1.2rem;
    padding: 1rem;
    text-align: center;
  }

  #push {
    margin-left: 0;
  }

  .religion,
  .center,
  .A60 {
    width: 90% !important;
    margin: 0 auto 1.5rem auto;
  }


  h1 {
    font-size: 2rem;
    text-align: center;
  }

  p {
    font-size: 1rem;
    line-height: 1.6;
  }

  .accordion {
    font-size: 1.2rem;
    padding: 14px;
  }

  .panel img {
    width: 100%;
    height: auto;
  }

  .flexbox,
  .flexbox-art {
    flex-direction: column;
    gap: 1.5rem;
    align-items: center;
  }

  .halfnhalf {
    max-width: 100%;
    flex: 1;
  }


  img {
    max-width: 100%;
    height: auto;
  }


  .footer_flexbox {
    flex-direction: column;
    gap: 1.5rem;
    text-align: center;
  }

  .footer_flexbox ul {
    border-right: none;
    border-bottom: 1px solid rgba(255,255,255,0.2);
    padding-bottom: 1rem;
  }

  footer a {
    font-size: 0.9rem;
  }

  .to-top-button {
    width: 55px;
    right: 8px;
    bottom: 15px;
  }
  

  .hamburger {
    display: block;
  }

  nav ul {
    display: none;
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: 1fr;
    gap: 2rem;
    padding: .5rem;
    margin: 0;
    width: 100%;

    background: rgba(17, 17, 17, 0.95);
  }

  nav ul.show {
    display: grid;
  }

  nav ul li {
    display: flex;
  }

  nav ul li a {
    display: flex;
    justify-content: center;
    align-items: center;

    width: 100%;
    padding: 1rem;

    font-size: 1.3rem; 
    font-family: "Italianno", cursive;

    text-align: center;
    color: #fffff5;
    text-decoration: none;

    background: rgba(255, 255, 255, 0.08);
    border-radius: 12px;

    box-shadow: 0 4px 10px rgba(0,0,0,0.25);
    transition: transform 0.15s ease, background 0.3s ease;
  }

  nav ul li a:active {
    transform: scale(0.96);
  }

  #push {
    margin-left: 0;
  }
  #home-nav a {
	  font-size:1.3rem;
  }
  .A80 {
	  width:80%;
  }
  iframe {
	 width:300px; 
	 height:auto;
  }




  .copyright {
    font-size: 0.85rem;
    text-align: center;
    margin-top: 1.5rem;
  }



  .footer_flexbox {
    flex-direction: column;
    gap: 1.5rem;
  }

 
  .footer_flexbox ul {
    display: grid;
    grid-template-columns: 1fr 1fr; 
    gap: 0.6rem;
border-bottom:none;
    width: 100%;
    padding: 0;
    border-right: none;
  }

  .footer_flexbox ul li:first-child {
    grid-column: 1 / -1;
    text-align: center;
  }

  footer h3 {
    font-size: 1.3rem;
    margin-bottom: 0.3rem;
  }

  footer a {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%; 
    padding: 0.7rem 0.5rem;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 10px;

    color: #fffff5;
    text-decoration: none;

    font-size: 0.75rem;

    word-break: break-word;
    overflow-wrap: anywhere;
    white-space: normal;

    text-align: center;
  }

  footer a:active {
    transform: scale(0.97);
  }

  footer a:hover {
    background: rgba(255, 255, 255, 0.15);
  }
  footer h2 {
	  font-size:2rem;
  }
  
  #art_nav_p {
	  width:100%;
	 bottom:0;
	
	 padding: 1% 5%;
  }
   #art_nav_p h1 {
	   font-size:2rem;
   }
  #art_nav_p p {
	  font-size: 1rem;
  }



}

