body, html {
    background-color: #212121;
    color: whitesmoke;
    height: 100%;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow:hidden;
    font-family: 'Lucida Sans', 'Lucida Sans Regular', 'Lucida Grande', 'Lucida Sans Unicode', Geneva, Verdana, sans-serif;
}

* {box-sizing: border-box; margin:0; padding: 0;}

#home {
    position: fixed;
    top:0;
    left:0;
    margin:10px;
    padding:10px;
    color:red;
    text-decoration:none;
}

#home:hover {
    color:lime;
    background-color:transparent;
}

.container {
    height: 100%;
    width: 100%;
    background-image: url(/home/img/spinneweb.jpg);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    overflow: hidden;
    align-items: center;
    z-index:1;
}

.slider {
    
    position: absolute;
    top: 50px;
    left: 50px;
    width: 200px;
    max-width: 200px;
    height: 200px;
    overflow: hidden;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.4);
    
    
}

.slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 0.8s ease-in-out;
}

.slide.active {
    opacity: 1;
}

.slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

h1 {
    color: deeppink;
    text-align: center;
}



.text {
    
    width: 60dvw;
    height: 80dvh;
    overflow-y: auto;
    overflow-x:hidden;
    position: absolute;
    top: 50px;
    right: 50px;
    margin: 0 auto;
    scrollbar-width: thin;
    
    
}

.text-content {
    
    min-height: 180vh;
    width: 100%;
    position: relative;
    padding: 20vh 12vw 18vh;
    
    opacity: 0.8;
    scrollbar-width: thin;
    color: white;
    text-shadow: 0 4px 8px rgba(0, 0, 0, 0.9);
    
    font-weight:bolder;
    text-align:center;

    transition: transform 4000ms ease 500ms;
    will-change: transform;
    
    transform: translateY(100px);
    
}

.text-content.visible {
    
    transform: translateY(0);
    
}

.deeppink {
    color: #212121; 
    z-index:5; 
    font-size: 20px;
    -webkit-animation: glow 3s ease-in-out infinite ;
    -moz-animation: glow 3s ease-in-out infinite;
    animation: glow 3s ease-in-out infinite ;
}

@keyframes glow {

  0% {
    text-shadow:
      0 0 8px rgba(255,20,147,0.95),
      0 0 18px rgba(255,20,147,0.75),
      0 0 32px rgba(255,20,147,0.5),
      0 0 60px rgba(255,20,147,0.25);
    color: #212121;
  }
  50% {
    text-shadow:
      0 0 12px rgba(255,20,147,1),
      0 0 24px rgba(255,20,147,0.85),
      0 0 44px rgba(255,20,147,0.55),
      0 0 80px rgba(255,20,147,0.3);
    color: #212121;
  }
  100% {
    text-shadow:
      0 0 8px rgba(255,20,147,0.95),
      0 0 18px rgba(255,20,147,0.75),
      0 0 32px rgba(255,20,147,0.5),
      0 0 60px rgba(255,20,147,0.25);
    color: #212121;
  }
}

.smilies {
    display: inline-block;
    text-shadow: none;
    font-size: 250%;
    width: 100%;
    text-align: center;
    letter-spacing: 10px;
    background-color: transparent;
    z-index: 5;
}


@media (max-width: 768px) {

.container {position: relative;}
    
.slider {
    
    position: fixed;
    top: 20px;
    right: 20px;
    left: auto;
    width: 150px;
    max-width: 150px;
    height: 150px;
    overflow: hidden;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.4);
    
    
}

    .text {
        position: relative;
        
        width: 100dvw;
        margin: 0 auto;
        height: 70vh;
        margin-top: 20dvh;
        right: auto;
        
        -webkit-mask-image: linear-gradient(to bottom,
  rgba(0,0,0,0) 0%,
  rgba(0,0,0,1) 15%,
  rgba(0,0,0,1) 60%,
  rgba(0,0,0,0) 100%);
       mask-image: linear-gradient(to bottom,
  rgba(0,0,0,0) 0%,
  rgba(0,0,0,1) 15%,
  rgba(0,0,0,1) 60%,
  rgba(0,0,0,0) 100%);

    }
    
    .text-content {
        min-height: auto;
        width: 100%;
        margin: 0 auto;
        text-align:center;
        padding: 4vh 12vw 20vh;
        scrollbar-width: thin;
    
        transition: opacity 4000ms ease 0ms, transform 4000ms ease 200ms;
        will-change: opacity, transform;
        opacity:0;
        transform: translateY(150px);
    }
    .text-content.visible {
        opacity: 1;
        transform: translateY(0);
        color: #212121;
        text-shadow: 0 2px 4px steelblue;
        /*text-shadow: 0 2px 4px rgba(70, 130, 180, 0.7);*/
    }
}