.about {
    height: 100vh;
    margin: 0 20px 20px 20px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: relative;
    background: #000;
    overflow: hidden;
}
.aboutpage-group {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 100vh;
    overflow: hidden;
    position: relative;
}
.engelberg-logo-vid {
    max-height: 714px;
    height: 100%;
}
.about-logo-container {
    max-width: 1150px;
    margin: 0 auto;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    position: absolute;
    top: calc(50% - 90px);
    left: 0;
    right: 0;
    z-index: 4;
}
.btn {
    color: #FFF;
    background: var(--primary);
    text-align: center;
    font-size: 16px;
    font-weight: 400;
    font-style: normal;
    line-height: normal;
    display: flex;
    padding: 14px 33px;
    justify-content: center;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    transition: .2s;
}
.btn:hover {
    color: var(--black);
    background: var(--white);
    transition: .2s;
    -webkit-box-shadow: 0px 0px 77px -6px var(--primary);
    -moz-box-shadow: 0px 0px 77px -6px var(--primary);
    box-shadow: 0px 0px 77px -6px var(--primary);
}

#portfolioId {
    height: auto;
    max-height: 900px;
    min-height: 900px;
}
.portfolio {
    margin: 20px;
    padding-bottom: 400px;
}
.portfolio-title h2 {
    font-size: 140px;
    font-family: 'ns-400-italic';
}
.portfolio-text-container {
    max-width: 1450px;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    padding: 120px 0;
    margin: 0 auto;
}
.portfolio-slide-container {
    width: 100%;
    padding-bottom: 40px;
}
.portfolio-slide-item {
    display: block;
    width: 100%;
}
.portfolio-slide-img {
    width: 100%;
    height: 90%;
    max-height: calc(100vh - 160px);
    object-fit: cover;
    object-position: center;
}
.slide-text-container {
    width: 100%;
    height: 70px;
    background: #000;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-family: 'pp-400';
    position: relative;
    top: -4px;
}
.slide-text-container-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}
.portfolio-text {
    max-width: 660px;
    width: 100%;
    margin-bottom: 38px;
    line-height: 130%;
}
.port-circle-btn {
    position: relative;
    width: 32px;
    height: 32px;
    background-color: #FF0000;
    border-radius: 50%;
    transition: .2s;
}
.port-circle-btn::before,
.port-circle-btn::after {
  content: "";
  position: absolute;
  background-color: black;
  transition: .2s;
}
.port-circle-btn::before {
    width: 4px;
    height: 18px;
    top: 7px;
    left: calc((32px - 4px) / 2);
}
.port-circle-btn::after {
    width: 18px;
    height: 4px;
    top: calc((32px - 4px) / 2);
    left: calc((32px - 18px) / 2);
}
.slide-item-btn:hover .port-circle-btn {
    background-color: white;
}

.slide-title {
    margin-left: 40px;
}
.slide-name {
    margin-right: 200px;
}
.slide-item-btn {
    display: flex;
    justify-content: center;
    align-items: center;
    max-width: 500px;
    width: 100%;
    height: 100%;
    border-left: 1px solid #E3051A;
    cursor: pointer;
}
.slide-item-btn span {
    padding-left: 50px;
}
.portfolio-btn-container {
    width: 100%;
    height: auto;
    padding: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
}
.portfolio-slide-dots {
    cursor: pointer;
}

.port-popup-body {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: #000;
    display: none;
    flex-direction: column;
    justify-content: center;
    z-index: 100000;
}

.port-popup-main {
    flex: 1;
    overflow: hidden;
    width: 100%;
}

.port-popup-article {
    display: flex;
    height: 100%;
    overflow-x: auto;
    scroll-behavior: smooth;
    scrollbar-width: none;
}
.port-popup-article::-webkit-scrollbar {
    display: none;
}
.port-popup-section {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    flex: 0 0 100%;
    width: 100%;
    box-sizing: border-box;
    gap: 40px;
    max-height: 850px;
    overflow: hidden;
    padding: 20px;
}

.imgbox-1,
.imgbox-2 {
    flex: 1;
    aspect-ratio: 1; /* Maintain square aspect ratio */
    overflow: hidden;
    background-color: #666;
    display: flex;
    justify-content: center;
    align-items: center;
}

.imgbox-1 {
    max-width: 960px;
}

.imgbox-2 {
    max-width: 650px;
}

.imgbox-1 img,
.imgbox-2 img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.columnbox {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 20px;
}

