/* =========================
   THE LITTLE BLUE ROOM
   by mghothel
   ========================= */

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    background-color: #dfeef7;
    
    color: #536b7d;
    
    font-family:Tahoma, Verdana, Arial, sans-serif;
    
    background-image: url("bluesky.gif");
    background-size: cover;
    background-attachment: fixed;
}

.site {
  
    width: 92%;
    max-width: 1150px;
    margin: 40px auto;
    
    Padding: 12px;
    
    background-color: #74E4FF;
    border: 3px solid #0C71C6;
    
    box-shadow:
      inset 2px 2px 0 #FFFFFF,
      inset -2px -2px 0 #0C71C6,
      6px 6px 0 rgba(83, 107, 125, 0.25);
    
    
}


/* ----- CABEÇALHO ----- */

header img {
    width: 80px;
}

.title-area {
    display: flex;
    align-items: center;
    gap: 30px;
}

header {
  
    height: 230px;

    border: 2px solid #b8d7ea;
    background-color: rgba(255, 255, 255, 0.88);
    background-image: url("capstar.gif");
    background-size: cover;
    background-position: center;

    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;

    margin-bottom: 10px;

    box-shadow: 4px 4px 0 #c9deec;
}

header h1 {
    margin: 0;
    font-size: 52px;
    font-weight: normal;
    letter-spacing: 1px;
    font-family: "Trebuchet MS", tahoma, sans-serif;
    
    background-color: rgba(255, 255, 255, 0.85);
    
    padding: 6px 15px;
    
    border: 1px solid #FFFFFF;
    
}

header p {
    font-size: 13px;
    letter-spacing: 2px;
}

.top-bar {
   display: flex;
   justify-content: space-between;
   align-items: center;
   
   padding: 4px 8px;
   margin-bottom: 10px;
   
   background-color: #FFFFFF;
   
   border-top: 2px solid #FFFFFF;
   border-left: 2px solid #FFFFFF;
   border-right: 2px solid #0C71C6;
   border-bottom: 2px solid #0C71C6;
   
   font-size: 11px;
}

  
/* ----- ESTRUTURA PRINCIPAL ----- */

main {
    display: grid;
    
   grid-template-columns: 1.05fr 1fr 1.45fr 1.15fr;
   
   grid-template-areas: 
     "status welcome photo music"
     "menu   update  photo chat"
     "menu   buttons photo chat";
    gap: 10px;
}

.status {
    grid-area: status;
}

.status-line,
.status-item {
    display: flex;
    justify-content: space-between;
    
    padding: 7px 2px;
    
    border-bottom: 1px solid #cfeaf5;
}

.status-item:last-child {
   border-bottom: none;  
}

.status-line > span:first-child {
    color: #6AB63F;
    font-weight: bold;
}
  
.welcome {
    grid-area: welcome;
}


.music {
    grid-area: music;
}

.window-title {
    padding: 5px 8px;
    
    background-color: #0C71C6;
    color: #FFFFFF;
    
    border-bottom: 2px solid #0C71C6;

    display: flex;
    justify-content: space-between;
    align-items: center;

    font-size: 13px;
    font-weight: bold;
}

.window-buttons {
    display: flex;
    gap: 3px;
}

.window-buttons span {
    width: 15px;
    height: 15px;
    
    background-color: #FFFFFF;
    color: #536b7d;

    border-top: 1px solid #FFFFFF;
    border-left: 1px solid #FFFFFF;
    border-right: 1px solid #536b7d;
    border-bottom: 1px solid #536b7d;

    display: flex;
    justify-content: center;
    align-items: center;

    font-size: 10px;
}


.menu {
    grid-area: menu;

}

.update {
    grid-area: update;
}

.update-entry {
   display: flex;
   gap: 8px;
   
  padding: 5px 0;
  
  border-bottom: 1px dotted #b8d7ea;
}

.update-date {
    font-weight: bold;
    color: #0C71C6;
}

.buttons {
   grid-area: buttons;
   
   display: flex;
   flex-wrap: wrap;
   align-content: flex-start;
   
   gap: 4px;
   
}

.buttons img {
  width: 88px;
  height: 31px;
  
  }
  

.photo {
    grid-area: photo;
}

.chat {
    grid-area: chat;
}

.window {
  border: 2px solid #b8d7ea;
  background-color: rgba(255, 255, 255, 0.88);
  
  }
  
  .window-content {
     padding: 12px 15px;
     font-size: 12px;

}
    
