/* General styles */
:root{
    --bgColor: black;
    box-sizing: border-box;
}
::-webkit-scrollbar {
    width: 12px; 
  }
  
  
  ::-webkit-scrollbar-track {
    background: #0e0e0e; 
  }
  
 
  ::-webkit-scrollbar-thumb {
    background: #4f4e4ef5; 
    border-radius: 6px; 
  }
  
  ::-webkit-scrollbar-thumb:hover {
    background: #363535; 
  }
body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color:var(--bgColor);
    color:white;
}
.nav-link{
  cursor:pointer;
}
.profile-container {
    display: flex;
    flex-direction: column;
    width: 100%;
}

/*Navigation*/
.icons{
    filter: invert(1);
    height:35px;
    width:35px;
}
.icons.iconInsta{
   height:70px;
   width:100px;

}
#profileNavigation > section{
    display:flex;
    flex-direction: column;
    justify-content: space-between;
    padding-left:10px;
    padding-top:20px;
    padding-bottom: 20px;
    height:100%;
    width:100%;
}

#profileNavigation{
    display:none;
    
    max-height:100vh;
    position:fixed;
    top:0;
    left:0;
    bottom:0;
    padding-left:30px;
}

.nav-links, .extras{
  display:flex;
  flex-direction: column;
  gap: 15px;
  width:100%;
}
.nav-links .nav-link > div, .extras .nav-link > div{
    display:flex;
    gap: 20px;
    
}

a{
    all:unset;
    text-decoration: none;
}

/* Header */
.profile-header {
    width: 100%;
    padding: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    background-color:var(--bgColor);
    
}

.profile-header .sec1 {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}




.profile-header .account-switch select {
    border: 1px solid #101010;
    padding: 5px;
    border-radius: 5px;
    background-color: rgba(77, 75, 75, 0.637);
    color:white;
}

.profile-header .settings img {
    cursor: pointer;
}

.profile-header .sec2 {
    display: flex;
  justify-content: space-between;
  width:100%;
    
    margin-top: 10px;
}


.avatar img {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    border: 2px solid #dbdbdb;
}

.profile-stats {
    display: flex;
    justify-content: flex-start;
  gap: 30px;
    width: 50%;
    margin-left: 0px;
}

.profile-stats div {
    text-align: center;
    cursor: pointer;
}

/* Bio Section */
.profile-bio {
    width: 90%;
    
    background-color:var(--bgColor);
    padding-left:20px;
}

.edit-profile-btn {
  width: 50%;
    margin-top: 10px;
    padding: 10px;
    background-color: #0095f6;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

.divider {
    width: 100%;
    border: 1px solid #000000;
}

/* Highlights Section */
.highlights {
    display: flex;
  justify-content: flex-start;
    gap: 15px;
    padding: 15px;
    background-color:var(--bgColor);
    overflow-x: auto;
    width: 100%;
    
}

.highlight {
    text-align: center;
    flex: 1 1 80px;
    margin: 0 5px;
}

.highlight img {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    border: 3px solid #000000;
    cursor: pointer;
  object-fit: cover;
}

.highlight-name {
    margin-top: 5px;
    font-size: 0.85rem;
    color: #fffefe;
}

/* Tabs Section */
.post-tabs {
    display: flex;
    justify-content: space-around;
    padding: 15px;
    background-color:var(--bgColor);
}

.tab {
    font-weight: bold;
    cursor: pointer;
}

.tab.active {
    
    border-bottom:3px solid rgba(255, 255, 255, 0.737);
}



/* Posts Section */
.posts {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 5px;
    padding: 15px;
    background-color:var(--bgColor);
    margin-bottom: 70px;
}

.post img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Footer */
.footer {
    position: fixed;
    bottom: 0;
    width: 100%;
    background-color:var(--bgColor);
    display: flex;
    justify-content: space-around;
    padding: 10px 0;
    border-top: 1px solid #010101;
}

.footer .icon img {
    width: 25px;
    height: 25px;
    cursor: pointer;
}

@media (max-width: 768px) {
    .profile-header {
        flex-wrap: wrap;
        text-align: center;
    }

    .avatar img {
        width: 100px;
        height: 100px;
    }

    .profile-stats {
        justify-content: space-evenly;
        margin-top: 10px;
    }

    .edit-profile-btn {
        width: 90%;
    }

    .highlights {
        gap: 5px;
    }

    .highlight img {
        width: 60px;
        height: 60px;
    }

    .highlight-name {
        font-size: 0.75rem;
    }
  
}

@media (min-width:769px) and (max-width:1266px){
    body {
        display: grid;
        grid-template-columns: 10vw 90vw;
        grid-template-rows: 1fr;
        max-width: 100vw; 
        overflow-x: hidden; 
      }
    
      #profileNavigation {
        display: block;
        grid-column: 1 / 2;
        max-width: 10vw; 
        border-right: 1px solid rgba(255, 255, 255, 0.281);
        padding-right: 50px;
        
      }
    
      .nav-links .nav-link > div > p, 
      .extras .nav-link > div > p
      {
        display: none;
      }
    
      .profile-container {
        grid-column: 2 / 3;
        max-width: calc(90vw - 100px); 
        width: 100%;
        height: 100%;
        padding-left: 50px;
        padding-right: 50px;
        overflow-x: hidden;
       
      }
    
      .footer {
        display: none;
      }
}

@media (min-width: 1267px) {
    body {
      display: grid;
      grid-template-columns: 30vw 70vw;
      grid-template-rows: 1fr;
      max-width: 100vw; 
      overflow-x: hidden; 
    }
  
    #profileNavigation {
      display: block;
      grid-column: 1 / 2;
      max-width: 30vw;
      border-right: 1px solid rgba(255, 255, 255, 0.281);
      padding-right: 50px;
      
    }
  
    .nav-links .nav-link > div > p {
      display: block;
    }
  
    .profile-container {
      grid-column: 2 / 3;
      max-width: calc(70vw - 100px); 
      width: 100%;
      height: 100%;
      padding-left: 50px;
      padding-right:50px;
      overflow-x: hidden;
     
    }
  
    .footer {
      display: none;
    }
  }
  