@font-face {
    font-family: pixel;
    src: url(./fonts/04B_30__.TTF);
}
body {
    background: linear-gradient(to bottom,rgb(12, 31, 56),rgb(0, 0, 0));
    background-size: 100% 100%;
    margin: 0;
    font-family: pixel;
    height: 100vh;
    display: flex;
    flex-direction: column;

}

#seascreen {
    position: absolute;
    width: 100%;
    height: 100%;
    justify-content: center;
}
.animationelements {
    width: 100%;
    height: 100%;
    overflow-x: hidden;
}


#maxH {
    bottom: 0%;
    max-width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    top: 45%;

}

#mobilesign {
    display: none;
}

#testchar {
    scale: 0.7;
    position: absolute;
    width: 30%;
    height: auto;
    bottom: 10vh;
    pointer-events: none;

}
#textbox {
    background-color: black;
    border-color: rgb(255, 255, 255);
    border-radius: 0.5rem;
    border-width: 5px;
    border-style: solid;
    position: relative;
    max-width: 100%;
    width: 30%;
    margin-bottom: 2%;
    aspect-ratio: 2 / 1;

}


#dialog {
    color: rgb(255, 255, 255);
    font-size: 25px;
    left: 10px;
    top: -10px;
    position: absolute;
    width: 100%;
}
#opt {
    gap: 5%;
    position: relative;
    width: 40vw;
    height: 5vh;
    display: flex;
    justify-content: center;
}
.options {
    position: relative;
    width: 100%;
    height: 100%;
    background-color: black;
    color: rgb(255, 255, 255);
    text-align: center;
    vertical-align: middle;
    line-height: 200%;
    border-radius: 0.5rem; border-width: 5px; border-color: rgb(255, 255, 255); border-style: solid;
    transition: transform 0.1 ease;
}
.options:hover {
    transform: scale(1.1);
}
#opbanner {
    display: flex;
    text-align: center;
    justify-content: center;
    font-style: oblique;
    font-size: 5vw;
    color: aliceblue;
    
}




/*#maxB {
    position: fixed;
    background-color: black;
    width: 60px;
    height: 60px;
    border-radius: 2rem;
    right: 20px;
    bottom: 20px;
    z-index: 2;
}*/


#contactme {
    position: relative;
    width: 40%;
    height: 100%;
    aspect-ratio: 11 / 5;
    background-color: rgb(255, 255, 255);
    border-radius: 0.5rem;
    border-style: dotted;
    border-color: rgb(224, 70, 70);
    margin-top: 2%;
}
#emailform {
    position: relative;
    height: 100%;
    width: 100%;
}
#esection {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100%;
}
#esection h2 {
    position: absolute;
    font-size: 1.5vw;
    width: 100%;
    top: 0%;
    margin: 0;
    text-align: center;
}
.emailint {
    margin: 10px;
    width: 50%;
    height: 80%;
}
#email {
    width: 14vw;
    aspect-ratio: 12 / 1;
    font-size: 1vw;
    border-top: 0px;
    border-left: 0px;
    border-right: 0px;
    border-color: rgb(0, 89, 255);
}
#coms {
    position: relative;
    width: 100%;
    aspect-ratio: 5 / 3.5;
    
}

#contactinfo button {
    position: relative;
    background-color: crimson;
    font-size: 1vw;
    left: 50%;
    bottom: 25%;
    margin: 2.5%;
    aspect-ratio: 5/2;
    border-radius: 0.3rem;
}
.postage {
    margin: 0.5vw;
    width: 25%;
    aspect-ratio: 1 / 1;
    object-fit: contain;
    border-style: dashed;
    position: relative;
    top: 15%;
    left: -5vw;
}
#contactinfo h5 {
    border-top: 0px;
    border-left: 0px;
    border-right: 0px;
    border-style: solid;
    border-color: rgb(0, 89, 255);
    width: 14vw;
    margin: 0;
    font-size: 1vw;
}
#contactinfo h4 {
    margin-bottom: 10px;
    font-size: 1vw;
}
.formlabel {
    font-size: 1vw;
}

#msg {
    width: 100%;
    max-height: 100%;
    object-fit: contain;
}
#message {
    text-align: center;
    display: none;
    margin: 2.5%;
}
#msimg {
    width: 50%;
    height: 100%;
    object-fit: contain;
    display: none;
    margin-left: auto;
    margin-right: auto;
}


#comictab {
    width: 100%;
    position: absolute; margin: auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    background-image: url('./img/floorwall1.png');
    top: 120%;

}
#comintro {
    display: flex;
    text-align: center;
    position: relative;
    font-size: 2vw;
    height: 2.5%;
    background-color: rgb(241, 160, 122);
    justify-content: center;
    align-items: center;
    border-radius: 0.5rem;
}   

#csbanner{
    width: 100%;
    aspect-ratio: 12 / 2.75;
    position: relative;
    display: flex;
    justify-content: center;
    background-color: aliceblue;
    overflow: hidden;
}
#csroller{
    aspect-ratio: 12 / 2;
    position: relative;
    display: flex;
    flex-direction: row;
    justify-content: center;
    left: 0%;

}
#leftb {
    touch-action: manipulation;
    display: flex;
    align-self: center;
    left: 0px;
    position: absolute;
    z-index: 1;
    width: 10%;
    height: 100%;
    justify-content: center;
    align-items: center;
    border: none;
    background-color: transparent;
}
#leftb:active {
    scale: 0.8;
}
#rightb {
    touch-action: manipulation;
    display: flex;
    align-self: center;
    right: 0px;
    position: absolute;
    z-index: 1;
    width: 10%;
    height: 100%;
    justify-content: center;
    align-items: center;
    border: none;
    background-color: transparent;
}
#rightb:active {
    scale: 0.8;
}
.comicslot {
    position: relative;
    width: 17vw;
    margin: 20px;
    padding: 0px;
    text-align: center;
    border-radius: .5rem;
    align-items: center;
    left: 0;

}
.comicslot h3 {
    display: none;
}
.cthumb {
    position: absolute;
    width: 100%;
    height: 100%;
    left: 0%;
    object-fit: cover;
    border-radius: 0.5rem;
    
}
.cthumb:hover {
    transform: translateY(-10px);
}


