/*
    GENERAL
*/

body {
    margin: 0 auto;
    font-size: 20px;
}

@media screen and (max-width: 768px) {
    body {
        font-size: 16px;
    }
}

a {
    text-decoration: none;
}

@font-face {
    font-family: 'OpenSans';
    src: url('fonts/AvenirNextLTPro-Regular.otf'), format('opentype');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'HighSpirited';
    src: url('fonts/HighSpirited.ttf'), format('truetype');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'AstaginaSignature';
    src: url('fonts/AstaginaSignature.otf'), format('opentype');
    font-weight: bold;
    font-style: normal;
}


h3, h5 {
    font-family: 'HighSpirited';
    color: white;
    font-size: 2.5rem;
}

h6 {
    font-family: 'HighSpirited';
    font-size: 2rem;
}

h2, h1 {
    font-family: 'AstaginaSignature';
    font-size: 4rem;
}

@media screen and (max-width: 768px) {
    h2, h1 {
        font-size: 3rem;
    }
}

p, div, a {
    font-family: 'OpenSans';
}

.contact {
    text-align: center;
    padding: 25px 50px 25px 50px;
    background-color: #F2F0EB;
    line-height: 250%;
}

.contact img {
    display: block;
    max-width: 15%;
    min-width: 150px;
    height: auto;
    margin: auto;
    padding: 50px 0 25px 0;
}

button {
    color: #212121;
    background-color:#FFFFFF;
    border: #212121 solid 1px;
    font-size: 20px;
    padding: 15px 30px 15px 30px;
    font-style: bold;
}

button:hover {
    background-color: #4C4D4F;
    color: #FFFFFF;
    cursor: pointer;
}

.button-white:hover {
    background-color: #F2F0EB;
    color: #000000;
    cursor: pointer;
}

.banner {
    width: 100%;
    height: 275px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.banner h1 {
    line-height: 0;
}

.banner div {
    position: absolute;
    background-color: #FFFFFF;
    border: 2px solid #212121;
    padding: 10px 20px 10px 20px;
    height: 4rem;
}

.banner img  {
    width: 100%;
    max-height: 100%;
    object-fit: cover;
}

.info {
    padding-top: 75px;
    padding-bottom: 75px;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: row;
    flex: 0 0 120px;
    background-color: #F2F0EB;
}

@media screen and (max-width: 768px) {
    .info {
        flex-direction: column;
    }
}

.info-img {
    max-width: 20%;
    min-width: 250px;
    height: auto;
    object-fit: cover;
    margin-top: 15px;
    box-shadow: 4px 4px 4px 2px rgb(0 0 0 / 25%);
}

.info-text {
    padding-left: 50px;
    padding-right: 50px;
    width: 35%;
    text-align: center;
    position: relative;
}

@media screen and (max-width: 768px) {
    .info-text {
        width: 65%;
    }
}


.info-text img {
    display: block;
    max-width: 40%;
    min-width: 150px;
    height: auto;
    margin: auto;
    padding: 35px 0 25px 0;
}

.info-text p {
    text-align: left;
    padding-bottom: 10px;
}

.info-text h1 {
    text-align: center;
}

.info-text ul {
    list-style: none;
    padding: 0;
}

/*
    NAVIGATION BAR
*/

nav {
    background-color: #F2F0EB;
    padding: 25px;
    z-index: 1;
}

@media screen and (max-width: 768px) {
    nav {
        padding: 30px 0 40px 0;
    }
}

#navbar {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    flex-direction: row;
}

@media screen and (max-width: 768px) {
    #navbar {
        flex-direction: column;
    }
}

#navbar a {
    font-size: 1.5rem;
}

@media screen and (max-width: 768px) {
    #navbar a {
        width: 50%;
        text-align: center;
    }
}

#navbar a:not(ul a) {
    color: #212121;
    padding-right: 30px;
}

#navbar > :not(:last-child) {
    margin: 0 5px 0 30px;
    border-right: 1px solid #212121;
}

#navbar > :last-child {
    margin: 0 5px 0 30px;
}

@media screen and (max-width: 961px) {
    #navbar > :not(:last-child) {
        margin: 0 5px 0 15px;
    }
    
    #navbar a:not(ul a) {
        padding-right: 15px;
    }
   
    #navbar > :last-child {
        margin: 0 5px 0 15px;
    }
}

@media screen and (max-width: 768px) {
    #navbar > :not(:last-child) {
        margin: 0;
        border-right: none;
        padding: 15px;
    }
    
    #navbar a:not(ul a) {
        padding-right: 0;
        padding: 15px;
        border-bottom: #212121 solid 2px;
    }

    #navbar > :last-child {
        margin: 0;
    }
}