.status {
   grid-area: status;
   
   border: 2px solid #b8d7ea;
   background-color: rgba(255, 255, 255, 0.88);
   box-shadow: 4px 4px 0 #c9deec;
}

/* ----- MENU ----- */

.menu .window-content {
  padding: 10px;
  
  /*listrinhas bem clarinhas*/
  background:
       repeating-linear-gradient(
          0deg,
          rgba(116, 228, 255, 0.08) 0px,
          rgba(116, 228, 255, 0.08) 2px,
          transparent 2px,
          transparent 6px
      );
        
}

nav {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-top: 0px;
}

nav a {
  
    display: block;
    
    padding: 7px 9px;
    
    color: #536b7d;
    text-decoration: none;
    
    background-color: rgba(255, 255, 255, 0.75);
    
    border-top: 1px solid #ffffff;
    border-left: 1px solid #ffffff;
    border-right: 1px solid #b8d7ea;
    border-bottom: 1px solid #b8d7ea;
    
    box-shadow: 2px 2px 0 rgba(184, 215, 234, 0.45);
    
    transition: 0.15s;
}

nav a::before {
    content: "☆ ";
    color: #0C71C6;
}    

nav a:hover {
    background-color: #e7f8ff;
    color: #0C71C6;
    
    font-weight: bold;
    letter-spacing: 1px;
    
    transform: translateX(2px);
}

nav a:hover::before{
  content:"★";
}


/* ----- CONTEÚDO ----- */



.welcome {
   grid-area: welcome;
}

.welcome-gif {
     
    display: flex;
    justify-content: flex-start;
    align-items: center;
}


/* ----- PARTE INFERIOR ----- */

.music {
    padding: 25px;

    border: 2px solid #b8d7ea;
    background-color: rgba(255, 255, 255, 0.88);

    box-shadow: 4px 4px 0 #c9deec;
}

.music h2 {
    margin-top: 0;
    font-weight: normal;
}

.player {
    margin-top: 35px;
    text-align: center;
    letter-spacing: 8px;
}

.photo-content {
    padding: 8px;
}    

.photo-info {
   display: flex;
   justify-content: space-between;
   
   padding: 6px 2px;
   
   font-size: 10px;
  
   border-bottom: 1px dotted #b8d7ea;
}
  
.feature-photo {  
   width: 100%;
   height: 300px;
   
   object-fit: cover;
   display: block;
   
   border: none;
}

.photo-link {
   display: block;
   
   margin-top: 6px;
   
   color: #0C71C6;
   font-size: 11px;
   text-align: right;
   text-decoration: none;
}

.photo-link:hover {
   font-weight: bold;
   text-decoration: underline;  
}

.photo-post {
  padding: 0px
}

.photo-user {
    display: flex;
    align-items: center;
    gap: 7px;
    
    padding: 7px;
    
    border-bottom: 1px solid #b8d7ea;
}

.photo-avatar {
   width: 32px;
   height: 32px;
   
   object-fit: cover;
   
   border: 1px solid #0C71C6;
   background-color: #ffffff;
}

.photo-user-name {
    display: flex;
    flex-direction: column;
    
    font-size: 10px;
}

.photo-user-name strong {
    font-size: 12px;
    color: #0c71c6;
}

.photo-date {
   margin-left: auto;
   
   display: flex;
   flex-direction: column;
   align-items: flex-end;
   
   font-size: 9px;
}

.photo-caption {
    padding: 7px 8px 3px;

    font-size: 10px;
}

.photo-caption strong {
    color: #0C71C6;
}

.photo-caption p {
    margin: 3px 0;
}

.photo-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 3px;

    padding: 4px 8px;
}

.photo-tags span {
    padding: 2px 5px;

    border: 1px solid #0C71C6;

    background-color: #FFFFFF;

    font-size: 9px;
}

.photo-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;

    margin-top: 4px;
    padding: 6px 8px;

    border-top: 1px solid #cfeaf5;

    font-size: 10px;
}

.photo-actions a {
    color: #0C71C6;
    text-decoration: none;
}

.photo-actions a:hover {
    font-weight: bold;
    text-decoration: underline;
}

.photo-post {
    padding: 0;

    background-color: #f7fcff;

    background-image:
        repeating-linear-gradient(
            0deg,
            transparent,
            transparent 3px,
            rgba(12, 113, 198, 0.05) 3px,
            rgba(12, 113, 198, 0.05) 4px
        );
}













