h1 {
  text-align: center;

}


p {
  text-align: center;
}

body {
  margin: 0;
  background-image: url("curtains.jpg");
  background-size: cover;     
  background-position: center;   
  background-attachment: fixed; 
  background-repeat: no-repeat;
  color: #210038;
  font-family: "Lucida Console","Courier New",monospace;
}


img {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 0 auto;
}

.wrap {
  max-width: 700px;
  margin: 50px auto;
  padding: 40px;
  position: relative;
  z-index: 10;
border-radius: 15px;
  border: 10px solid #FF00AA; 
  background-image: url("pattern.jpg");
  background-repeat: repeat;
  background-size: 850px;}
  
  .panel {
   border: 4px solid #460169;
  background: linear-gradient(
    to bottom,
    #ffc6ed,   
    #ff9ae0    
  );
    background-size: 250px auto;
      border-radius: 20px;
      padding: 20px;
}

.panel p{
  background: #ffb5e8;
  background: linear-gradient(
    to bottom,
    #ffb5e8,  
    #ff82d5    
  );
  padding: 10px 12px;
  border-radius: 10px;
}

.panel h2{
  margin: 0 0 10px 0;
  padding: 6px 10px;
  text-transform: lowercase;
  font-size: 14px;
}

.layout{
  display: grid;
  grid-template-columns: 620px 240px; 
  gap: 16px;
  justify-content: center;        
}

.main .panel {
  margin-bottom: 25px;
}

.main h1,
.main h2,
.main h3,
.main h4 {   
  background: #ff82d5;
  padding: 6px 14px;
  border-radius: 18px;
  margin-bottom: 12px;
   text-align: center;
}



.main, .side{
  display:flex;
  flex-direction:column;
  gap:16px;
}


.side .panel ul li {
  background: rgba(255, 182, 193, 0.45);
  padding: 8px 10px;
  border-radius: 20px;
  margin-bottom: 8px;
}


.side .panel {
  background: linear-gradient(
    to bottom,
    #FFF1FB,   
    #ff9ae0    
  );
  border-radius: 14px;
  overflow: hidden;
}


.side h1,
.side h2,
.side h3,
.side h4 {
  background: rgba(209, 0, 153, 0.5); 
  padding: 4px 10px;
  border-radius: 16px;
  margin-bottom: 10px;
    text-align: center;
}

.gif-grid{
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  justify-items: center;   
}

.gif-grid img{
  display:block;
}


.wide-grid{
  display:flex;
  flex-direction:column;
  gap: 10px;
}




a{ color:#7a00ff; }
a:hover{ text-decoration: underline; }


@media (max-width: 900px){
  .layout{ grid-template-columns: 1fr; }
  .img-grid{ grid-template-columns: repeat(2, 1fr); }
  .gif-grid{ grid-template-columns: repeat(2, 1fr); }
}

.container {
  width: 90%;
  max-width: 900px;
  margin: auto;
}

body {
  cursor: url("syringe.png") 16 16, auto;
}