:root {
    --homebottom:30px;
}


* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    user-select: none;  
}
html {
    background-color: #000;
}
body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    background-color: #000;
    display: flex;
    justify-content: center;
    margin: 0;
    -ms-overflow-style: none;
    scrollbar-width: none;
}
body::-webkit-scrollbar {
  display: none;
}
.container {
    position:fixed;
    top:0px;
    left:0px;
    width: 100%;
    height: calc(100vh - 0px);
    border:1px solid green;
    background-color: #000;
    overflow-y: auto;
    -ms-overflow-style: none;
    scrollbar-width: none;
}
.container::-webkit-scrollbar {
  display: none;
}        
.notch {
    display: inline-flex;
      width: 91px;
      height: 25px;
      border-radius: 34px;
      background-color: #000;
      position: fixed;
      top: 11px;
      left: calc(50% - 45px);
      z-index: 2;
      /*
      display:none;
      */
}

.hide {
    display:none;
}

/* Handy Rahmen S */
body {
    background-color: #000;
}        
.container {
    border-radius: 0px;
    border: 0px solid #000;
}
/* Handy Rahmen E */


/* HOMESCREEN -------------------------------------------------------------------------------- */
.wrap_homescreen {
    background:url(../img/bg_homescreen_dark.webp);
    background-position: center;
    background-size: cover;
    padding:15px;
    height:100vh;
}
.status-bar {
    height: 20px;
    background: rgba(255, 255, 255, 0.7);
    display: flex;
    justify-content: space-between;
    padding: 0 10px;
    align-items: center;
    color: #333;
    font-size: 12px;
}

.status-bar span {
    font-size: 12px;
}

/* Wetter-Widget (oben links) */
.widget-weather {
    background: rgb(30,138,183);
    background: linear-gradient(180deg, rgba(30,138,183,1) 0%, rgba(101,173,206,1) 100%);
    border-radius: 20px;
    box-shadow: 0px 4px 12px rgba(0, 0, 0, 0.1);
    padding: 12px 20px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    font-size: 18px;
    overflow: hidden;
    color:#fff;
}
.widget-weather .location {
    font-size: 20px;
    margin-bottom: -6px;
}
.widget-weather .temperature {
    font-size: 36px;
}

.widget-weather .weather-info {
    width: 100%;
}
.widget-weather .icon-text {
    display: flex;
    align-items: center;
    margin-bottom: 0px;
    flex-direction: column;
    align-items: flex-start;
}
.widget-weather .icon-text svg {
    width: 32px;
    margin-bottom: -10px;
}
.widget-weather .icon-text span {
    font-size: 14px;
    margin-bottom: -5px;
}
.widget-weather .temp-range span {
    font-size: 14px;
}


/* Foto-Widget (oben rechts) */
.widget-photos {
    background: rgba(255, 255, 255, 0.8);
    border-radius: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
    padding: 10px;
    font-size: 14px;
    color: #333;
    aspect-ratio: 1;
    background:url(../img/foto_widget.webp);
    background-position: center;
    background-size: cover;    
}

.widget-photos img {
    width: 30px;
    height: 30px;
    margin-bottom: 5px;
}

.apps1 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-gap: 15px;
    padding-top: 30px;
    padding-bottom: 18px;
}
.apps2 {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-gap: 15px;
    width:100%;
}
.apps3 {
    display: flex;
    justify-content: center;
    align-items: center;
    position: absolute;
    bottom: calc(var(--homebottom) + 110px);
    width: 100%;
    left: 0;
}        
.search-frame {
    backdrop-filter: blur(5px);
    border-radius: 15px;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #fff;
    gap: 4px;
    font-size: 12px;
    height: 30px;
    padding: 0 15px;
    background-color: #ffffff2b;
}
.search-frame svg {
    width:14px;
}

.apps4 {
    display: flex;
    justify-content: center;
    align-items: center;
    position: absolute;
    bottom: var(--homebottom);
    width: 100%;
    left: 0;
} 
.quick-frame {
    backdrop-filter: blur(5px);
    border-radius: 32px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-gap: 15px;
    color: #fff;
    gap: 13px;
    font-size: 12px;
    padding: 13px;
    background-color: #ffffff2b;
    width: calc(100% - 30px);
}        


.app-icon {
    width: 100%;
    max-width: 74px;
    aspect-ratio: 1;
    background: #ececec;
    border-radius: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 24px;
    text-align: center;
    color: #333;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
    position: relative;
    margin-bottom: 18px;
    background-size: contain;
    background-position: center;
}
.app-icon.app-insta {
    cursor:pointer;
}
.quick-frame > .app-icon {
    margin-bottom:0
}
.app-label {
    font-size: 11px;
    color: #333;
    text-align: center;
    position: absolute;
    bottom: -18px;
    color:#fff;
}

.home-bar {
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 5px;
    background: #d1d1d6;
    border-radius: 50px;
    margin-bottom: 10px;
}







