
html, body {
    margin: 0;
    width: 100%;
    height: 100%;
    color: #0D0611;
}

body {
    display: flex; 
    min-height: 100vh;
    max-height: 300vh;
    margin: 0;
    flex-direction: column;
    align-items: center;       
    justify-content: flex-start; 

    background-image: url('../imgs/Artboard 1.jpg');
    background-size: cover;  
    background-position: center; 

}

main, header, footer {
    flex-shrink: 0;
    font-family: "inclusive-sans", sans-serif;
    font-weight: 400;
    padding: 1vh 0;
}

header {
    margin-top: 30px;
}


main{
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
    width: 90%;
}

footer {
    margin-top: auto;          
    width: 100%;
    display: flex;
    flex-direction: row;
    justify-content: center;
    background-color: #0D0611; 
    color: #EABBDF;
    z-index: 20;
}

nav {
    margin-top: 0px;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    font-family: "ff-scala-jewel-saphyr", serif;
    font-weight: 400;
    font-size: 32px;
    font-style: normal;

}

nav a {

    justify-content: center;
    color: #0D0611;
    text-decoration: none;
    padding-bottom: 0.1em;
    padding-inline: 2.4em;
    margin: 0 auto;
    transform: translate(0px, 2vh);
}

/* All Link rules */
a {
    padding: 0;
    line-height: 100%;
    text-align: center;
}

a:hover {
    color: #582F67;
}

/* all image rules */
main img {
    width: 98%;
    height: 70vh;
    object-fit: cover;
    position: relative;
}




button:hover{
    background-color: #EABBDF ;
    color: #582F67;
    border: none;
}

/*class rules */

.button {
    font-family: "inclusive-sans", sans-serif;
    font-weight: 400;
    font-size: 16px;
    background-color: #0D0611;
    color: #EABBDF;
    width: 300px;
    height: 50px;
    display: block;         
    margin-left: auto;       
    margin-right: auto;
    text-decoration: none;
    text-align: center;
    line-height: 50px;
    transform: none;
}

.button:hover {
    transition:ease-in-out 0.5s;
    background-color: #EABBDF ;
    color: #582F67;
    border: none;
}

/* Cara Romero Photo */
.cara{
    float: left;
    width: 40%;
}

.right_boxes{
    display: flex;
    flex-direction: column;
    gap: 2em;
    margin: 0em;
}
.about_box{
    height: auto;
    background-color: rgba(239, 240, 244, 0.8);
    padding: 1em;
}


#three_grid{
    display: flex;
    flex-direction: row;
    gap: 30px;
}

/*accordion drop down button*/
dd{
  display: none;
  border:none ;
}

.best dt~dl {
  margin-top: 0px;
}

address {
    margin-top: 10px;
}

h1{
    font-family: 'ff-scala-jewel-saphyr', serif;
    font-size: 24px;
}


/* comment format */

.end_paragraph {
    margin-block-end: 50px;
}

figure{
    margin: 0;
}




#selected_page {
    color:#D9A3CA; 
}

#statement {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    gap: 3%;
}

#embed_map {
    display: flex;
    flex-direction: row;
    gap: 3%;
    justify-content: space-between;
    
}

/* light box gallery - grid */

.gallery {
   display: flex; 
   flex-wrap: wrap;
}

.gallery_item {
    flex: 0 0 33%;

}

.gallery img{ 
    width: 99%;
    height: 33vh;
    object-fit: cover;
    object-position: center;
}



/* Media Queries For Mobile! */

@media (max-width: 1400px) {
    
    nav {
        display: flex;
        font-weight: 400;
        font-size: 26px;
        margin-bottom: 2vh; 
    }
    
}

@media (max-width: 1050px) {
    
    nav {
        display: flex;
        font-weight: 400;
        font-size: 22px;
        margin-bottom: 2vh; 
    }
    p {
        font-size: 16px;
    }

}

@media (max-width: 900px) {

    .cara {
        width: 50%;
        max-height: 80vh;
        padding-bottom: 20vh;
    }

    h1 {
        font-size: 20px;
        padding: 0px;
    }

    p {
        font-size: 14px;
    }

    nav {
        display: flex;
        flex-direction: column;
        font-weight: 400;
        font-size: 26px;
        margin-bottom: 2vh; 
    }

}

@media (max-width: 780px) {

    main {
        width: 80%;      
        box-sizing: border-box;
    }

    .best dt.button {
        width: 100%;         
        margin-left: 0;
        margin-right: 0;
        text-align: center;
        box-sizing: border-box;
    }

    #three_grid {
        flex-direction: column;
    }

    .cara {
        width: 100%;
        height: 50%;
        padding-bottom: 0vh;
    }

    #statement {
        flex-direction: column;
    }

    #embed_map {
        flex-direction: column;
        width: 70%;
    }

    #embed_map iframe {
        width: 70%;
        height: 200px;
    }

    h2{
        font-size: 20px;
        margin-bottom: 4px;
    }
    p {
        font-size: 12px;
    }
    address{
        font-size: 12px;
        margin-bottom: 20px;

    }

    .gallery{
        gap: 8px;
        justify-content: center;
    }

    .gallery_item {
        display: flex;
        flex: 0 0 calc((100% - 16px) /3 );
        
    }

    .gallery img {
        width: 100%; 
        height: auto;
        object-fit: scale-down;

    }

}