* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: #151717;
    height: 5000px;
    background-image: url(assets/cell+division+dark.jpg);
    background-repeat: repeat;
    background-size: contain;
}

header {
    padding: 10px;
    height: 40px;
    text-align: end;
}

button {
    padding: 20px;
    height: 20px;
    width: 250px;
    background-color: #151717;
    background: none;
    border: none;
}

a {
    color: aliceblue;
}

.container {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    /* gap: 20px; */
    /* height: 100vh; */
    min-height: calc(100vh + 3900px);
    
}

@font-face {
    font-family: "AmoebaDanceRegularVF";
    src: url(assets/AmoebaDanceRegularVF.woff2);
}

.amoeba-dance {
    font-family: "AmoebaDanceRegularVF", serif;
    font-variation-settings: "DNCE" var(--dance1);
}

.amoeba-dance-alt {
    font-family: "AmoebaDanceRegularVF", serif;
    font-variation-settings: "DNCE" var(--dance);
	font-size: var(--font-size);
}

.amoeba-dance-title {
    font-family: "AmoebaDanceRegularVF", serif;
    font-variation-settings: "DNCE" 0;
    font-size: 100px;
}

@font-face {
    font-family: "Bagnard";
    src: url(assets/Bagnard.otf);
}

.bagnard-regular {
    font-family: "Bagnard", serif;
    font-size: 18px;
}

@keyframes amoeba-animation {
    0% {
        font-variation-settings: "DNCE" 0;
    }
    50% {
        font-variation-settings: "DNCE" 1000;
    }
    100% {
        font-variation-settings: "DNCE" 0;
    }
}

@keyframes blur-background {
    0% {
        background-color: none;
    }
    50% {
        background-color: #151717;
    }
    100% {
        background-color: none;
    }
}

/* title grid and boxes */
.title-grid {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 30px;
}

.title-text {
    text-align: center;
    color: white;
    font-size: 120px;
    letter-spacing: 4.4rem;
}

.letter-box {
    min-width: 120px;
    min-height: 120px;
    border: 2px solid white;
    border-radius: 50%;
    display: flex; 
    justify-content: center;
    align-items: center;
}

.title-grid-child {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin: 0;
}

/* title variable animation */

.letter-box:hover {
    animation-name: amoeba-animation, blur-background;
    animation-duration: 3s;
	animation-iteration-count: infinite;
	animation-timing-function: linear;
} 

/* title description */

.title-description {
    color: white; 
    font-size: calc(12px + 1vw);
    text-align: start;
    max-width: 750px;
    padding-top: 20%;
    line-height: 1.2em;
    margin-bottom: 300px;
    text-wrap: pretty; 
}

/* the glyphs section */

.glyphs-grid {
    display: grid;
    max-width: 60vw;
    grid-template-columns: repeat(9, 1fr);
    color: aliceblue;
    font-size: 100px;
    gap: 10px;
}

.glyphs-grid .grid-item {
    padding-bottom: 10px;
    font-family: "AmoebaDanceRegularVF", serif;
    font-variation-settings: "DNCE" 0;
    font-size: 100px;
}

.glyphs-grid .grid-item:hover {
    scale: 150%;
    cursor: url(assets/mag-cursor-tp.png), auto;
    /* cursor: cell; */
}

.slidecontainer {
    margin-top: 200px;
    width: 300%;    
}

.slider {
    -webkit-appearance: none;
    appearance: none;
    width: 100%;
    height: 5px;
    background: lightgray;
    outline: none;
    /* padding-top: 100px; */
    font-size: 24px;
    grid-row-start: 6;
    grid-column: span 5 / 8;
}

.slider::-webkit-slider-thumb {
    -webkit-appearance: none; /* Override default look */
    appearance: none;
    width: 15px; 
    height: 15px; 
    border-radius: 50px;
    background: white; 
    cursor: pointer;
  }
  
.slider::-moz-range-thumb {
    width: 30px;
    height: 25px;
    background: red; 
    cursor: pointer;
  }

input[type="range"]::-moz-range-track {
    background: #151717;
    height: 10px;
}

/* the cell division table section */

.table-grid {
    padding-top: 400px;
    display: grid;
    width: 40vw;
    grid-template-columns: 1fr 1fr;
    color: aliceblue;
    font-size: 24px;
    gap: 10px;
}

.table-grid .grid-item {
    /* border: 2px solid white; */
    padding-bottom: 10px;
    font-family: "AmoebaDanceRegularVF", serif;
    font-variation-settings: "DNCE" 0;
}

.amoeba-dance-gigantic {
    font-size: 300px;
    font-family: "AmoebaDanceRegularVF", serif;
}

/* the paragraph text input section */

.normtext {
    max-width: 70vw;
    height: 40vh;
    margin-top: 100px;
    font-size: 32px;
    color: white;
    overflow-y: scroll;
    scrollbar-width: 5px;
}

.paragraph-slider {
    padding-top: 150px;
    font-size: 18px;
    color: white;
}

/* for responsive screen sizes */

@media screen and (max-width: 1100px) {
    .normtext {
        max-width: 90vw;
    }
    .title-grid {
        text-wrap: wrap;
        margin: 50px;
    }
    .title-grid-child {
        gap: 0;
    }
    .title-text {
        font-size: 8vw;
        text-wrap: wrap;
        width: 5rem;
    } 
    .letter-box {
        letter-spacing: 2rem;
        min-width: 4rem;
        width: 16px;
        min-height: 2rem;
    }
    .title-description {
        margin: 5rem;
        padding: 3rem;
        padding-top: 2rem;
        text-wrap: pretty;
        text-align: center;
    }
    .glyphs-grid {
        grid-template-columns: repeat(4, 1fr);
    }
    .slidecontainer {
        margin-top: 10vh;
        grid-column: span 1 / 2;
    }
    .paragraph-slider {
        display: flex;
        justify-content: center;
    }
  }