* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-size: 16px;
    font-family: "Marcellus SC", serif;
}

/*------------------- header -------------------*/

header {
    display: flex;
    justify-content: space-between;
    margin: 1em 1.5em;
}

header img {
    display: block;
    margin-block: auto;
}

nav {
    display: flex;
    flex-direction: row;
    align-items: center;
}

nav a {
    background-color: white;
    padding-inline: 1em;
    padding-block: 0.5em;
    margin: 2em;
    border-radius: 2em;
    font-size: clamp(0.5rem, 1vw, 1rem);
    text-align: center;
    text-decoration: none;
    color: black;
    background-size: 5em 3em;
}

nav a:hover {
    cursor: pointer;
    color: white;
    background-color: black;
}

/* nav a.home {
    background-color: black;
    color: white;
} */

@media screen and (max-width: 820px) {
    nav {
        flex-direction: column;
    }
}
/*------------------- header end -------------------*/





/* ------------------------------------------- home-page ------------------------------------------- */

/*------------------- cover-figure -------------------*/

main div.home-cover {
    position: relative;
}

main div.home-cover img {
    width: 100%;
}

figcaption {
    position: absolute;
    bottom: 0%;
    width: 100%;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    text-align: center;
    background-color: #bf8747;
    padding-block: 1em;
}

figcaption .name {
    font-size: clamp(0.5rem, 3vw, 3rem);
    border-right: solid 1px black;
}

figcaption .details {
    grid-column: 2/5;
    font-size: clamp(0.3rem, 2vw, 1.5rem);
}

.explore {
    text-align: center;
    position: absolute;
    top: 65%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.explore p {
    color: white;
    font-size: clamp(1rem, 2vw, 3rem);
    text-shadow: 0.1em 0.1em black;
}

.explore a {
    font-size: clamp(0.8rem, 1vw, 1rem);
    background-color: rgba(240, 248, 255, 0.8);
    text-decoration: none;
    color: black;
    text-shadow: none;
    padding: 0.2em;
}

@media screen and (max-width: 500px) {
    figcaption {
        padding: 0.2em;
    }
    
    .explore {
        top: 40%;
        left: 50%;
    }
}
/*------------------- cover-figure end -------------------*/





/*------------------- customise-gallery -------------------*/
.customise-gallery p.head {
    font-size: clamp(1rem, 3vw, 2rem);
    text-align: center;
    margin: 6em 2em 1em 2em;
}

.customise-gallery .box {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(110px, 1fr));
    max-width: 60%;
    margin-inline: auto;
    justify-content: space-evenly;
    gap: 2em;
    border-top: solid 1px darkgray;
    padding-block: 2em;
}

.customise-gallery .card {
    width: 100%;
    border-radius: 2em;
}

.customise-gallery p.see-more {
    display: block;
    width: fit-content;
    font-size: clamp(0.8rem, 2vw, 1.5rem);
    margin-left: auto;
    margin-right: 20%;
    padding-bottom: 4em;
}

.customise-gallery a {
    font-size: clamp(0.8rem, 2vw, 1.5rem);
    color: black;
}

@media screen and (500px < width < 860px) {
    .customise-gallery .box {
        max-width: 80%;
    }

    .customise-gallery p.see-more {
        margin-right: 10%;
    }
}

@media screen and (max-width: 500px) {
    .customise-gallery .box {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
        max-width: 80%;
    }

    .customise-gallery p.see-more {
        margin-right: 10%;
    }
}
/*------------------- customise-gallery end -------------------*/





/*------------------- contact -------------------*/

.contact {
    width: 80%;
    border-top: solid 1px darkgray;
    text-align: center;
    margin-inline: auto;
    padding-block: 2em;
}

.contact p, a {
    font-size: clamp(0.8rem, 2vw, 1.5rem);
}

.contact a {
    color: black;
}
/*------------------- contact end -------------------*/
/* ------------------------------------------- home-page end------------------------------------------- */







/* ------------------------------------------- about-us ------------------------------------------- */

body.about-us {
    background-image: url(artwork/karen-eddy-bizcard.png);
}

.about-us-cover img {width: 100%;}

main.about-us {
    background-color: rgba(255, 255, 255, 0.8);

}

main.about-us section {
    margin-inline: 8em;
    margin-block: 10em;
}

main.about-us h1 {
    font-size: clamp(1rem, 3vw, 2rem);
    margin-top: 1em;
}

main.about-us p {
    font-size: clamp(0.8rem, 2vw, 1.5rem);
}

main.about-us section img {
    float: right;
    margin-inline: 1em;
    opacity: 0.9;
    max-width: 50%;
}

@media screen and (max-width: 820px) {

    main.about-us section {
        margin-inline: 3em;
        margin-block: 5em;
    }

    main.about-us section img {
        width: 70%;
    }
}
/* ------------------------------------------- about-us end------------------------------------------- */








/* ------------------------------------------- gallery ------------------------------------------- */

main.gallery .elaboration {
    text-align: center;
    width: 80%;
    margin-inline: auto;
    margin-block: 8em;
}

