header {
    background-color: var(--normal);
}

.nav-center {
    color: var(--black);
}

.menu-item .item .arrow-down {
    filter: invert(100%);
}

.nav-center .menu-item:hover {
    color: var(--white);
}

.menu-item:hover .arrow-down {
    filter: none;
}

.submenu {
    color: var(--white);
}

.title.home-t {
    min-height: 100vh;
    background-image:  linear-gradient(var(--black-50), var(--black-50)), url('../images/header-home.jpg');
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-top: 80px;
    position: relative;
}

.home-title {
    margin-bottom: 10%;
    padding: 20px;
}

.home-t p {
    max-width: 750px;
    padding: 0 50px 0 50px;
    color: var(--white);
}

h1 {
    color: var(--white);
}

.highlights {
    position: absolute;
    bottom: 0;
    display: flex;
    background-color: var(--secondary);
    padding: 30px 45px;
    justify-content: space-between;
    gap: 40px;
    max-width: 80%;
    border-radius: 30px 30px 0 0;
}

.highlight {
    display: flex;
    align-items: start;
    gap: 20px;
}

.highlight-img {
    min-width: 40px;
    max-width: 50px;
}

.highlight-text {
    display: flex;
    flex-direction: column;
    text-align: left;
    gap: 5px;
}

.highlight-text h6 {
    color: var(--white);
}

.highlight-text p {
    padding: 0;
}

.intro {
    display: flex;
    flex-direction: column;
    gap: 150px;
    border-radius: 0 0 30px 30px;
    padding-bottom: 0;
}

.group p:not(.small) {
    margin-bottom: 0;
}

.about-kopidiam {
    display: flex;
    justify-content: space-between;
    align-items: stretch;
    gap: clamp(20px, 6vw, 115px);
}

.about-kopidiam .group {
    align-self: center;
}

.overlap-under {
    position: relative;
    min-width: 40%;
}

.overlap-under img {
    border-radius: 30px;
    object-fit: cover;
}

.overlap-over {
    position: absolute;
    right: -10%;
    bottom: -20%;
    width: 50%;
}

.core {
    display: flex;
    gap: clamp(20px, 6vw, 115px);
}

.core-values {
    margin: 0 clamp(-170px, -12vw, -20px);
    padding: clamp(50px, 7vw, 100px) clamp(20px, 12vw, 170px);
}

.banner {
    margin-top: -14%;
}

.banner-img-container {
    background-image: url(../images/pouring-coffee.jpg);
}

.inquiry-info.mobile {
    display: none;
}

.inquiry-info.desktop {
    position: absolute;
    left: 27.9%;
    bottom: 25%;
}

.core .group {
    width: 50%;
}

.values {
    display: grid;
    grid-template-columns: 1fr 1fr; 
    gap: 40px;
}

.value {
    display: flex;
    gap: 20px;
}

.value-icon {
    width: 25%;
    min-width: 30px;
}

