*{
    box-sizing: border-box;
}

body, div, ul, li, a, h1, h2, h3, h4, h5, p{
    margin: 0;
    padding: 0;
}

body{
    --bg-color: #fbf7f25d;
    --light-color: #fbf7f2;
    --dark-color: #b97e74;
    --text-color: #606060;
    background-color: var(--bg-color);
    font-family: Starsight;
    color: var(--text-color);
    font-weight: 200;
}

h1, h2, h3, h4, h5{
    font-weight: 200;
}

p{
    letter-spacing: 0.9px;
}

.button{
    color: var(--light-color);
    padding: 10px 23px;
    border-radius: 20px;
    background-color: var(--text-color);
    transition: background-color 0.18s;
    text-decoration: none;
}

.button:hover{
    background-color: var(--dark-color);
}

/*  HEADER SECTION  */

header{
    position: sticky;
    top: 0;
    z-index: 20;
    box-shadow: 0 -4px 10px var(--text-color);
}

.header__container{
    display: flex;
    justify-content: space-between;
    background-color: var(--light-color);
    padding: 10px 15px;
    padding-left: 20px;
    align-items: center;
    position: relative;
}

.header__content-container{
    display: flex;
    gap: 30px;
    align-items: center;
}

.header__translate-button{
    width: 40px;
}

.header__translate-button img{
    object-fit: cover;
    width: 100%;
}

.header__checkbox{
    display: none;
}

.header__nav{
    display: none;
    background-color: var(--light-color);
    position: absolute;
    width: 150px;
    height: calc(100dvh - 50px);
    top: 50px;
    right: 0;
    padding: 15px;
    font-size: 1.3em;
}

.header__nav-list{
    display: flex;
    flex-direction: column;
    height: inherit;
    align-items: center;
    padding-top: 20px;
    gap: 15px;
}

.header__nav-list:last-child a{
    font-size: 1em;
}

.header__nav-item{
    list-style: none;
}

.header__nav-item a{
    text-decoration: none;
}

.item a{
    color: var(--text-color);
    transition: color 0.18s;
}

.item a:hover{
    color: var(--dark-color);
}

.button__header{
    font-size: 18px;
}

.header__nav-item:last-child{
    margin-top: 10px;
}

.header__checkbox:checked ~ .header__nav{
    display: flex;
    flex-direction: column;
}

.header__logo-container{
    height: 30px;
}

.header__logo{
    height: inherit;
}

.header__open-nav-button{
    transition: color 0.8s;
}

.header__open-nav-button img{
    width: 30px;
    filter: invert(52%) sepia(2%) saturate(12%) hue-rotate(351deg) brightness(89%) contrast(93%);
}

.close__button{
    display: none;
}

.header__checkbox:checked ~ .header__open-nav-button .close__button{
    display: block;
}

.header__checkbox:checked ~ .header__open-nav-button .open__button{
    display: none;
}

/*  HEADER QUERIES  */

@media screen and (min-width: 850px){

    .header{
        padding: 20px 0;
    }

    .header__nav{
        display: flex;
        position: static;
        height: inherit;
        width: inherit;
    }

    .header__nav-list{
        align-items: center;
        padding: 0;
    }

    .header__nav-list{
        flex-direction: row;
        gap: 20px;
    }

    .header__open-nav-button{
        display: none;
    }

    .header__nav-item:last-child{
        margin-top: 0;
    }

    .button{
        margin-left: 15px;
    }

}

/*  HEADER ENDS  */

@media screen and (min-width: 850px){

    .header{
        padding: 20px 0;
    }

    .header__nav{
        display: flex;
        position: static;
        height: inherit;
        width: inherit;
    }

    .header__nav-list{
        align-items: center;
        padding: 0;
    }

    .header__nav-list{
        flex-direction: row;
        gap: 20px;
    }

    .header__open-nav-button{
        display: none;
    }

    .header__nav-item:last-child{
        margin-top: 0;
    }

    .button{
        margin-left: 15px;
    }

}

/*  HEADER ENDS  */

/*  BACK_HOME SECTION  */

.back_home__links{
    padding: 10px 0 0 10px;
    display: flex;
    align-items: center;
    max-width: 1300px;
    margin: auto;
}

.link-home{
    color: var(--text-color);
    text-decoration: none;
    font-size: 1.3em;
    display: flex;
}

.link-home img{
    width: 40px;
    height: 100%;
    filter: invert(39%) sepia(0%) saturate(0%) hue-rotate(191deg) brightness(93%) contrast(89%);
    align-self: center;
}

/*  BACK_HOME ENDS  */

/*  LIST SECTION  */

.list{
    max-width: 1300px;
    margin: auto;
    container-name: list;
    container-type: inline-size;
}

.list__container{
    display: flex;
    flex-direction: column;
    justify-content: center;
    max-width: 1300px;
    align-items: center;
    padding: 15px;

}