#navbar > :first-child {
    border-right: none ;
    margin: 0;
    padding: 0;
}

#navbar img {
    width: 125px;
    height: 125px;
    border: none !important;
}

#navbar-services ul {
    display: none;
    position: absolute;
    list-style: none;
    margin: 0;
    padding: 10px;
    background-color: #F2F0EB;
    border: 2px solid #212121;
    z-index: 1;
    
}

#navbar-services a {
    color: #212121;
}

#navbar-services:hover ul {
    display: block;
}

#navbar-services li:hover {
    background-color: #FFFFFF;
    fill: #FFFFFF;
}

@media screen and (max-width: 768px) {
    #navbar-services {
        display: none;
    }
}
@media screen and (min-width: 768px) {
    #navbar-services-mobile {
        display: none;
    }
}

#navbar-services-mobile {
    text-align: center;
    border-bottom: #212121 solid 2px;
    width: 50%;  
    margin: 0;
}

#navbar-services-mobile button {
    width: 100%;
    border: none;
    background-color: #F2F0EB;
    font-size: 1.5rem;
    font-style: normal ;
    padding: 0;
    font-family: "OpenSans";
}

#navbar-services-mobile button:hover {
    color: #000000;
}

#navbar-services-mobile ul {
    padding: 0;
    margin-bottom: 15px;
    list-style: none;
    display: none;
}

#navbar-services-mobile li {
    padding: 15px;
    border-left: #212121 solid 2px;
    border-right: #212121 solid 2px;
    margin: 0;
    color: #000000;
}

/* 
    FOOTER BAR
*/

footer {
    color: white;
    background-color: #4C4D4F;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 50px
}

@media screen and (max-width: 768px) {
    footer  {
        padding: 25px;
    }
}


footer a {
    color: #FFFFFF;
    font-size: 1rem;
}

footer p {
    font-size: 1rem;
}

#footer-grid {
    display: grid;
    grid-row: 1;
    grid-template-columns: 0.5fr 1fr 1fr;
    column-gap: 25px;
}

@media screen and (max-width: 768px) {
    #footer-grid {
        grid-template-rows: 0.5fr 1fr 0.75fr;
        grid-template-columns: 1fr;
    }
}


#footer-nav {
    border-right: 1px solid #FFFFFF;
    display: flex;
    flex-direction: column;

}

@media screen and (max-width: 768px) {
    #footer-nav {
        border: none;
        flex-direction: row;

    }
}

#footer-list {
    margin: 0;
    text-align: left;
    list-style: none;
    border-left: 1px solid #FFFFFF;
}

@media screen and (max-width: 768px) {
    #footer-list {
        display: none;
    }
}


#footer-contact div {
    margin: 10px 0 10px 0;
   
}

#footer-social ul {
    list-style: none;
}

#footer-social li{
    display: inline;
} 

#footer-social img {
    width: 35px;
    height: auto;
}

#footer-location {
    text-align: center;
    margin: 0;
}

#footer-time {
    border-right: 1px solid #FFFFFF;
}

@media screen and (max-width: 768px) {
    #footer-time {
        padding-top: 15px;
        border: none;
    }
}

#footer-time div {
    padding-bottom: 25px;
}

#footer-time p {
    text-align: center;
    margin: 0;
}

#footer-hours {
    display: inline-block;
}

#footer-hours span {
    margin: 0 25px 0 25px;
}

#footer-contact {
    padding-top: 10px;
    margin: auto;
}

#footer-contact p {
    text-align: center;
    margin: 0;
    margin-right: 25px;
}


#footer-location iframe {
    width: 100%;
    height: 100%;
}  

/*
    LANDING PAGE
*/

header {
    text-align: center;
    position: relative;
}

#logo {
    max-width: 50%;
    min-width: 300px;
    height: auto;
    margin-top: 5vh;
}

#quote {
    padding: 0 40px 40px 40px;
    color: #212121;

}

#landing-sections {
    position: relative;
    display: flex;
    flex-direction: row;
}

@media screen and (max-width: 768px) {
    #landing-sections {
        flex-direction: column;
    }
}


.landing-section {
    display: flex;
    position: relative;
}

.landing-section img {
    max-width: 100%;
    height: auto;
    object-fit: cover;
}

.landing-section-info {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
}

.landing-section-info div {
    background-color: #F2F0EB;
    border: solid 2px #212121;
    padding: 0 10px 0 10px;
    margin-bottom: 4rem;
    word-break: break-word;
}

