/* GLOBAL STYLES */
*{
    box-sizing: border-box;
}
html, body {
    margin: 0;
    padding: 0;
    width: 100%;
  }
  main{
    padding-top: 95px;
  }
header{
    background-color:rgb(39, 117, 122) ;
    padding: 20px;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
}
nav{
    display: flex;
    justify-content: space-evenly;
    align-items: center;
}
.menu-item{
    color: rgb(255, 255, 255);
    text-decoration: none;
    font-size: 30px;
}
.menu-item:hover{
  background-color: rgb(106, 163, 167);
  border-radius:15px ;
  width: 80px;
  height: 40px;
}
.logo-img{
    width: 80px;
    height: 80px;
}
img{
    width: 100%;
    height: auto;
}
h6{
    display: flex;
    justify-content: right;
    align-items: center;
    font-weight: lighter;
    font-size: 10px;
    margin-bottom: 40px;
}
/* GLOBAL INNER PAGE STYLES */
.type-name{
    padding-top: 20px;
    font-size: 30px;
    font-weight: bold;
    display: flex;
    justify-content: center;
    align-items: center;
}
.white-box {
    background-color: rgb(255, 255, 255);
    padding: 20px;
    margin: 15px auto;
    box-shadow: 0 10px 70px rgb(101, 64, 39);
    transform: rotate(-3deg); 
    width: 90%;

  }
  .white-box-caption {
    font-size: 5px;
    color: #000000;
    text-align: right;
    margin: 5px 20px 10px auto; 
    max-width: 90%;
    margin-left: 20px;
  }
  
  .white-box img {
    width: 100%;
    height: auto;
    transform: rotate(3deg);
  }
  .information{
    padding: 20px;
  }
  .key-features{
    display: flex;
    justify-content: center;
    align-items: center;
    gap:5px;
  }
  .image-box {
    position: relative;
    display: inline-block; 
  }
  
  .image-box img {
    display: block;
    width: 100%;
    height: auto;
  }
  
  .image-caption {
    position: absolute;
    bottom: 10px; 
    left: 10px;
    color: white;
    background-color: rgba(0, 0, 0, 0.6); 
    padding: 5px 10px;
    font-size: 16px;
    border-radius: 4px;
  }
  

  .scroll-container {
    background-color: #ffffff;
    overflow: auto;
    white-space: nowrap;
    padding: 10px;
    box-shadow: 0 10px 70px rgb(101, 64, 39);

  }
  .scroll-caption {
    font-size: 8px;
    color: #000000;
    text-align: right;
    margin-top: 10px;
    padding: 0 10px 5px 0;
    display: flex;
    
  }
  
  
  .scroll-container img {
    padding: 10px;
    width: 100%;
    height: 300px;
  }
  .image-box{
    position: relative;
    display:inline-block;
    width: 300px;
    margin: 10px;
  }
  
  .scroll-caption {
    font-size: 5px;
    color: #000000;
    text-align: left;
    margin: 5px 0 0 5px;
    width: 100%;
  }
  .caption{
    position:absolute;
    top:10px;
    left: 10px;
    background-color: rgba(0, 0, 0, 0.4);
    color: white;
    font-weight: bold;
    font-size: 20px;
    border: 5px solid #f1f1f1;
    padding: 10px 15px;
    border-radius: 5px;
    z-index: 2;
  }
 .flip-section{
    display: none;
 }
    


/* HOMEPAGE STYLES */
.main-img-container {
    display: flex;
    flex-direction: column;
    align-items: center;
   
  }
  .main h1{
    z-index: 2;
    margin-top: 10px;
    margin-left: 50%;
  }
  

  .modern-antiqua-regular {
    font-family: "Modern Antiqua", serif;
    font-weight: bold;
    font-size: 40px;
    margin: 0;
    text-align: center;
    color:  rgb(94, 58, 37);
  }
  
  .homepage-card{
    position: relative;
    height: 400px;
    background-image: url('../img/building1.jpeg');
    background-size: cover;
    background-attachment: fixed;
    margin: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;


}
.section-title {
    position: absolute;
    top: 100px; 
    left: 20px;
    margin: 0;
    font-size: 32px;
    color: white;
    font-family: "Modern Antiqua", serif;
    z-index: 2;
  }
#h1{
    background-image: url('../img/h1.jpeg');
    background-position: center -100px;
}
#h2{
    background-image: url('../img/h2.jpg');
    background-position: center 100px;
}
#h3{
    background-image: url('../img/h3.jpg');
    background-position: center 40px;

}#h4{
    background-image: url('../img/h4.jpg');
}
#h5{
    background-image: url('../img/h5.jpg');
}
#h6{
    background-image: url('../img/h6.jpg');
    background-position: center -20px;

}
#h7{
    background-image: url('../img/h7.jpg');
    background-position: center 150px;
    position: relative;
}
.h7-caption {
    position: absolute;
    bottom: 10px;
    right: 15px;
    font-size: 12px;
    color: white;
    padding: 5px 10px;
    border-radius: 4px;
  }