.list__services{
    order: 1;
    font-size: 1.5em;
}

.list__ul{
    list-style-position: inside;
}

.list__services h1{
    font-size: 2em;
}

.list__img{
    height: 300px;
}

.list__img img{
    max-width: 100%;
    height: inherit;
    width: 600px;
    height: 100%;
    border-radius: 30px;
    object-fit: cover;
}

/*  LIST QUERIES  */

@container list (min-width: 600px){
    .list__container{
        flex-direction: row;
        justify-content: space-evenly;
        padding: 30px;
        gap: 30px;

    }
    .list__services{
        order: 0;
    }
    .list__img{
        height: 450px;
        max-height: 460px;
    }
}

/*  LIST ENDS  */

/*  PROCESS SECTION  */

.process{
    max-width: 1300px;
    margin: auto;
}

.process__title{
    font-size: 2rem;
    padding: 0 0 10px 20px;
}

.process__img-container{
    max-width: 1300px;
    width: 100%;

}

.process__img{
    width: inherit;
}

/*  PROCESS ENDS  */

/*  SERVICES SECTION  */

.services{
    container-name: services;
    container-type: inline-size;
}

.services__container{
    max-width: 1300px;
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: auto;
}

.services__title{
    text-align: center;
    font-size: 2rem;
    color: var(--light-color);
    margin-bottom: 10px;
}

.services__grid{
    display: grid;
    grid-template-columns: minmax(30%, 500px);
    grid-template-rows: repeat(3, 400px);
    margin: auto;
    gap: 15px;
    padding: 15px;
}

.services__grid-img{
    position: relative;
}

.services__content{
    color: var(--light-color);
    position: absolute;
    z-index: 10;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 10px;
}

.services__content p{
    text-align: center;
    font-size: 1.5rem;
}


.services__grid-img img{
    width: 100%;
    height: 400px;
    border-radius: 20px;
    object-fit: cover;
    object-position: center;
    filter:sepia(-10);
    opacity: 0.9;
    filter: brightness(35%);
}

/*  SERVICES QUERIES  */

@container services (min-width: 700px){
    .services__grid{
        grid-template-columns: repeat(3, minmax(30%, 500px));
        grid-template-rows: 400px;
    }
}

/*  SERVICES ENDS  */

/*  BRANDBOARD SECTION  */

.brandboard{
    container-name: brandboard;
    container-type: inline-size;
}

.brandboard__img{
    display: none;
}

.brandboard__content{
    display: flex;
    flex-direction: column;
    gap: 30px;
    text-align: center;
    justify-content: center;
    font-size: 1.5rem;
}

.brandboard__content p{
    font-family: Montserrat;
}

.brandboard__title{
    font-size: 2rem;
}

.brandboard__button{
    width: fit-content;
    margin: auto;
}

/*  BRANDBOARD QUERIES  */

@container brandboard (min-width: 650px){
    .brandboard__img{
        display: block;
    }
    .brandboard__container{
        flex-direction: row;
        gap: 20px;
    }
    .brandboard__content{
        order: 1;
    }
    .brandboard__img{
        height: 400px;
        min-width: 50%;
        border-radius: 30px;
    }
}

/*  BRANDBOARD ENDS  */

/*  FOOTER SECTION  */
.footer{
    background-color: var(--light-color);
    container-name: footer_page;
    container-type: inline-size;
}

.footer__container{
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: 600px;
    margin: auto;
    padding: 20px 0 8px 0;
}

.footer__content{
    display: flex;
    padding: 20px 13px;
    gap: 30px;
    width: 100%;
    justify-content: space-evenly;
    font-size: 1em;
}

.footer__contact a{
    color: var(--text-color);
    transition: color 0.3s;
}

.footer__contact a:hover{
    color: var(--dark-color);
}

.footer__contact {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer__container > p{
    font-size: 1em;
    margin: 10px 0;
}

.footer__container > p:last-child{
    margin: auto;
}

.footer__social{
    display: flex;
    flex-direction: column;
    text-align: center;
    gap: 10px;
}

.footer__social img{
    width: 23px;
    filter: invert(39%) sepia(0%) saturate(0%) hue-rotate(191deg) brightness(93%) contrast(89%);
    transition: filter 0.2s;
}

.footer__social img:hover{
    filter: invert(51%) sepia(2%) saturate(6934%) hue-rotate(320deg) brightness(106%) contrast(73%);
}


@container footer_page (min-width: 400px) {
    .footer__content{
        font-size: 1.2em;
    }
}
/*  FOOTER ENDS  */

.powerBy {
    background-color: #000; 
    text-align: center; 
    font-size: 16px;
    color: #bbb;
    font-family: sans-serif;
    padding: 15px;
}

.powerBy a {
    color: #eee;
}