@media screen and (min-width: 768px) {
    .landing-section-text {
        line-height: 0;
        font-size: 3rem;
    }
}

@media screen and (max-width: 768px) {
    .landing-section-text {
        font-size: 2rem;
        max-height: 2rem;
    }
}

/*
    ABOUT PAGE
*/

#about-info {
    background-color: #4C4D4F;
    text-align: center;
}

#about-quote {
    color: white;
    text-align: center;
    font-size: 2.75rem;
    padding: 0 25px 25px 25px;
}

@media screen and (max-width: 768px) {
    #about-quote {
        line-height: 90%;
    }
}


#about-team {
    text-align: center;
    padding: 1rem 10rem 1rem 10rem
}

#about-team-intro {
    margin: 0 100px 50px 100px;
}

@media screen and (max-width: 768px) {
    #about-team {
        padding: 15px;
    }

    #about-team-intro {
        margin: 0 15px 50px 15px;
    }
}


#about-team-description {
    display: flex;
    column-gap: 4rem;
    justify-content: center;
    padding: 25px 0 50px 0;
    flex-wrap: wrap;
    row-gap: 4rem;
}

.about-portrait {
    display: flex;
    flex-direction: column;
    flex: 0 0 350px;
    align-items: stretch;
    background-color: #4C4D4F;
    color: #FFFFFF;
    box-shadow: 4px 4px 4px 2px rgb(0 0 0 / 25%);
}

@media screen and (max-width: 768px) {
   .about-portrait {
        flex: 0 0 250px;
    }
}

.about-portrait-branch {
    display: flex;
    align-items: center;
    padding: 5px 20px 0 20px;
    justify-content: center;
}

.about-portrait-branch img {
    width: 4rem;
    height: 2rem;
    margin: 0  5px 20px 5px;
}

.about-portrait h2 {
    margin: 0;
    font-size: 2.5rem;
    padding-bottom: 25px;
}

.about-portrait > img {
    max-width: 100%;
    width: 100%;
    height: 450px;
    object-fit: cover;
}

.about-portrait p {
    background-color: #F2F0EB;
    flex-grow: 1;
    padding: 15px;
    text-align: left;
    font-size: 1.15rem;
    position: relative;
    color: black;
    margin: 0;
    padding: 35px;
}

@media screen and (max-width: 768px) {
    .about-portrait p {
        font-size: 1rem;
        padding: 15px;
    }
}

/*
    KITCHEN PAGE
*/

#kitchen-cabinets {
    text-align: center;
    position: relative;
}

#kitchen-cabinets-header {
    padding: 50px 250px 50px 250px;
    background-color: #F2F0EB;
}

@media screen and (max-width: 768px) {
    #kitchen-cabinets-header {
        padding: 50px;
    }
}

#kitchen-cabinets-list {
    display: flex;
    flex-direction: row;
    background-color: #FFFFFF;
    padding: 50px;
}

@media screen and (max-width: 768px) {
    #kitchen-cabinets-list{
        flex-direction: column;
    }
}

#kitchen-cabinets-list > :not(:first-child) {
    padding-left: 50px;
    border-left: 2px solid #212121;
}

@media screen and (max-width: 768px) {
    #kitchen-cabinets-list > :not(:first-child) {
        padding: 0;
        border: none;
    }
}

.kitchen-cabinets-item {
    margin: 40px;
    flex: 1 1 auto;
}

.kitchen-cabinets-item > :first-child {
    width: 300px;
    height: 100px;
    object-fit: scale-down;
}

.kitchen-cabinets-logo {
    max-width: 100%;
    height: auto;
}

.kitchen-cabinets-img {
    width: 100%;
    height: 25rem;
    max-height: 100%;
    object-fit: cover;
    box-shadow: 4px 4px 4px 2px rgb(0 0 0 / 35%);
}

#kitchen-design-header {
    padding-top: 75px;
    padding-bottom: 75px;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    flex: 0 0 120px;
}

@media screen and (max-width: 768px) {
    #kitchen-design-header {
        flex-direction: column;
    }
}

#kitchen-design-process {
    display: grid;
    column-gap: 2rem;
    row-gap: 2rem;
    grid-template-columns: auto auto;
    grid-template-rows: 2;
    grid-auto-rows: 2;
    margin: 0 200px 50px 200px;
}

@media screen and (max-width: 768px) {
    #kitchen-design-process{
        grid-template-rows: 1fr;
        grid-template-columns: 1fr;
        padding: 0 25px 0 25px;
        margin: 0;
    }
}