.value-text {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.deco.left-top {
    top: -5%;
    left: -4%;
    transform: scaleX(-1) rotate(-40deg);
    width: 15%;
}

.deco.left-bottom {
    top: -5%;
    left: 1%;
    transform: rotate(20deg);
    width: 20%;
}

.deco.right {
    bottom: 10%;
    right: -2%;
    transform: rotate(-60deg);
    width: 15%;
}

.deco.flower {
    bottom: -15%;
    left: -8%;
    width: 25%;
    transform: scaleX(-1);
}

.team {
    display: flex;
    flex-direction: column;
    align-items: center;
    overflow-x: clip;
    position: relative;
}

.team > .group {
    text-align: center;
    max-width: clamp(320px, 52vw, 750px);
    margin-bottom: clamp(20px, 6vh, 60px);
    position: relative;
}

.quote.sq::after {
    bottom: 40%;
    right: 4%;
}

.quote.yx::after {
    bottom: 40%;
    left: 56%;
}

.member {
    display: flex;
    align-items: center;
    gap: clamp(30px, 7vw, 90px);
    padding: clamp(30px, 6vh, 60px) clamp(20px, 9vw, 120px);
}

.card {
    background-color: var(--dark);
    border-radius: 30px;
    box-shadow: 4px 4px 8px 0 rgba(0, 0, 0, 0.25);
}

.teammate-photo {
    width: clamp(200px, 22.5vw, 325px);
    aspect-ratio: 9 / 10;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    border-radius: 20px;
    min-width: 200px;
}

.yenxin {
    background-image: url(../images/angyenxin.png);
}

.szeqi {
    background-image: url(../images/tamszeqi.png);
}

.team-button {
    margin-top: 30px;
}

.sanctuary {
    background-image: url(../images/top-view-coffee.jpg);
    margin: 0 clamp(-170px, -12vw, -20px);
    padding: clamp(50px, 7vw, 100px) clamp(20px, 12vw, 170px);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    justify-content: flex-end;
    align-items: center;
}

.sanctuary .group {
    background-color: var(--tertiary);
    padding: 50px;
    border-radius: 30px;
}

.sanctuary .group p, .sanctuary .group h4 {
    color: var(--white);
}

.sanctuary .group .desc {
    margin-bottom: 40px;
}

.check-icon-wrapper {
    padding: 5px;
    background-color: var(--white-20);
}

.news {
    padding-top: 0;
    border-radius: 30px 30px 0 0;
}

.news .group {
    max-width: none;
}

.news-top {
    margin-top: clamp(50px, 7vw, 100px);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.white-card-text .tab {
    border-radius: 0 !important;
    object-fit: contain !important;
    margin-left: 0;
    min-width: 15px;
}

/* TABLET PORTRAIT & MOBILE */
@media screen and (max-width: 768px) {

    button {
        display: none;
    }

    header::before {
        background-color: var(--normal);
    }

    .menu-toggle {
        filter: invert(80%);
    }

    .highlights {
        display: none;
    }

    .about-kopidiam {
        flex-direction: column;
    }

    .about-kopidiam .group {
        max-width: 100%;
    }

    .overlap-under img {
        width: 100%;
        aspect-ratio: 3 / 2;
    }

    .core .group {
        width: 100% !important;
    }

    .inquiry-info.desktop {
        display: none;
    }

    .inquiry-info.mobile {
        display: flex;
        align-items: center;
        gap: 10px;
    }

    .member {
        flex-direction: column;
    }

    .member .group {
        text-align: center;
    }

    .member .group h4 {
        margin-bottom: 15px;
    }

    .no-card {
        flex-direction: column-reverse;
    }

    .white-card-text .tab {
        min-height: 20px;
    }

}

/* TABLET LANDSCAPE */
@media screen and (max-width: 1024px) {

    .highlight p {
        display: none;
    }

    .overlap-over {
        display: none;
    }

    .overlap-under img {
        height: 100%;
    }

    .core-values, .sanctuary {
        padding-top: clamp(30px, 8vw, 80px);
        margin-left: clamp(-60px, -6vw, -15px);
        margin-right: clamp(-60px, -6vw, -15px);
    }

    .inquiry-info.desktop {
        left: 31.7%;
        bottom: 30%;
    }

    .core {
        flex-direction: column;
    }

    .core .group {
        width: 70%;
    }

    .values {
        width: 100%;
    }

    .value-icon {
        width: 15%;
    }

}

/* ADJUSTMENTS */
@media screen and (max-width: 1270px) {

    .green-sqr {
        bottom: 30%;
    }

    .intro {
        gap: 120px;
    }

}

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

    .intro {
        gap: 100px;
    }

}

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

    .green-sqr {
        bottom: 38%;
        right: 12%;
    }

}

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

    .green-sqr {
        bottom: 44%;
    }

}

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

    .intro {
        gap: 50px;
    }

    .overlap-over {
        bottom: -2%;
    }

}

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

    .values {
        display: flex;
        flex-direction: column;
    }

    .value-icon {
        width: 10%;
    }

}

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

    .green-sqr {
        bottom: 25% !important;
        right: 7% !important;
    }

}

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

    .green-sqr {
        bottom: 30% !important;
        right: 8% !important;
    }

}

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

    .green-sqr {
        bottom: 35% !important;
        right: 10% !important;
    }

}

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

    h1 {
        line-height: 1;
        padding: 20px 0;
    }

}