/* INSTAGRAM -------------------------------------------------------------------------------- */
.wrap_insta {
    background-color: #fff;
}
.header {
    display: flex;
    flex-direction:column;
    padding: 40px 10px 0 10px;
}
.header-row1 {
    display: flex;
    align-items: center;
}        
.header-row1-left {
    width: 75%;
    font-weight: bold;
    font-size: 24px;  
}
.header-row1-right {
    width: 25%;
    display: flex;
    justify-content: flex-end;
    gap: 20px;
}
.header-row2 {
    display: flex;
    align-items: center;
    margin-top:10px;
}
.header-row2-left {
    width:100px
}
.header-row2-right {
    width:calc(100% - 100px);
    display:flex;
    justify-content: space-around;
}
.header-info {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    font-size:14px;
}
.header-info-count {
    font-weight: bold;
}
.header-row3 {
    padding: 10px 0;
}
.header-row4 {
    display: flex;
    justify-content: space-between;
    margin-bottom:20px;
    gap:10px;
}
.header-row4 button {
    background-color: #eee;
    border: none;
    display: inline-flex;
    font-size: 12px;
    padding: 8px;
    border-radius: 5px;
    width:10%;
    justify-content: center;
    color:#000;
}
.header-row4 button:nth-child(1), .header-row4 button:nth-child(2) {
    width:45%;
}
.header .logo img {
    width: 90px;
    border-radius:50%;
    border:1px solid #ccc;            
}
.header .search input {
    width: 150px;
    padding: 5px;
    border-radius: 5px;
    border: 1px solid #ddd;
}

/* Feed */
.feed {
    padding: 5px 5px 50px 5px;
    overflow-y: auto;
}
.post {
    margin-bottom: 40px;
    padding-bottom: 10px;
}
.post-header {
    display: flex;
    align-items: center;
}
.post-header-left {
    display: flex;
    flex-direction: column;
}
.post-header-left .ort {
    font-size: 12px;
    margin-top: 3px;
}
.post-header-right {
    margin-left: auto;
}
.post-header .profile-pic {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    margin-right: 10px;
    background-color: #eee;
    border:1px solid #ccc;
}
.post-header .username {
    font-weight: bold;
    font-size: 14px;
}
.post-header .time {
    margin-left: 4px;
    font-size: 12px;
    color: #888;
    font-weight:normal;
}
.post-header .edit {
    margin-left: auto;
    font-size: 12px;
}
.post-image img {
    width: 100%;
    margin-top: 5px;
}
.post-video {
    margin-top: 5px;
}
.post-actions {
    display: flex;
    justify-content: flex-start;
    padding: 10px;
    gap: 20px;
}
.post-actions button {
    background: none;
    border: none;
    color: #333;
    font-size: 14px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap:5px;
}
.post-actions button.fav {
    margin-left:auto;
}
.likes {
    padding: 0 10px;
    font-size: 14px;
}
.caption {
    padding: 0 10px;
    font-size: 14px;
    margin-top: 3px;
}
.caption i {
    color:#0087ff;
    font-style:normal;
}
.comments {
    padding: 10px 0;
    font-size: 14px;
    color: #555;
}
.add-comment {
    padding: 10px 0;
    display: flex;
    align-items: center;
}
.add-comment input {
    width: 90%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 20px;
    font-size: 14px;
}
video {
    width:100%;
}


/* Slider */
.slick-slider {
    position: relative;
    display: block;
    box-sizing: border-box;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    -webkit-touch-callout: none;
    -khtml-user-select: none;
    -ms-touch-action: pan-y;
    touch-action: pan-y;
    -webkit-tap-highlight-color: transparent;
}
.slick-list {
    position: relative;
    display: block;
    overflow: hidden;
    margin: 0;
    padding: 0;
    height:auto !important;
}
.slick-list:focus {
    outline: none;
}
.slick-list.dragging {
    cursor: pointer;
    cursor: hand;
}
.slick-slider .slick-track, .slick-slider .slick-list {
    -webkit-transform: translate3d(0, 0, 0);
    -moz-transform: translate3d(0, 0, 0);
    -ms-transform: translate3d(0, 0, 0);
    -o-transform: translate3d(0, 0, 0);
    transform: translate3d(0, 0, 0);
}
.slick-track {
    position: relative;
    top: 0;
    left: 0;
    display: block;
    margin-left: auto;
    margin-right: auto;
}
.slick-track:before, .slick-track:after {
    display: table;
    content: '';
}
.slick-track:after {
    clear: both;
}
.slick-loading .slick-track {
    visibility: hidden;
}
.slick-slide {
    display: none;
    float: left;
    height: 100%;
    min-height: 1px;
}
[dir='rtl'] .slick-slide {
    float: right;
}
.slick-slide img {
    display: block;
}
.slick-slide.slick-loading img {
    display: none;
}
.slick-slide.dragging img {
    pointer-events: none;
}
.slick-initialized .slick-slide {
    display: block;
}
.slick-loading .slick-slide {
    visibility: hidden;
}
.slick-vertical .slick-slide {
    display: block;
    height: auto;
    border: 1px solid transparent;
}
.slick-arrow.slick-hidden {
    display: none;
}
.nodots .slick-dots {
    display:none !important;
}
.slick-dots {
    display: flex !important;
    justify-content: center;
    list-style: none;
    height: 18px;
    align-items: center;
    gap:4px;
}
.slick-dots li {
    text-indent:-3000px;
    width:7px;
    height:7px;
    display:inline-block;
    border-radius:50%;
    background-color:#ccc;
    border:none;
}
.slick-dots li.slick-active {
    background-color:#509dff;
}