main.gallery .elaboration h1 {
    font-size: clamp(1rem, 3vw, 2rem);
    margin: 1em;
}

main.gallery .elaboration p, span {
    font-size: clamp(0.8rem, 2vw, 1.5rem);
    margin: 0.5em;
}

main.gallery div.gallery h1 {
    text-align: center;
    font-size: clamp(2rem, 5vw, 4rem);
    margin: 1em;
}

main.gallery div.gallery .grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    width: 80%;
    margin-inline: auto;
    gap: 2em;
    align-items: center;
    margin-block: 2em;
    border-top: solid 1px darkgray;
    padding-top: 2em;
}

main.gallery div.gallery .grid img {
    width: 100%;
}

main.gallery div.gallery .grid .card {
    text-align: center;
}

main.gallery div.gallery .grid .latest {
    grid-column: 1/3;
    grid-row: 1/3;
}


@media (500px < width < 820px ){
    main.gallery div.gallery .grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 500px){
    main.gallery div.gallery .grid {
        grid-template-columns: 1fr;
    }
}

/* ------------------------------------------- gallery end------------------------------------------- */








/* ------------------------------------------- enquiries ------------------------------------------- */

main.enquiries {
    background-image: url(artwork/karen-eddy-bizcard.png);
}


main.enquiries section {
    background-color: rgba(255, 255, 255, 0.8);
    width: 80%;
    margin-block: 5em;
    margin-inline: auto;
}

main.enquiries h1 {
    font-size: clamp(1rem, 3vw, 2rem);
    margin-block: 1em;
}

main.enquiries p, label, input, textarea {
    font-size: clamp(0.8rem, 2vw, 1.5rem);
    margin-block: 0.5em;
}

main.enquiries form {
    display: flex;
    flex-direction: column;
    max-width: 80%;
    margin-inline: auto;
}

main.enquiries button {
    width: 4em;
    font-size: clamp(0.8rem, 2vw, 1.5rem);
    border-radius: 2em;
}

main.enquiries button:hover {
    cursor: pointer;
    background-color: black;
    color: white;
}

main.enquiries table {
    background-color: rgba(255, 255, 255, 0.8);
    width: 90%;
    margin-inline: auto;
    text-align: center;
}

main.enquiries table th, td {
    font-size: clamp(0.8rem, 2vw, 1.5rem);
    height: 2em;
    color: #626262;
}

main.enquiries table tr:nth-child(even) {
    background-color: lightgray;
}

/* ------------------------------------------- enquiries end ------------------------------------------- */









/* ------------------------------------------- thank page ------------------------------------------- */

body.thanks {
    background-image: url(artwork/karen-eddy-bizcard.png);
}

main.thanks {
    display: flex;
    justify-content: center;
    gap: 2em;
    text-align: center;
    margin-top: 5em;
    background-color: rgba(255, 255, 255, 0.8);
}

main.thanks h1 {
    font-size: 2em;
}

main.thanks .direct-info p {
    font-size: 1.5em;
}

main.thanks .direct-info {
    display: flex;
    flex-direction: column;
    justify-content: space-evenly;
}

main.thanks img {
    max-width: 100%;
}

main.thanks a {
    color: black;
    text-decoration: none;
}

main.thanks a:hover {
    text-decoration: underline;
}

@media screen and (max-width:820px) {
    main.thanks {
        flex-direction: column;
    }
}
/* ------------------------------------------- thank page end ------------------------------------------- */








/*------------------- footer -------------------*/
footer {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    text-align: center;
    align-items: center;
    margin-top: 8em;
}

footer p {
    font-size: clamp(0.5rem, 2vw, 1rem);
}

footer a {
    text-decoration: none;
    color: black;
}

footer a:hover {
    text-decoration: underline;
}

.affilication {
    display: flex;
    align-items: center;
}

.affilication p{
    padding-inline: 0.5em;
}

.affilication .links {
    border-left: 1px solid darkgray;
}

footer .find-us .social-media a {
    padding: 0.5em;
    font-size: clamp(0.8rem, 2vw, 1.5rem);
    width: 2.5em;
    text-align: center;
    text-decoration: none;
}  

footer .find-us .social-media .fa-facebook {
    background: #3B5998;
    color: white;
}
  
footer .find-us .social-media .fa-twitter {
    background: #55ACEE;
    color: white;
}
  
footer .find-us .social-media .fa-google {
    background: #dd4b39;
    color: white;
}
  
footer .find-us .social-media .fa-linkedin {
    background: #007bb5;
    color: white;
}
  
footer .find-us .social-media .fa-youtube {
    background: #bb0000;
    color: white;
}

footer .find-us .social-media .fa:hover {
    opacity: 0.7;
} 

footer .logo {
    grid-column: 1/4;
    background-color: black;
    margin-top: 0.2em;
}

@media screen and (max-width: 820px) {
    footer {
        display: flex;
        flex-direction: column;
        width: 100%;
        gap: 1em;
    }

    footer .logo {
        width: 100%;
    }

    footer .find-us img {
        max-width: 40%;
    }

    footer .logo img {
        width: 50%;
    }
}
/*------------------- footer end-------------------*/