.port-popup-scrollbar-container {
    height: 50px;
    display: flex;
    align-items: center;
    padding-bottom: 20px;
    gap: 20px;
}
.port-popup-scrollbar {
    flex: 1;
    height: 6px;
    background: #575757;
    border-radius: 4px;
    position: relative;
    overflow: hidden;
    --scroll-progress: 0%;
}
.port-popup-scrollbar::after {
    content: '';
    position: absolute;
    height: 100%;
    width: var(--scroll-progress);
    background: var(--primary);
    border-radius: 4px;
    left: 0;
    top: 0;
    transition: width 0.1s ease;
}

.port-popup-close {
    position: relative;
    width: 32px;
    height: 32px;
    background-color: #FF0000;
    border-radius: 50%;
    cursor: pointer;
    transition: .2s;
}

.port-popup-close::before,
.port-popup-close::after {
    content: "";
    position: absolute;
    width: 4px;
    height: 20px;
    background-color: black;
    top: 6px;
    left: 14px;
    transition: .2s;
}

.port-popup-close::before {
    transform: rotate(45deg);
}

.port-popup-close::after {
    transform: rotate(-45deg);
}

.port-popup-close:hover {
    background-color: white;
}

.port-img-container-droped-space-btw {
    display: flex;
    flex-direction: column;
}
.port-img-container-droped-space-around {
    display: flex;
    flex-direction: column;
    justify-content: space-around;
}

.port-razrez-img {
    width: 100%;
    height: 100%;
    max-height: 850px;
    object-fit: cover;
}

.port-text-container {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    max-width: 600px;
}

.port-text-container p {
    font-size: 23px;
    padding: 10px 0;
}

.port-text-container p.secondary-text {
    color: #575757;
    font-size: 20px;
}

.black-text {
    color: #141414;
    font-family: 'sf-700';
}

.secondary-text {
    color: #575757;
}

.wave-container {
    padding-top: 100px;
    padding-bottom: 50px;
}

.port-img-container-bkh {
    position: relative;
    width: 100%;
    height: 100%;
}

.port-img-container-bkh img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.port-text-container-bkh {
    position: absolute;
    left: 50px;
    top: 50px;
    max-width: 690px;
}
.port-img-container-bkh img {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100vw;
    -webkit-mask-image: linear-gradient(to right, transparent, black 20%, black 80%, transparent);
    mask-image: linear-gradient(to right, transparent, black 20%, black 80%, transparent);
}
.port-text-bkh {
    padding-bottom: 60px;
}

