html{
    scroll-behavior: smooth;
    height: 100%;
}

body{
    height: 100%;
}

h1{
    text-align: center;
    font-family: "scope one";
    font-size: 2em;
    color: #d0a749;
    position: relative;
    top: -100px;     
    opacity: 0;     
}

h2{
    text-align: center;
    font-size: 1em;
    font-family: "encode sans condensed";
}

h3{
    text-align: center;
    font-family: "scope one";
    font-size: 1.5em;
    color: #d0a749;
}

h5{

    margin-top: 10px;
}

p{
    color: white;
    font-size: 1em;
    font-family: "encode sans condensed";
}

.logo {
    height: 3rem;
    width: 4rem;
    margin: 0px;

}

.navbar{
    font-family: "encode sans condensed";
    height: 10%;
    opacity: 50%;
}

.nav-link{
    color: #d0a749;
}

.quote-link {
    border: 1px solid white;
    border-color: white;
    color: white;
    font-weight: bold;
    border-radius: 0%;
    border-width: 3px;
    width: 200px;
    text-align: center;
    text-decoration: none;
    margin-right: 10px;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.quote-link:hover,
.quote-link:focus {                
  background-color: #d0a749;     
  color: #ffffff;                
}

.home {
    background-image: url("./images/marbleBathroom.png");
    height: 100%;
    background-position: center; 
    background-repeat: no-repeat; 
    background-size: cover;
}

.oval-container{
    position: relative;
}

.oval {
  height: 50vh;
  width: 80vw;
  background-color: white;
  border-radius: 50%;
  opacity: 80%;
  transform: rotate(-45deg) scale(0.7);
  position: absolute;
}

.oval-text{
    position: absolute;
}

.front-paragraph{
    position: relative;
    top: -100px;     
    opacity: 0;  
    color: black;   
}

.fade-in{
    opacity: 0;
}

.first-section{
    min-height: 100%;
    background-image: url("./images/marbleBackground.JPG");
    background-position: center; 
    background-repeat: no-repeat; 
    background-size: cover;
}

.secondary-photos{
    height: auto;
    width: 100%;
    aspect-ratio: 4/3;
    object-fit: cover;
    border-radius: 10%;
    margin-top: 20%;
}

.primary-card{
    border: solid 3px #d0a749;
    height: 100%;
    width: 80%;
    background-color: black;
    margin-top: 20%;
    margin-bottom: 20%;
    padding: 5%;
}

.spinner{
    margin-bottom:0px;
    width: 100%;
    overflow-x: hidden;
    mask-image: linear-gradient(to right, transparent 0%, black 10%, black 90%, transparent 100%);
    -webkit-mask-image: linear-gradient(to right, transparent 0%, black 10%, black 90%, transparent 100%);
}

.group{
    align-items: center;
    justify-content: center;
    gap: 1em;
    width: max-content;
    padding-right: 1em;
    animation: spin 10s linear infinite;
}
.spinner-image{
    flex: 0 0 auto;
    height: 250px;
    width: 300px;
    border-radius: 20%;
    align-content: center;
    padding: 1em;
}


.second-group{
    align-items: center;
    justify-content: center;
    gap: 1em;
    width: max-content;
    padding-right: 1em;
    animation: reverseSpin 10s linear infinite;
}

.second-spinner{
    margin: 100px auto;
    margin-bottom: 50px;
    margin-top: 50px;
    width: 100%;
    overflow-x: hidden;
    mask-image: linear-gradient(to right, transparent 0%, black 10%, black 90%, transparent 100%);
    -webkit-mask-image: linear-gradient(to right, transparent 0%, black 10%, black 90%, transparent 100%);
}

@keyframes spin{
    0% {transform: translateX(0);}
    100% {transform: translateX(-50%);}
}

@keyframes reverseSpin{
    0% {transform: translateX(-50%);}
    100% {transform: translateX(0%);}
}


.card-section{
    min-height: 300%;
    background-image: url("./images/marbleBackground.JPG");
    background-position: center; 
    background-repeat: no-repeat; 
    background-size: cover;
}

.card{
    border: solid 3px #d0a749;
    height: 75%;
    width: 80%;
    background-color: black;
    font-size: 1em;
}

.title-card{
    margin-top: 10%;
    margin-bottom: 10%;
    font-family: "encode sans condensed";
    font-weight: bold;
}

.card-icon{
    height: 3em;
    width: 3em;
}

.material-symbols-outlined{
    color: #d0a749;
    margin-top: 25%;
}

.material-symbols-outlined.md-48 { 
    font-size: 48px; 
    text-align: center;
}

.description-card{
    width: 75%;
    text-align: justify;
}


.third-section{
    background-image: url("./images/marbleBackground.JPG");
    min-height: 100%;
    background-position: center; 
    background-repeat: no-repeat; 
    background-size: cover;
}

.gallery-link{
    color: #d0a749;
    background-color: black;
    margin-bottom: 5px;
}


.contact-section{
    background-color: black;
    height: 125vh;
    scroll-margin-top: 50px;
}

.contact-title{
    color: #d0a749;
    font-weight: bold;
    font-size: 50px;
    margin-top: 25px;
}

.contact-paragraph{
    width: 100%;
    margin-top: 25px;
    text-align: center;
}

.material-symbols-outlined.md-36 { 
    font-size: 36px; 
    text-align: center;
}

.carousel{
    margin-top: 50px;
}

.carousel-item {
  height: 80vh;
}

.carousel-item img {
  height: 100%;
  width: 100%;
  object-fit: contain; 
  object-position: center;
}

.mail-link{
    color: #d0a749;
}

.footer{
    height: 50%;
    background-color: black;
    color: #d0a749;
}

.footer-container{
    border-top: 1px solid #d0a749;
    text-align: center;
}

.footer-link{
    text-decoration: none;
    margin-top: 10px;
    color: white;
}

.copyright{
    margin-top: 25%;
}

.contact-form-title{
    color: black;
    font-family: "encode sans condensed";
    padding-bottom: 2rem;
}

.contact-page{
    max-width: 600px;
    width: 100%;
    padding: 2rem;
    background-color: white;
    border-radius: 5%;
}

.contact-card{
    position: relative;
    width: 100%;
    height: 58px;
    margin-bottom: 20px;
}

.contact-input{
    width: 100%;
    height: 100%;
    background: none;
    border: 2px solid black;
    padding: .5rem 4rem;
    border-radius: 5px;
    box-sizing: border-box;
}

.contact-label{
    color: black;
    background-color: white;
    position: absolute;
    top: -16px;
    left: 16px;
    font-size: .813rem;
    padding: 8px;
    padding-bottom: 0px;
    pointer-events: none;
    transition: 0.3sec ease-out;
}

.contact-card.contact-area textarea{
    height: 100px;
    resize: none;
}

.button{
    margin-top: 2rem;
    background-color: #d0a749;
    padding: 1rem 2rem;
    border: none;
    border-radius: 50em;
}

.contact-container{
    height: 100%;
}

.gallery{
    background-image: url("./images/marbleBathroom.png");
    height: 90vh;
    background-position: center; 
    background-repeat: no-repeat; 
    background-size: cover;
}

.gallery-title{
    font-size: 5em;
}

.gallery-images{
    background-color: black;
    height: 100vh;
}

@media (max-width: 768px){
    .footer{
        height: 60%;
    }

    .card-container{
        position: relative;
        overflow-y: auto;
    }

    .sticky{
        position: sticky;
        top: 0px;
    }

    .card-section{
        min-height: 100%;
    }
}

@media (min-width: 768px){

    .card{
        height: 50%;
    }

    .card-section{
        min-height: 100%;
    }

    .fall-in {
        opacity: 0;
        transform: translateY(-100px); 
        transition: opacity 0.6s ease-out, transform 0.6s ease-out;
    }

    .fall-in.is-visible {
        opacity: 1;
        transform: translateY(0); 
    }
    .footer-container{
        justify-content: left;
        text-align: left;
    }
}

@media (min-width: 768px) and (max-width: 992px){
    .card{
        height: 50%;
    }
}

@media (min-width: 992px){

    .secondary-photos{
        height: auto;
        width: 100%;
        aspect-ratio: 16/9;
    }

    .primary-card{
        height: 100%;
        width: 30%;
    }

    .spinner{
        margin-top: 20%;
    }

    .card-section{
        min-height: 100%;
    }

    .card{
        height: 75%;
        width: 90%;
    }
}

@media (min-width: 1200px){

    .oval{
        height: 65vh;
        width: 70vw;
    }

    .first-section{
        min-height: 75%
    }
    
    .secondary-photos{
       height: 100%;
       min-width: 100%;
    }

    .primary-card{
    height: 100%;
    width: 50%;
    margin-top: 15%;
    margin-bottom: 0;
    }

    .card{
        height: 80%;
    }

    .third-section{
        min-height: 125%;
    }
}

@media screen and (min-width: 768px) and (max-width: 992px) and (orientation: landscape){
    .card-section{
        min-height: 200%;
    }

    .card{
        height: 125%;
        margin-top: 200%;
    }

    .contact-section{
        min-height: 200%;
    }
}

