
*,
*::before,
*::after {
  box-sizing: border-box; 
}



body {
    margin: 0%;
    min-height: 100vh;
    display: grid;
    place-items: center; /* This is necessary to align header */
    background-color: #000;
    background-image: url("assets/bg_sky4.jpg");
 }


  .header {
    width:100%;
    /*width:max-content;*/
    height: 284px;
    background-color: #191418;
    /*background-image: url("assets/bg_sky4.jpg");*/
  }     

  
 .columns {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    margin: 0%;
    grid-template-rows: auto;
    padding: 1%;
    place-items: center; /* THE SOLUTION */
    border-bottom: 1px solid #71646e; 
    border-top: 1px solid #71646e; 
    align-content: space-evenly;
  }  


  .logo {
    padding: 15px;
    border: 1px solid #71646e;   
    border-radius: 5%;
    background-color: #000;
  }
 




  
h1 {
  text-align: center;
  font-size: medium;
}

h2 {
  text-align: center;
  font-size: medium;
}


ul {
  align-items: center;
}




  .text {
    padding-top: 10px;
    padding-bottom: 10px;
    padding-left: 10px;
    padding-right: 10px;
    place-items: center;
    font-size: 18px;
    color: #baada4;
    line-height: .5em;
    border: 1px solid #71646e;
    border-radius: 5%;
    font-family: "nixie_oneregular";
    background-color: #000;
   
  }

 

.red {
    padding: 10px;
    /*border: .01em solid #362d35;*/
    border: .01em solid #71646e; 
    border-radius: 5%;
    background-color: #000;
    
  }





  
  .gallery {
   --size: 100px;
    display: grid;
    padding-top: 10px;
    grid-template-columns: repeat(6, var(--size));
    grid-auto-rows: var(--size);
    margin-bottom: var(--size);
    place-items: start center;
    background-color: #baada4;
    border: 1px solid #71646e;
    border-radius: 5%;
    gap: 5px;
    /*background-image: url("assets/Red-Velvet-ScreenShot.png");*/
        
  
    
    &:has(:hover) img:not(:hover),
    &:has(:focus) img:not(:focus){
    filter: brightness(.35) saturate(0.5) 
    }
  


    & img {
      object-fit: cover;
      width: calc(var(--size) * 2);
      height: calc(var(--size) * 2);
      clip-path: path("M90,10 C100,0 100,0 110,10 190,90 190,90 190,90 200,100 200,100 190,110 190,110 110,190 110,190 100,200 100,200 90,190 90,190 10,110 10,110 0,100 0,100 10,90Z");
      transition: clip-path 0.25s, filter 0.75s;
      grid-column: auto / span 2;
      border-radius: 5px;

  
      &:nth-child(5n - 1) { 
        grid-column: 2 / span 2 
      }


      &:hover,
      &:focus {
        clip-path: path("M0,0 C0,0 200,0 200,0 200,0 200,100 200,100 200,100 200,200 200,200 200,200 100,200 100,200 100,200 100,200 0,200 0,200 0,100 0,100 0,100 0,100 0,100Z");
        z-index: 1;
        transition: clip-path 0.25s, filter 0.25s;
      }

      
      &:focus {
        outline: 1px dashed black;
        outline-offset: -5px;
      }
    }
  }

footer {
  width: 100%;
  height: 50px;
  padding: 15px;
  border: .01em solid #71646e; 
  background-color: #baada4;
  font-family: "nixie_oneregular";
  font-size: 20px;
  color: #71646e;
  line-height: .5em;
  text-align: center;
}



a {
  text-decoration: none;
}

/*CSS Link Color*/
.link {
  color: #71646e;
}

.link:hover {
  /*color: #191418;*/
  color: #e2d4d4;
}