.thermo_main-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 60px;
}
.thermo_main-img {
    width: 100%;
}
.thermo_main-title {
    font-size: 110px;
    margin-bottom: 30px;
    line-height: .9;
    font-family: 'pp-500';
    background: linear-gradient(140deg, #DDDDDD 0%, #75615B 50%, #D1D1D1 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}
.thermo_main-text {
    max-width: 700px;
    width: 100%;
    font-size: 20px;
    text-align: center;
}

.eng_title-gradient {
    background: -webkit-linear-gradient(#F0BB8F 12.75%, #7D5136 88.47%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}



.port-img-container-eng70 {
    display: flex;
    flex-direction: column;
    justify-content: space-around;
}
.engelberg_privilege-container {
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
}
.engelberg_privilege-item {
    max-width: 560px;
    width: 100%;
    padding: 10px 0;
}
.engelberg_privilege-title {
    font-size: 32px;
    font-family: 'sf-700';
    line-height: 100%;
    background: -webkit-linear-gradient(#D7B89F 15%, #7D5136 88%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}
h4.engelberg_privilege-title {
    font-size: 40px;
    padding: 20px 0;
}
.engelberg_privilege-text {
    color: #9E9E9E;
    font-size: 18px;
    padding-top: 20px;
}

.engelberg_privilege-item h3 {
    font-size: 40px;
}
.engelberg_privilege-item p {
    max-width: 500px;
    font-size: 18px;
    font-family: 'sf-500';
}
.port-container-img-eng70 {
    width: 100%;
}



@media (max-width: 1680px) {
    .about-logo-container {
        max-width: 770px;
    }
    .engelberg-logo-vid {
        max-height: 680px;
    }
    .about-engelberg-title {
        font-size: 130px;
    }
    .about-text {
        font-size: 36px;
    }
    .portfolio-title h2 {
        font-size: 120px;
    }

    
}

@media (max-width: 1440px) {
    .portfolio {
        padding-bottom: 0;
    }
    .portfolio-slide-container {
        margin-bottom: 0;
    }
    .portfolio-text-container {
        justify-content: space-around;
    }
    .portfolio-title h2 {
        font-size: 110px;
    }
    .portfolio-text {
        max-width: 580px;
        font-size: 14px;
        margin-bottom: 28px;
    }


    .port-text-container p {
        font-size: 20px;
    }

    .imgbox-2 {
        max-width: 610px;
    }
    .port-text-container-bkh {
        max-width: 580px;
    }

    .slide-item-btn {
        max-width: 300px;
    }

}

@media (max-width: 1340px) {
    .portfolio-title h2 {
        font-size: 100px;
    }
    .portfolio-text {
        font-size: 14px;
        margin-bottom: 28px;
    }
}

@media (max-width: 1280px) {
    .portfolio-title h2 {
        font-size: 90px;
    }
    .portfolio-text {
        margin-bottom: 24px;
    }
    .portfolio-text-container {
        justify-content: space-between;
    }

    .port-popup-section {
        gap: 20px;
    }
    .port-text-container p {
        font-size: 16px;
    }
    .port-text-container p.secondary-text {
        font-size: 16px;
    }
    p.secondary-text {
        font-size: 16px;
    }
    .secondary-text {
        font-size: 16px;
    }
    .port-text-bkh p.secondary-text {
        font-size: 14px;
    }
    .imgbox-2 {
        max-width: 460px;
    }
    .port-text-container {
        max-width: 460px;
    }

    .slide-item-btn {
        max-width: 300px;
    }
    .slide-item-btn span {
        padding-left: 20px;
    }
    .slide-name {
        margin-right: 140px;
    }
    .port-text-container-bkh {
        max-width: 480px;
    }
    .port-popup-section {
        max-height: 720px;
    }
    .thermo_main-title {
        font-size: 80px;
    }
    .thermo_main-text {
        font-size: 16px;
    }

    .engelberg_privilege-item {
        max-width: 440px;
    }
    .engelberg_privilege-item h3 {
        font-size: 26px;
    }
    .engelberg_privilege-item p {
        font-size: 16px;
    }
}

@media (max-width: 1160px) {
    .portfolio-title h2 {
        font-size: 80px;
    }
    .portfolio-text {
        max-width: 498px;
        font-size: 12px;
        margin-bottom: 20px;
    }
    .portfolio-text-container {
        justify-content: space-around;
    }
}

@media (max-width: 1024px) {
    .portfolio-title h2 {
        font-size: 60px;
    }
    .portfolio-text {
        max-width: 415px;
        font-size: 10px;
        margin-bottom: 16px;
    }
}

@media (max-width: 820px) {
    .about {
        margin: 15px;
        height: 60vh;
    }
    .about-logo-container {
        max-width: 510px;
        top: calc(50% - 50px);
    }
    .engelberg-logo-vid {
        max-height: 420px;
    }
    .about-engelberg-title {
        font-size: 80px;
    }
    .about-text {
        font-size: 28px;
        margin-bottom: 22px;
    }
    .portfolio {
        margin: 15px;
        padding-bottom: 0;
    }
    .portfolio-text-container {
        padding: 70px 0;
    }
    .portfolio-title h2 {
        font-size: 50px;
    }
    .portfolio-text {
        font-size: 10px;
        max-width: 410px;
        margin-bottom: 12px;
    }
    .btn {
        font-size: 14px;
        padding: 10px 15px;
    }

    .portfolio-slide-container {
        margin-bottom: 0;
    }
    .port-circle-btn {
        width: 22px;
        height: 22px;
    }

    .port-circle-btn::before {
        width: 2px;
        height: 14px;
        top: calc((22px - 14px) / 2);
        left: calc((22px - 2px) / 2);
    }
    .port-circle-btn::after {
        width: 14px;
        height: 2px;
        top: calc((22px - 2px) / 2);
        left: calc((22px - 14px) / 2);
    }

    .slide-text-container {
        font-size: 12px;
        height: 50px;
    }
    .slide-title {
        margin-left: 20px;
    }
    .slide-name {
        margin-right: 20px;
    }
    .slide-item-btn {
        max-width: 200px;
    }
    .slide-item-btn span {
        padding-left: 10px;
    }
    

}

@media (max-width: 768px) {
}

@media (max-width: 600px) {
}

@media (max-width: 480px) {
}