html{

    overflow-x: hidden;
}


body{

    background-color: black; 
    padding: 0;
    margin: 0;
    overflow-x: hidden;
    
}

#header{
    color: red;
    font-family: 'Courier New', Courier, monospace;
    justify-content: center;
    width: fit-content;
    position: relative;
    padding-left: 60px;
    padding-top: 20px;
    padding-bottom: 20px;
    height: fit-content;
    animation: move 5s linear;
    z-index: 1;
}

@keyframes move{
                
    0%{
        transform:translate(0);
        opacity:1;
    }
    
    50%{
        transform:translate(1100px);
        opacity:1;
    }
}
@keyframes right{
                
    0%{
        transform:translate(0px);
        opacity:1;
    }
    
    50%{
        transform:translate(1200px);
        opacity:1;
    }
    100%{
        opacity:0;
        transform:translate(1200px);
        
    }
}


  
.arrow-container {
    display: block;
    width: 100px;
    height: 100px;
    position: absolute;
    top: 90%;
    left: 75%;
    transform: translate(-50%, -50%) rotateZ(270deg);
}
.arrow-container:hover {
    cursor: pointer;
}
.arrow-container:hover .arrow {
    top: 50%;
}
.arrow-container:hover .arrow:before {
    transform: translate(-50%, -50%) rotateZ(-30deg);
}
.arrow-container:hover .arrow:after {
    transform: translate(-50%, -50%) rotateZ(30deg);
}
  
.arrow {
    position: absolute;
    left: 75%;
    transition: all 0.4s ease;
}
.arrow:before, .arrow:after {
    transition: all 0.4s ease;
    content: "";
    display: block;
    position: absolute;
    transform-origin: bottom right;
    background: #fff;
    width: 4px;
    height: 50px;
    border-radius: 10px;
    transform: translate(-50%, -50%) rotateZ(-45deg);
    background: red;
}
.arrow:after {
    transform-origin: bottom left;
    transform: translate(-50%, -50%) rotateZ(45deg);
}
.arrow:nth-child(1) {
    opacity: 0.3;
    top: 35%;
}
.arrow:nth-child(2) {
    opacity: 0.6;
    top: 55%;
}
.arrow:nth-child(3) {
    opacity: 0.9;
    top: 75%;
}

#entryEnclose{
    background-color: rgb(47, 25, 112);
    height: 200px;
    width: 100%;
    justify-content: center;

}
.explain{
    backdrop-filter: blur(20px); 
    background-color: rgba(0, 0, 0, 0.25); 
    border-radius: 16%; 
    text-align: center; 
    padding: 8px 12px; 
    width:fit-content; 
    margin:auto;
    transform: translate(-400px,-900px);
}


.grid{
    width: 100%;
    height: fit-content;
    position: relative;
    padding-top: 25px;
    padding-bottom: 25px;
    background-color: aqua; 
}
/* .bookgrid p {
    /* flex-grow says how much of the available space to use */
    /* try changing this to 0 or 0.2*/
    /* flex-grow: .2;  
} */ 


.magazine{
    display: grid;
    position: relative;
}
  
.foodblog{
    position: relative;
    display: grid;
}

 
.abthover {
    transition: 1s ease;
}
  
.abthover:hover {
    -webkit-transform: scale(0.8);
    -ms-transform: scale(0.8);
    transform: scale(0.8);
    transition: 1s ease;
    
}

#carriage{
    position: absolute;
    animation: right 5s linear;
    opacity: 0;
    
}


.footer{
    background-color: #3188B1;
    width: 100%;
    height: 55px;
    left:0px;
    padding: 10px;
    text-align: center;
    position:absolute;
    
}

#castle{

    width: 30%;
    height: 30%;
    transform: translate(800px, -220px);
    position: relative;
}

#moon{

    width: 10%;
    height: 10%;
    transform: translate(1100px,-500px);
}

.answerText{

    color: red;
    width: fit-content;
    height: fit-content;
    font-weight: 300;
    transform: translate(400px, 0px);
}

#music{
    z-index: 3;
    transform: translate(40px,70px);
}

#block{

    width: 500px;
    height: 100px;
    background-color: blue;
    z-index: 2;
    position: relative;
}