:root{
    --header-font: 32px;
    --sub-header-font: 24px;
    --paragraph-font: 16px;
    --button-font: 16px;

    --primary-color: #F9F3EE;
    --secondary-color1: #C2B4A6;
    --secondary-color2: #52341A;
    --accent-color: #D15F3E;

    --basic-inline-padding: 20px;
}

html{
    scroll-behavior: smooth;
}

body{
    margin: 0;
    font-family: 'Poppins', sans-serif;
    background-color: var(--primary-color);
}

button{
    cursor: pointer;
    transition: .15s;
    border: none;
}

button:hover{
    scale: 105%;
    opacity: .8;
}

button:active{
    opacity: .5;
}

.nav{
    position: relative;
    height: 40px;
    width: 100%;
}

.left-nav{
    position: relative;
    width: 80px;
    padding: var(--basic-inline-padding);
}

.right-nav{
        display: none;
    }

#logo{
    position: absolute;
    width: 100%;
    top: 10px;
}

.hero-div{
    padding-inline: var(--basic-inline-padding);
    padding-bottom: 60px;
    height: 80vh;
    display: grid;
    grid-template-rows: 2fr 1fr;
}

.hero-right{
    position: relative;
}

.hero-right img{
    width: 350px;
    position: absolute;
    top: 50px;
    right: 0px;
}

.hero-left{
    font-size: var(--header-font);
    max-width: 200px;
    line-height: 43px;
}

.hero-left p{
    margin: 0;
    margin-bottom: 10px;
}

#crafted-span{
    font-weight: bold;
    font-family: 'Lora', serif;
    color: var(--accent-color);
}

.hero-div a{
    font-size: var(--paragraph-font);
    color: var(--accent-color);
    text-underline-offset: 3px;
}

.quote{
    display: grid;
    grid-template-rows: 250px 1fr;
}

.quote-image-div{
    position: relative;
    height: 100%;
    border-top-left-radius: 30px;
    border-top-right-radius: 30px;
}

.quote-image-div img{
    position: absolute;
    height: 100%;
    width: 100%;
    object-fit: cover;
    border-radius: inherit;
}

.quote-text-div{
    background-color: var(--secondary-color1);
    color: var(--secondary-color2);
    padding-inline: var(--basic-inline-padding);
    padding-bottom: 40px;
}

#quote-text-header{
    font-size: var(--header-font);
    font-weight: bold;
}

#about-us{
    position: relative;
    min-height: 200px;
}

#about-us img{
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -1;
}

.about-us-float{
    padding: 30px 40px;
    color: var(--secondary-color2);
    font-size: 14px;
}

.about-us-float div{
    background-color: var(--secondary-color1);
    padding: 20px;
    text-align: center;
    border-radius: 10px;
}

.about-us-header{
    font-size: var(--header-font);
    font-weight: bold;
}

.about-us-text{
    margin-block: 40px;
}

.cta{
    position: relative;
    min-height: 200px;
}

.cta img{
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -1;
}

.cta-float{
    padding: 50px 40px;
    color: #fff;
    font-weight: 200;
    font-size: 14px;
}

.cta-float div{
    backdrop-filter: blur(5px);
    background-color: rgba(0, 0, 0, 0.199);
    padding: 20px;
    text-align: center;
    border: 1px solid rgb(212, 212, 212);
    border-radius: 10px;
}

.cta-header{
    font-size: var(--header-font);
    font-weight: bold;
    margin-block: 20px 0;
    max-width: 300px;
    margin-inline: auto;
}

.cta-text{
    max-width: 338px;
    margin-inline: auto;
}

.cta button{
    margin-block: 30px 20px;
    padding: 10px 20px;
    color: var(--accent-color);
    font-weight: bold;
    border-radius: 30px;
}

#footer{
    background-color: #D3D3D3;
    padding: 40px 20px;
    color: #585858;
    text-align: center;
    display: grid;
    gap: 20px;
}

.footer-top a{
    text-decoration: none;
    color: #585858;
    display: block;
}

.footer-top{
    display: grid;
    gap: 20px;
}

#developer-tag{
    text-decoration: underline !important;
    text-underline-offset: 3px;
    text-decoration: none;
    color: #585858;
}

@media (min-width: 769px){

    :root{
        --header-font: 64px;
        --basic-inline-padding: 60px;
    }   

    .nav{
        display: grid;
        grid-template-columns: auto 1fr;
        gap: 40px;
        align-items: top;
        height: auto;
    }

    .left-nav{
        width: 20px;
    }

    #logo{
        top: 20px;
    }

    .right-nav{
        display: flex;
        gap: 80px;
        justify-content: right;
        padding-top: 40px;
        padding-inline: 80px;
    }

    .right-nav a{
        text-decoration: none;
        color: #000;
    }

    .hero-div{
        grid-template-rows: none;
        grid-template-columns: 1fr 1fr;
    }

    .hero-left a{
        font-weight: 500;
    }

    .hero-left{
        max-width: 400px;
        line-height: 70px;
        font-weight: 300;
        margin-block: auto;
        grid-row: 1/2;
        grid-column: 1/2;
        margin-inline: auto;
    }

    .hero-right{
        grid-column: 1/2;
        grid-column: 2/3;
    }

    .hero-right img{
        right: auto;
        top: -100px;
        left: -40px;
        width: 500px;
    }

    .quote{
        grid-template-columns: 2fr 3fr;
        grid-template-rows: none;
        height: 500px;
        line-height: 70px;
    }

    .quote-image-div{
        border-radius: 0;
    }

    #quote-text-header{
        margin-bottom: 0;
        max-width: 600px;
    }

    #quote-text-sub-text{
        font-weight: 600;
        max-width: 400px;
        line-height: 25px;
        color: #5c4a3a;
    }

    .about-us-float{
        max-width: 700px;
        margin-inline: auto;
        padding-block: 80px;
    }

    .about-us-float div{
        padding: 20px 50px;
        line-height: 30px;
    }

    .cta-float{
        max-width: 750px;
        margin-inline: auto;
        padding-block: 100px;
    }

    .cta-float div{
        background-color: rgba(0, 0, 0, 0.315);
    }

    .cta-header{
        max-width: 600px;
        line-height: 75px;
    }

    .cta-text{
        font-weight: 600;
    }

    #footer{
        padding-block: 50px;
    }

    .footer-bottom{
        display: grid;
        grid-template-columns: 1fr 1fr;
        margin-top: 50px;
        padding-inline: 80px;
    }

    .footer-bottom p{
        margin: 0;
    }

    #footer-bottom-left{
        text-align: left;
    }

    #footer-bottom-right{
        text-align: right;
    }


}