body {
    margin: 0;
    background-color: hsla(204, 67%, 88%, 0.736);
    line-height: 1.5;
    font-family: 'Dokdo', cursive;
  }
  * {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
  }
  audio::-webkit-media-controls-panel {
    background-color: #56AEFF;
  }
  
  .container {
    width: 100%;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background-color: #222;
  }
  
  .text {
    position: relative;
    text-transform: uppercase;
    color: #222;
    font-size: 60px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 30px;
  }
  
  .text span {
    text-align: center;
    background-color: #e4cdbb;
    width: 60px;
    margin-right: 2px;
  }
  
  .text:hover span:nth-child(odd) {
    transform: skewY(15deg);
  }
  
  .text:hover span:nth-child(even) {
    transform: skewY(-15deg);
  }
  
  h1 {
    text-align: center;
    background-color: hsl(0, 0%, 100%);
    color: hsl(208, 66%, 52%);
    font-size: 80px

}
body {
    cursor: url(file:///Users/sofya/Documents/kh/vk2sem/web/broken.png) 0 75, default;
}
.floating { 
    animation-name: floating;
    animation-duration: 5s;
    animation-iteration-count: infinite;
    animation-timing-function: ease-in-out;
    margin-left: 30px;
    margin-top: 5px;
}
 
@keyframes floating {
    0% { transform: translate(0,  0px); }
    50%  { transform: translate(0, 15px); }
    100%   { transform: translate(0, -0px); }   
}

.gallery {
    display: grid;
    grid-template-columns: repeat(8, 1fr);
    grid-template-rows: repeat(8, 5vw);
    grid-gap: 15px;
    cursor: url(file:///Users/sofya/Documents/kh/vk2sem/web/bath.png) 0 75, default;
        /*  max image size: 128x128px  */
        /*  for local file use  */
        /*  cursor: url(Photos-icon.png) 0 75, default;  */
        
      }
.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    grid-gap: 4rem;
    justify-items: center;
    margin: 100px;
    padding: 0;
    cursor: url(file:///Users/sofya/Documents/kh/vk2sem/web/bath.png) 0 75, default;
}
.grid img {
    max-width: 100%;
  height: auto;
  object-fit: cover;
  transition: opacity 0.25s ease-in-out;
}
.hovertext {
    position: relative;
    border-bottom: white;
  }
  
  .hovertext:before {
    content: attr(data-hover);
    visibility: hidden;
    opacity: 0;
    width: 400px;
    background-color: rgb(88, 144, 255);
    color: #fff;
    text-align: center;
    border-radius: 30px;
    padding: 8px 0;
    transition: opacity 1s ease-in-out;
  
    position: absolute;
    z-index: 1;
    left: 0;
    top: 30%;
  }
  
  .hovertext:hover:before {
    opacity: 1;
    visibility: visible;
  }
  