*{
    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: 1px;
}

.button{
    color: var(--light-color);
    padding: 10px 23px;
    border-radius: 20px;
    background-color: var(--text-color);
    transition: background-color 0.18s;
    text-decoration: none;
    font-size: 1.4em;
}

.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  */

/*  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  */

/*  TITLE SECTION  */

.title__container{
    text-align: center;
    padding: 20px 2.5px 0 2.5px;
    font-size: 1.5rem;
}

/*  TITLE ENDS  */

/*  REVIEWS SECTION  */
.reviews {
    max-width: 1000px;
    margin: auto;
    padding: 45px;
    padding-top: 10px;
    container-name: reviews;
    container-type: inline-size;
}

.reviews__container {
    display: flex;
    flex-direction: column;
    gap: 50px;
}

.reviews__item {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 30px 40px;
    padding-right: 15px;
    box-shadow: 0 5px 10px #0003;
    border-radius: 20px;
    position: relative;
    margin-left: 10px;
    background-color: var(--light-color);
}

.logo__circle{
    width: 80px;
    height: 80px;
    position: absolute;
    top: calc(50% - 25px);
    left: -40px;
}

.logo__circle img {
    width: 100%;
    border-radius: 50%;
}

.reviews__item-title {
    font-size: 18px;
    margin-bottom: 5px;
    letter-spacing: 1px;
}

.reviews__item-p {
    font-family: Montserrat;
    font-size: 14px;
    padding-left: 5px;
}


@container reviews (min-width: 400px) {
    .reviews__item-title {
        font-size: 25px;
    }
    .reviews__item-p {
        font-size: 16px;
    }
    .logo__circle {
        width: 80px;
        height: 80px;
        top: calc(50% - 40px);
    }
}

/*  REVIEWS 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;
}