.design-item {
    align-items: center;
    justify-content: center;
    max-height: 100%;
    padding: 25px;
    background-color: #F2F0EB;
    place-items: center;
    box-shadow: 4px 4px 4px 2px rgb(0 0 0 / 25%);
}

.design-item div {
    display: flex;
}

.design-item img {
    width: 75px;
    height: 75px;
    margin-top: 30px;
    margin-right: 20px
}

@media screen and (max-width: 768px) {
    .design-item h2 {
        font-size: 2.5rem;
    }

    .design-item img {
        width: 50px;
        height: 50px;
    }
}

#kitchen-styling {
    display: flex;
    flex-direction: row;
    background-color: #4C4D4F;
    margin: 0 200px 125px 200px;
    box-shadow: 4px 4px 4px 2px rgb(0 0 0 / 25%);
}

@media screen and (max-width: 768px) {
    #kitchen-styling {
        flex-direction: column;
        margin: 35px 25px 75px 25px;
    }
}

#kitchen-styling img {
    width: 25rem;
    max-width: 100%;
    height: auto;
    object-fit: cover;
}

@media screen and (max-width: 768px) {
    #kitchen-styling img  {
        width: 100%;
        height: auto;
    }
}


#kitchen-styling-info {
    padding: 25px;
    color: #FFFFFF;
    text-align: left;
    flex-direction: row;
}

#kitchen-styling-info div {
    display: flex;
    align-items: center;
    justify-content: center;
}

#kitchen-styling-info div img {
    width: 75px;
    height: 75px;
    padding-right: 20px;
}

@media screen and (max-width: 768px) {
    #kitchen-styling-info div img {
        width: 50px;
        height: 50px;
    }

    #kitchen-styling-info div h2 {
        font-size: 2.5rem;
    }
}

#kitchen-styling-info, h2 button {
    text-align: center;
}

#kitchen-styling-info button  {
    margin-top: 20px;
    margin-bottom: 20px;
}

/*
    LIVING PAGE
*/

#living-banner {
    width: 100%;
    height: 250px;
    background-color: #FFFFFF;
    display: flex;
    justify-content: center;
    align-items: center;
}

#living-info {
    padding-top: 75px;
    padding-bottom: 75px;
    display: flex;
    justify-content: center;
    align-items: center;
    flex: 0 0 120px;
}

#living-info-header h1 {
    text-align: center;
    padding-top: 75px;
    margin: 0;
    background-color: #FFFFFF;
}

#living-design {
    border: 2px solid #4C4D4F;
    margin: 5rem 15rem 5rem 15rem;
}

@media screen and (max-width: 768px) {
    #living-design  {
        margin: 20px;
    }
}

#living-design h1 {
    text-align: center;
}

#living-design-process {
    display: flex;
    padding: 0 2.5rem 2.5rem 2.5rem;
    flex-wrap: wrap;
    column-gap: 2rem;
    row-gap: 2rem;
    flex-direction: row;
}

@media screen and (max-width: 768px) {
    #living-design-process  {
        flex-direction: column;
    }
}

.petit-design-item {
    flex: 1 1 200px;
    place-items: center;
    background-color: #F2F0EB;
    padding: 25px;
    box-shadow: 4px 4px 4px 2px rgb(0 0 0 / 25%);
}

.complete-design-item {
    flex: 1 1 300px;
    place-items: center;
    background-color: #4C4D4F;
    padding: 25px;
    box-shadow: 4px 4px 4px 2px rgb(0 0 0 / 25%);
    color: #FFFFFF;
}

#living-complete {
    padding-top: 75px;
    padding-bottom: 75px;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    background-color: #4C4D4F;
    color: #FFFFFF;
}

@media screen and (max-width: 768px) {
    #living-complete  {
        flex-direction: column;
    }
}


#living-complete-process {
    border: 2px solid #4C4D4F;
    margin: 5rem 15rem 5rem 15rem;
}

@media screen and (max-width: 768px) {
    #living-complete-process  {
        margin: 20px;
    }
}


#living-complete-process h1 {
    text-align: center;
}

#living-fees {
    display: flex;
    background-color: #4C4D4F;
    color: #FFFFFF;
    height: 600px;
    flex-direction: row;
}

@media screen and (max-width: 768px) {
    #living-fees  {
        flex-direction: column;
        width: 100%;
        height: auto;
    }
}

#living-fees-info {
    flex: 1 1 auto;
    padding: 0 50px 50px 50px;
    align-self: center;
}

#living-fees p {
    margin: 0;
}

#living-fees h2 {
    text-align: center;
}