#comicpage {
    position: relative;
    width: 70%;
    background-color: rgb(95, 110, 124);
    border-radius: 0 0 1rem 1rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    margin-top: 10%;
}
#comicimg {
    align-self: center;
    object-fit: contain;
    width: 45%;
    height: 100%;
}

#navbar {
    background-color: rgb(95, 110, 124);
    width: 100%;
    top: -7%;
    border-radius: 1rem 1rem 0 0;
    display: flex;
    justify-content: center;
    align-items: center;
    border-bottom-style: solid;
    border-color: rgb(64, 72, 80);
}
#pagenum {
    position: absolute;
    color: aliceblue;
    display: flex;
    align-items: center;
    justify-content: center;
    scale: 1.5;
}

.navopt {
    height: 50px;
    width: 400px;
    background-color: rgb(95, 110, 124);
    border: none;
    border-color: rgb(64, 72, 80);
    
}
.navopt:active {
    background-color: rgb(70, 81, 92);
}
#lb {
    margin-right: 20%;
    height: 100%;
    border-radius: 1rem 0 0 0;
    border-right-style: solid;
}
#rb {
    margin-left: 20%;
    height: 100%;
    border-radius: 0 1rem 0 0;
    border-left-style: solid;
}

#recmenue {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    width: 100%;
    height: 100%;
}
#recmenue h2 {
    font-size: 2vw;
    width: 100%;
    text-align: center;
}
.recslot {
    margin: 10px;
    width: 20vw;
    flex-direction: column;
    z-index: 1;
    aspect-ratio: 6 / 7;
}
.recthumb {
    border-radius: 0.5rem;
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.recthumb:hover {
    scale: 1.1;
}

#leftp {
    height: 100%;
    width: 49%;
    left: 0%;
    position: absolute;
}
#rightp {
    position: absolute;
    height: 100%;
    width: 49%;
    right: 0px;
}


#bubblefx {
    position: absolute;
    width: 100%;
    pointer-events: none;
    left: 0%;
    z-index: -2;

}
#seafloor {
    position: absolute;
    background-image: url('./img/seafloor1f.png');
    background-size: 50%;
    width: 100%;
    height: 100%;
    top: 80%;
    z-index: -1;
}
#sign {
    position: relative;
    scale: 70%;
    max-width: 50%;
    height: auto;
    left: 2%;
    top: -25%;
}

#fishc {
    position: absolute;
    background-color: rgb(255, 255, 255);

}
/*
#fmes {
    position: absolute;
    width: 200px;
    height: 100px;
    background-color: rgb(0, 0, 0);
    left: 0%;
    top: 0%;
    border-radius: .5rem;
    border-width: 3px;
    border-color: azure;
    border-style: solid;
    color: rgb(255, 255, 255);

}
*/

#kelp {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0vh;
    left: 0vw;
    overflow-x: hidden; max-width: 100%;
}

.fish {
    scale: 0.5;
    overflow-x: hidden;
}
.jellyfish {
    scale: 0.5;
    overflow-x: hidden;
}



@media (max-width: 768px) {
    #textbox {
        width: 90%;
        aspect-ratio: 2 / 0.7;
    }
    #testchar {
        scale: 1.5;
        bottom: 20vh;
    }
    #opt {
        min-width: 100vw;
    }
    .options {
        width: 100%;
        height: 100%;
    }
    #sign {
        display: none;
    }
    #mobilesign {
        display: block;
        position: absolute;
        scale: 0.3;
        width: 100%;
        height: auto;
        bottom: 0%;
        right: 35%;
    }
    #kelp {
        display: none;
    }

    #comictab {
        top: 100%;
    }
    #comintro {
        font-size: 4vw;
    }
    #comicpage {
        width: 100%;

    }
    #csbanner {
        aspect-ratio: 12 / 7;
        top: 10%;
        margin-bottom: 20%;
    }
    #csroller {
        left: 20%;
    }
    .comicslot {
        width: 40vw;
        margin: 0.5%;
    }
    #rightb {
       width: 20%;
       height: 50%;
    }
    #leftb {
        width: 20%;
        height: 50%;
    }
    #comicimg {
        width: 100%;
    }
    #recmenue h2 {
        font-size: 5vw;
    }
    .recslot {
        margin: 1%;
        width: 30vw;
    }

    #contactme {
        width: 80%;
    }
    #contactinfo h4 {
        margin-top: 2%;
        margin-bottom: 2%;
        font-size: 2vw;
    }
    #contactinfo h5 {
        width: 100%;
        font-size: 2vw;
    }
    #contactinfo button {
        font-size: 3vw;
    }
    #esection h2 {
        font-size: 3.5vw;
    }
    .formlabel {
        font-size: 2vw;
    }
    #email {
        width: 100%;
        aspect-ratio: 12 / 1;
        font-size: 3.5vw;
    }
    .postage {
        left: -15vw;
        top: 10%;
    }
    #message {
        font-size: 3vw;
    }

    #bubblefx {
        width: 100%;
        
    }

    #fishc {
        scale: 0.5;
    }

}