.button-text {
 background-color: rgba(0, 0, 0, 0.4);
  color: white;
  font-weight: bold;
  font-size: 24px; 
  border: 10px solid #f1f1f1;
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 2;
  width: auto; 
  padding: 15px;
  text-align: center;
  border-radius: 8px; 
  text-decoration: none;
  }

  /* BUTTON STYLES */
.button-overlay {
    bottom:40px;
    right: 10px;
    z-index: 2;
  }
  
  .image-button {
    background-color: rgb(94, 58, 37);
    color: white;
    padding: 10px;
    text-decoration: none;
    font-weight: bold;
    border-radius: 5px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
  }
  
  
/* 1600s */

  #colonial-title{
    font-family: 'Great Vibes', serif;
  }

  #c-key-features{
   font-family: 'Great Vibes', serif;
  }
  #c-home{
    font-family: 'Great Vibes', serif;
  }
  /* 1700as */
  #georgian-title{
    font-family: 'IM Fell English', serif;
  }
  #g-key-features{
    font-family: 'IM Fell English', serif;
  }
  #g-home{
    font-family: 'IM Fell English', serif;

  }
  /* 1800s */
  #victorian-title{
    font-family: 'Unifraktur Maguntia', cursive;
  }
  #v-key-features{
    font-family: 'Unifraktur Maguntia', cursive; 
  }
  #v-home{
    font-family: 'Unifraktur Maguntia', cursive; 

  }
/* 1900s */
#neo-title{
    font-family: 'Playfair Display', serif;
}
#n-key-features{
    font-family: 'Playfair Display', serif;
}
#n-home{
    font-family: 'Playfair Display', serif;

}
/* 2000s */
#smart-title{
    font-family: 'Orbitron', sans-serif;
    font-size: 40px;
}
#s-key-features{
    font-family: 'Orbitron', sans-serif;
    font-size: 20px;
}
#s-home{
    font-family: 'Orbitron', sans-serif;

}
.video {
    text-align: center;
    font-family: 'Orbitron', sans-serif; ;
  }
  
  .video-wrapper {
    position: relative;
    padding-bottom: 50%;
    height: 0;
    overflow: hidden;
    max-width: 100%;
    margin: 0 auto;
  }
  
  .video-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 200px;
  }
  
  @media screen and (min-width:800px){
    .video-wrapper iframe {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 600px;
      }
      .scroll-container{
        display: none;
      }
      .key-features{
        display: none;
      }

/* Flip Section Container */
.flip-section {
    display: block;
    background: transparent; 
    padding: 40px 20px;
    text-align: center;
  }
  

  .flip-heading {
    font-size: 36px;
    margin-bottom: 30px;
    color: #333;
  }
  
  
  .flip-card-row {
    display: flex;
    justify-content: center; 
    align-items: stretch;
    gap: 30px;               
    padding: 0 40px;         
    max-width: 1000px;
    margin: 0 auto;          
    flex-wrap: nowrap;
  }
  
 
  .flip-card {
    background: transparent;
    flex: 0 0 300px;
    height: 200px;
    perspective: 1000px;
    border: none;
  }
  
  
  .flip-card-inner {
    position: relative;
    width: 100%;
    height: 100%;
    text-align: center;
    transition: transform 0.8s;
    transform-style: preserve-3d;
    border: 10px solid white;
    box-shadow:0 10px 70px rgb(101, 64, 39,0.5);
  }
  
  
  .flip-card:hover .flip-card-inner {
    transform: rotateY(180deg);
  }
  
  
  .flip-card-front,
  .flip-card-back {
    position: absolute;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
  }
  
  
  .flip-card-front img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 8px;
  }
  .flip-card-back img{
    width: 100%;
    height: 100%;
  }
  
  
  .flip-card-back {
    background-color: #ffffff;
    color: white;
    transform: rotateY(180deg);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    border-radius: 8px;
    padding: 15px;
  }
  .flip-caption {
    font-size: 5px;
    color: #000000;
    text-align: left;
    margin: 5px 0 0 5px;
    width: 100%;
  }
  #c-flip-heading{
    font-family: 'Great Vibes', serif;
    font-size: 40px;
  }
  #c-home{
    font-size: 40px;
    font-family: 'Great Vibes', serif;
  }
  #g-flip-heading{
    font-size: 40px;
    font-family: 'IM Fell English', serif;

  }
  #g-home{
    font-size: 40px;
    font-family: 'IM Fell English', serif;
  }

  #v-flip-heading{
    font-size: 40px;
    font-family: 'Unifraktur Maguntia', cursive; 


  }
  #v-home{
    font-size: 40px;
    font-family: 'Unifraktur Maguntia', cursive; 
  }

  #n-flip-heading{
    font-size: 40px;
    font-family: 'Playfair Display', serif;
    


  }
  #n-home{
    font-size: 40px;
    font-family: 'Playfair Display', serif;
   
  }

  #s-flip-heading{
    font-size: 40px;
    font-family: 'Orbitron', sans-serif;
    


  }
  #s-home{
    font-size: 40px;
    font-family: 'Orbitron', sans-serif;
   
  }
      
    

  }