#living-fees img {
    max-height: 100%;
    height: 100%;
    width: 75em;
    max-width: 100%;
    object-fit: cover;
}

#living-packages {
    display: flex;
    flex-direction: row;
    padding: 50px 100px 0 100px;
    justify-content: center;
    column-gap: 100px;
}

@media screen and (max-width: 768px) {
    #living-packages {
        flex-direction: column;
        padding: 50px 0 50px 0;
    }
}

#living-packages > :last-child {
    background-color: #4C4D4F;
    color: #FFFFFF;

}

.living-package {
    display: flex;
    flex-direction: column;
    background-color: #F2F0EB;
    width: 25rem;
    align-items: stretch;
    text-align: center;
    box-shadow: 4px 4px 4px 2px rgb(0 0 0 / 25%);
}

@media screen and (max-width: 768px) {
    .living-package {
        width: 100%;
    }
}

.living-package h2 {
    margin: 20px;
}

.living-package-banner {
    width: 100%;
    height: 350px;
    max-height: 100%;
    object-fit: cover;
    padding-bottom: 25px;
}

.living-package-branch {
    width: 12rem;
    height: 4rem;
    margin: 0;
    padding: 0;
    align-self: center;
}

.living-package p {
    padding: 0 25px 25px 25px;
    text-align: left;
}

/*
    CONTACT PAGE
*/

#contact-banner {
    width: 100%;
    height: 20px;
    background-color: #FFFFFF;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

#contact-form {
    background-color: #F2F0EB;
    padding: 50px;
    text-align: center;
}

@media screen and (max-width: 768px) {
    #contact-form h2 {
        line-height: 90%;
    }
}


#contact-form img {
    display: block;
    width: 15rem;
    height: 5rem;
    margin: auto;
    padding: 25px 0 25px 0;
}

@media screen and (max-width: 768px) {
   #contact-form img {
        width: 80%;
        height: auto;
    }
}


#contact-info {
    font-size: 1.5rem;
}

@media screen and (max-width: 768px) {
   #contact-info {
        font-size: 1rem;
    }
}

#contact-info span {
    font-weight: bold;
    text-decoration: underline;
}

/*
    STYLING PAGE
*/

#styling-info {
    background-color: #4C4D4F;
    color: #FFFFFF;
    padding: 1px;
}

#styling-info h1 {
    text-align: center;
    padding-top: 50px;
}

#styling-packages {
    display: flex;
    flex-direction: row;
    gap: 50px;
    padding: 50px 150px 50px 150px;
}

@media screen and (max-width: 768px) {
    #styling-packages {
        flex-direction: column;
        padding: 25px 15px 25px 15px;
    }
}

.styling-package {
    background-color: #FFFFFF;
    color: black;
    display: flex;
    flex-direction: column;
    margin-bottom: 50px;
    padding: 50px;
    flex: 1 1 0px;
    text-align: center;
    box-shadow: 8px 8px 8px 4px rgb(0 0 0 / 25%);;
}

@media screen and (max-width: 768px) {
    .styling-package {
        height: auto;
        flex-direction: column;
        margin-bottom: 25px;
        padding: 20px;
    }
}



.styling-package img {
    max-width: 100%;
    height: 400px;
    object-fit: cover;
    padding-top: 50px;
    margin-top: 25px;
    border-top: #212121 solid 2px;
}

@media screen and (max-width: 768px) {
    .styling-package img {
        max-width: 100%;
        height: 300px;
    }
}

/*
    SHOP PAGE
*/

#shop-intro {
    text-align: center;
}

#shop-open {
    text-align: center;
}

#shop-inventory {
    display: grid;
    column-gap: 2rem;
    row-gap: 2rem;
    grid-template-columns: repeat(auto-fill, minmax(25rem, 2fr));
    grid-template-rows: auto;
    grid-auto-rows: 2;
    padding: 0 100px 50px 100px;
    margin: 0 150px 0 150px;
}

@media screen and (max-width: 768px) {
    #shop-inventory {
        grid-template-columns: repeat(auto-fill, minmax(15rem, 2fr));
        padding: 0;
        margin: 20px;
    }
}

.shop-item {
    display: flex;
    flex-direction: column;
    background-color:#F2F0EB;
    box-shadow: 8px 8px 8px 4px rgb(0 0 0 / 25%);
    flex: 1 1 0px;
}

.shop-item img {
    max-width: 100%;
    height: 350px;
    object-fit: cover;
}


.shop-item h2 {
    padding: 25px;
    font-size: 3.5em;
    text-align: center;
}